Class ProjectsResource.RegionsResource.JobsResource.DeleteRequest
Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.
Inheritance
ProjectsResource.RegionsResource.JobsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.JobsResource.DeleteRequest : DataprocBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string projectId, string region, string jobId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | projectId | |
| string | region | |
| string | jobId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
JobId
Required. The job ID.
Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ProjectId
Required. The ID of the Google Cloud Platform project that the job belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Region
Required. The Dataproc region in which to handle the request.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()