Class: Google::Apis::GkehubV1beta::GKEHubService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::GkehubV1beta::GKEHubService
- Defined in:
- lib/google/apis/gkehub_v1beta/service.rb
Overview
GKE Hub API
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://gkehub.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Empty
Starts asynchronous cancellation on a long-running operation.
-
#cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Cancels a paused Rollout.
-
#create_project_location_feature(parent, feature_object = nil, feature_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Adds a new Feature.
-
#create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a fleet.
-
#create_project_location_membership(parent, membership_object = nil, membership_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a new Membership.
-
#create_project_location_membership_binding(parent, membership_binding_object = nil, membership_binding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a MembershipBinding.
-
#create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Membership RBACRoleBinding.
-
#create_project_location_rollout_sequence(parent, rollout_sequence_object = nil, rollout_sequence_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a new rollout sequence resource.
-
#create_project_location_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Scope.
-
#create_project_location_scope_namespace(parent, namespace_object = nil, scope_namespace_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a fleet namespace.
-
#create_project_location_scope_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Scope RBACRoleBinding.
-
#delete_project_location_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Feature.
-
#delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Fleet.
-
#delete_project_location_membership(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Membership.
-
#delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a MembershipBinding.
-
#delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Membership RBACRoleBinding.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Empty
Deletes a long-running operation.
-
#delete_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a RolloutSequence.
-
#delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Scope.
-
#delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a fleet namespace.
-
#delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Scope RBACRoleBinding.
-
#force_project_location_rollout_complete_stage(name, force_complete_rollout_stage_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Force-completes a rollout stage.
-
#generate_project_location_membership_connect_manifest(name, image_pull_secret_content: nil, is_upgrade: nil, namespace: nil, proxy: nil, registry: nil, version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::GenerateConnectManifestResponse
Generates the manifest for deployment of the GKE connect agent.
-
#generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse
Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Location
Gets information about a location.
-
#get_project_location_feature(name, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Feature
Gets details of a single Feature.
-
#get_project_location_feature_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Fleet
Returns the details of a fleet.
-
#get_project_location_membership(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Membership
Gets the details of a Membership.
-
#get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::MembershipBinding
Returns the details of a MembershipBinding.
-
#get_project_location_membership_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RbacRoleBinding
Returns the details of a Membership RBACRoleBinding.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_rollout(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Rollout
Retrieves a single rollout.
-
#get_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RolloutSequence
Retrieve a single rollout sequence.
-
#get_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Scope
Returns the details of a Scope.
-
#get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Namespace
Returns the details of a fleet namespace.
-
#get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RbacRoleBinding
Returns the details of a Scope RBACRoleBinding.
-
#initialize ⇒ GKEHubService
constructor
A new instance of GKEHubService.
-
#list_organization_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
-
#list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFeaturesResponse
Lists Features in a given project and location.
-
#list_project_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
-
#list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipBindingsResponse
Lists MembershipBindings.
-
#list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse
Lists all Membership RBACRoleBindings.
-
#list_project_location_memberships(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipsResponse
Lists Memberships in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_rollout_sequences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListRolloutSequencesResponse
Retrieves the list of all rollout sequences.
-
#list_project_location_rollouts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListRolloutsResponse
Retrieves the list of all rollouts.
-
#list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListBoundMembershipsResponse
Lists Memberships bound to a Scope.
-
#list_project_location_scope_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopeNamespacesResponse
Lists fleet namespaces.
-
#list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListPermittedScopesResponse
Lists permitted Scopes.
-
#list_project_location_scope_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse
Lists all Scope RBACRoleBindings.
-
#list_project_location_scopes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopesResponse
Lists Scopes.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_feature(name, feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates an existing Feature.
-
#patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a fleet.
-
#patch_project_location_membership(name, membership_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates an existing Membership.
-
#patch_project_location_membership_binding(name, membership_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a MembershipBinding.
-
#patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a Membership RBACRoleBinding.
-
#patch_project_location_rollout_sequence(name, rollout_sequence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a rollout sequence.
-
#patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a scopes.
-
#patch_project_location_scope_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a fleet namespace.
-
#patch_project_location_scope_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a Scope RBACRoleBinding.
-
#pause_rollout(name, pause_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Pauses a running Rollout.
-
#resume_rollout(name, resume_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Resume a paused Rollout.
-
#set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_membership_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource.
-
#test_feature_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_membership_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ GKEHubService
Returns a new instance of GKEHubService.
47 48 49 50 51 52 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-gkehub_v1beta', client_version: Google::Apis::GkehubV1beta::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1575 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:cancel', ) command.request_representation = Google::Apis::GkehubV1beta::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::GkehubV1beta::Empty::Representation command.response_class = Google::Apis::GkehubV1beta::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Cancels a paused Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish. It's only valid to cancel a paused rollout, otherwise it will return a FAILED_PRECONDITION error.
1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1910 def cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:cancel', ) command.request_representation = Google::Apis::GkehubV1beta::CancelRolloutRequest::Representation command.request_object = cancel_rollout_request_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_feature(parent, feature_object = nil, feature_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Adds a new Feature.
217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 217 def create_project_location_feature(parent, feature_object = nil, feature_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/features', ) command.request_representation = Google::Apis::GkehubV1beta::Feature::Representation command.request_object = feature_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['featureId'] = feature_id unless feature_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a fleet.
565 566 567 568 569 570 571 572 573 574 575 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 565 def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/fleets', ) command.request_representation = Google::Apis::GkehubV1beta::Fleet::Representation command.request_object = fleet_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_membership(parent, membership_object = nil, membership_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a new Membership. This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a- cluster.
761 762 763 764 765 766 767 768 769 770 771 772 773 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 761 def create_project_location_membership(parent, membership_object = nil, membership_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/memberships', ) command.request_representation = Google::Apis::GkehubV1beta::Membership::Representation command.request_object = membership_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['membershipId'] = membership_id unless membership_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_membership_binding(parent, membership_binding_object = nil, membership_binding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a MembershipBinding.
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1165 def create_project_location_membership_binding(parent, membership_binding_object = nil, membership_binding_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/bindings', ) command.request_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation command.request_object = membership_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['membershipBindingId'] = membership_binding_id unless membership_binding_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Membership RBACRoleBinding.
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1350 def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', ) command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_rollout_sequence(parent, rollout_sequence_object = nil, rollout_sequence_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a new rollout sequence resource.
1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1726 def create_project_location_rollout_sequence(parent, rollout_sequence_object = nil, rollout_sequence_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/rolloutSequences', ) command.request_representation = Google::Apis::GkehubV1beta::RolloutSequence::Representation command.request_object = rollout_sequence_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['rolloutSequenceId'] = rollout_sequence_id unless rollout_sequence_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Scope.
2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2127 def create_project_location_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/scopes', ) command.request_representation = Google::Apis::GkehubV1beta::Scope::Representation command.request_object = scope_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['scopeId'] = scope_id unless scope_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_scope_namespace(parent, namespace_object = nil, scope_namespace_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a fleet namespace.
2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2518 def create_project_location_scope_namespace(parent, namespace_object = nil, scope_namespace_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/namespaces', ) command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation command.request_object = namespace_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['scopeNamespaceId'] = scope_namespace_id unless scope_namespace_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_scope_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Creates a Scope RBACRoleBinding.
2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2698 def create_project_location_scope_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings', ) command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Feature.
267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 267 def delete_project_location_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Fleet. There must be no memberships remaining in the Fleet.
598 599 600 601 602 603 604 605 606 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 598 def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_membership(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a Membership. This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https: //cloud.google.com/anthos/multicluster-management/connect/unregistering-a- cluster.
814 815 816 817 818 819 820 821 822 823 824 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 814 def delete_project_location_membership(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a MembershipBinding.
1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1199 def delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Membership RBACRoleBinding.
1384 1385 1386 1387 1388 1389 1390 1391 1392 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1384 def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
1610 1611 1612 1613 1614 1615 1616 1617 1618 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1610 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Empty::Representation command.response_class = Google::Apis::GkehubV1beta::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Removes a RolloutSequence.
1760 1761 1762 1763 1764 1765 1766 1767 1768 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1760 def delete_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Scope.
2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2161 def delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a fleet namespace.
2552 2553 2554 2555 2556 2557 2558 2559 2560 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2552 def delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Deletes a Scope RBACRoleBinding.
2732 2733 2734 2735 2736 2737 2738 2739 2740 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2732 def delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#force_project_location_rollout_complete_stage(name, force_complete_rollout_stage_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Force-completes a rollout stage. Only the active stage of an active rollout can be force-completed.
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1945 def force_project_location_rollout_complete_stage(name, force_complete_rollout_stage_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:forceCompleteStage', ) command.request_representation = Google::Apis::GkehubV1beta::ForceCompleteRolloutStageRequest::Representation command.request_object = force_complete_rollout_stage_request_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#generate_project_location_membership_connect_manifest(name, image_pull_secret_content: nil, is_upgrade: nil, namespace: nil, proxy: nil, registry: nil, version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::GenerateConnectManifestResponse
Generates the manifest for deployment of the GKE connect agent. This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 871 def generate_project_location_membership_connect_manifest(name, image_pull_secret_content: nil, is_upgrade: nil, namespace: nil, proxy: nil, registry: nil, version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}:generateConnectManifest', ) command.response_representation = Google::Apis::GkehubV1beta::GenerateConnectManifestResponse::Representation command.response_class = Google::Apis::GkehubV1beta::GenerateConnectManifestResponse command.params['name'] = name unless name.nil? command.query['imagePullSecretContent'] = image_pull_secret_content unless image_pull_secret_content.nil? command.query['isUpgrade'] = is_upgrade unless is_upgrade.nil? command.query['namespace'] = namespace unless namespace.nil? command.query['proxy'] = proxy unless proxy.nil? command.query['registry'] = registry unless registry.nil? command.query['version'] = version unless version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse
Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1423 def generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', ) command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse::Representation command.response_class = Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse command.params['parent'] = parent unless parent.nil? command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Location
Gets information about a location.
116 117 118 119 120 121 122 123 124 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 116 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Location::Representation command.response_class = Google::Apis::GkehubV1beta::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_feature(name, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Feature
Gets details of a single Feature.
305 306 307 308 309 310 311 312 313 314 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 305 def get_project_location_feature(name, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Feature::Representation command.response_class = Google::Apis::GkehubV1beta::Feature command.params['name'] = name unless name.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_feature_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
350 351 352 353 354 355 356 357 358 359 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 350 def get_project_location_feature_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Fleet
Returns the details of a fleet.
629 630 631 632 633 634 635 636 637 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 629 def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Fleet::Representation command.response_class = Google::Apis::GkehubV1beta::Fleet command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_membership(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Membership
Gets the details of a Membership.
908 909 910 911 912 913 914 915 916 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 908 def get_project_location_membership(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Membership::Representation command.response_class = Google::Apis::GkehubV1beta::Membership command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::MembershipBinding
Returns the details of a MembershipBinding.
1230 1231 1232 1233 1234 1235 1236 1237 1238 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1230 def get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation command.response_class = Google::Apis::GkehubV1beta::MembershipBinding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_membership_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
952 953 954 955 956 957 958 959 960 961 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 952 def get_project_location_membership_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RbacRoleBinding
Returns the details of a Membership RBACRoleBinding.
1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1457 def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1641 1642 1643 1644 1645 1646 1647 1648 1649 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1641 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_rollout(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Rollout
Retrieves a single rollout.
1978 1979 1980 1981 1982 1983 1984 1985 1986 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1978 def get_project_location_rollout(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Rollout::Representation command.response_class = Google::Apis::GkehubV1beta::Rollout command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RolloutSequence
Retrieve a single rollout sequence.
1791 1792 1793 1794 1795 1796 1797 1798 1799 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1791 def get_project_location_rollout_sequence(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::RolloutSequence::Representation command.response_class = Google::Apis::GkehubV1beta::RolloutSequence command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Scope
Returns the details of a Scope.
2192 2193 2194 2195 2196 2197 2198 2199 2200 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2192 def get_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Scope::Representation command.response_class = Google::Apis::GkehubV1beta::Scope command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2236 def get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Namespace
Returns the details of a fleet namespace.
2583 2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2583 def get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::Namespace::Representation command.response_class = Google::Apis::GkehubV1beta::Namespace command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::RbacRoleBinding
Returns the details of a Scope RBACRoleBinding.
2763 2764 2765 2766 2767 2768 2769 2770 2771 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2763 def get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.response_class = Google::Apis::GkehubV1beta::RbacRoleBinding command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 84 def list_organization_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/fleets', ) command.response_representation = Google::Apis::GkehubV1beta::ListFleetsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListFleetsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFeaturesResponse
Lists Features in a given project and location.
403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 403 def list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/features', ) command.response_representation = Google::Apis::GkehubV1beta::ListFeaturesResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListFeaturesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
669 670 671 672 673 674 675 676 677 678 679 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 669 def list_project_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/fleets', ) command.response_representation = Google::Apis::GkehubV1beta::ListFleetsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListFleetsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipBindingsResponse
Lists MembershipBindings.
1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1272 def list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/bindings', ) command.response_representation = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListMembershipBindingsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse
Lists all Membership RBACRoleBindings.
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1496 def list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', ) command.response_representation = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListMembershipRbacRoleBindingsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_memberships(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListMembershipsResponse
Lists Memberships in a given project and location.
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1002 def list_project_location_memberships(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/memberships', ) command.response_representation = Google::Apis::GkehubV1beta::ListMembershipsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListMembershipsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1686 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/operations', ) command.response_representation = Google::Apis::GkehubV1beta::ListOperationsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_rollout_sequences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListRolloutSequencesResponse
Retrieves the list of all rollout sequences.
1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1835 def list_project_location_rollout_sequences(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/rolloutSequences', ) command.response_representation = Google::Apis::GkehubV1beta::ListRolloutSequencesResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListRolloutSequencesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_rollouts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListRolloutsResponse
Retrieves the list of all rollouts.
2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2020 def list_project_location_rollouts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/rollouts', ) command.response_representation = Google::Apis::GkehubV1beta::ListRolloutsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListRolloutsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListBoundMembershipsResponse
Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.
2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2323 def list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+scopeName}:listMemberships', ) command.response_representation = Google::Apis::GkehubV1beta::ListBoundMembershipsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListBoundMembershipsResponse command.params['scopeName'] = scope_name unless scope_name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_scope_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopeNamespacesResponse
Lists fleet namespaces.
2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2621 def list_project_location_scope_namespaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/namespaces', ) command.response_representation = Google::Apis::GkehubV1beta::ListScopeNamespacesResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListScopeNamespacesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListPermittedScopesResponse
Lists permitted Scopes.
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2365 def list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/scopes:listPermitted', ) command.response_representation = Google::Apis::GkehubV1beta::ListPermittedScopesResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListPermittedScopesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_scope_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse
Lists all Scope RBACRoleBindings.
2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2802 def list_project_location_scope_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/rbacrolebindings', ) command.response_representation = Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListScopeRbacRoleBindingsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_scopes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListScopesResponse
Lists Scopes.
2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2275 def list_project_location_scopes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/scopes', ) command.response_representation = Google::Apis::GkehubV1beta::ListScopesResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListScopesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 168 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/locations', ) command.response_representation = Google::Apis::GkehubV1beta::ListLocationsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_feature(name, feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates an existing Feature.
453 454 455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 453 def patch_project_location_feature(name, feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::Feature::Representation command.request_object = feature_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a fleet.
706 707 708 709 710 711 712 713 714 715 716 717 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 706 def patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::Fleet::Representation command.request_object = fleet_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_membership(name, membership_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates an existing Membership.
1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1051 def patch_project_location_membership(name, membership_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::Membership::Representation command.request_object = membership_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_membership_binding(name, membership_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a MembershipBinding.
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1309 def patch_project_location_membership_binding(name, membership_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::MembershipBinding::Representation command.request_object = membership_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a Membership RBACRoleBinding.
1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1534 def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_rollout_sequence(name, rollout_sequence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a rollout sequence.
1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1872 def patch_project_location_rollout_sequence(name, rollout_sequence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::RolloutSequence::Representation command.request_object = rollout_sequence_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a scopes.
2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2401 def patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::Scope::Representation command.request_object = scope_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_scope_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a fleet namespace.
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2657 def patch_project_location_scope_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::Namespace::Representation command.request_object = namespace_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_scope_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Updates a Scope RBACRoleBinding.
2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2840 def patch_project_location_scope_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GkehubV1beta::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#pause_rollout(name, pause_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Pauses a running Rollout. The rollout will not be started on new clusters, however the rollout running on the cluster will be allowed to finish.
2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2056 def pause_rollout(name, pause_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:pause', ) command.request_representation = Google::Apis::GkehubV1beta::PauseRolloutRequest::Representation command.request_object = pause_rollout_request_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resume_rollout(name, resume_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Operation
Resume a paused Rollout. The rollout will be resumed and allowed to be started on clusters.
2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2091 def resume_rollout(name, resume_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:resume', ) command.request_representation = Google::Apis::GkehubV1beta::ResumeRolloutRequest::Representation command.request_object = resume_rollout_request_object command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation command.response_class = Google::Apis::GkehubV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
492 493 494 495 496 497 498 499 500 501 502 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 492 def set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_membership_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1090 def set_membership_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2439 def set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1beta::Policy::Representation command.response_class = Google::Apis::GkehubV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_feature_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 531 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_membership_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 1129 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 |
# File 'lib/google/apis/gkehub_v1beta/service.rb', line 2478 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |