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
def agents() -> ::Array<::String>
-
(::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=
def agents=(value) -> ::Array<::String>
-
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}
-
(::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}
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Creation timestamp.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::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).
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- 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).
- (::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).
#last_used_time
def last_used_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp of the last used conversation.
#name
def name() -> ::String
-
(::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-segmentsExample:
projects/1234567890/locations/us-central1/conversations/my-conversation
.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=
def name=(value) -> ::String
-
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-segmentsExample:
projects/1234567890/locations/us-central1/conversations/my-conversation
.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}.
-
(::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-segmentsExample:
projects/1234567890/locations/us-central1/conversations/my-conversation
.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}.