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
Instance Attribute Summary collapse
-
#base_table ⇒ Google::Apis::BigqueryV2::TableReference
[Output-only] Specifies the base table involved in the reason that no search index was used.
-
#code ⇒ String
[Output-only] Specifies the high-level reason for the scenario when no search index was used.
-
#index_name ⇒ String
[Output-only] Specifies the name of the unused search index, if available.
-
#message ⇒ String
[Output-only] 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.
3348 3349 3350 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_table ⇒ Google::Apis::BigqueryV2::TableReference
[Output-only] Specifies the base table involved in the reason that no search
index was used.
Corresponds to the JSON property base_table
3329 3330 3331 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3329 def base_table @base_table end |
#code ⇒ String
[Output-only] Specifies the high-level reason for the scenario when no search
index was used.
Corresponds to the JSON property code
3335 3336 3337 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3335 def code @code end |
#index_name ⇒ String
[Output-only] Specifies the name of the unused search index, if available.
Corresponds to the JSON property index_name
3340 3341 3342 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3340 def index_name @index_name end |
#message ⇒ String
[Output-only] Free form human-readable reason for the scenario when no search
index was used.
Corresponds to the JSON property message
3346 3347 3348 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3346 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3353 3354 3355 3356 3357 3358 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3353 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 |