Table of Contents

Class DeleteCachedContentConfig

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

Optional parameters for caches.delete method.

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

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

DeleteCachedContentConfig

The deserialized DeleteCachedContentConfig object, or null if deserialization fails.