REST Resource: projects.locations.machines

Resource: Machine

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

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "hostedNode": string,
  "zone": string,
  "version": string,
  "disabled": boolean
}
Fields
name

string

Required. The resource name of the machine.

createTime

string (Timestamp format)

Output only. The time when the node pool was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time when the node pool was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Labels associated with this resource.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

hostedNode

string

Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{clusterId}/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/{clusterId}/controlPlaneNodes/{node}".

zone

string

The Google Distributed Cloud Edge zone of this machine.

version

string

Output only. The software version of the machine.

disabled

boolean

Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.

Methods

get

Gets details of a single Machine.

list

Lists Machines in a given project and location.