Table of Contents

Class ListTuningJobsConfig

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

Configuration for the list tuning jobs method.

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

Properties

Filter

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

Property Value

string

HttpOptions

Used to override HTTP request options.

[JsonPropertyName("httpOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpOptions? HttpOptions { get; set; }

Property Value

HttpOptions

PageSize

[JsonPropertyName("pageSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? PageSize { get; set; }

Property Value

int?

PageToken

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

Property Value

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a ListTuningJobsConfig object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

ListTuningJobsConfig

The deserialized ListTuningJobsConfig object, or null if deserialization fails.