google-apis-gkehub_v1beta 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -592,6 +592,546 @@ module Google
|
|
592
592
|
execute_or_queue_command(command, &block)
|
593
593
|
end
|
594
594
|
|
595
|
+
# Creates a MembershipBinding.
|
596
|
+
# @param [String] parent
|
597
|
+
# Required. The parent (project and location) where the MembershipBinding will
|
598
|
+
# be created. Specified in the format `projects/*/locations/*/memberships/*`.
|
599
|
+
# @param [Google::Apis::GkehubV1beta::MembershipBinding] membership_binding_object
|
600
|
+
# @param [String] membership_binding_id
|
601
|
+
# Required. The ID to use for the MembershipBinding.
|
602
|
+
# @param [String] fields
|
603
|
+
# Selector specifying which fields to include in a partial response.
|
604
|
+
# @param [String] quota_user
|
605
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
606
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
607
|
+
# @param [Google::Apis::RequestOptions] options
|
608
|
+
# Request-specific options
|
609
|
+
#
|
610
|
+
# @yield [result, err] Result & error if block supplied
|
611
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
612
|
+
# @yieldparam err [StandardError] error object if request failed
|
613
|
+
#
|
614
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
615
|
+
#
|
616
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
617
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
618
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
619
|
+
def create_project_location_membership_binding(parent, membership_binding_object = nil, membership_binding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
620
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/bindings', options)
|
621
|
+
command.request_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation
|
622
|
+
command.request_object = membership_binding_object
|
623
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
624
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
625
|
+
command.params['parent'] = parent unless parent.nil?
|
626
|
+
command.query['membershipBindingId'] = membership_binding_id unless membership_binding_id.nil?
|
627
|
+
command.query['fields'] = fields unless fields.nil?
|
628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
629
|
+
execute_or_queue_command(command, &block)
|
630
|
+
end
|
631
|
+
|
632
|
+
# Deletes a MembershipBinding.
|
633
|
+
# @param [String] name
|
634
|
+
# Required. The MembershipBinding resource name in the format `projects/*/
|
635
|
+
# locations/*/memberships/*/bindings/*`.
|
636
|
+
# @param [String] fields
|
637
|
+
# Selector specifying which fields to include in a partial response.
|
638
|
+
# @param [String] quota_user
|
639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
641
|
+
# @param [Google::Apis::RequestOptions] options
|
642
|
+
# Request-specific options
|
643
|
+
#
|
644
|
+
# @yield [result, err] Result & error if block supplied
|
645
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
646
|
+
# @yieldparam err [StandardError] error object if request failed
|
647
|
+
#
|
648
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
649
|
+
#
|
650
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
651
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
652
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
653
|
+
def delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block)
|
654
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
655
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
656
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
657
|
+
command.params['name'] = name unless name.nil?
|
658
|
+
command.query['fields'] = fields unless fields.nil?
|
659
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
660
|
+
execute_or_queue_command(command, &block)
|
661
|
+
end
|
662
|
+
|
663
|
+
# Returns the details of a MembershipBinding.
|
664
|
+
# @param [String] name
|
665
|
+
# Required. The MembershipBinding resource name in the format `projects/*/
|
666
|
+
# locations/*/memberships/*/bindings/*`.
|
667
|
+
# @param [String] fields
|
668
|
+
# Selector specifying which fields to include in a partial response.
|
669
|
+
# @param [String] quota_user
|
670
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
671
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
672
|
+
# @param [Google::Apis::RequestOptions] options
|
673
|
+
# Request-specific options
|
674
|
+
#
|
675
|
+
# @yield [result, err] Result & error if block supplied
|
676
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::MembershipBinding] parsed result object
|
677
|
+
# @yieldparam err [StandardError] error object if request failed
|
678
|
+
#
|
679
|
+
# @return [Google::Apis::GkehubV1beta::MembershipBinding]
|
680
|
+
#
|
681
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
682
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
683
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
684
|
+
def get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block)
|
685
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
686
|
+
command.response_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation
|
687
|
+
command.response_class = Google::Apis::GkehubV1beta::MembershipBinding
|
688
|
+
command.params['name'] = name unless name.nil?
|
689
|
+
command.query['fields'] = fields unless fields.nil?
|
690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
691
|
+
execute_or_queue_command(command, &block)
|
692
|
+
end
|
693
|
+
|
694
|
+
# Lists MembershipBindings.
|
695
|
+
# @param [String] parent
|
696
|
+
# Required. The parent Membership for which the MembershipBindings will be
|
697
|
+
# listed. Specified in the format `projects/*/locations/*/memberships/*`.
|
698
|
+
# @param [Fixnum] page_size
|
699
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
700
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
701
|
+
# returned.
|
702
|
+
# @param [String] page_token
|
703
|
+
# Optional. Token returned by previous call to `ListMembershipBindings` which
|
704
|
+
# specifies the position in the list from where to continue listing the
|
705
|
+
# resources.
|
706
|
+
# @param [String] fields
|
707
|
+
# Selector specifying which fields to include in a partial response.
|
708
|
+
# @param [String] quota_user
|
709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
711
|
+
# @param [Google::Apis::RequestOptions] options
|
712
|
+
# Request-specific options
|
713
|
+
#
|
714
|
+
# @yield [result, err] Result & error if block supplied
|
715
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListMembershipBindingsResponse] parsed result object
|
716
|
+
# @yieldparam err [StandardError] error object if request failed
|
717
|
+
#
|
718
|
+
# @return [Google::Apis::GkehubV1beta::ListMembershipBindingsResponse]
|
719
|
+
#
|
720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
723
|
+
def list_project_location_membership_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
724
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/bindings', options)
|
725
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse::Representation
|
726
|
+
command.response_class = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse
|
727
|
+
command.params['parent'] = parent unless parent.nil?
|
728
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
729
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
730
|
+
command.query['fields'] = fields unless fields.nil?
|
731
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
732
|
+
execute_or_queue_command(command, &block)
|
733
|
+
end
|
734
|
+
|
735
|
+
# Updates a MembershipBinding.
|
736
|
+
# @param [String] name
|
737
|
+
# The resource name for the membershipbinding itself `projects/`project`/
|
738
|
+
# locations/`location`/memberships/`membership`/bindings/`membershipbinding``
|
739
|
+
# @param [Google::Apis::GkehubV1beta::MembershipBinding] membership_binding_object
|
740
|
+
# @param [String] update_mask
|
741
|
+
# Required. The fields to be updated.
|
742
|
+
# @param [String] fields
|
743
|
+
# Selector specifying which fields to include in a partial response.
|
744
|
+
# @param [String] quota_user
|
745
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
746
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
747
|
+
# @param [Google::Apis::RequestOptions] options
|
748
|
+
# Request-specific options
|
749
|
+
#
|
750
|
+
# @yield [result, err] Result & error if block supplied
|
751
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
752
|
+
# @yieldparam err [StandardError] error object if request failed
|
753
|
+
#
|
754
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
755
|
+
#
|
756
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
757
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
758
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
759
|
+
def patch_project_location_membership_binding(name, membership_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
760
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
761
|
+
command.request_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation
|
762
|
+
command.request_object = membership_binding_object
|
763
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
764
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
765
|
+
command.params['name'] = name unless name.nil?
|
766
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
767
|
+
command.query['fields'] = fields unless fields.nil?
|
768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
769
|
+
execute_or_queue_command(command, &block)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Creates a fleet namespace.
|
773
|
+
# @param [String] parent
|
774
|
+
# Required. The parent (project and location) where the Namespace will be
|
775
|
+
# created. Specified in the format `projects/*/locations/*`.
|
776
|
+
# @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
|
777
|
+
# @param [String] namespace_id
|
778
|
+
# Required. Client chosen ID for the Namespace. `namespace_id` must be a valid
|
779
|
+
# RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must
|
780
|
+
# consist of lower case alphanumeric characters or `-` 3. It must start and end
|
781
|
+
# with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
|
782
|
+
# -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
783
|
+
# @param [String] fields
|
784
|
+
# Selector specifying which fields to include in a partial response.
|
785
|
+
# @param [String] quota_user
|
786
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
787
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
788
|
+
# @param [Google::Apis::RequestOptions] options
|
789
|
+
# Request-specific options
|
790
|
+
#
|
791
|
+
# @yield [result, err] Result & error if block supplied
|
792
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
793
|
+
# @yieldparam err [StandardError] error object if request failed
|
794
|
+
#
|
795
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
796
|
+
#
|
797
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
798
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
799
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
800
|
+
def create_project_location_namespace(parent, namespace_object = nil, namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
801
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/namespaces', options)
|
802
|
+
command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
803
|
+
command.request_object = namespace_object
|
804
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
805
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
806
|
+
command.params['parent'] = parent unless parent.nil?
|
807
|
+
command.query['namespaceId'] = namespace_id unless namespace_id.nil?
|
808
|
+
command.query['fields'] = fields unless fields.nil?
|
809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
810
|
+
execute_or_queue_command(command, &block)
|
811
|
+
end
|
812
|
+
|
813
|
+
# Deletes a fleet namespace.
|
814
|
+
# @param [String] name
|
815
|
+
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
816
|
+
# namespaces/*`.
|
817
|
+
# @param [String] fields
|
818
|
+
# Selector specifying which fields to include in a partial response.
|
819
|
+
# @param [String] quota_user
|
820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
822
|
+
# @param [Google::Apis::RequestOptions] options
|
823
|
+
# Request-specific options
|
824
|
+
#
|
825
|
+
# @yield [result, err] Result & error if block supplied
|
826
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
827
|
+
# @yieldparam err [StandardError] error object if request failed
|
828
|
+
#
|
829
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
830
|
+
#
|
831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
834
|
+
def delete_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
835
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
836
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
837
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
838
|
+
command.params['name'] = name unless name.nil?
|
839
|
+
command.query['fields'] = fields unless fields.nil?
|
840
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
841
|
+
execute_or_queue_command(command, &block)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Returns the details of a fleet namespace.
|
845
|
+
# @param [String] name
|
846
|
+
# Required. The Namespace resource name in the format `projects/*/locations/*/
|
847
|
+
# namespaces/*`.
|
848
|
+
# @param [String] fields
|
849
|
+
# Selector specifying which fields to include in a partial response.
|
850
|
+
# @param [String] quota_user
|
851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
853
|
+
# @param [Google::Apis::RequestOptions] options
|
854
|
+
# Request-specific options
|
855
|
+
#
|
856
|
+
# @yield [result, err] Result & error if block supplied
|
857
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Namespace] parsed result object
|
858
|
+
# @yieldparam err [StandardError] error object if request failed
|
859
|
+
#
|
860
|
+
# @return [Google::Apis::GkehubV1beta::Namespace]
|
861
|
+
#
|
862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
+
def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
866
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
867
|
+
command.response_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
868
|
+
command.response_class = Google::Apis::GkehubV1beta::Namespace
|
869
|
+
command.params['name'] = name unless name.nil?
|
870
|
+
command.query['fields'] = fields unless fields.nil?
|
871
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
872
|
+
execute_or_queue_command(command, &block)
|
873
|
+
end
|
874
|
+
|
875
|
+
# Lists fleet namespaces.
|
876
|
+
# @param [String] parent
|
877
|
+
# Required. The parent (project and location) where the Features will be listed.
|
878
|
+
# Specified in the format `projects/*/locations/*`.
|
879
|
+
# @param [Fixnum] page_size
|
880
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
881
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
882
|
+
# returned.
|
883
|
+
# @param [String] page_token
|
884
|
+
# Optional. Token returned by previous call to `ListFeatures` which specifies
|
885
|
+
# the position in the list from where to continue listing the resources.
|
886
|
+
# @param [String] fields
|
887
|
+
# Selector specifying which fields to include in a partial response.
|
888
|
+
# @param [String] quota_user
|
889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
891
|
+
# @param [Google::Apis::RequestOptions] options
|
892
|
+
# Request-specific options
|
893
|
+
#
|
894
|
+
# @yield [result, err] Result & error if block supplied
|
895
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListNamespacesResponse] parsed result object
|
896
|
+
# @yieldparam err [StandardError] error object if request failed
|
897
|
+
#
|
898
|
+
# @return [Google::Apis::GkehubV1beta::ListNamespacesResponse]
|
899
|
+
#
|
900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
903
|
+
def list_project_location_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
904
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/namespaces', options)
|
905
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListNamespacesResponse::Representation
|
906
|
+
command.response_class = Google::Apis::GkehubV1beta::ListNamespacesResponse
|
907
|
+
command.params['parent'] = parent unless parent.nil?
|
908
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
909
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
910
|
+
command.query['fields'] = fields unless fields.nil?
|
911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
912
|
+
execute_or_queue_command(command, &block)
|
913
|
+
end
|
914
|
+
|
915
|
+
# Updates a fleet namespace.
|
916
|
+
# @param [String] name
|
917
|
+
# The resource name for the namespace `projects/`project`/locations/`location`/
|
918
|
+
# namespaces/`namespace``
|
919
|
+
# @param [Google::Apis::GkehubV1beta::Namespace] namespace_object
|
920
|
+
# @param [String] update_mask
|
921
|
+
# Required. The fields to be updated.
|
922
|
+
# @param [String] fields
|
923
|
+
# Selector specifying which fields to include in a partial response.
|
924
|
+
# @param [String] quota_user
|
925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
927
|
+
# @param [Google::Apis::RequestOptions] options
|
928
|
+
# Request-specific options
|
929
|
+
#
|
930
|
+
# @yield [result, err] Result & error if block supplied
|
931
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
932
|
+
# @yieldparam err [StandardError] error object if request failed
|
933
|
+
#
|
934
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
935
|
+
#
|
936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
|
+
def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
940
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
941
|
+
command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation
|
942
|
+
command.request_object = namespace_object
|
943
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
944
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
945
|
+
command.params['name'] = name unless name.nil?
|
946
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
947
|
+
command.query['fields'] = fields unless fields.nil?
|
948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
949
|
+
execute_or_queue_command(command, &block)
|
950
|
+
end
|
951
|
+
|
952
|
+
# Creates a RBACRoleBinding.
|
953
|
+
# @param [String] parent
|
954
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
955
|
+
# created. Specified in the format `projects/*/locations/*/namespaces/*`.
|
956
|
+
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
957
|
+
# @param [String] rbacrolebinding_id
|
958
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
959
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
960
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
961
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
962
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
963
|
+
# @param [String] fields
|
964
|
+
# Selector specifying which fields to include in a partial response.
|
965
|
+
# @param [String] quota_user
|
966
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
967
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
968
|
+
# @param [Google::Apis::RequestOptions] options
|
969
|
+
# Request-specific options
|
970
|
+
#
|
971
|
+
# @yield [result, err] Result & error if block supplied
|
972
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
973
|
+
# @yieldparam err [StandardError] error object if request failed
|
974
|
+
#
|
975
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
976
|
+
#
|
977
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
978
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
979
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
980
|
+
def create_project_location_namespace_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
981
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', options)
|
982
|
+
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
983
|
+
command.request_object = rbac_role_binding_object
|
984
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
985
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
986
|
+
command.params['parent'] = parent unless parent.nil?
|
987
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
988
|
+
command.query['fields'] = fields unless fields.nil?
|
989
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
990
|
+
execute_or_queue_command(command, &block)
|
991
|
+
end
|
992
|
+
|
993
|
+
# Deletes a RBACRoleBinding.
|
994
|
+
# @param [String] name
|
995
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
996
|
+
# locations/*/namespaces/*/rbacrolebindings/*`.
|
997
|
+
# @param [String] fields
|
998
|
+
# Selector specifying which fields to include in a partial response.
|
999
|
+
# @param [String] quota_user
|
1000
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1001
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1002
|
+
# @param [Google::Apis::RequestOptions] options
|
1003
|
+
# Request-specific options
|
1004
|
+
#
|
1005
|
+
# @yield [result, err] Result & error if block supplied
|
1006
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1007
|
+
# @yieldparam err [StandardError] error object if request failed
|
1008
|
+
#
|
1009
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1010
|
+
#
|
1011
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1012
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1013
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1014
|
+
def delete_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1015
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
1016
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1017
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1018
|
+
command.params['name'] = name unless name.nil?
|
1019
|
+
command.query['fields'] = fields unless fields.nil?
|
1020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1021
|
+
execute_or_queue_command(command, &block)
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Returns the details of a RBACRoleBinding.
|
1025
|
+
# @param [String] name
|
1026
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1027
|
+
# locations/*/namespaces/*/rbacrolebindings/*`.
|
1028
|
+
# @param [String] fields
|
1029
|
+
# Selector specifying which fields to include in a partial response.
|
1030
|
+
# @param [String] quota_user
|
1031
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1032
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1033
|
+
# @param [Google::Apis::RequestOptions] options
|
1034
|
+
# Request-specific options
|
1035
|
+
#
|
1036
|
+
# @yield [result, err] Result & error if block supplied
|
1037
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::RbacRoleBinding] parsed result object
|
1038
|
+
# @yieldparam err [StandardError] error object if request failed
|
1039
|
+
#
|
1040
|
+
# @return [Google::Apis::GkehubV1beta::RbacRoleBinding]
|
1041
|
+
#
|
1042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1045
|
+
def get_project_location_namespace_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1046
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1047
|
+
command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1048
|
+
command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding
|
1049
|
+
command.params['name'] = name unless name.nil?
|
1050
|
+
command.query['fields'] = fields unless fields.nil?
|
1051
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1052
|
+
execute_or_queue_command(command, &block)
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# Lists RBACRoleBinding.
|
1056
|
+
# @param [String] parent
|
1057
|
+
# Required. The parent (project and location) where the Features will be listed.
|
1058
|
+
# Specified in the format `projects/*/locations/*/namespaces/*`.
|
1059
|
+
# @param [Fixnum] page_size
|
1060
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1061
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
1062
|
+
# returned.
|
1063
|
+
# @param [String] page_token
|
1064
|
+
# Optional. Token returned by previous call to `ListRBACRoleBindings` which
|
1065
|
+
# specifies the position in the list from where to continue listing the
|
1066
|
+
# resources.
|
1067
|
+
# @param [String] fields
|
1068
|
+
# Selector specifying which fields to include in a partial response.
|
1069
|
+
# @param [String] quota_user
|
1070
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1071
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1072
|
+
# @param [Google::Apis::RequestOptions] options
|
1073
|
+
# Request-specific options
|
1074
|
+
#
|
1075
|
+
# @yield [result, err] Result & error if block supplied
|
1076
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse] parsed result object
|
1077
|
+
# @yieldparam err [StandardError] error object if request failed
|
1078
|
+
#
|
1079
|
+
# @return [Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse]
|
1080
|
+
#
|
1081
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1082
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1083
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1084
|
+
def list_project_location_namespace_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1085
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', options)
|
1086
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse::Representation
|
1087
|
+
command.response_class = Google::Apis::GkehubV1beta::ListRbacRoleBindingsResponse
|
1088
|
+
command.params['parent'] = parent unless parent.nil?
|
1089
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1090
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1091
|
+
command.query['fields'] = fields unless fields.nil?
|
1092
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1093
|
+
execute_or_queue_command(command, &block)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Updates a RBACRoleBinding.
|
1097
|
+
# @param [String] name
|
1098
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1099
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
1100
|
+
# projects/`project`/locations/`location`/memberships/`membership`/
|
1101
|
+
# rbacrolebindings/`rbacrolebinding``
|
1102
|
+
# @param [Google::Apis::GkehubV1beta::RbacRoleBinding] rbac_role_binding_object
|
1103
|
+
# @param [String] update_mask
|
1104
|
+
# Required. The fields to be updated.
|
1105
|
+
# @param [String] fields
|
1106
|
+
# Selector specifying which fields to include in a partial response.
|
1107
|
+
# @param [String] quota_user
|
1108
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1109
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1110
|
+
# @param [Google::Apis::RequestOptions] options
|
1111
|
+
# Request-specific options
|
1112
|
+
#
|
1113
|
+
# @yield [result, err] Result & error if block supplied
|
1114
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1115
|
+
# @yieldparam err [StandardError] error object if request failed
|
1116
|
+
#
|
1117
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1118
|
+
#
|
1119
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1120
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1121
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1122
|
+
def patch_project_location_namespace_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1123
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1124
|
+
command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
|
1125
|
+
command.request_object = rbac_role_binding_object
|
1126
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1127
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1128
|
+
command.params['name'] = name unless name.nil?
|
1129
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1130
|
+
command.query['fields'] = fields unless fields.nil?
|
1131
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1132
|
+
execute_or_queue_command(command, &block)
|
1133
|
+
end
|
1134
|
+
|
595
1135
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
596
1136
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
597
1137
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -741,6 +1281,182 @@ module Google
|
|
741
1281
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
742
1282
|
execute_or_queue_command(command, &block)
|
743
1283
|
end
|
1284
|
+
|
1285
|
+
# Creates a Scope.
|
1286
|
+
# @param [String] parent
|
1287
|
+
# Required. The parent (project and location) where the Scope will be created.
|
1288
|
+
# Specified in the format `projects/*/locations/*`.
|
1289
|
+
# @param [Google::Apis::GkehubV1beta::Scope] scope_object
|
1290
|
+
# @param [String] scope_id
|
1291
|
+
# Required. Client chosen ID for the Scope. `scope_id` must be a ????
|
1292
|
+
# @param [String] fields
|
1293
|
+
# Selector specifying which fields to include in a partial response.
|
1294
|
+
# @param [String] quota_user
|
1295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1297
|
+
# @param [Google::Apis::RequestOptions] options
|
1298
|
+
# Request-specific options
|
1299
|
+
#
|
1300
|
+
# @yield [result, err] Result & error if block supplied
|
1301
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1302
|
+
# @yieldparam err [StandardError] error object if request failed
|
1303
|
+
#
|
1304
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1305
|
+
#
|
1306
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1307
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1308
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1309
|
+
def create_project_location_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1310
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/scopes', options)
|
1311
|
+
command.request_representation = Google::Apis::GkehubV1beta::Scope::Representation
|
1312
|
+
command.request_object = scope_object
|
1313
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1314
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1315
|
+
command.params['parent'] = parent unless parent.nil?
|
1316
|
+
command.query['scopeId'] = scope_id unless scope_id.nil?
|
1317
|
+
command.query['fields'] = fields unless fields.nil?
|
1318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1319
|
+
execute_or_queue_command(command, &block)
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Deletes a Scope.
|
1323
|
+
# @param [String] name
|
1324
|
+
# Required. The Scope resource name in the format `projects/*/locations/*/scopes/
|
1325
|
+
# *`.
|
1326
|
+
# @param [String] fields
|
1327
|
+
# Selector specifying which fields to include in a partial response.
|
1328
|
+
# @param [String] quota_user
|
1329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1331
|
+
# @param [Google::Apis::RequestOptions] options
|
1332
|
+
# Request-specific options
|
1333
|
+
#
|
1334
|
+
# @yield [result, err] Result & error if block supplied
|
1335
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1336
|
+
# @yieldparam err [StandardError] error object if request failed
|
1337
|
+
#
|
1338
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1339
|
+
#
|
1340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1343
|
+
def delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block)
|
1344
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
1345
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1346
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1347
|
+
command.params['name'] = name unless name.nil?
|
1348
|
+
command.query['fields'] = fields unless fields.nil?
|
1349
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1350
|
+
execute_or_queue_command(command, &block)
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# Returns the details of a Scope.
|
1354
|
+
# @param [String] name
|
1355
|
+
# Required. The Scope resource name in the format `projects/*/locations/*/scopes/
|
1356
|
+
# *`.
|
1357
|
+
# @param [String] fields
|
1358
|
+
# Selector specifying which fields to include in a partial response.
|
1359
|
+
# @param [String] quota_user
|
1360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1362
|
+
# @param [Google::Apis::RequestOptions] options
|
1363
|
+
# Request-specific options
|
1364
|
+
#
|
1365
|
+
# @yield [result, err] Result & error if block supplied
|
1366
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Scope] parsed result object
|
1367
|
+
# @yieldparam err [StandardError] error object if request failed
|
1368
|
+
#
|
1369
|
+
# @return [Google::Apis::GkehubV1beta::Scope]
|
1370
|
+
#
|
1371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1374
|
+
def get_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block)
|
1375
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1376
|
+
command.response_representation = Google::Apis::GkehubV1beta::Scope::Representation
|
1377
|
+
command.response_class = Google::Apis::GkehubV1beta::Scope
|
1378
|
+
command.params['name'] = name unless name.nil?
|
1379
|
+
command.query['fields'] = fields unless fields.nil?
|
1380
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1381
|
+
execute_or_queue_command(command, &block)
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
# Lists Scopes.
|
1385
|
+
# @param [String] parent
|
1386
|
+
# Required. The parent (project and location) where the Scope will be listed.
|
1387
|
+
# Specified in the format `projects/*/locations/*`.
|
1388
|
+
# @param [Fixnum] page_size
|
1389
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1390
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
1391
|
+
# returned.
|
1392
|
+
# @param [String] page_token
|
1393
|
+
# Optional. Token returned by previous call to `ListScopes` which specifies the
|
1394
|
+
# position in the list from where to continue listing the resources.
|
1395
|
+
# @param [String] fields
|
1396
|
+
# Selector specifying which fields to include in a partial response.
|
1397
|
+
# @param [String] quota_user
|
1398
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1399
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1400
|
+
# @param [Google::Apis::RequestOptions] options
|
1401
|
+
# Request-specific options
|
1402
|
+
#
|
1403
|
+
# @yield [result, err] Result & error if block supplied
|
1404
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListScopesResponse] parsed result object
|
1405
|
+
# @yieldparam err [StandardError] error object if request failed
|
1406
|
+
#
|
1407
|
+
# @return [Google::Apis::GkehubV1beta::ListScopesResponse]
|
1408
|
+
#
|
1409
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1410
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1411
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1412
|
+
def list_project_location_scopes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1413
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/scopes', options)
|
1414
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListScopesResponse::Representation
|
1415
|
+
command.response_class = Google::Apis::GkehubV1beta::ListScopesResponse
|
1416
|
+
command.params['parent'] = parent unless parent.nil?
|
1417
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1418
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1419
|
+
command.query['fields'] = fields unless fields.nil?
|
1420
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1421
|
+
execute_or_queue_command(command, &block)
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
# Updates a scopes.
|
1425
|
+
# @param [String] name
|
1426
|
+
# The resource name for the scope `projects/`project`/locations/`location`/
|
1427
|
+
# scopes/`scope``
|
1428
|
+
# @param [Google::Apis::GkehubV1beta::Scope] scope_object
|
1429
|
+
# @param [String] update_mask
|
1430
|
+
# Required. The fields to be updated.
|
1431
|
+
# @param [String] fields
|
1432
|
+
# Selector specifying which fields to include in a partial response.
|
1433
|
+
# @param [String] quota_user
|
1434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1436
|
+
# @param [Google::Apis::RequestOptions] options
|
1437
|
+
# Request-specific options
|
1438
|
+
#
|
1439
|
+
# @yield [result, err] Result & error if block supplied
|
1440
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
1441
|
+
# @yieldparam err [StandardError] error object if request failed
|
1442
|
+
#
|
1443
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
1444
|
+
#
|
1445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1448
|
+
def patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1449
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
1450
|
+
command.request_representation = Google::Apis::GkehubV1beta::Scope::Representation
|
1451
|
+
command.request_object = scope_object
|
1452
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
1453
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
1454
|
+
command.params['name'] = name unless name.nil?
|
1455
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1456
|
+
command.query['fields'] = fields unless fields.nil?
|
1457
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1458
|
+
execute_or_queue_command(command, &block)
|
1459
|
+
end
|
744
1460
|
|
745
1461
|
protected
|
746
1462
|
|