Vertex AI v1beta1 API - Class FunctionResponseBlob (1.0.0-beta57)

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

Reference documentation and code samples for the Vertex AI v1beta1 API class FunctionResponseBlob.

Raw media bytes for function response.

Text should not be sent as raw bytes, use the 'text' field.

Inheritance

object > FunctionResponseBlob

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

FunctionResponseBlob()

public FunctionResponseBlob()

FunctionResponseBlob(FunctionResponseBlob)

public FunctionResponseBlob(FunctionResponseBlob other)
Parameter
Name Description
other FunctionResponseBlob

Properties

Data

public ByteString Data { get; set; }

Required. Raw bytes.

Property Value
Type Description
ByteString

DisplayName

public string DisplayName { get; set; }

Optional. Display name of the blob.

Used to provide a label or filename to distinguish blobs.

This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.

Property Value
Type Description
string

MimeType

public string MimeType { get; set; }

Required. The IANA standard MIME type of the source data.

Property Value
Type Description
string