Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::CachedContent::UsageMetadata (v0.62.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::CachedContent::UsageMetadata.

Metadata on the usage of the cached content.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio_duration_seconds

def audio_duration_seconds() -> ::Integer
Returns
  • (::Integer) — Duration of audio in seconds.

#audio_duration_seconds=

def audio_duration_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Duration of audio in seconds.
Returns
  • (::Integer) — Duration of audio in seconds.

#image_count

def image_count() -> ::Integer
Returns
  • (::Integer) — Number of images.

#image_count=

def image_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of images.
Returns
  • (::Integer) — Number of images.

#text_count

def text_count() -> ::Integer
Returns
  • (::Integer) — Number of text characters.

#text_count=

def text_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of text characters.
Returns
  • (::Integer) — Number of text characters.

#total_token_count

def total_token_count() -> ::Integer
Returns
  • (::Integer) — Total number of tokens that the cached content consumes.

#total_token_count=

def total_token_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Total number of tokens that the cached content consumes.
Returns
  • (::Integer) — Total number of tokens that the cached content consumes.

#video_duration_seconds

def video_duration_seconds() -> ::Integer
Returns
  • (::Integer) — Duration of video in seconds.

#video_duration_seconds=

def video_duration_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Duration of video in seconds.
Returns
  • (::Integer) — Duration of video in seconds.