Table of Contents

Class DeleteCachedContentResponse

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

Empty response for caches.delete method.

public record DeleteCachedContentResponse : IEquatable<DeleteCachedContentResponse>
Inheritance
DeleteCachedContentResponse
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 DeleteCachedContentResponse object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

DeleteCachedContentResponse

The deserialized DeleteCachedContentResponse object, or null if deserialization fails.