Class: Google::Apis::BigqueryV2::IndexUnusedReason
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::IndexUnusedReason
- 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
Reason about why no search index was used in the search query (or sub-query).
Instance Attribute Summary collapse
-
#base_table ⇒ Google::Apis::BigqueryV2::TableReference
Specifies the base table involved in the reason that no search index was used.
-
#code ⇒ String
Specifies the high-level reason for the scenario when no search index was used.
-
#index_name ⇒ String
Specifies the name of the unused search index, if available.
-
#message ⇒ String
Free form human-readable reason for the scenario when no search index was used.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IndexUnusedReason
constructor
A new instance of IndexUnusedReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IndexUnusedReason
Returns a new instance of IndexUnusedReason.
4017 4018 4019 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_table ⇒ Google::Apis::BigqueryV2::TableReference
Specifies the base table involved in the reason that no search index was used.
Corresponds to the JSON property baseTable
4000 4001 4002 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4000 def base_table @base_table end |
#code ⇒ String
Specifies the high-level reason for the scenario when no search index was used.
Corresponds to the JSON property code
4005 4006 4007 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4005 def code @code end |
#index_name ⇒ String
Specifies the name of the unused search index, if available.
Corresponds to the JSON property indexName
4010 4011 4012 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4010 def index_name @index_name end |
#message ⇒ String
Free form human-readable reason for the scenario when no search index was used.
Corresponds to the JSON property message
4015 4016 4017 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4015 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4022 4023 4024 4025 4026 4027 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4022 def update!(**args) @base_table = args[:base_table] if args.key?(:base_table) @code = args[:code] if args.key?(:code) @index_name = args[:index_name] if args.key?(:index_name) @message = args[:message] if args.key?(:message) end |