Google Cloud Gemini Data Analytics V1 Client - Class DataAgentContext (0.11.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class DataAgentContext.
Context for the chat request using a data agent.
Generated from protobuf messagegoogle.cloud.geminidataanalytics.v1.DataAgentContext
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ data_agent
string
Required. The name of the data agent resource.
↳ context_version
int
Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED)
getDataAgent
Required. The name of the data agent resource.
Returns
Type
Description
string
setDataAgent
Required. The name of the data agent resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getContextVersion
Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED)
[[["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 2026-06-09 UTC."],[],[]]