Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::CreateClusterRequest (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::CreateClusterRequest.

A request to create a cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster

defcluster()->::Google::Cloud::Dataproc::V1beta2::Cluster
Returns

#cluster=

defcluster=(value)->::Google::Cloud::Dataproc::V1beta2::Cluster
Parameter
Returns

#project_id

defproject_id()->::String
Returns
  • (::String) — Required. The ID of the Google Cloud Platform project that the cluster belongs to.

#project_id=

defproject_id=(value)->::String
Parameter
  • value (::String) — 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.

#region

defregion()->::String
Returns
  • (::String) — Required. The Dataproc region in which to handle the request.

#region=

defregion=(value)->::String
Parameter
  • value (::String) — Required. The Dataproc region in which to handle the request.
Returns
  • (::String) — Required. The Dataproc region in which to handle the request.

#request_id

defrequest_id()->::String
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 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.

#request_id=

defrequest_id=(value)->::String
Parameter
  • value (::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 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 CreateClusterRequest requests 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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.