Google Cloud Gemini Data Analytics V1 Client - Class DataAgent (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class DataAgent.
Message describing a DataAgent object.
Generated from protobuf message google.cloud.geminidataanalytics.v1.DataAgent
Optional. Identifier. The unique resource name of a DataAgent.
Format:
projects/{project}/locations/{location}/dataAgents/{data_agent_id}{data_agent} is the resource id and should be 63 characters or less and
must match the format described in
https://google.aip.dev/122#resource-id-segments
Example: projects/1234567890/locations/global/dataAgents/my-agent.
It is recommended to skip setting this field during agent creation as it
will be inferred automatically and overwritten with the
{parent}/dataAgents/{data_agent_id}.
Returns
Type
Description
string
setName
Optional. Identifier. The unique resource name of a DataAgent.
Format:
projects/{project}/locations/{location}/dataAgents/{data_agent_id}{data_agent} is the resource id and should be 63 characters or less and
must match the format described in
https://google.aip.dev/122#resource-id-segments
Example: projects/1234567890/locations/global/dataAgents/my-agent.
It is recommended to skip setting this field during agent creation as it
will be inferred automatically and overwritten with the
{parent}/dataAgents/{data_agent_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDisplayName
Optional. User friendly display name.
Must be between 1-256 characters.
Returns
Type
Description
string
setDisplayName
Optional. User friendly display name.
Must be between 1-256 characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Optional. Description of the agent.
Must be between 1-1024 characters.
Returns
Type
Description
string
setDescription
Optional. Description of the agent.
Must be between 1-1024 characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLabels
Optional. Labels to help users filter related agents.
For example, "sales", "business", "etl", and so on.
Note labels are used only for filtering and not for policies.
See the labels
documentation
for more details on label usage.
Optional. Labels to help users filter related agents.
For example, "sales", "business", "etl", and so on.
Note labels are used only for filtering and not for policies.
See the labels
documentation
for more details on label usage.
Optional. Customer managed encryption key (CMEK) to use for encrypting the
DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
as the DataAgent. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
Returns
Type
Description
string
hasKmsKey
clearKmsKey
setKmsKey
Optional. Customer managed encryption key (CMEK) to use for encrypting the
DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
as the DataAgent. The expected format is
projects/*/locations/*/keyRings/*/cryptoKeys/*.
[[["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-03 UTC."],[],[]]