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 tuning job. Starts an asynchronous cancellation request. 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 tuning job is not deleted. Instead, its state is set to CANCELLED, and error is set to a status with a google.rpc.Status.code of 1, corresponding to Code.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 tuning job to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.CancelRequest

Create(GoogleCloudAiplatformV1TuningJob, string)

Creates a tuning job. A created tuning job will be subsequently executed to start the model tuning process.

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 tuning job in. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.CreateRequest

Get(string)

Gets a tuning job.

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

Required. The name of the tuning job to retrieve. Format: projects/{project}/locations/{location}/tuningJobs/{tuning_job}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.GetRequest

List(string)

Lists tuning jobs 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 tuning jobs from. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.TuningJobsResource.ListRequest

RebaseTunedModel(GoogleCloudAiplatformV1RebaseTunedModelRequest, string)

Rebase a tuned model. A rebase operation takes a model that was previously tuned on a base model version, and retunes it on a new base model version. The rebase operation creates a new tuning job and a new tuned model.

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 in 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