Show / Hide Table of Contents

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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<JobCancelResponse>
BigqueryBaseServiceRequest<JobCancelResponse>
JobsResource.CancelRequest
Implements
Google.Apis.Requests.IClientServiceRequest<JobCancelResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
BigqueryBaseServiceRequest<JobCancelResponse>.Alt
BigqueryBaseServiceRequest<JobCancelResponse>.Fields
BigqueryBaseServiceRequest<JobCancelResponse>.Key
BigqueryBaseServiceRequest<JobCancelResponse>.OauthToken
BigqueryBaseServiceRequest<JobCancelResponse>.PrettyPrint
BigqueryBaseServiceRequest<JobCancelResponse>.QuotaUser
BigqueryBaseServiceRequest<JobCancelResponse>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.JobCancelResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class 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
Google.Apis.Services.IClientService service
System.String projectId
System.String jobId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.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
System.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
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.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()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top