Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::NodeGroup.
Dataproc Node Group.
The Dataproc NodeGroup
resource is not related to the
Dataproc NodeGroupAffinity
resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) —
Optional. Node group labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) —
Optional. Node group labels.
Returns
-
(::Google::Protobuf::Map{::String => ::String}) —
Optional. Node group labels.
#name
def name() -> ::String
Returns
- (::String) — The Node group resource name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The Node group resource name.
Returns
- (::String) — The Node group resource name.
#node_group_config
def node_group_config() -> ::Google::Cloud::Dataproc::V1::InstanceGroupConfig
Returns
- (::Google::Cloud::Dataproc::V1::InstanceGroupConfig) — Optional. The node group instance group configuration.
#node_group_config=
def node_group_config=(value) -> ::Google::Cloud::Dataproc::V1::InstanceGroupConfig
Parameter
- value (::Google::Cloud::Dataproc::V1::InstanceGroupConfig) — Optional. The node group instance group configuration.
Returns
- (::Google::Cloud::Dataproc::V1::InstanceGroupConfig) — Optional. The node group instance group configuration.
#roles
def roles() -> ::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>
Returns
- (::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>) — Required. Node group roles.
#roles=
def roles=(value) -> ::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>
Parameter
- value (::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>) — Required. Node group roles.
Returns
- (::Array<::Google::Cloud::Dataproc::V1::NodeGroup::Role>) — Required. Node group roles.