Class: Google::Cloud::EdgeContainer::V1::Machine

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/edgecontainer/v1/resources.rb

Overview

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

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

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

Returns:



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#disabled::Boolean (readonly)

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

Returns:

  • (::Boolean)

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



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#hosted_node::String

Returns 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}".



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels associated with this resource.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels associated with this resource.



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns Required. The resource name of the machine.

Returns:

  • (::String)

    Required. The resource name of the machine.



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

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

Returns:



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#version::String (readonly)

Returns Output only. The software version of the machine.

Returns:

  • (::String)

    Output only. The software version of the machine.



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#zone::String

Returns The Google Distributed Cloud Edge zone of this machine.

Returns:

  • (::String)

    The Google Distributed Cloud Edge zone of this machine.



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/edgecontainer/v1/resources.rb', line 555

class Machine
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end