Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class QueryDataRequest.
Request to query data from a natural language query.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.QueryDataRequest
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource to generate the query for. Format: projects/{project}/locations/{location}
↳ prompt
string
Required. The natural language query for which to generate query. Example: "What are the top 5 best selling products this month?"
↳ context
↳ generation_options
getParent
Required. The parent resource to generate the query for.
Format: projects/{project}/locations/{location}
string
setParent
Required. The parent resource to generate the query for.
Format: projects/{project}/locations/{location}
var
string
$this
getPrompt
Required. The natural language query for which to generate query.
Example: "What are the top 5 best selling products this month?"
string
setPrompt
Required. The natural language query for which to generate query.
Example: "What are the top 5 best selling products this month?"
var
string
$this
getContext
Required. The context for the data query, including the data sources to use.
hasContext
clearContext
setContext
Required. The context for the data query, including the data sources to use.
$this
getGenerationOptions
Optional. Options to control query generation and execution behavior.
hasGenerationOptions
clearGenerationOptions
setGenerationOptions
Optional. Options to control query generation and execution behavior.
$this

