Vertex AI v1 API - Class FunctionResponsePart (3.53.0)

public sealed class FunctionResponsePart : IMessage<FunctionResponsePart>, IEquatable<FunctionResponsePart>, IDeepCloneable<FunctionResponsePart>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1 API 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.

Inheritance

object > FunctionResponsePart

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

FunctionResponsePart()

public FunctionResponsePart()

FunctionResponsePart(FunctionResponsePart)

public FunctionResponsePart(FunctionResponsePart other)
Parameter
Name Description
other FunctionResponsePart

Properties

DataCase

public FunctionResponsePart.DataOneofCase DataCase { get; }
Property Value
Type Description
FunctionResponsePartDataOneofCase

FileData

public FunctionResponseFileData FileData { get; set; }

URI based data.

Property Value
Type Description
FunctionResponseFileData

InlineData

public FunctionResponseBlob InlineData { get; set; }

Inline media bytes.

Property Value
Type Description
FunctionResponseBlob