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

