Class JobsResource.CancelRequest
Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.
Inheritance
object
JobsResource.CancelRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobsResource.CancelRequest : BigqueryBaseServiceRequest<JobCancelResponse>, IClientServiceRequest<JobCancelResponse>, IClientServiceRequest
Constructors
CancelRequest(IClientService, string, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, string projectId, string jobId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | projectId | |
| string | jobId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.HttpMethod
JobId
[Required] Job ID of the job to cancel
Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Location
The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
Declaration
[RequestParameter("location", RequestParameterType.Query)]
public virtual string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.MethodName
ProjectId
[Required] Project ID of the job to cancel
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.RestPath
Methods
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Bigquery.v2.BigqueryBaseServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.InitParameters()