Google Cloud Ai Platform V1 Client - Class FunctionResponsePart (1.44.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class 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.

Generated from protobuf message google.cloud.aiplatform.v1.FunctionResponsePart

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ inline_data
FunctionResponseBlob

Inline media bytes.

↳ file_data
FunctionResponseFileData

URI based data.

getInlineData

Inline media bytes.

Returns
Type
Description

hasInlineData

setInlineData

Inline media bytes.

Parameter
Name
Description
Returns
Type
Description
$this

getFileData

URI based data.

Returns
Type
Description

hasFileData

setFileData

URI based data.

Parameter
Name
Description
Returns
Type
Description
$this

getData

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: