Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::CreateNodeGroupRequest (v0.16.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::CreateNodeGroupRequest.

A request to create a node group.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#node_group

def node_group() -> ::Google::Cloud::Dataproc::V1::NodeGroup
Returns

#node_group=

def node_group=(value) -> ::Google::Cloud::Dataproc::V1::NodeGroup
Parameter
Returns

#node_group_id

def node_group_id() -> ::String
Returns
  • (::String) — Optional. An optional node group ID. Generated if not specified.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

#node_group_id=

def node_group_id=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional node group ID. Generated if not specified.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

Returns
  • (::String) — Optional. An optional node group ID. Generated if not specified.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}
Returns
  • (::String) — Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}

#request_id

def request_id() -> ::String
Returns
  • (::String) — Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.

    Recommendation: Set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

#request_id=

def request_id=(value) -> ::String
Parameter
  • value (::String) — Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.

    Recommendation: Set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Returns
  • (::String) — Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.

    Recommendation: Set this value to a UUID.

    The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.