Class: Google::Cloud::AIPlatform::V1::CachedContent::UsageMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/cached_content.rb

Overview

Metadata on the usage of the cached content.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_duration_seconds::Integer

Returns Duration of audio in seconds.

Returns:

  • (::Integer)

    Duration of audio in seconds.



102
103
104
105
# File 'proto_docs/google/cloud/aiplatform/v1/cached_content.rb', line 102

class UsageMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image_count::Integer

Returns Number of images.

Returns:

  • (::Integer)

    Number of images.



102
103
104
105
# File 'proto_docs/google/cloud/aiplatform/v1/cached_content.rb', line 102

class UsageMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_count::Integer

Returns Number of text characters.

Returns:

  • (::Integer)

    Number of text characters.



102
103
104
105
# File 'proto_docs/google/cloud/aiplatform/v1/cached_content.rb', line 102

class UsageMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#total_token_count::Integer

Returns Total number of tokens that the cached content consumes.

Returns:

  • (::Integer)

    Total number of tokens that the cached content consumes.



102
103
104
105
# File 'proto_docs/google/cloud/aiplatform/v1/cached_content.rb', line 102

class UsageMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#video_duration_seconds::Integer

Returns Duration of video in seconds.

Returns:

  • (::Integer)

    Duration of video in seconds.



102
103
104
105
# File 'proto_docs/google/cloud/aiplatform/v1/cached_content.rb', line 102

class UsageMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end