Class: Google::Apis::FirestoreV1beta1::ExplainMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1beta1/classes.rb,
lib/google/apis/firestore_v1beta1/representations.rb,
lib/google/apis/firestore_v1beta1/representations.rb

Overview

Explain metrics for the query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExplainMetrics

Returns a new instance of ExplainMetrics.



931
932
933
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 931

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

Instance Attribute Details

#execution_statsGoogle::Apis::FirestoreV1beta1::ExecutionStats

Execution statistics for the query. Corresponds to the JSON property executionStats



924
925
926
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 924

def execution_stats
  @execution_stats
end

#plan_summaryGoogle::Apis::FirestoreV1beta1::PlanSummary

Planning phase information for the query. Corresponds to the JSON property planSummary



929
930
931
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 929

def plan_summary
  @plan_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



936
937
938
939
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 936

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