Scope(mapping=None, *, ignore_unknown_fields=False, **kwargs)Scope represents a Scope in a Fleet.
Attributes |
|
|---|---|
| Name | Description |
name |
str
The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}
|
uid |
str
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 |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the scope was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the scope was last updated. |
delete_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. When the scope was deleted. |
state |
google.cloud.gkehub_v1.types.ScopeLifecycleState
Output only. State of the scope resource. |
namespace_labels |
MutableMapping[str, str]
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 |
MutableMapping[str, str]
Optional. Labels for this Scope. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
NamespaceLabelsEntry
NamespaceLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |