# Cloud Dataproc API

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

- [REST Resource: v1.projects.locations.autoscalingPolicies](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.autoscalingPolicies)
- [REST Resource: v1.projects.locations.batches](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.batches)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.sessionTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.sessionTemplates)
- [REST Resource: v1.projects.locations.sessions](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.sessions)
- [REST Resource: v1.projects.locations.workflowTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.locations.workflowTemplates)
- [REST Resource: v1.projects.regions.autoscalingPolicies](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.autoscalingPolicies)
- [REST Resource: v1.projects.regions.clusters](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.clusters)
- [REST Resource: v1.projects.regions.clusters.nodeGroups](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.clusters.nodeGroups)
- [REST Resource: v1.projects.regions.jobs](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.jobs)
- [REST Resource: v1.projects.regions.operations](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.operations)
- [REST Resource: v1.projects.regions.workflowTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest#v1.projects.regions.workflowTemplates)

## Service: dataproc.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). 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](https://developers.google.com/discovery/v1/reference/apis) 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:

- <https://dataproc.googleapis.com/$discovery/rest?version=v1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_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.autoscalingPolicies](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/create` | `POST /v1/{parent=projects/*/locations/*}/autoscalingPolicies` Creates new autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/delete` | `DELETE /v1/{name=projects/*/locations/*/autoscalingPolicies/*}` Deletes an autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/get` | `GET /v1/{name=projects/*/locations/*/autoscalingPolicies/*}` Retrieves autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/getIamPolicy` | `POST /v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/list` | `GET /v1/{parent=projects/*/locations/*}/autoscalingPolicies` Lists autoscaling policies in the project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/autoscalingPolicies/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.autoscalingPolicies/update` | `PUT /v1/{policy.name=projects/*/locations/*/autoscalingPolicies/*}` Updates (replaces) autoscaling policy. |

## REST Resource: [v1.projects.locations.batches](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.batches)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.batches/create` | `POST /v1/{parent=projects/*/locations/*}/batches` Creates a batch workload that executes asynchronously. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.batches/delete` | `DELETE /v1/{name=projects/*/locations/*/batches/*}` Deletes the batch workload resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.batches/get` | `GET /v1/{name=projects/*/locations/*/batches/*}` Gets the batch workload resource representation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.batches/list` | `GET /v1/{parent=projects/*/locations/*}/batches` Lists batch workloads. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*/operations}` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.sessionTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates/create` | `POST /v1/{parent=projects/*/locations/*}/sessionTemplates` Create a session template synchronously. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates/delete` | `DELETE /v1/{name=projects/*/locations/*/sessionTemplates/*}` Deletes a session template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates/get` | `GET /v1/{name=projects/*/locations/*/sessionTemplates/*}` Gets the resource representation for a session template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates/list` | `GET /v1/{parent=projects/*/locations/*}/sessionTemplates` Lists session templates. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessionTemplates/patch` | `PATCH /v1/{sessionTemplate.name=projects/*/locations/*/sessionTemplates/*}` Updates the session template synchronously. |

## REST Resource: [v1.projects.locations.sessions](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions/create` | `POST /v1/{parent=projects/*/locations/*}/sessions` Create an interactive session asynchronously. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions/delete` | `DELETE /v1/{name=projects/*/locations/*/sessions/*}` Deletes the interactive session resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions/get` | `GET /v1/{name=projects/*/locations/*/sessions/*}` Gets the resource representation for an interactive session. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions/list` | `GET /v1/{parent=projects/*/locations/*}/sessions` Lists interactive sessions. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.sessions/terminate` | `POST /v1/{name=projects/*/locations/*/sessions/*}:terminate` Terminates the interactive session. |

## REST Resource: [v1.projects.locations.workflowTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/create` | `POST /v1/{parent=projects/*/locations/*}/workflowTemplates` Creates new workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/delete` | `DELETE /v1/{name=projects/*/locations/*/workflowTemplates/*}` Deletes a workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/get` | `GET /v1/{name=projects/*/locations/*/workflowTemplates/*}` Retrieves the latest workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/getIamPolicy` | `POST /v1/{resource=projects/*/locations/*/workflowTemplates/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/instantiate` | `POST /v1/{name=projects/*/locations/*/workflowTemplates/*}:instantiate` Instantiates a template and begins execution. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/instantiateInline` | `POST /v1/{parent=projects/*/locations/*}/workflowTemplates:instantiateInline` Instantiates a template and begins execution. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/list` | `GET /v1/{parent=projects/*/locations/*}/workflowTemplates` Lists workflows that match the specified filter in the request. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/workflowTemplates/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/workflowTemplates/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.locations.workflowTemplates/update` | `PUT /v1/{template.name=projects/*/locations/*/workflowTemplates/*}` Updates (replaces) workflow template. |

## REST Resource: [v1.projects.regions.autoscalingPolicies](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/create` | `POST /v1/{parent=projects/*/regions/*}/autoscalingPolicies` Creates new autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/delete` | `DELETE /v1/{name=projects/*/regions/*/autoscalingPolicies/*}` Deletes an autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/get` | `GET /v1/{name=projects/*/regions/*/autoscalingPolicies/*}` Retrieves autoscaling policy. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/getIamPolicy` | `POST /v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/list` | `GET /v1/{parent=projects/*/regions/*}/autoscalingPolicies` Lists autoscaling policies in the project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/setIamPolicy` | `POST /v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/testIamPermissions` | `POST /v1/{resource=projects/*/regions/*/autoscalingPolicies/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.autoscalingPolicies/update` | `PUT /v1/{policy.name=projects/*/regions/*/autoscalingPolicies/*}` Updates (replaces) autoscaling policy. |

## REST Resource: [v1.projects.regions.clusters](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/create` | `POST /v1/projects/{projectId}/regions/{region}/clusters` Creates a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/delete` | `DELETE /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}` Deletes a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/diagnose` | `POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose` Gets cluster diagnostic information. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/get` | `GET /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}` Gets the resource representation for a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/getIamPolicy` | `POST /v1/{resource=projects/*/regions/*/clusters/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/list` | `GET /v1/projects/{projectId}/regions/{region}/clusters` Lists all regions/{region}/clusters in a project alphabetically. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/patch` | `PATCH /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}` Updates a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/setIamPolicy` | `POST /v1/{resource=projects/*/regions/*/clusters/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/start` | `POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start` Starts a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/stop` | `POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop` Stops a cluster in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters/testIamPermissions` | `POST /v1/{resource=projects/*/regions/*/clusters/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.regions.clusters.nodeGroups](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters.nodeGroups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters.nodeGroups/get` | `GET /v1/{name=projects/*/regions/*/clusters/*/nodeGroups/*}` Gets the resource representation for a node group in a cluster. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.clusters.nodeGroups/resize` | `POST /v1/{name=projects/*/regions/*/clusters/*/nodeGroups/*}:resize` Resizes a node group in a cluster. |

## REST Resource: [v1.projects.regions.jobs](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/cancel` | `POST /v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel` Starts a job cancellation request. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/delete` | `DELETE /v1/projects/{projectId}/regions/{region}/jobs/{jobId}` Deletes the job from the project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/get` | `GET /v1/projects/{projectId}/regions/{region}/jobs/{jobId}` Gets the resource representation for a job in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/getIamPolicy` | `POST /v1/{resource=projects/*/regions/*/jobs/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/list` | `GET /v1/projects/{projectId}/regions/{region}/jobs` Lists regions/{region}/jobs in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/patch` | `PATCH /v1/projects/{projectId}/regions/{region}/jobs/{jobId}` Updates a job in a project. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/setIamPolicy` | `POST /v1/{resource=projects/*/regions/*/jobs/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/submit` | `POST /v1/projects/{projectId}/regions/{region}/jobs:submit` Submits a job to a cluster. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/submitAsOperation` | `POST /v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation` Submits job to a cluster. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.jobs/testIamPermissions` | `POST /v1/{resource=projects/*/regions/*/jobs/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.regions.operations](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/cancel` | `POST /v1/{name=projects/*/regions/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/delete` | `DELETE /v1/{name=projects/*/regions/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/get` | `GET /v1/{name=projects/*/regions/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/getIamPolicy` | `POST /v1/{resource=projects/*/regions/*/operations/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/list` | `GET /v1/{name=projects/*/regions/*/operations}` Lists operations that match the specified filter in the request. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/setIamPolicy` | `POST /v1/{resource=projects/*/regions/*/operations/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.operations/testIamPermissions` | `POST /v1/{resource=projects/*/regions/*/operations/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.regions.workflowTemplates](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/create` | `POST /v1/{parent=projects/*/regions/*}/workflowTemplates` Creates new workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/delete` | `DELETE /v1/{name=projects/*/regions/*/workflowTemplates/*}` Deletes a workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/get` | `GET /v1/{name=projects/*/regions/*/workflowTemplates/*}` Retrieves the latest workflow template. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/getIamPolicy` | `POST /v1/{resource=projects/*/regions/*/workflowTemplates/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/instantiate` | `POST /v1/{name=projects/*/regions/*/workflowTemplates/*}:instantiate` Instantiates a template and begins execution. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/instantiateInline` | `POST /v1/{parent=projects/*/regions/*}/workflowTemplates:instantiateInline` Instantiates a template and begins execution. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/list` | `GET /v1/{parent=projects/*/regions/*}/workflowTemplates` Lists workflows that match the specified filter in the request. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/setIamPolicy` | `POST /v1/{resource=projects/*/regions/*/workflowTemplates/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/testIamPermissions` | `POST /v1/{resource=projects/*/regions/*/workflowTemplates/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |
| `https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/projects.regions.workflowTemplates/update` | `PUT /v1/{template.name=projects/*/regions/*/workflowTemplates/*}` Updates (replaces) workflow template. |