Class: Google::Apis::BigqueryV2::SearchStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::SearchStatistics
- 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
-
#index_unused_reason ⇒ Array<Google::Apis::BigqueryV2::IndexUnusedReason>
When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why index was not used in all or part of the search query.
-
#index_usage_mode ⇒ String
Specifies index usage mode for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchStatistics
constructor
A new instance of SearchStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchStatistics
Returns a new instance of SearchStatistics.
6877 6878 6879 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index_unused_reason ⇒ Array<Google::Apis::BigqueryV2::IndexUnusedReason>
When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why
index was not used in all or part of the search query. If index_usage_mode is
FULLLY_USED, this field is not populated.
Corresponds to the JSON property indexUnusedReason
6870 6871 6872 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6870 def index_unused_reason @index_unused_reason end |
#index_usage_mode ⇒ String
Specifies index usage mode for the query.
Corresponds to the JSON property indexUsageMode
6875 6876 6877 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6875 def index_usage_mode @index_usage_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6882 6883 6884 6885 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6882 def update!(**args) @index_unused_reason = args[:index_unused_reason] if args.key?(:index_unused_reason) @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode) end |