Table of Contents

Class GetTuningJobConfig

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

Optional parameters for tunings.get method.

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

Properties

HttpOptions

Used to override HTTP request options.

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

Property Value

HttpOptions

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a GetTuningJobConfig object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

GetTuningJobConfig

The deserialized GetTuningJobConfig object, or null if deserialization fails.