Skip to main content

scopes

Overview

Namescopes
TypeResource
Idgoogle.gkehub.scopes

Fields

NameDatatypeDescription
namestringThe resource name for the scope projects/{project}/locations/{location}/scopes/{scope}
allMembershipsbooleanIf true, all Memberships in the Fleet bind to this Scope.
createTimestringOutput only. When the scope was created.
deleteTimestringOutput only. When the scope was deleted.
labelsobjectOptional. Labels for this Scope.
namespaceLabelsobjectOptional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
stateobjectScopeLifecycleState describes the state of a Scope resource.
uidstringOutput only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.
updateTimestringOutput only. When the scope was last updated.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_scopes_getSELECTlocationsId, projectsId, scopesIdReturns the details of a Scope.
projects_locations_scopes_listSELECTlocationsId, projectsIdLists Scopes.
projects_locations_scopes_createINSERTlocationsId, projectsIdCreates a Scope.
projects_locations_scopes_deleteDELETElocationsId, projectsId, scopesIdDeletes a Scope.
_projects_locations_scopes_listEXEClocationsId, projectsIdLists Scopes.
projects_locations_scopes_patchEXEClocationsId, projectsId, scopesIdUpdates a scopes.