FunctionResponsePart(mapping=None, *, ignore_unknown_fields=False, **kwargs)A datatype containing media that is part of a FunctionResponse
message.
A FunctionResponsePart consists of data which has an associated
datatype. A FunctionResponsePart can only contain one of the
accepted types in FunctionResponsePart.data.
A FunctionResponsePart must have a fixed IANA MIME type
identifying the type and subtype of the media if the inline_data
field is filled with raw bytes.
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 |
inline_data |
google.cloud.aiplatform_v1.types.FunctionResponseBlob
Inline media bytes. This field is a member of oneof_ data.
|
file_data |
google.cloud.aiplatform_v1.types.FunctionResponseFileData
URI based data. This field is a member of oneof_ data.
|
Methods
FunctionResponsePart
FunctionResponsePart(mapping=None, *, ignore_unknown_fields=False, **kwargs)A datatype containing media that is part of a FunctionResponse
message.
A FunctionResponsePart consists of data which has an associated
datatype. A FunctionResponsePart can only contain one of the
accepted types in FunctionResponsePart.data.
A FunctionResponsePart must have a fixed IANA MIME type
identifying the type and subtype of the media if the inline_data
field is filled with raw bytes.
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