Show / Hide Table of Contents

Class ProjectsResource.JobsResource.PatchRequest

Updates a specific job resource. Currently the only supported fields to update are labels.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudMlV1Job>
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>
ProjectsResource.JobsResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudMlV1Job>
IClientServiceRequest
Inherited Members
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.Xgafv
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.AccessToken
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.Alt
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.Callback
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.Fields
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.Key
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.OauthToken
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.PrettyPrint
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.QuotaUser
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.UploadType
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.UploadProtocol
ClientServiceRequest<GoogleCloudMlV1Job>.Execute()
ClientServiceRequest<GoogleCloudMlV1Job>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudMlV1Job>.ExecuteAsync()
ClientServiceRequest<GoogleCloudMlV1Job>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudMlV1Job>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudMlV1Job>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudMlV1Job>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudMlV1Job>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudMlV1Job>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudMlV1Job>.ETagAction
ClientServiceRequest<GoogleCloudMlV1Job>.ModifyRequest
ClientServiceRequest<GoogleCloudMlV1Job>.ValidateParameters
ClientServiceRequest<GoogleCloudMlV1Job>.ApiVersion
ClientServiceRequest<GoogleCloudMlV1Job>.RequestParameters
ClientServiceRequest<GoogleCloudMlV1Job>.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.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.JobsResource.PatchRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>, IClientServiceRequest<GoogleCloudMlV1Job>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudMlV1Job, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The job name.

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<GoogleCloudMlV1Job>.RestPath

UpdateMask

Required. Specifies the path, relative to Job, of the field to update. To adopt etag mechanism, include etag field in the mask, and include the etag value in your job resource. For example, to change the labels of a job, the update_mask parameter would be specified as labels, etag, and the PATCH request body would specify the new value, as follows: { "labels": { "owner": "Google", "color": "Blue" } "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" } If etag matches the one on the server, the labels of the job will be replaced with the given ones, and the server end etag will be recalculated. Currently the only supported update masks are labels and etag.

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<GoogleCloudMlV1Job>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1Job>.InitParameters()

Implements

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