Part(mapping=None, *, ignore_unknown_fields=False, **kwargs)Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).
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
Plain text content. This field is a member of oneof_ part.
|
file |
google.cloud.geminidataanalytics_v1alpha.types.FilePart
File content payload. This field is a member of oneof_ part.
|
data |
google.cloud.geminidataanalytics_v1alpha.types.DataPart
Structured data content payload. This field is a member of oneof_ part.
|
metadata |
google.protobuf.struct_pb2.Struct
Optional. Metadata associated with the part. |