Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::Machine.
A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the node pool was created.
#disabled
def disabled() -> ::Boolean
- (::Boolean) — Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.
#hosted_node
def hosted_node() -> ::String
-
(::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=
def hosted_node=(value) -> ::String
-
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}".
-
(::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}".
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with this resource.
#name
def name() -> ::String
- (::String) — Required. The resource name of the machine.
#name=
def name=(value) -> ::String
- value (::String) — Required. The resource name of the machine.
- (::String) — Required. The resource name of the machine.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the node pool was last updated.
#version
def version() -> ::String
- (::String) — Output only. The software version of the machine.
#zone
def zone() -> ::String
- (::String) — The Google Distributed Cloud Edge zone of this machine.
#zone=
def zone=(value) -> ::String
- value (::String) — The Google Distributed Cloud Edge zone of this machine.
- (::String) — The Google Distributed Cloud Edge zone of this machine.