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.



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

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)


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

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)


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

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)


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

def object_storage_bytes_read
  @object_storage_bytes_read
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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