Table of Contents

Class GroundingChunkStringList

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

A list of string values. This data type is not supported in Vertex AI.

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

Properties

Values

The string values of the list.

[JsonPropertyName("values")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? Values { get; set; }

Property Value

List<string>

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a GroundingChunkStringList object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

GroundingChunkStringList

The deserialized GroundingChunkStringList object, or null if deserialization fails.