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

The "jobs" collection of methods. More...

Classes

class  CancelRequest
 Cancels a running job. More...
 
class  CreateRequest
 Creates a training or a batch prediction job. More...
 
class  GetIamPolicyRequest
 Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. More...
 
class  GetRequest
 Describes a job. More...
 
class  ListRequest
 Lists the jobs in the project. More...
 
class  PatchRequest
 Updates a specific job resource. More...
 
class  SetIamPolicyRequest
 Sets the access control policy on the specified resource. Replaces any existing policy. More...
 
class  TestIamPermissionsRequest
 Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. More...
 

Public Member Functions

 JobsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual CancelRequest Cancel (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1CancelJobRequest body, string name)
 Cancels a running job. More...
 
virtual CreateRequest Create (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job body, string parent)
 Creates a training or a batch prediction job. More...
 
virtual GetRequest Get (string name)
 Describes a job. More...
 
virtual GetIamPolicyRequest GetIamPolicy (string resource)
 Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. More...
 
virtual ListRequest List (string parent)
 Lists the jobs in the project. More...
 
virtual PatchRequest Patch (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job body, string name)
 Updates a specific job resource. More...
 
virtual SetIamPolicyRequest SetIamPolicy (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource)
 Sets the access control policy on the specified resource. Replaces any existing policy. More...
 
virtual TestIamPermissionsRequest TestIamPermissions (Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource)
 Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. More...
 

Detailed Description

The "jobs" collection of methods.

Constructor & Destructor Documentation

◆ JobsResource()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.JobsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Cancel()

virtual CancelRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.Cancel ( Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1CancelJobRequest  body,
string  name 
)
inlinevirtual

Cancels a running job.

Parameters
bodyThe body of the request.
nameRequired. The name of the job to cancel.

◆ Create()

virtual CreateRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.Create ( Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job  body,
string  parent 
)
inlinevirtual

Creates a training or a batch prediction job.

Parameters
bodyThe body of the request.
parentRequired. The project name.

◆ Get()

virtual GetRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.Get ( string  name)
inlinevirtual

Describes a job.

Parameters
nameRequired. The name of the job to get the description of.

◆ GetIamPolicy()

virtual GetIamPolicyRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.GetIamPolicy ( string  resource)
inlinevirtual

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Parameters
resourceREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

◆ List()

virtual ListRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.List ( string  parent)
inlinevirtual

Lists the jobs in the project.

If there are no jobs that match the request parameters, the list request returns an empty response body: {}.

Parameters
parentRequired. The name of the project for which to list jobs.

◆ Patch()

virtual PatchRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.Patch ( Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1Job  body,
string  name 
)
inlinevirtual

Updates a specific job resource.

Currently the only supported fields to update are labels.

Parameters
bodyThe body of the request.
nameRequired. The job name.

◆ SetIamPolicy()

virtual SetIamPolicyRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.SetIamPolicy ( Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1SetIamPolicyRequest  body,
string  resource 
)
inlinevirtual

Sets the access control policy on the specified resource. Replaces any existing policy.

Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED

Parameters
bodyThe body of the request.
resourceREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.

◆ TestIamPermissions()

virtual TestIamPermissionsRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.JobsResource.TestIamPermissions ( Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsRequest  body,
string  resource 
)
inlinevirtual

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Parameters
bodyThe body of the request.
resourceREQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.

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