Method: projects.regions.clusters.get

Gets the resource representation for a cluster in a project.

HTTP request

GET https://dataproc.googleapis.com/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

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

region

string

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

clusterName

string

Required. The cluster name.

Authorization requires the following IAM permission on the specified resource clusterName:

  • dataproc.clusters.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Cluster.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.