Class: Google::Apis::GkehubV1alpha::GKEHubService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::GkehubV1alpha::GKEHubService
- Defined in:
- lib/google/apis/gkehub_v1alpha/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::GkehubV1alpha::Empty
Starts asynchronous cancellation on a long-running operation.
-
#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::GkehubV1alpha::Operation
Adds a new Feature.
-
#create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a Membership RBACRoleBinding.
-
#create_project_location_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Operation
Removes a Feature.
-
#delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Removes a Membership.
-
#delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a MembershipBinding.
-
#delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a Membership RBACRoleBinding.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Empty
Deletes a long-running operation.
-
#delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a Scope.
-
#delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a fleet namespace.
-
#delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a Scope RBACRoleBinding.
-
#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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Location
Gets information about a location.
-
#get_project_location_feature(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Fleet
Returns the details of a fleet.
-
#get_project_location_membership(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Membership
Gets the details of a Membership.
-
#get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::RbacRoleBinding
Returns the details of a Membership RBACRoleBinding.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
-
#list_project_location_membership_admin(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse
Lists Memberships of admin clusters in a given project and location.
-
#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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::ListMembershipsResponse
Lists Memberships in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::ListScopesResponse
Lists Scopes.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a Membership RBACRoleBinding.
-
#patch_project_location_scope(name, scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a Scope RBACRoleBinding.
-
#set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::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::GkehubV1alpha::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#validate_create_membership(parent, validate_create_membership_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse
ValidateCreateMembership is a preflight check for CreateMembership.
Constructor Details
#initialize ⇒ GKEHubService
Returns a new instance of GKEHubService.
47 48 49 50 51 52 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-gkehub_v1alpha', client_version: Google::Apis::GkehubV1alpha::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_v1alpha/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_v1alpha/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::GkehubV1alpha::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
.
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1635 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:cancel', ) command.request_representation = Google::Apis::GkehubV1alpha::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::GkehubV1alpha::Empty::Representation command.response_class = Google::Apis::GkehubV1alpha::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 |
#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::GkehubV1alpha::Operation
Adds a new Feature.
204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 204 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, 'v1alpha/{+parent}/features', ) command.request_representation = Google::Apis::GkehubV1alpha::Feature::Representation command.request_object = feature_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a fleet.
540 541 542 543 544 545 546 547 548 549 550 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 540 def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/fleets', ) command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation command.request_object = fleet_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
736 737 738 739 740 741 742 743 744 745 746 747 748 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 736 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, 'v1alpha/{+parent}/memberships', ) command.request_representation = Google::Apis::GkehubV1alpha::Membership::Representation command.request_object = membership_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a MembershipBinding.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1225 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, 'v1alpha/{+parent}/bindings', ) command.request_representation = Google::Apis::GkehubV1alpha::MembershipBinding::Representation command.request_object = membership_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a Membership RBACRoleBinding.
1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1410 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, 'v1alpha/{+parent}/rbacrolebindings', ) command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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_scope(parent, scope_object = nil, scope_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Creates a Scope.
1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1775 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, 'v1alpha/{+parent}/scopes', ) command.request_representation = Google::Apis::GkehubV1alpha::Scope::Representation command.request_object = scope_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a fleet namespace.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2166 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, 'v1alpha/{+parent}/namespaces', ) command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation command.request_object = namespace_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Creates a Scope RBACRoleBinding.
2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2346 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, 'v1alpha/{+parent}/rbacrolebindings', ) command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Removes a Feature.
254 255 256 257 258 259 260 261 262 263 264 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 254 def delete_project_location_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Removes a Fleet. There must be no memberships remaining in the Fleet.
573 574 575 576 577 578 579 580 581 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 573 def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 789 def delete_project_location_membership(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Deletes a MembershipBinding.
1259 1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1259 def delete_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Deletes a Membership RBACRoleBinding.
1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1444 def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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
.
1670 1671 1672 1673 1674 1675 1676 1677 1678 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1670 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Empty::Representation command.response_class = Google::Apis::GkehubV1alpha::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_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Operation
Deletes a Scope.
1809 1810 1811 1812 1813 1814 1815 1816 1817 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1809 def delete_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Deletes a fleet namespace.
2200 2201 2202 2203 2204 2205 2206 2207 2208 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2200 def delete_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Deletes a Scope RBACRoleBinding.
2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2380 def delete_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 846 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, 'v1alpha/{+name}:generateConnectManifest', ) command.response_representation = Google::Apis::GkehubV1alpha::GenerateConnectManifestResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse
Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1483 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, 'v1alpha/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', ) command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Location
Gets information about a location.
116 117 118 119 120 121 122 123 124 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 116 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Location::Representation command.response_class = Google::Apis::GkehubV1alpha::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Feature
Gets details of a single Feature.
287 288 289 290 291 292 293 294 295 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 287 def get_project_location_feature(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Feature::Representation command.response_class = Google::Apis::GkehubV1alpha::Feature 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_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
331 332 333 334 335 336 337 338 339 340 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 331 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, 'v1alpha/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Fleet
Returns the details of a fleet.
604 605 606 607 608 609 610 611 612 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 604 def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Membership
Gets the details of a Membership.
883 884 885 886 887 888 889 890 891 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 883 def get_project_location_membership(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Membership::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::MembershipBinding
Returns the details of a MembershipBinding.
1290 1291 1292 1293 1294 1295 1296 1297 1298 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1290 def get_project_location_membership_binding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::MembershipBinding::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
927 928 929 930 931 932 933 934 935 936 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 927 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, 'v1alpha/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::RbacRoleBinding
Returns the details of a Membership RBACRoleBinding.
1517 1518 1519 1520 1521 1522 1523 1524 1525 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1517 def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1701 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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_scope(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Scope
Returns the details of a Scope.
1840 1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1840 def get_project_location_scope(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Scope::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1884 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, 'v1alpha/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Namespace
Returns the details of a fleet namespace.
2231 2232 2233 2234 2235 2236 2237 2238 2239 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2231 def get_project_location_scope_namespace(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::Namespace::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::RbacRoleBinding
Returns the details of a Scope RBACRoleBinding.
2411 2412 2413 2414 2415 2416 2417 2418 2419 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2411 def get_project_location_scope_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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_v1alpha/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, 'v1alpha/{+parent}/fleets', ) command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListFeaturesResponse
Lists Features in a given project and location.
379 380 381 382 383 384 385 386 387 388 389 390 391 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 379 def list_project_location_features(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, 'v1alpha/{+parent}/features', ) command.response_representation = Google::Apis::GkehubV1alpha::ListFeaturesResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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['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::GkehubV1alpha::ListFleetsResponse
Returns all fleets within an organization or a project that the caller has access to.
644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 644 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, 'v1alpha/{+parent}/fleets', ) command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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_admin(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse
Lists Memberships of admin clusters in a given project and location. This method is only used internally.
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1026 def list_project_location_membership_admin(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, 'v1alpha/{+parent}/memberships:listAdmin', ) command.response_representation = Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::ListAdminClusterMembershipsResponse 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_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse
Lists MembershipBindings.
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1332 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, 'v1alpha/{+parent}/bindings', ) command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse
Lists all Membership RBACRoleBindings.
1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1556 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, 'v1alpha/{+parent}/rbacrolebindings', ) command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListMembershipsResponse
Lists Memberships in a given project and location.
977 978 979 980 981 982 983 984 985 986 987 988 989 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 977 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, 'v1alpha/{+parent}/memberships', ) command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1738 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/operations', ) command.response_representation = Google::Apis::GkehubV1alpha::ListOperationsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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['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::GkehubV1alpha::ListBoundMembershipsResponse
Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.
1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1971 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, 'v1alpha/{+scopeName}:listMemberships', ) command.response_representation = Google::Apis::GkehubV1alpha::ListBoundMembershipsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListScopeNamespacesResponse
Lists fleet namespaces.
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2269 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, 'v1alpha/{+parent}/namespaces', ) command.response_representation = Google::Apis::GkehubV1alpha::ListScopeNamespacesResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListPermittedScopesResponse
Lists permitted Scopes.
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2013 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, 'v1alpha/{+parent}/scopes:listPermitted', ) command.response_representation = Google::Apis::GkehubV1alpha::ListPermittedScopesResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListScopeRbacRoleBindingsResponse
Lists all Scope RBACRoleBindings.
2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2450 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, 'v1alpha/{+parent}/rbacrolebindings', ) command.response_representation = Google::Apis::GkehubV1alpha::ListScopeRbacRoleBindingsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::ListScopesResponse
Lists Scopes.
1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1923 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, 'v1alpha/{+parent}/scopes', ) command.response_representation = Google::Apis::GkehubV1alpha::ListScopesResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ListLocationsResponse
Lists information about the supported locations for this service.
156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 156 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/locations', ) command.response_representation = Google::Apis::GkehubV1alpha::ListLocationsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::ListLocationsResponse 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['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::GkehubV1alpha::Operation
Updates an existing Feature.
428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 428 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::Feature::Representation command.request_object = feature_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a fleet.
681 682 683 684 685 686 687 688 689 690 691 692 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 681 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation command.request_object = fleet_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates an existing Membership.
1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1075 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::Membership::Representation command.request_object = membership_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a MembershipBinding.
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1369 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::MembershipBinding::Representation command.request_object = membership_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a Membership RBACRoleBinding.
1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1594 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a scopes.
2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2049 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::Scope::Representation command.request_object = scope_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a fleet namespace.
2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2305 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::Namespace::Representation command.request_object = namespace_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Operation
Updates a Scope RBACRoleBinding.
2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2488 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, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation command.request_object = rbac_role_binding_object command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation command.response_class = Google::Apis::GkehubV1alpha::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 |
#set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
467 468 469 470 471 472 473 474 475 476 477 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 467 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, 'v1alpha/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1alpha::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1114 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, 'v1alpha/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1alpha::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2087 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, 'v1alpha/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GkehubV1alpha::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 506 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1153 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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::GkehubV1alpha::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.
2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 2126 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::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 |
#validate_create_membership(parent, validate_create_membership_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse
ValidateCreateMembership is a preflight check for CreateMembership. It checks
the following: 1. Caller has the required gkehub.memberships.create
permission. 2. The membership_id is still available.
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 |
# File 'lib/google/apis/gkehub_v1alpha/service.rb', line 1189 def validate_create_membership(parent, validate_create_membership_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/memberships:validateCreate', ) command.request_representation = Google::Apis::GkehubV1alpha::ValidateCreateMembershipRequest::Representation command.request_object = validate_create_membership_request_object command.response_representation = Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse::Representation command.response_class = Google::Apis::GkehubV1alpha::ValidateCreateMembershipResponse 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 |