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

module Google
  module Cloud
    module LicenseManager
      module V1
        module LicenseManager
          # Service describing handlers for resources
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.licensemanager.v1.LicenseManager'

            # Lists Configurations in a given project and location.
            rpc :ListConfigurations, ::Google::Cloud::LicenseManager::V1::ListConfigurationsRequest, ::Google::Cloud::LicenseManager::V1::ListConfigurationsResponse
            # Gets details of a single Configuration.
            rpc :GetConfiguration, ::Google::Cloud::LicenseManager::V1::GetConfigurationRequest, ::Google::Cloud::LicenseManager::V1::Configuration
            # Creates a new Configuration in a given project and location.
            rpc :CreateConfiguration, ::Google::Cloud::LicenseManager::V1::CreateConfigurationRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single Configuration.
            rpc :UpdateConfiguration, ::Google::Cloud::LicenseManager::V1::UpdateConfigurationRequest, ::Google::Longrunning::Operation
            # Deletes a single Configuration.
            rpc :DeleteConfiguration, ::Google::Cloud::LicenseManager::V1::DeleteConfigurationRequest, ::Google::Longrunning::Operation
            # Lists Instances in a given project and location.
            rpc :ListInstances, ::Google::Cloud::LicenseManager::V1::ListInstancesRequest, ::Google::Cloud::LicenseManager::V1::ListInstancesResponse
            # Gets details of a single Instance.
            rpc :GetInstance, ::Google::Cloud::LicenseManager::V1::GetInstanceRequest, ::Google::Cloud::LicenseManager::V1::Instance
            # Deactivates the given configuration.
            rpc :DeactivateConfiguration, ::Google::Cloud::LicenseManager::V1::DeactivateConfigurationRequest, ::Google::Longrunning::Operation
            # Reactivates the given configuration.
            rpc :ReactivateConfiguration, ::Google::Cloud::LicenseManager::V1::ReactivateConfigurationRequest, ::Google::Longrunning::Operation
            # License Usage information for a Configuration.
            rpc :QueryConfigurationLicenseUsage, ::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageRequest, ::Google::Cloud::LicenseManager::V1::QueryConfigurationLicenseUsageResponse
            # Aggregates Usage per Instance for a Configuration.
            rpc :AggregateUsage, ::Google::Cloud::LicenseManager::V1::AggregateUsageRequest, ::Google::Cloud::LicenseManager::V1::AggregateUsageResponse
            # Lists Products in a given project and location.
            rpc :ListProducts, ::Google::Cloud::LicenseManager::V1::ListProductsRequest, ::Google::Cloud::LicenseManager::V1::ListProductsResponse
            # Gets details of a single Product.
            rpc :GetProduct, ::Google::Cloud::LicenseManager::V1::GetProductRequest, ::Google::Cloud::LicenseManager::V1::Product
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
