Class: Google::Apis::DatastoreV1::ExplainMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::ExplainMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1/classes.rb,
lib/google/apis/datastore_v1/representations.rb,
lib/google/apis/datastore_v1/representations.rb more...
Overview
Explain metrics for the query.
Instance Attribute Summary collapse
-
#execution_stats ⇒ Google::Apis::DatastoreV1::ExecutionStats
Execution statistics for the query.
-
#plan_summary ⇒ Google::Apis::DatastoreV1::PlanSummary
Planning phase information for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExplainMetrics
constructor
A new instance of ExplainMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExplainMetrics
Returns a new instance of ExplainMetrics.
600 601 602 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#execution_stats ⇒ Google::Apis::DatastoreV1::ExecutionStats
Execution statistics for the query.
Corresponds to the JSON property executionStats
593 594 595 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 593 def execution_stats @execution_stats end |
#plan_summary ⇒ Google::Apis::DatastoreV1::PlanSummary
Planning phase information for the query.
Corresponds to the JSON property planSummary
598 599 600 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 598 def plan_summary @plan_summary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
605 606 607 608 |
# File 'lib/google/apis/datastore_v1/classes.rb', line 605 def update!(**args) @execution_stats = args[:execution_stats] if args.key?(:execution_stats) @plan_summary = args[:plan_summary] if args.key?(:plan_summary) end |