Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::Conversation (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::Conversation.
Message for a conversation.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#agents
defagents()->::Array<::String>
Returns
(::Array<::String>) — 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}
#agents=
defagents=(value)->::Array<::String>
Parameter
value (::Array<::String>) — 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}
Returns
(::Array<::String>) — 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}
(::Google::Protobuf::Map{::String => ::String}) — 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).
value (::Google::Protobuf::Map{::String => ::String}) — 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).
Returns
(::Google::Protobuf::Map{::String => ::String}) — 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).
(::String) — Optional. Identifier. The unique resource name of a conversation. Format:
projects/{project}/locations/{location}/conversations/{conversation_id}{conversation_id} 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
It is recommended to skip setting this field during conversation creation
as it will be inferred automatically and overwritten with the
{parent}/conversations/{conversation_id}.
#name=
defname=(value)->::String
Parameter
value (::String) — Optional. Identifier. The unique resource name of a conversation. Format:
projects/{project}/locations/{location}/conversations/{conversation_id}{conversation_id} 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
It is recommended to skip setting this field during conversation creation
as it will be inferred automatically and overwritten with the
{parent}/conversations/{conversation_id}.
Returns
(::String) — Optional. Identifier. The unique resource name of a conversation. Format:
projects/{project}/locations/{location}/conversations/{conversation_id}{conversation_id} 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
It is recommended to skip setting this field during conversation creation
as it will be inferred automatically and overwritten with the
{parent}/conversations/{conversation_id}.
[[["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-08-27 UTC."],[],[],null,["Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::Conversation.\n\nMessage for a conversation. \n\nInherits\n\n- Object \n\nExtended By\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n\n- Google::Protobuf::MessageExts\n\nMethods\n\n#agents \n\n def agents() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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}`\n\n#agents= \n\n def agents=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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}` \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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}`\n\n#create_time \n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. Creation timestamp.\n\n#labels \n\n def labels() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- 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).\n\n#labels= \n\n def labels=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- 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). \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- 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).\n\n#last_used_time \n\n def last_used_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. Timestamp of the last used conversation.\n\n#name \n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Identifier. The unique resource name of a conversation. Format: `projects/{project}/locations/{location}/conversations/{conversation_id}` `{conversation_id}` 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\n\n\n Example:\n `projects/1234567890/locations/us-central1/conversations/my-conversation`.\n\n It is recommended to skip setting this field during conversation creation\n as it will be inferred automatically and overwritten with the\n {parent}/conversations/{conversation_id}.\n\n#name= \n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Identifier. The unique resource name of a conversation. Format: `projects/{project}/locations/{location}/conversations/{conversation_id}` `{conversation_id}` 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\n\n\n Example:\n `projects/1234567890/locations/us-central1/conversations/my-conversation`.\n\n It is recommended to skip setting this field during conversation creation\n as it will be inferred automatically and overwritten with the\n{parent}/conversations/{conversation_id}. \n**Returns**\n\n- (::String) --- Optional. Identifier. The unique resource name of a conversation. Format: `projects/{project}/locations/{location}/conversations/{conversation_id}` `{conversation_id}` 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\n\n\n Example:\n `projects/1234567890/locations/us-central1/conversations/my-conversation`.\n\n It is recommended to skip setting this field during conversation creation\n as it will be inferred automatically and overwritten with the\n {parent}/conversations/{conversation_id}."]]