Class: Google::Cloud::Dataproc::V1beta2::CreateClusterRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb

Overview

A request to create a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#clusterGoogle::Cloud::Dataproc::V1beta2::Cluster

Returns Required. The cluster to create.

Returns:



596
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 596

class CreateClusterRequest; end

#project_idString

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.



596
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 596

class CreateClusterRequest; end

#regionString

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

Returns:

  • (String)

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



596
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 596

class CreateClusterRequest; end

#request_idString

Returns Optional. A unique id used to identify the request. If the server receives two CreateClusterRequest requests with the same id, then the second request will be ignored and the first 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 CreateClusterRequest requests with the same id, then the second request will be ignored and the first 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.



596
# File 'lib/google/cloud/dataproc/v1beta2/doc/google/cloud/dataproc/v1beta2/clusters.rb', line 596

class CreateClusterRequest; end