# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/configdelivery/v1/config_delivery.proto for package 'Google.Cloud.ConfigDelivery.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/configdelivery/v1/config_delivery_pb'

module Google
  module Cloud
    module ConfigDelivery
      module V1
        module ConfigDelivery
          # ConfigDelivery service manages the deployment of kubernetes configuration to
          # a fleet of kubernetes clusters.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.configdelivery.v1.ConfigDelivery'

            # Lists ResourceBundles in a given project and location.
            rpc :ListResourceBundles, ::Google::Cloud::ConfigDelivery::V1::ListResourceBundlesRequest, ::Google::Cloud::ConfigDelivery::V1::ListResourceBundlesResponse
            # Gets details of a single ResourceBundle.
            rpc :GetResourceBundle, ::Google::Cloud::ConfigDelivery::V1::GetResourceBundleRequest, ::Google::Cloud::ConfigDelivery::V1::ResourceBundle
            # Creates a new ResourceBundle in a given project and location.
            rpc :CreateResourceBundle, ::Google::Cloud::ConfigDelivery::V1::CreateResourceBundleRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single ResourceBundle.
            rpc :UpdateResourceBundle, ::Google::Cloud::ConfigDelivery::V1::UpdateResourceBundleRequest, ::Google::Longrunning::Operation
            # Deletes a single ResourceBundle.
            rpc :DeleteResourceBundle, ::Google::Cloud::ConfigDelivery::V1::DeleteResourceBundleRequest, ::Google::Longrunning::Operation
            # Lists FleetPackages in a given project and location.
            rpc :ListFleetPackages, ::Google::Cloud::ConfigDelivery::V1::ListFleetPackagesRequest, ::Google::Cloud::ConfigDelivery::V1::ListFleetPackagesResponse
            # Gets details of a single FleetPackage.
            rpc :GetFleetPackage, ::Google::Cloud::ConfigDelivery::V1::GetFleetPackageRequest, ::Google::Cloud::ConfigDelivery::V1::FleetPackage
            # Creates a new FleetPackage in a given project and location.
            rpc :CreateFleetPackage, ::Google::Cloud::ConfigDelivery::V1::CreateFleetPackageRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single FleetPackage.
            rpc :UpdateFleetPackage, ::Google::Cloud::ConfigDelivery::V1::UpdateFleetPackageRequest, ::Google::Longrunning::Operation
            # Deletes a single FleetPackage.
            rpc :DeleteFleetPackage, ::Google::Cloud::ConfigDelivery::V1::DeleteFleetPackageRequest, ::Google::Longrunning::Operation
            # Lists Releases in a given project and location.
            rpc :ListReleases, ::Google::Cloud::ConfigDelivery::V1::ListReleasesRequest, ::Google::Cloud::ConfigDelivery::V1::ListReleasesResponse
            # Gets details of a single Release.
            rpc :GetRelease, ::Google::Cloud::ConfigDelivery::V1::GetReleaseRequest, ::Google::Cloud::ConfigDelivery::V1::Release
            # Creates a new Release in a given project, location and resource bundle.
            rpc :CreateRelease, ::Google::Cloud::ConfigDelivery::V1::CreateReleaseRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single Release.
            rpc :UpdateRelease, ::Google::Cloud::ConfigDelivery::V1::UpdateReleaseRequest, ::Google::Longrunning::Operation
            # Deletes a single Release.
            rpc :DeleteRelease, ::Google::Cloud::ConfigDelivery::V1::DeleteReleaseRequest, ::Google::Longrunning::Operation
            # Lists Variants in a given project and location.
            rpc :ListVariants, ::Google::Cloud::ConfigDelivery::V1::ListVariantsRequest, ::Google::Cloud::ConfigDelivery::V1::ListVariantsResponse
            # Gets details of a single Variant.
            rpc :GetVariant, ::Google::Cloud::ConfigDelivery::V1::GetVariantRequest, ::Google::Cloud::ConfigDelivery::V1::Variant
            # Creates a new Variant in a given project, location, resource bundle, and
            # release.
            rpc :CreateVariant, ::Google::Cloud::ConfigDelivery::V1::CreateVariantRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single Variant.
            rpc :UpdateVariant, ::Google::Cloud::ConfigDelivery::V1::UpdateVariantRequest, ::Google::Longrunning::Operation
            # Deletes a single Variant.
            rpc :DeleteVariant, ::Google::Cloud::ConfigDelivery::V1::DeleteVariantRequest, ::Google::Longrunning::Operation
            # Lists Rollouts in a given project, location, and Fleet Package.
            rpc :ListRollouts, ::Google::Cloud::ConfigDelivery::V1::ListRolloutsRequest, ::Google::Cloud::ConfigDelivery::V1::ListRolloutsResponse
            # Gets details of a single Rollout.
            rpc :GetRollout, ::Google::Cloud::ConfigDelivery::V1::GetRolloutRequest, ::Google::Cloud::ConfigDelivery::V1::Rollout
            # Suspend a Rollout.
            rpc :SuspendRollout, ::Google::Cloud::ConfigDelivery::V1::SuspendRolloutRequest, ::Google::Longrunning::Operation
            # Resume a Rollout.
            rpc :ResumeRollout, ::Google::Cloud::ConfigDelivery::V1::ResumeRolloutRequest, ::Google::Longrunning::Operation
            # Abort a Rollout.
            rpc :AbortRollout, ::Google::Cloud::ConfigDelivery::V1::AbortRolloutRequest, ::Google::Longrunning::Operation
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
