2.1.0 (latest) 2.0.0 1.1.0 1.0.0

    public sealed class DataResult : IMessage<DataResult>, IEquatable<DataResult>, IDeepCloneable<DataResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Analytics API with Gemini v1 API class DataResult.

Retrieved data.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataResult

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GeminiDataAnalytics.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1)

## Assembly

Google.Cloud.GeminiDataAnalytics.V1.dll

## Constructors

### DataResult()

    public DataResult()

### DataResult(DataResult)

    public DataResult(DataResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Schema

    public Schema Schema { get; set; }

Optional. The schema of the data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.Schema` |   |