Class Fleet (1.21.0)

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

Fleet contains the Fleet-wide metadata and configuration.

Attributes

Name Description
name str
Output only. The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default".
display_name str
Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: Production Fleet
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the Fleet was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the Fleet was last updated.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the Fleet was deleted.
uid str
Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
state google.cloud.gkehub_v1.types.FleetLifecycleState
Output only. State of the namespace resource.
default_cluster_config google.cloud.gkehub_v1.types.DefaultClusterConfig
Optional. The default cluster configurations to apply across the fleet.
labels MutableMapping[str, str]
Optional. Labels for this Fleet.

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.