Class ProjectsResource.LocationsResource.NasJobsResource
The "nasJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.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(GoogleCloudAiplatformV1beta1CancelNasJobRequest, 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(GoogleCloudAiplatformV1beta1CancelNasJobRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1beta1CancelNasJobRequest | body | The body of the request. |
| string | name | Required. The name of the NasJob to cancel. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.NasJobsResource.CancelRequest |
Create(GoogleCloudAiplatformV1beta1NasJob, string)
Creates a NasJob
Declaration
public virtual ProjectsResource.LocationsResource.NasJobsResource.CreateRequest Create(GoogleCloudAiplatformV1beta1NasJob body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1beta1NasJob | body | The body of the request. |
| string | parent | Required. The resource name of the Location to create the NasJob in. Format:
|
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:
|
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:
|
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:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.NasJobsResource.ListRequest |