Table of Contents

Class BigQuerySource

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

The BigQuery location for the input content. This data type is not supported in Gemini API.

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

Properties

InputUri

BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example: bq://projectId.bqDatasetId.bqTableId.

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

Property Value

string

Methods

FromJson(string, JsonSerializerOptions?)

Deserializes a JSON string to a BigQuerySource object.

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

Parameters

jsonString string

The JSON string to deserialize.

options JsonSerializerOptions

Optional JsonSerializerOptions.

Returns

BigQuerySource

The deserialized BigQuerySource object, or null if deserialization fails.