# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/resourcemanager/v3/tag_holds.proto for package 'Google.Cloud.ResourceManager.V3' # Original file comments: # Copyright 2023 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/resourcemanager/v3/tag_holds_pb' module Google module Cloud module ResourceManager module V3 module TagHolds # Allow users to create and manage TagHolds for TagValues. TagHolds represent # the use of a Tag Value that is not captured by TagBindings but # should still block TagValue deletion (such as a reference in a policy # condition). This service provides isolated failure domains by cloud location # so that TagHolds can be managed in the same location as their usage. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.resourcemanager.v3.TagHolds' # Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same # resource and origin exists under the same TagValue. rpc :CreateTagHold, ::Google::Cloud::ResourceManager::V3::CreateTagHoldRequest, ::Google::Longrunning::Operation # Deletes a TagHold. rpc :DeleteTagHold, ::Google::Cloud::ResourceManager::V3::DeleteTagHoldRequest, ::Google::Longrunning::Operation # Lists TagHolds under a TagValue. rpc :ListTagHolds, ::Google::Cloud::ResourceManager::V3::ListTagHoldsRequest, ::Google::Cloud::ResourceManager::V3::ListTagHoldsResponse end Stub = Service.rpc_stub_class end end end end end