Show / Hide Table of Contents

Class ProjectsResource.JobsResource.UpdateRequest

Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using projects.locations.jobs.update with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.jobs.update is not recommended, as you can only update the state of jobs that are running in us-central1.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Job>
DataflowBaseServiceRequest<Job>
ProjectsResource.JobsResource.UpdateRequest
Implements
IClientServiceRequest<Job>
IClientServiceRequest
Inherited Members
DataflowBaseServiceRequest<Job>.Xgafv
DataflowBaseServiceRequest<Job>.AccessToken
DataflowBaseServiceRequest<Job>.Alt
DataflowBaseServiceRequest<Job>.Callback
DataflowBaseServiceRequest<Job>.Fields
DataflowBaseServiceRequest<Job>.Key
DataflowBaseServiceRequest<Job>.OauthToken
DataflowBaseServiceRequest<Job>.PrettyPrint
DataflowBaseServiceRequest<Job>.QuotaUser
DataflowBaseServiceRequest<Job>.UploadType
DataflowBaseServiceRequest<Job>.UploadProtocol
ClientServiceRequest<Job>.Execute()
ClientServiceRequest<Job>.ExecuteAsStream()
ClientServiceRequest<Job>.ExecuteAsync()
ClientServiceRequest<Job>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Job>.ExecuteAsStreamAsync()
ClientServiceRequest<Job>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Job>.CreateRequest(bool?)
ClientServiceRequest<Job>.GenerateRequestUri()
ClientServiceRequest<Job>.GetDefaultETagAction(string)
ClientServiceRequest<Job>.ETagAction
ClientServiceRequest<Job>.ModifyRequest
ClientServiceRequest<Job>.ValidateParameters
ClientServiceRequest<Job>.ApiVersion
ClientServiceRequest<Job>.RequestParameters
ClientServiceRequest<Job>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.JobsResource.UpdateRequest : DataflowBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest

Constructors

UpdateRequest(IClientService, Job, string, string)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, Job body, string projectId, string jobId)
Parameters
Type Name Description
IClientService service
Job body
string projectId
string jobId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Job>.HttpMethod

JobId

The job ID.

Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
Type Description
string

Location

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.

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
ClientServiceRequest<Job>.MethodName

ProjectId

The ID of the Cloud Platform project that the job belongs to.

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
ClientServiceRequest<Job>.RestPath

UpdateMask

The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Job>.GetBody()

InitParameters()

Initializes Update parameter list.

Declaration
protected override void InitParameters()
Overrides
DataflowBaseServiceRequest<Job>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX