Class Machine (0.5.12)

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

A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.

Attributes

Name Description
name str
Required. The resource name of the machine.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the node pool was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the node pool was last updated.
labels MutableMapping[str, str]
Labels associated with this resource.
hosted_node str
Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, Or empty if the machine is not assigned to assume the role of a node. For control plane nodes hosted on edge machines, this will return the following format: "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".
zone str
The Google Distributed Cloud Edge zone of this machine.
version str
Output only. The software version of the machine.
disabled bool
Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.

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.