Show / Hide Table of Contents

Class ProjectsResource.RegionsResource.JobsResource.PatchRequest

Updates a job in a project.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Job>
DataprocBaseServiceRequest<Job>
ProjectsResource.RegionsResource.JobsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Job>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DataprocBaseServiceRequest<Job>.Xgafv
DataprocBaseServiceRequest<Job>.AccessToken
DataprocBaseServiceRequest<Job>.Alt
DataprocBaseServiceRequest<Job>.Callback
DataprocBaseServiceRequest<Job>.Fields
DataprocBaseServiceRequest<Job>.Key
DataprocBaseServiceRequest<Job>.OauthToken
DataprocBaseServiceRequest<Job>.PrettyPrint
DataprocBaseServiceRequest<Job>.QuotaUser
DataprocBaseServiceRequest<Job>.UploadType
DataprocBaseServiceRequest<Job>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.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.Dataproc.v1beta2
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class PatchRequest : DataprocBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Job, String, String, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Job body, string projectId, string region, string jobId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
Job body
System.String projectId
System.String region
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.Dataproc.v1beta2.Data.Job>.HttpMethod

JobId

Required. The job ID.

Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
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.Dataproc.v1beta2.Data.Job>.MethodName

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
System.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
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.Dataproc.v1beta2.Data.Job>.RestPath

UpdateMask

Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. Note: Currently, labels is the only field that can be updated.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataproc.v1beta2.DataprocBaseServiceRequest<Google.Apis.Dataproc.v1beta2.Data.Job>.InitParameters()

Implements

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