Class: Google::Cloud::GeminiDataAnalytics::V1beta::Conversation
- Inherits:
-
Object
- Object
- Google::Cloud::GeminiDataAnalytics::V1beta::Conversation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb
Overview
Message for a conversation.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#agents ⇒ ::Array<::String>
Required.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#last_used_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
Optional.
Instance Attribute Details
#agents ⇒ ::Array<::String>
Returns 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}.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb', line 56 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Creation timestamp.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb', line 56 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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).
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb', line 56 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#last_used_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp of the last used conversation.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb', line 56 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns 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
Example:
projects/1234567890/locations/global/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}.
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/conversation.rb', line 56 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |