Class: Google::Cloud::Dataproc::V1::NodeGroup

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

Overview

Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.

Defined Under Namespace

Modules: Role Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Optional. Node group labels.

  • Label keys must consist of from 1 to 63 characters and conform to RFC 1035.
  • Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035.
  • The node group must have no more than 32 labels.

Returns:

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

    Optional. Node group labels.

    • Label keys must consist of from 1 to 63 characters and conform to RFC 1035.
    • Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035.
    • The node group must have no more than 32 labels.


690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 690

class NodeGroup
  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

  # Node group roles.
  module Role
    # Required unspecified role.
    ROLE_UNSPECIFIED = 0

    # Job drivers run on the node group.
    DRIVER = 1
  end
end

#name::String

Returns The Node group resource name.

Returns:



690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 690

class NodeGroup
  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

  # Node group roles.
  module Role
    # Required unspecified role.
    ROLE_UNSPECIFIED = 0

    # Job drivers run on the node group.
    DRIVER = 1
  end
end

#node_group_config::Google::Cloud::Dataproc::V1::InstanceGroupConfig

Returns Optional. The node group instance group configuration.

Returns:



690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 690

class NodeGroup
  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

  # Node group roles.
  module Role
    # Required unspecified role.
    ROLE_UNSPECIFIED = 0

    # Job drivers run on the node group.
    DRIVER = 1
  end
end

#roles::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>

Returns Required. Node group roles.

Returns:



690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 690

class NodeGroup
  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

  # Node group roles.
  module Role
    # Required unspecified role.
    ROLE_UNSPECIFIED = 0

    # Job drivers run on the node group.
    DRIVER = 1
  end
end