Class: Google::Cloud::Dataproc::V1::CreateNodeGroupRequest

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

Overview

A request to create a node group.

Instance Attribute Summary collapse

Instance Attribute Details

#node_group::Google::Cloud::Dataproc::V1::NodeGroup

Returns Required. The node group to create.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/dataproc/v1/node_groups.rb', line 53

class CreateNodeGroupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_group_id::String

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



53
54
55
56
# File 'proto_docs/google/cloud/dataproc/v1/node_groups.rb', line 53

class CreateNodeGroupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

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



53
54
55
56
# File 'proto_docs/google/cloud/dataproc/v1/node_groups.rb', line 53

class CreateNodeGroupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_id::String

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



53
54
55
56
# File 'proto_docs/google/cloud/dataproc/v1/node_groups.rb', line 53

class CreateNodeGroupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end