ml  v1
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest Class Reference

Updates a specific job resource. More...

Inheritance diagram for Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest:
Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job >

Public Member Functions

 PatchRequest (Google.Apis.Services.IClientService service, Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job body, string name)
 Constructs a new Patch request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes Patch parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job >
 CloudMachineLearningEngineBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new CloudMachineLearningEngineBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes CloudMachineLearningEngine parameter list. More...
 

Properties

virtual string Name [get]
 Required. The job name. More...
 
virtual object UpdateMask [get, set]
 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. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job >
virtual System.Nullable< XgafvEnum > Xgafv [get, set]
 V1 error format. More...
 
virtual string AccessToken [get, set]
 OAuth access token. More...
 
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for response. More...
 
virtual string Callback [get, set]
 JSONP More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. More...
 
virtual string UploadType [get, set]
 Legacy upload protocol for media (e.g. "media", "multipart"). More...
 
virtual string UploadProtocol [get, set]
 Upload protocol for media (e.g. "raw", "multipart"). More...
 

Detailed Description

Updates a specific job resource.

Currently the only supported fields to update are labels.

Constructor & Destructor Documentation

◆ PatchRequest()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.PatchRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job  body,
string  name 
)
inline

Constructs a new Patch request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.InitParameters ( )
inlineprotected

Initializes Patch parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.HttpMethod
get

summary>Gets the REST path.

◆ MethodName

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.MethodName
get

summary>Gets the HTTP method.

◆ Name

virtual string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.Name
get

Required. The job name.

◆ UpdateMask

virtual object Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.PatchRequest.UpdateMask
getset

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.


The documentation for this class was generated from the following file: