Class: Google::Apis::BigqueryV2::TableMetadataCacheUsage
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TableMetadataCacheUsage
- 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
Table level detail on the usage of metadata caching. Only set for Metadata caching eligible tables referenced in the query.
Instance Attribute Summary collapse
-
#explanation ⇒ String
Free form human-readable reason metadata caching was unused for the job.
-
#table_reference ⇒ Google::Apis::BigqueryV2::TableReference
Metadata caching eligible table referenced in the query.
- #table_type ⇒ String
-
#unused_reason ⇒ String
Reason for not using metadata caching for the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableMetadataCacheUsage
constructor
A new instance of TableMetadataCacheUsage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableMetadataCacheUsage
Returns a new instance of TableMetadataCacheUsage.
10311 10312 10313 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ String
Free form human-readable reason metadata caching was unused for the job.
Corresponds to the JSON property explanation
10294 10295 10296 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10294 def explanation @explanation end |
#table_reference ⇒ Google::Apis::BigqueryV2::TableReference
Metadata caching eligible table referenced in the query.
Corresponds to the JSON property tableReference
10299 10300 10301 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10299 def table_reference @table_reference end |
#table_type ⇒ String
Table type.
Corresponds to the JSON property tableType
10304 10305 10306 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10304 def table_type @table_type end |
#unused_reason ⇒ String
Reason for not using metadata caching for the table.
Corresponds to the JSON property unusedReason
10309 10310 10311 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10309 def unused_reason @unused_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10316 10317 10318 10319 10320 10321 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 10316 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @table_reference = args[:table_reference] if args.key?(:table_reference) @table_type = args[:table_type] if args.key?(:table_type) @unused_reason = args[:unused_reason] if args.key?(:unused_reason) end |