View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CachedContentUsageMetadata (google_api_ai_platform v0.25.0)

Metadata on the usage of the cached content.

Attributes

  • audioDurationSeconds (type: integer(), default: nil) - Duration of audio in seconds.
  • imageCount (type: integer(), default: nil) - Number of images.
  • textCount (type: integer(), default: nil) - Number of text characters.
  • totalTokenCount (type: integer(), default: nil) - Total number of tokens that the cached content consumes.
  • videoDurationSeconds (type: integer(), default: nil) - Duration of video in seconds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CachedContentUsageMetadata{
    audioDurationSeconds: integer() | nil,
    imageCount: integer() | nil,
    textCount: integer() | nil,
    totalTokenCount: integer() | nil,
    videoDurationSeconds: integer() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.