Class Namespace (1.23.0)

  Namespace 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Namespace represents a namespace across the Fleet

Attributes

Name
Description
name
str
The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
uid
str
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
google.protobuf.timestamp_pb2.Timestamp
Output only. When the namespace was created.
update_time
google.protobuf.timestamp_pb2.Timestamp
Output only. When the namespace was last updated.
delete_time
google.protobuf.timestamp_pb2.Timestamp
Output only. When the namespace was deleted.
state
google.cloud.gkehub_v1.types.NamespaceLifecycleState
Output only. State of the namespace resource.
scope
str
Required. Scope associated with the namespace
namespace_labels
MutableMapping[str, str]
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
MutableMapping[str, str]
Optional. Labels for this Namespace.

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, .Message ]

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 mapping is a mapping type or there are keyword parameters.

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, .Message ]

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 mapping is a mapping type or there are keyword parameters.

Create a Mobile Website
View Site in Mobile | Classic
Share by: