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.
3852 3853 3854 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3852 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
3850 3851 3852 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3850 def num_cache_hit_rows @num_cache_hit_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3857 3858 3859 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3857 def update!(**args) @num_cache_hit_rows = args[:num_cache_hit_rows] if args.key?(:num_cache_hit_rows) end |