public sealed class DataResult : IMessage<DataResult>, IEquatable<DataResult>, IDeepCloneable<DataResult>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class DataResult.
Retrieved data.
Implements
IMessageDataResult, IEquatableDataResult, IDeepCloneableDataResult, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
DataResult()
public DataResult()DataResult(DataResult)
public DataResult(DataResult other)| Parameter | |
|---|---|
| Name | Description |
other |
DataResult |
Properties
Data
public RepeatedField<Struct> Data { get; }Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldStruct |
|
FormattedData
public RepeatedField<Struct> FormattedData { get; }Optional. Formatted representation of the data, when applicable.
Each row is a struct that directly corresponds to the row at the same index
within the data field. Its values are string representations of the
original data, formatted according to data source specifications (e.g.,
"$1,234.56" for currency). Columns without formatting will default to
their raw value representation. If no columns have formatting rules, this
field will be empty.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldStruct |
|
Name
public string Name { get; set; }Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
| Property Value | |
|---|---|
| Type | Description |
string |
|
Schema
public Schema Schema { get; set; }Optional. The schema of the data.
| Property Value | |
|---|---|
| Type | Description |
Schema |
|