Class Conversation (0.2.0)

Conversation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for a conversation.

Attributes

Name Description
name str
Optional. Identifier. The unique resource name of a conversation. It's not expected to be set when creating a conversation.
agents MutableSequence[str]
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 google.protobuf.timestamp_pb2.Timestamp
Output only. Creation timestamp.
last_used_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp of the last used conversation.
labels MutableMapping[str, str]
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).

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.