Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionResponsePart (v1.30.1)

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
Returns

#file_data=

def file_data=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionResponseFileData
Parameter
Returns

#inline_data

def inline_data() -> ::Google::Cloud::AIPlatform::V1::FunctionResponseBlob
Returns

#inline_data=

def inline_data=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionResponseBlob
Parameter
Returns