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

View Source

URI based data.

Attributes

  • displayName (type: String.t, default: nil) - Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent calls.
  • fileUri (type: String.t, default: nil) - Required. URI.
  • 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.GoogleCloudAiplatformV1FileData{
  displayName: String.t() | nil,
  fileUri: 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.