Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class PBNamespace.
Namespace represents a namespace across the Fleet
Generated from protobuf message google.cloud.gkehub.v1.Namespace
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
↳ uid
string
Output 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.
↳ create_time
↳ update_time
↳ delete_time
↳ state
↳ scope
string
Required. Scope associated with the namespace
↳ namespace_labels
array| Google\Protobuf\Internal\MapField
Optional. 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.
↳ labels
getName
The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
string
setName
The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
var
string
$this
getUid
Output 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.
string
setUid
Output 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.
var
string
$this
getCreateTime
Output only. When the namespace was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. When the namespace was created.
$this
getUpdateTime
Output only. When the namespace was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. When the namespace was last updated.
$this
getDeleteTime
Output only. When the namespace was deleted.
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. When the namespace was deleted.
$this
getState
Output only. State of the namespace resource.
hasState
clearState
setState
Output only. State of the namespace resource.
$this
getScope
Required. Scope associated with the namespace
string
setScope
Required. Scope associated with the namespace
var
string
$this
getNamespaceLabels
Optional. 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.
setNamespaceLabels
Optional. 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.
$this
getLabels
Optional. Labels for this Namespace.
setLabels
Optional. Labels for this Namespace.
$this

