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.



7094
7095
7096
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7094

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

Instance Attribute Details

#index_unused_reasonsArray<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 indexUnusedReasons



7087
7088
7089
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7087

def index_unused_reasons
  @index_unused_reasons
end

#index_usage_modeString

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

Returns:

  • (String)


7092
7093
7094
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7092

def index_usage_mode
  @index_usage_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7099
7100
7101
7102
# File 'lib/google/apis/bigquery_v2/classes.rb', line 7099

def update!(**args)
  @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
  @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
end