@@ -776,6 +776,116 @@ def list_liens(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_
776
776
execute_or_queue_command ( command , &block )
777
777
end
778
778
779
+ # Returns effective tag bindings on a GCP resource.
780
+ # @param [String] name
781
+ # Required. The full name of the EffectiveTagBindingCollection in format: `
782
+ # locations/`location`/effectiveTagBindingCollections/`encoded-full-resource-
783
+ # name`` where the encoded-full-resource-name is the UTF-8 encoded name of the
784
+ # resource the TagBindings are bound to. E.g. "locations/global/
785
+ # effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%
786
+ # 2fprojects%2f123"
787
+ # @param [String] fields
788
+ # Selector specifying which fields to include in a partial response.
789
+ # @param [String] quota_user
790
+ # Available to use for quota purposes for server-side applications. Can be any
791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
792
+ # @param [Google::Apis::RequestOptions] options
793
+ # Request-specific options
794
+ #
795
+ # @yield [result, err] Result & error if block supplied
796
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection] parsed result object
797
+ # @yieldparam err [StandardError] error object if request failed
798
+ #
799
+ # @return [Google::Apis::CloudresourcemanagerV3::EffectiveTagBindingCollection]
800
+ #
801
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
802
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
804
+ def get_location_effective_tag_binding_collection ( name , fields : nil , quota_user : nil , options : nil , &block )
805
+ command = make_simple_command ( :get , 'v3/{+name}' , options )
806
+ command . response_representation = Google ::Apis ::CloudresourcemanagerV3 ::EffectiveTagBindingCollection ::Representation
807
+ command . response_class = Google ::Apis ::CloudresourcemanagerV3 ::EffectiveTagBindingCollection
808
+ command . params [ 'name' ] = name unless name . nil?
809
+ command . query [ 'fields' ] = fields unless fields . nil?
810
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
811
+ execute_or_queue_command ( command , &block )
812
+ end
813
+
814
+ # Returns tag bindings directly attached to a GCP resource.
815
+ # @param [String] name
816
+ # Required. The full name of the TagBindingCollection in format: `locations/`
817
+ # location`/tagBindingCollections/`encoded-full-resource-name`` where the enoded-
818
+ # full-resource-name is the UTF-8 encoded name of the resource the TagBindings
819
+ # are bound to. E.g. "locations/global/tagBindingCollections/%2f%
820
+ # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
821
+ # @param [String] fields
822
+ # Selector specifying which fields to include in a partial response.
823
+ # @param [String] quota_user
824
+ # Available to use for quota purposes for server-side applications. Can be any
825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
826
+ # @param [Google::Apis::RequestOptions] options
827
+ # Request-specific options
828
+ #
829
+ # @yield [result, err] Result & error if block supplied
830
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] parsed result object
831
+ # @yieldparam err [StandardError] error object if request failed
832
+ #
833
+ # @return [Google::Apis::CloudresourcemanagerV3::TagBindingCollection]
834
+ #
835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
838
+ def get_location_tag_binding_collection ( name , fields : nil , quota_user : nil , options : nil , &block )
839
+ command = make_simple_command ( :get , 'v3/{+name}' , options )
840
+ command . response_representation = Google ::Apis ::CloudresourcemanagerV3 ::TagBindingCollection ::Representation
841
+ command . response_class = Google ::Apis ::CloudresourcemanagerV3 ::TagBindingCollection
842
+ command . params [ 'name' ] = name unless name . nil?
843
+ command . query [ 'fields' ] = fields unless fields . nil?
844
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
845
+ execute_or_queue_command ( command , &block )
846
+ end
847
+
848
+ # Updates tag bindings directly attached to a GCP resource. Update_mask can be
849
+ # kept empty or "*".
850
+ # @param [String] name
851
+ # Identifier. The name of the TagBindingCollection, following the convention: `
852
+ # locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where
853
+ # the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
854
+ # the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%
855
+ # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
856
+ # @param [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] tag_binding_collection_object
857
+ # @param [String] update_mask
858
+ # Optional. An update mask to selectively update fields.
859
+ # @param [String] fields
860
+ # Selector specifying which fields to include in a partial response.
861
+ # @param [String] quota_user
862
+ # Available to use for quota purposes for server-side applications. Can be any
863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
864
+ # @param [Google::Apis::RequestOptions] options
865
+ # Request-specific options
866
+ #
867
+ # @yield [result, err] Result & error if block supplied
868
+ # @yieldparam result [Google::Apis::CloudresourcemanagerV3::Operation] parsed result object
869
+ # @yieldparam err [StandardError] error object if request failed
870
+ #
871
+ # @return [Google::Apis::CloudresourcemanagerV3::Operation]
872
+ #
873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
876
+ def patch_location_tag_binding_collection ( name , tag_binding_collection_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
877
+ command = make_simple_command ( :patch , 'v3/{+name}' , options )
878
+ command . request_representation = Google ::Apis ::CloudresourcemanagerV3 ::TagBindingCollection ::Representation
879
+ command . request_object = tag_binding_collection_object
880
+ command . response_representation = Google ::Apis ::CloudresourcemanagerV3 ::Operation ::Representation
881
+ command . response_class = Google ::Apis ::CloudresourcemanagerV3 ::Operation
882
+ command . params [ 'name' ] = name unless name . nil?
883
+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
884
+ command . query [ 'fields' ] = fields unless fields . nil?
885
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
886
+ execute_or_queue_command ( command , &block )
887
+ end
888
+
779
889
# Gets the latest state of a long-running operation. Clients can use this method
780
890
# to poll the operation result at intervals as recommended by the API service.
781
891
# @param [String] name
0 commit comments