Table of Contents

Class ListTuningJobsResponse

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Response for the list tuning jobs method.

public record ListTuningJobsResponse : IEquatable<ListTuningJobsResponse>
Inheritance
ListTuningJobsResponse
Implements
Inherited Members

Properties

NextPageToken

A token to retrieve the next page of results. Pass this token in a subsequent [GenAiTuningService.ListTuningJobs] call to retrieve the next page of results.

[JsonPropertyName("nextPageToken")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? NextPageToken { get; set; }

Property Value

string

SdkHttpResponse

Used to retain the full HTTP response.

[JsonPropertyName("sdkHttpResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpResponse? SdkHttpResponse { get; set; }

Property Value

HttpResponse

TuningJobs

The tuning jobs that match the request.

[JsonPropertyName("tuningJobs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<TuningJob>? TuningJobs { get; set; }

Property Value

List<TuningJob>

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a ListTuningJobsResponse object.

public static ListTuningJobsResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

ListTuningJobsResponse

The deserialized ListTuningJobsResponse object, or null if deserialization fails.