1.2.0 (latest) 1.1.0 1.0.0

    public sealed class DashboardChart.Types.ChartDatasource : IMessage<DashboardChart.Types.ChartDatasource>, IEquatable<DashboardChart.Types.ChartDatasource>, IDeepCloneable<DashboardChart.Types.ChartDatasource>, IBufferMessage, IMessage

Reference documentation and code samples for the Chronicle v1 API class DashboardChart.Types.ChartDatasource.

Datasource of the chart including the query reference and source name.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DashboardChart](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.md.txt)[ChartDatasource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.ChartDatasource.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DashboardChart](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.md.txt)[ChartDatasource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.ChartDatasource.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DashboardChart](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.md.txt)[ChartDatasource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.ChartDatasource.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Chronicle.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.md.txt)

## Assembly

Google.Cloud.Chronicle.V1.dll

## Constructors

### ChartDatasource()

    public ChartDatasource()

### ChartDatasource(ChartDatasource)

    public ChartDatasource(DashboardChart.Types.ChartDatasource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DashboardChartTypesChartDatasource` |

## Properties

### DashboardQuery

    public string DashboardQuery { get; set; }

Reference to dashboard query resource used in the chart.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DashboardQueryAsDashboardQueryName

    public DashboardQueryName DashboardQueryAsDashboardQueryName { get; set; }

[DashboardQueryName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardQueryName.md.txt)-typed view over the [DashboardQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.DashboardChart.Types.ChartDatasource.md.txt#Google_Cloud_Chronicle_V1_DashboardChart_Types_ChartDatasource_DashboardQuery) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DashboardQueryName` |   |

### DataSources

    public RepeatedField<DataSource> DataSources { get; }

Name of the datasource used in the chart.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDataSource` |   |