Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TuningJobsResource

The "tuningJobs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.TuningJobsResource
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.TuningJobsResource

Constructors

TuningJobsResource(IClientService)

Constructs a new resource.

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

Properties

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.TuningJobsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.OperationsResource

Methods

Cancel(GoogleCloudAiplatformV1CancelTuningJobRequest, string)

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

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

The body of the request.

string name

Required. The name of the TuningJob to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.CancelRequest

Create(GoogleCloudAiplatformV1TuningJob, string)

Creates a TuningJob. A created TuningJob right away will be attempted to be run.

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

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.CreateRequest

Get(string)

Gets a TuningJob.

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

Required. The name of the TuningJob resource. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.GetRequest

List(string)

Lists TuningJobs in a Location.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.ListRequest

RebaseTunedModel(GoogleCloudAiplatformV1RebaseTunedModelRequest, string)

Rebase a TunedModel.

Declaration
public virtual ProjectsResource.LocationsResource.TuningJobsResource.RebaseTunedModelRequest RebaseTunedModel(GoogleCloudAiplatformV1RebaseTunedModelRequest body, string parent)
Parameters
Type Name Description
GoogleCloudAiplatformV1RebaseTunedModelRequest body

The body of the request.

string parent

Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.RebaseTunedModelRequest
In this article
Back to top Generated by DocFX