v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1362267343.4 KB
projects

Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).

post/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose

Path parameters

projectIdstring required

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

regionstring required

Required. The region in which to handle the request.

clusterNamestring required

Required. The cluster name.

Request body

yarnApplicationIdstring

Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.

tarballAccess'TARBALL_ACCESS_UNSPECIFIED' | 'GOOGLE_CLOUD_SUPPORT' | 'GOOGLE_DATAPROC_DIAGNOSE'

Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket

tarballGcsDirstring

Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.

jobstring

Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

jobsstring[]

Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}

yarnApplicationIdsstring[]

Optional. Specifies a list of yarn applications on which diagnosis is to be performed.

Response

Successful response