Method: projects.regions.clusters.diagnose

Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.

HTTP request

POST https://dataproc.googleapis.com/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
projectId

string

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

region

string

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

clusterName

string

Required. The cluster name.

Authorization requires the following Google IAM permission on the specified resource cluster_name:

  • dataproc.clusters.diagnose

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataproc