# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_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/rollouts_service_pb'

module Google
  module Cloud
    module SaasPlatform
      module SaasServiceMgmt
        module V1beta1
          module SaasRollouts
            # Manages the rollout 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.SaasRollouts'

              # Retrieve a collection of rollouts.
              rpc :ListRollouts, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutsResponse
              # Retrieve a single rollout.
              rpc :GetRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
              # Create a new rollout.
              rpc :CreateRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
              # Update a single rollout.
              rpc :UpdateRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
              # Delete a single rollout.
              rpc :DeleteRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteRolloutRequest, ::Google::Protobuf::Empty
              # Retrieve a collection of rollout kinds.
              rpc :ListRolloutKinds, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutKindsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutKindsResponse
              # Retrieve a single rollout kind.
              rpc :GetRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
              # Create a new rollout kind.
              rpc :CreateRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
              # Update a single rollout kind.
              rpc :UpdateRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
              # Delete a single rollout kind.
              rpc :DeleteRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteRolloutKindRequest, ::Google::Protobuf::Empty
            end

            Stub = Service.rpc_stub_class
          end
        end
      end
    end
  end
end
