Class ProjectsResource.LocationsResource.NasJobsResource | Google.Apis.Aiplatform.v1
Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.NasJobsResource

The "nasJobs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.NasJobsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NasJobsResource

Constructors

NasJobsResource(IClientService)

Constructs a new resource.

Declaration
public NasJobsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

NasTrialDetails

Gets the NasTrialDetails resource.

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.NasTrialDetailsResource NasTrialDetails { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.NasJobsResource.NasTrialDetailsResource

Methods

Cancel(GoogleCloudAiplatformV1CancelNasJobRequest, string)

Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetNasJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the NasJob is not deleted; instead it becomes a job with a NasJob.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED, and NasJob.state is set to CANCELLED.

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.CancelRequest Cancel(GoogleCloudAiplatformV1CancelNasJobRequest body, string name)
Parameters
Type Name Description
GoogleCloudAiplatformV1CancelNasJobRequest body

The body of the request.

string name

Required. The name of the NasJob to cancel. Format: projects/{project}/locations/{location}/nasJobs/{nas_job}

Returns
Type Description
ProjectsResource.LocationsResource.NasJobsResource.CancelRequest

Create(GoogleCloudAiplatformV1NasJob, string)

Creates a NasJob

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.CreateRequest Create(GoogleCloudAiplatformV1NasJob body, string parent)
Parameters
Type Name Description
GoogleCloudAiplatformV1NasJob body

The body of the request.

string parent

Required. The resource name of the Location to create the NasJob in. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.NasJobsResource.CreateRequest

Delete(string)

Deletes a NasJob.

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the NasJob resource to be deleted. Format: projects/{project}/locations/{location}/nasJobs/{nas_job}

Returns
Type Description
ProjectsResource.LocationsResource.NasJobsResource.DeleteRequest

Get(string)

Gets a NasJob

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the NasJob resource. Format: projects/{project}/locations/{location}/nasJobs/{nas_job}

Returns
Type Description
ProjectsResource.LocationsResource.NasJobsResource.GetRequest

List(string)

Lists NasJobs in a Location.

Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the Location to list the NasJobs from. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.NasJobsResource.ListRequest
In this article
Back to top Generated by DocFX