Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Conversation.
Message for a conversation.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.Conversation
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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
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}.
↳ agents
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
↳ last_used_time
↳ labels
array| Google\Protobuf\Internal\MapField
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).
↳ kms_key
string
Optional. Customer managed encryption key (CMEK) to use for encrypting the Conversation resources. Encryption will happen at Titan layer, we will pass the KMS key to Titan. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
↳ memory_paused
bool
Optional. Whether memory is paused for this conversation.
getName
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}.
string
setName
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}.
var
string
$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}
setAgents
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}
var
string[]
$this
getCreateTime
Output only. Creation timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation timestamp.
$this
getLastUsedTime
Output only. Timestamp of the last used conversation.
hasLastUsedTime
clearLastUsedTime
setLastUsedTime
Output only. Timestamp of the last used conversation.
$this
getLabels
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).
setLabels
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).
$this
getKmsKey
Optional. Customer managed encryption key (CMEK) to use for encrypting the Conversation resources. Encryption will happen at Titan layer, we will pass the KMS key to Titan.
Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
string
hasKmsKey
clearKmsKey
setKmsKey
Optional. Customer managed encryption key (CMEK) to use for encrypting the Conversation resources. Encryption will happen at Titan layer, we will pass the KMS key to Titan.
Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
var
string
$this
getMemoryPaused
Optional. Whether memory is paused for this conversation.
bool
hasMemoryPaused
clearMemoryPaused
setMemoryPaused
Optional. Whether memory is paused for this conversation.
var
bool
$this

