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)
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 CancelJobRequest
IOException
public 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.IOException
public 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.IOException
public Dataproc.Projects.Regions.Jobs.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOException
public 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.IOException
public 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 Job
IOException
public 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 the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
IOException
public 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 SubmitJobRequest
IOException
public 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 SubmitJobRequest
IOException
public 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 the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
IOException
Copyright © 2011–2021 Google. All rights reserved.