# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/commerce/consumer/procurement/v1/license_management_service.proto for package 'Google.Cloud.Commerce.Consumer.Procurement.V1' # Original file comments: # Copyright 2024 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/commerce/consumer/procurement/v1/license_management_service_pb' module Google module Cloud module Commerce module Consumer module Procurement module V1 module LicenseManagementService # Service for managing licenses. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.commerce.consumer.procurement.v1.LicenseManagementService' # Gets the license pool. rpc :GetLicensePool, ::Google::Cloud::Commerce::Consumer::Procurement::V1::GetLicensePoolRequest, ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool # Updates the license pool if one exists for this Order. rpc :UpdateLicensePool, ::Google::Cloud::Commerce::Consumer::Procurement::V1::UpdateLicensePoolRequest, ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool # Assigns a license to a user. rpc :Assign, ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignRequest, ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignResponse # Unassigns a license from a user. rpc :Unassign, ::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignRequest, ::Google::Cloud::Commerce::Consumer::Procurement::V1::UnassignResponse # Enumerates all users assigned a license. rpc :EnumerateLicensedUsers, ::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersRequest, ::Google::Cloud::Commerce::Consumer::Procurement::V1::EnumerateLicensedUsersResponse end Stub = Service.rpc_stub_class end end end end end end end