public class Dataproc.Projects.Regions.Jobs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dataproc.Projects.Regions.Jobs.Cancel |
class |
Dataproc.Projects.Regions.Jobs.Delete |
class |
Dataproc.Projects.Regions.Jobs.Get |
class |
Dataproc.Projects.Regions.Jobs.GetIamPolicy |
class |
Dataproc.Projects.Regions.Jobs.List |
class |
Dataproc.Projects.Regions.Jobs.Patch |
class |
Dataproc.Projects.Regions.Jobs.SetIamPolicy |
class |
Dataproc.Projects.Regions.Jobs.Submit |
class |
Dataproc.Projects.Regions.Jobs.SubmitAsOperation |
class |
Dataproc.Projects.Regions.Jobs.TestIamPermissions |
| Constructor and Description |
|---|
Jobs() |
| Modifier and Type | Method and Description |
|---|---|
Dataproc.Projects.Regions.Jobs.Cancel |
cancel(String projectId,
String region,
String jobId,
CancelJobRequest content)
Starts a job cancellation request.
|
Dataproc.Projects.Regions.Jobs.Delete |
delete(String projectId,
String region,
String jobId)
Deletes the job from the project.
|
Dataproc.Projects.Regions.Jobs.Get |
get(String projectId,
String region,
String jobId)
Gets the resource representation for a job in a project.
|
Dataproc.Projects.Regions.Jobs.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
|
Dataproc.Projects.Regions.Jobs.List |
list(String projectId,
String region)
Lists regions/{region}/jobs in a project.
|
Dataproc.Projects.Regions.Jobs.Patch |
patch(String projectId,
String region,
String jobId,
Job content)
Updates a job in a project.
|
Dataproc.Projects.Regions.Jobs.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
Dataproc.Projects.Regions.Jobs.Submit |
submit(String projectId,
String region,
SubmitJobRequest content)
Submits a job to a cluster.
|
Dataproc.Projects.Regions.Jobs.SubmitAsOperation |
submitAsOperation(String projectId,
String region,
SubmitJobRequest content)
Submits job to a cluster.
|
Dataproc.Projects.Regions.Jobs.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Dataproc.Projects.Regions.Jobs.Cancel cancel(String projectId, String region, String jobId, CancelJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.jobId - Required. The job ID.content - the CancelJobRequestIOExceptionpublic Dataproc.Projects.Regions.Jobs.Delete delete(String projectId, String region, String jobId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.jobId - Required. The job ID.IOExceptionpublic Dataproc.Projects.Regions.Jobs.Get get(String projectId, String region, String jobId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.jobId - Required. The job ID.IOExceptionpublic Dataproc.Projects.Regions.Jobs.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.content - the GetIamPolicyRequestIOExceptionpublic Dataproc.Projects.Regions.Jobs.List list(String projectId, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.IOExceptionpublic Dataproc.Projects.Regions.Jobs.Patch patch(String projectId, String region, String jobId, Job content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.jobId - Required. The job ID.content - the JobIOExceptionpublic Dataproc.Projects.Regions.Jobs.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.content - the SetIamPolicyRequestIOExceptionpublic Dataproc.Projects.Regions.Jobs.Submit submit(String projectId, String region, SubmitJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.content - the SubmitJobRequestIOExceptionpublic Dataproc.Projects.Regions.Jobs.SubmitAsOperation submitAsOperation(String projectId, String region, SubmitJobRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project that the job belongs to.region - Required. The Dataproc region in which to handle the request.content - the SubmitJobRequestIOExceptionpublic Dataproc.Projects.Regions.Jobs.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.content - the TestIamPermissionsRequestIOExceptionCopyright © 2011–2023 Google. All rights reserved.