Class: Google::Cloud::Dataproc::V1::CreateClusterRequest

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

Overview

A request to create a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#action_on_failed_primary_workers::Google::Cloud::Dataproc::V1::FailureAction

Returns Optional. Failure action when primary worker creation fails.

Returns:



1347
1348
1349
1350
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 1347

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

#cluster::Google::Cloud::Dataproc::V1::Cluster

Returns Required. The cluster to create.

Returns:



1347
1348
1349
1350
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 1347

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

#project_id::String

Returns Required. The ID of the Google Cloud Platform project that the cluster belongs to.

Returns:

  • (::String)

    Required. The ID of the Google Cloud Platform project that the cluster belongs to.



1347
1348
1349
1350
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 1347

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

#region::String

Returns Required. The Dataproc region in which to handle the request.

Returns:

  • (::String)

    Required. The Dataproc region in which to handle the request.



1347
1348
1349
1350
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 1347

class CreateClusterRequest
  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 CreateClusterRequests with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.

It is recommended to always 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 CreateClusterRequests with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.

    It is recommended to always 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.



1347
1348
1349
1350
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 1347

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