Skip to main content

namespaces

Overview

Namenamespaces
TypeResource
Idgoogle.gkehub.namespaces

Fields

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

Methods

NameAccessible byRequired ParamsDescription
projects_locations_scopes_namespaces_getSELECTlocationsId, namespacesId, projectsId, scopesIdReturns the details of a fleet namespace.
projects_locations_scopes_namespaces_listSELECTlocationsId, projectsId, scopesIdLists fleet namespaces.
projects_locations_scopes_namespaces_createINSERTlocationsId, projectsId, scopesIdCreates a fleet namespace.
projects_locations_scopes_namespaces_deleteDELETElocationsId, namespacesId, projectsId, scopesIdDeletes a fleet namespace.
_projects_locations_scopes_namespaces_listEXEClocationsId, projectsId, scopesIdLists fleet namespaces.
projects_locations_scopes_namespaces_patchEXEClocationsId, namespacesId, projectsId, scopesIdUpdates a fleet namespace.