QueryDataRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request to query data from a natural language query.
Attributes |
|
|---|---|
| Name | Description |
parent |
str
Required. The parent resource to generate the query for. Format: projects/{project}/locations/{location} |
prompt |
str
Required. The natural language query for which to generate query. Example: "What are the top 5 best selling products this month?". |
context |
google.cloud.geminidataanalytics_v1alpha.types.QueryDataContext
Required. The context for the data query, including the data sources to use. |
generation_options |
google.cloud.geminidataanalytics_v1alpha.types.GenerationOptions
Optional. Options to control query generation and execution behavior. |