Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FunctionResponsePart.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_data
def file_data() -> ::Google::Cloud::AIPlatform::V1::FunctionResponseFileData-
(::Google::Cloud::AIPlatform::V1::FunctionResponseFileData) — URI based data.
Note: The following fields are mutually exclusive:
file_data,inline_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_data=
def file_data=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionResponseFileData-
value (::Google::Cloud::AIPlatform::V1::FunctionResponseFileData) — URI based data.
Note: The following fields are mutually exclusive:
file_data,inline_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::FunctionResponseFileData) — URI based data.
Note: The following fields are mutually exclusive:
file_data,inline_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
#inline_data
def inline_data() -> ::Google::Cloud::AIPlatform::V1::FunctionResponseBlob-
(::Google::Cloud::AIPlatform::V1::FunctionResponseBlob) — Inline media bytes.
Note: The following fields are mutually exclusive:
inline_data,file_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
#inline_data=
def inline_data=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionResponseBlob-
value (::Google::Cloud::AIPlatform::V1::FunctionResponseBlob) — Inline media bytes.
Note: The following fields are mutually exclusive:
inline_data,file_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::FunctionResponseBlob) — Inline media bytes.
Note: The following fields are mutually exclusive:
inline_data,file_data. If a field in that set is populated, all other fields in the set will automatically be cleared.