Table of Contents

Class ExternalApiSimpleSearchParams

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

The search parameters to use for SIMPLE_SEARCH spec. This data type is not supported in Gemini API.

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

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a ExternalApiSimpleSearchParams object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

ExternalApiSimpleSearchParams

The deserialized ExternalApiSimpleSearchParams object, or null if deserialization fails.