Class: Google::Apis::BigqueryV2::SearchStatistics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchStatistics

Returns a new instance of SearchStatistics.



6864
6865
6866
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6864

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#index_unused_reasonArray<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



6857
6858
6859
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6857

def index_unused_reason
  @index_unused_reason
end

#index_usage_modeString

Specifies index usage mode for the query. Corresponds to the JSON property indexUsageMode

Returns:

  • (String)


6862
6863
6864
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6862

def index_usage_mode
  @index_usage_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6869
6870
6871
6872
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6869

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