# REST Resource: projects.locations.machines

- [Resource: Machine](https://docs.cloud.google.com/distributed-cloud/connected/1.6.0/docs/reference/container/rest/v1/projects.locations.machines#Machine)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.6.0/docs/reference/container/rest/v1/projects.locations.machines#Machine.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/distributed-cloud/connected/1.6.0/docs/reference/container/rest/v1/projects.locations.machines#METHODS_SUMMARY)

## 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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 ||
|---|---|
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.6.0/docs/reference/container/rest/v1/projects.locations.machines/get` | Gets details of a single Machine. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/1.6.0/docs/reference/container/rest/v1/projects.locations.machines/list` | Lists Machines in a given project and location. |