# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.proto for package 'Google.Cloud.SaasPlatform.SaasServiceMgmt.V1beta1'
# 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/saasplatform/saasservicemgmt/v1beta1/deployments_service_pb'

module Google
  module Cloud
    module SaasPlatform
      module SaasServiceMgmt
        module V1beta1
          module SaasDeployments
            # Manages the deployment of SaaS services.
            class Service

              include ::GRPC::GenericService

              self.marshal_class_method = :encode
              self.unmarshal_class_method = :decode
              self.service_name = 'google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments'

              # Retrieve a collection of saas.
              rpc :ListSaas, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListSaasRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListSaasResponse
              # Retrieve a single saas.
              rpc :GetSaas, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetSaasRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas
              # Create a new saas.
              rpc :CreateSaas, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateSaasRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas
              # Update a single saas.
              rpc :UpdateSaas, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateSaasRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas
              # Delete a single saas.
              rpc :DeleteSaas, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteSaasRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of tenants.
              rpc :ListTenants, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListTenantsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListTenantsResponse
              # Retrieve a single tenant.
              rpc :GetTenant, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetTenantRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant
              # Create a new tenant.
              rpc :CreateTenant, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateTenantRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant
              # Update a single tenant.
              rpc :UpdateTenant, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateTenantRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant
              # Delete a single tenant.
              rpc :DeleteTenant, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteTenantRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of unit kinds.
              rpc :ListUnitKinds, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitKindsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitKindsResponse
              # Retrieve a single unit kind.
              rpc :GetUnitKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetUnitKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind
              # Create a new unit kind.
              rpc :CreateUnitKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateUnitKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind
              # Update a single unit kind.
              rpc :UpdateUnitKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind
              # Delete a single unit kind.
              rpc :DeleteUnitKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteUnitKindRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of units.
              rpc :ListUnits, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitsResponse
              # Retrieve a single unit.
              rpc :GetUnit, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetUnitRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit
              # Create a new unit.
              rpc :CreateUnit, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateUnitRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit
              # Update a single unit.
              rpc :UpdateUnit, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit
              # Delete a single unit.
              rpc :DeleteUnit, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteUnitRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of unit operations.
              rpc :ListUnitOperations, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitOperationsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitOperationsResponse
              # Retrieve a single unit operation.
              rpc :GetUnitOperation, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetUnitOperationRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation
              # Create a new unit operation.
              rpc :CreateUnitOperation, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateUnitOperationRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation
              # Update a single unit operation.
              rpc :UpdateUnitOperation, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitOperationRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation
              # Delete a single unit operation.
              rpc :DeleteUnitOperation, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteUnitOperationRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of releases.
              rpc :ListReleases, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListReleasesRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListReleasesResponse
              # Retrieve a single release.
              rpc :GetRelease, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetReleaseRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release
              # Create a new release.
              rpc :CreateRelease, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateReleaseRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release
              # Update a single release.
              rpc :UpdateRelease, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateReleaseRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release
              # Delete a single release.
              rpc :DeleteRelease, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteReleaseRequest, ::Google::Protobuf::Empty
            end

            Stub = Service.rpc_stub_class
          end
        end
      end
    end
  end
end
