Class: Google::Apis::BigqueryV2::ObjectStorageStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

Storage and caching statistics for object storage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ObjectStorageStats

Returns a new instance of ObjectStorageStats.



7847
7848
7849
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7847

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cache_bytes_readFixnum

Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read. Corresponds to the JSON property cacheBytesRead

Returns:

  • (Fixnum)


7835
7836
7837
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7835

def cache_bytes_read
  @cache_bytes_read
end

#cloud_providerString

The cloud provider for this block of statistics. Corresponds to the JSON property cloudProvider

Returns:

  • (String)


7840
7841
7842
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7840

def cloud_provider
  @cloud_provider
end

#object_storage_bytes_readFixnum

Total bytes read directly from the cloud provider's storage. Corresponds to the JSON property objectStorageBytesRead

Returns:

  • (Fixnum)


7845
7846
7847
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7845

def object_storage_bytes_read
  @object_storage_bytes_read
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7852
7853
7854
7855
7856
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7852

def update!(**args)
  @cache_bytes_read = args[:cache_bytes_read] if args.key?(:cache_bytes_read)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @object_storage_bytes_read = args[:object_storage_bytes_read] if args.key?(:object_storage_bytes_read)
end