Table of Contents

Class SearchEntryPoint

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

The entry point used to search for grounding sources.

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

Properties

RenderedContent

Optional. Web content snippet that can be embedded in a web page or an app webview.

[JsonPropertyName("renderedContent")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? RenderedContent { get; set; }

Property Value

string

SdkBlob

Optional. JSON representing array of tuples.

[JsonPropertyName("sdkBlob")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public byte[]? SdkBlob { get; set; }

Property Value

byte[]

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a SearchEntryPoint object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

SearchEntryPoint

The deserialized SearchEntryPoint object, or null if deserialization fails.