Table of Contents

Class CancelTuningJobResponse

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

Empty response for tunings.cancel method.

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

Properties

SdkHttpResponse

Used to retain the full HTTP response.

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

Property Value

HttpResponse

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a CancelTuningJobResponse object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

CancelTuningJobResponse

The deserialized CancelTuningJobResponse object, or null if deserialization fails.