Class: Google::Apis::BigqueryV2::GenAiFunctionCacheStats
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::GenAiFunctionCacheStats
- 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
Provides cache statistics for a GenAi function call.
Instance Attribute Summary collapse
-
#num_cache_hit_rows ⇒ Fixnum
Number of rows served from cache.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenAiFunctionCacheStats
constructor
A new instance of GenAiFunctionCacheStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenAiFunctionCacheStats
Returns a new instance of GenAiFunctionCacheStats.
3777 3778 3779 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3777 def initialize(**args) update!(**args) end |
Instance Attribute Details
#num_cache_hit_rows ⇒ Fixnum
Number of rows served from cache.
Corresponds to the JSON property numCacheHitRows
3775 3776 3777 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3775 def num_cache_hit_rows @num_cache_hit_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3782 3783 3784 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3782 def update!(**args) @num_cache_hit_rows = args[:num_cache_hit_rows] if args.key?(:num_cache_hit_rows) end |