Class Chunk (0.3.0)

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

A chunk of content within a message.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
text str
Optional. Text data. This field is a member of oneof_ data.
transcript str
Optional. Transcript associated with the audio. This field is a member of oneof_ data.
blob google.cloud.ces_v1.types.Blob
Optional. Blob data. This field is a member of oneof_ data.
payload google.protobuf.struct_pb2.Struct
Optional. Custom payload data. This field is a member of oneof_ data.
image google.cloud.ces_v1.types.Image
Optional. Image data. This field is a member of oneof_ data.
tool_call google.cloud.ces_v1.types.ToolCall
Optional. Tool execution request. This field is a member of oneof_ data.
tool_response google.cloud.ces_v1.types.ToolResponse
Optional. Tool execution response. This field is a member of oneof_ data.
agent_transfer google.cloud.ces_v1.types.AgentTransfer
Optional. Agent transfer event. This field is a member of oneof_ data.
updated_variables google.protobuf.struct_pb2.Struct
A struct represents variables that were updated in the conversation, keyed by variable names. This field is a member of oneof_ data.
default_variables google.protobuf.struct_pb2.Struct
A struct represents default variables at the start of the conversation, keyed by variable names. This field is a member of oneof_ data.