# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/cloudsecuritycompliance/v1/deployment.proto for package 'Google.Cloud.CloudSecurityCompliance.V1'
# Original file comments:
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/cloud/cloudsecuritycompliance/v1/deployment_pb'

module Google
  module Cloud
    module CloudSecurityCompliance
      module V1
        module Deployment
          # Deployment service allows users to manage deployments of Frameworks and
          # Cloud Controls on a target resource.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.cloudsecuritycompliance.v1.Deployment'

            # Creates a new FrameworkDeployment in a given parent resource.
            rpc :CreateFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkDeploymentRequest, ::Google::Longrunning::Operation
            # Deletes a single FrameworkDeployment.
            rpc :DeleteFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest, ::Google::Longrunning::Operation
            # Gets details of a single FrameworkDeployment.
            rpc :GetFrameworkDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkDeploymentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment
            # Lists FrameworkDeployments in a given parent resource.
            rpc :ListFrameworkDeployments, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsResponse
            # Gets details of a single CloudControlDeployment.
            rpc :GetCloudControlDeployment, ::Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlDeploymentRequest, ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment
            # Lists CloudControlDeployments in a given parent resource.
            rpc :ListCloudControlDeployments, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsRequest, ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
