Optional. A snake-case name for the query that reflects its intent. It is
used to name the corresponding data result, so that it can be referenced in
later steps.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Analytics API with Gemini v1beta API - Class DataQuery (1.0.0-beta01)\n\n public sealed class DataQuery : IMessage\u003cDataQuery\u003e, IEquatable\u003cDataQuery\u003e, IDeepCloneable\u003cDataQuery\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class DataQuery.\n\nA query for retrieving data. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataQuery \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataQuery](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.DataQuery), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataQuery](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.DataQuery), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataQuery](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.DataQuery), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GeminiDataAnalytics.V1Beta](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.GeminiDataAnalytics.V1Beta.dll\n\nConstructors\n------------\n\n### DataQuery()\n\n public DataQuery()\n\n### DataQuery(DataQuery)\n\n public DataQuery(DataQuery other)\n\nProperties\n----------\n\n### Datasources\n\n public RepeatedField\u003cDatasource\u003e Datasources { get; }\n\nOptional. The datasources available to answer the question.\n\n### Name\n\n public string Name { get; set; }\n\nOptional. A snake-case name for the query that reflects its intent. It is\nused to name the corresponding data result, so that it can be referenced in\nlater steps.\n\n- Example: \"total_sales_by_product\"\n- Example: \"sales_for_product_12345\"\n\n### Question\n\n public string Question { get; set; }\n\nOptional. A natural language question to answer."]]