Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.JobsResource.PatchRequest

Updates a job. If successful, the updated Job is returned. If the job does not exist, NOT_FOUND is returned. If UpdateJob does not successfully return, it is possible for the job to be in an Job.State.UPDATE_FAILED state. A job in this state may not be executed. If this happens, retry the UpdateJob request until a successful response is received.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Job>
CloudSchedulerBaseServiceRequest<Job>
ProjectsResource.LocationsResource.JobsResource.PatchRequest
Implements
IClientServiceRequest<Job>
IClientServiceRequest
Inherited Members
CloudSchedulerBaseServiceRequest<Job>.Xgafv
CloudSchedulerBaseServiceRequest<Job>.AccessToken
CloudSchedulerBaseServiceRequest<Job>.Alt
CloudSchedulerBaseServiceRequest<Job>.Callback
CloudSchedulerBaseServiceRequest<Job>.Fields
CloudSchedulerBaseServiceRequest<Job>.Key
CloudSchedulerBaseServiceRequest<Job>.OauthToken
CloudSchedulerBaseServiceRequest<Job>.PrettyPrint
CloudSchedulerBaseServiceRequest<Job>.QuotaUser
CloudSchedulerBaseServiceRequest<Job>.UploadType
CloudSchedulerBaseServiceRequest<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.CloudScheduler.v1beta1
Assembly: Google.Apis.CloudScheduler.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.PatchRequest : CloudSchedulerBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Job, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Job body, string name)
Parameters
Type Name Description
IClientService service
Job body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID. * PROJECT_ID can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see Identifying projects

  • LOCATION_ID is the canonical ID for the job's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * JOB_ID can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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

A mask used to specify which fields of the job are being updated.

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 Patch parameter list.

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

Implements

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