Class ProjectsResource.LocationsResource.TuningJobsResource
The "tuningJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.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(GoogleCloudAiplatformV1beta1CancelTuningJobRequest, 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(GoogleCloudAiplatformV1beta1CancelTuningJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1CancelTuningJobRequest | body | The body of the request. |
string | name | Required. The name of the TuningJob to cancel. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TuningJobsResource.CancelRequest |
Create(GoogleCloudAiplatformV1beta1TuningJob, string)
Creates a TuningJob. A created TuningJob right away will be attempted to be run.
Declaration
public virtual ProjectsResource.LocationsResource.TuningJobsResource.CreateRequest Create(GoogleCloudAiplatformV1beta1TuningJob body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1TuningJob | body | The body of the request. |
string | parent | Required. The resource name of the Location to create the TuningJob in. Format:
|
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:
|
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:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TuningJobsResource.ListRequest |
RebaseTunedModel(GoogleCloudAiplatformV1beta1RebaseTunedModelRequest, string)
Rebase a TunedModel.
Declaration
public virtual ProjectsResource.LocationsResource.TuningJobsResource.RebaseTunedModelRequest RebaseTunedModel(GoogleCloudAiplatformV1beta1RebaseTunedModelRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudAiplatformV1beta1RebaseTunedModelRequest | body | The body of the request. |
string | parent | Required. The resource name of the Location into which to rebase the Model. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TuningJobsResource.RebaseTunedModelRequest |