Cloud Dataproc API

Manages Hadoop-based clusters and jobs on Google Cloud Platform.

Service: dataproc.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://dataproc.googleapis.com

REST Resource: v1.projects.locations.batches

Methods
create POST /v1/{parent=projects/*/locations/*}/batches
Creates a batch workload that executes asynchronously.
delete DELETE /v1/{name=projects/*/locations/*/batches/*}
Deletes the batch workload resource.
get GET /v1/{name=projects/*/locations/*/batches/*}
Gets the batch workload resource representation.
list GET /v1/{parent=projects/*/locations/*}/batches
Lists batch workloads.

REST Resource: v1.projects.locations.operations

Methods
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=projects/*/locations/*/operations}
Lists operations that match the specified filter in the request.

REST Resource: v1.projects.locations.sessionTemplates

Methods
create POST /v1/{parent=projects/*/locations/*}/sessionTemplates
Create a session template synchronously.
delete DELETE /v1/{name=projects/*/locations/*/sessionTemplates/*}
Deletes a session template.
get GET /v1/{name=projects/*/locations/*/sessionTemplates/*}
Gets the resource representation for a session template.
list GET /v1/{parent=projects/*/locations/*}/sessionTemplates
Lists session templates.
patch PATCH /v1/{sessionTemplate.name=projects/*/locations/*/sessionTemplates/*}
Updates the session template synchronously.

REST Resource: v1.projects.locations.sessions

Methods
create POST /v1/{parent=projects/*/locations/*}/sessions
Create an interactive session asynchronously.
delete DELETE /v1/{name=projects/*/locations/*/sessions/*}
Deletes the interactive session resource.
get GET /v1/{name=projects/*/locations/*/sessions/*}
Gets the resource representation for an interactive session.
list GET /v1/{parent=projects/*/locations/*}/sessions
Lists interactive sessions.
terminate POST /v1/{name=projects/*/locations/*/sessions/*}:terminate
Terminates the interactive session.

REST Resource: v1.projects.regions.operations

Methods
cancel POST /v1/{name=projects/*/regions/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1/{name=projects/*/regions/*/operations/*}
Deletes a long-running operation.
get GET /v1/{name=projects/*/regions/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=projects/*/regions/*/operations}
Lists operations that match the specified filter in the request.