Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Conversation.
Message for a conversation.
Generated from protobuf messagegoogle.cloud.geminidataanalytics.v1beta.Conversation
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1beta
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Optional. Identifier. The unique resource name of a conversation. It's not expected to be set when creating a conversation.
↳ agents
array
Required. Agent(s) in the conversation. Currently, only one agent is supported. This field is repeated to allow for future support of multiple agents in a conversation. Format:projects/{project}/locations/{location}/dataAgents/{agent}
Optional. Open-ended and user-defined labels that can be set by the client to tag a conversation (e.g. to filter conversations for specific surfaces/products).
getName
Optional. Identifier. The unique resource name of a conversation.
It's not expected to be set when creating a conversation.
Returns
Type
Description
string
setName
Optional. Identifier. The unique resource name of a conversation.
It's not expected to be set when creating a conversation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAgents
Required. Agent(s) in the conversation.
Currently, only one agent is supported. This field is repeated to allow
for future support of multiple agents in a conversation.
Format:projects/{project}/locations/{location}/dataAgents/{agent}
Currently, only one agent is supported. This field is repeated to allow
for future support of multiple agents in a conversation.
Format:projects/{project}/locations/{location}/dataAgents/{agent}
Optional. Open-ended and user-defined labels that can be set by the client
to tag a conversation (e.g. to filter conversations for specific
surfaces/products).
Optional. Open-ended and user-defined labels that can be set by the client
to tag a conversation (e.g. to filter conversations for specific
surfaces/products).
[[["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,["# Google Cloud Gemini Data Analytics V1beta Client - Class Conversation (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Conversation)\n- [0.1.0](/php/docs/reference/cloud-geminidataanalytics/0.1.0/V1beta.Conversation) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Conversation.\n\nMessage for a conversation.\n\nGenerated from protobuf message `google.cloud.geminidataanalytics.v1beta.Conversation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GeminiDataAnalytics \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOptional. Identifier. The unique resource name of a conversation.\n\nIt's not expected to be set when creating a conversation.\n\n### setName\n\nOptional. Identifier. The unique resource name of a conversation.\n\nIt's not expected to be set when creating a conversation.\n\n### getAgents\n\nRequired. Agent(s) in the conversation.\n\nCurrently, only one agent is supported. This field is repeated to allow\nfor future support of multiple agents in a conversation.\nFormat: `projects/{project}/locations/{location}/dataAgents/{agent}`\n\n### setAgents\n\nRequired. Agent(s) in the conversation.\n\nCurrently, only one agent is supported. This field is repeated to allow\nfor future support of multiple agents in a conversation.\nFormat: `projects/{project}/locations/{location}/dataAgents/{agent}`\n\n### getCreateTime\n\nOutput only. Creation timestamp.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Creation timestamp.\n\n### getLastUsedTime\n\nOutput only. Timestamp of the last used conversation.\n\n### hasLastUsedTime\n\n### clearLastUsedTime\n\n### setLastUsedTime\n\nOutput only. Timestamp of the last used conversation.\n\n### getLabels\n\nOptional. Open-ended and user-defined labels that can be set by the client\nto tag a conversation (e.g. to filter conversations for specific\nsurfaces/products).\n\n### setLabels\n\nOptional. Open-ended and user-defined labels that can be set by the client\nto tag a conversation (e.g. to filter conversations for specific\nsurfaces/products)."]]