Table of Contents

Class GetFileConfig

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

Used to override the default configuration.

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

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

GetFileConfig

The deserialized GetFileConfig object, or null if deserialization fails.