(::Boolean) — Output only. Whether the machine is disabled. If disabled, the machine is
unable to enter service.
#hosted_node
defhosted_node()->::String
Returns
(::String) — 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}".
#hosted_node=
defhosted_node=(value)->::String
Parameter
value (::String) — 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}".
Returns
(::String) — 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}".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Distributed Cloud Edge Container V1 API - Class Google::Cloud::EdgeContainer::V1::Machine (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-edge_container-v1/latest/Google-Cloud-EdgeContainer-V1-Machine)\n- [1.0.1](/ruby/docs/reference/google-cloud-edge_container-v1/1.0.1/Google-Cloud-EdgeContainer-V1-Machine)\n- [0.4.0](/ruby/docs/reference/google-cloud-edge_container-v1/0.4.0/Google-Cloud-EdgeContainer-V1-Machine)\n- [0.3.0](/ruby/docs/reference/google-cloud-edge_container-v1/0.3.0/Google-Cloud-EdgeContainer-V1-Machine)\n- [0.2.0](/ruby/docs/reference/google-cloud-edge_container-v1/0.2.0/Google-Cloud-EdgeContainer-V1-Machine)\n- [0.1.1](/ruby/docs/reference/google-cloud-edge_container-v1/0.1.1/Google-Cloud-EdgeContainer-V1-Machine) \nReference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::Machine.\n\nA Google Distributed Cloud Edge machine capable of acting as a Kubernetes\nnode. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time when the node pool was created.\n\n### #disabled\n\n def disabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.\n\n### #hosted_node\n\n def hosted_node() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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.\n\n For control plane nodes hosted on edge machines, this will return\n the following format:\n \"projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}\".\n\n### #hosted_node=\n\n def hosted_node=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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.\n\n\n For control plane nodes hosted on edge machines, this will return\n the following format:\n\"projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}\". \n**Returns**\n\n- (::String) --- 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.\n\n For control plane nodes hosted on edge machines, this will return\n the following format:\n \"projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}\".\n\n### #labels\n\n def labels() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Labels associated with this resource.\n\n### #labels=\n\n def labels=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Labels associated with this resource. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Labels associated with this resource.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the machine.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the machine. \n**Returns**\n\n- (::String) --- Required. The resource name of the machine.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time when the node pool was last updated.\n\n### #version\n\n def version() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The software version of the machine.\n\n### #zone\n\n def zone() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The Google Distributed Cloud Edge zone of this machine.\n\n### #zone=\n\n def zone=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The Google Distributed Cloud Edge zone of this machine. \n**Returns**\n\n- (::String) --- The Google Distributed Cloud Edge zone of this machine."]]