GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Blob (google_api_ai_platform v0.27.0)

View Source

Content blob.

Attributes

  • data (type: String.t, default: nil) - Required. Raw bytes.
  • displayName (type: String.t, default: nil) - 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 not currently used in the Gemini GenerateContent calls.
  • mimeType (type: String.t, default: nil) - Required. The IANA standard MIME type of the source data.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Blob{
  data: String.t() | nil,
  displayName: String.t() | nil,
  mimeType: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.