Class: Google::Apis::DataprocV1::SqlPlanMetric
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SqlPlanMetric
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Metrics related to SQL execution.
Instance Attribute Summary collapse
-
#accumulator_id ⇒ Fixnum
Corresponds to the JSON property
accumulatorId. -
#metric_type ⇒ String
Corresponds to the JSON property
metricType. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlPlanMetric
constructor
A new instance of SqlPlanMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlPlanMetric
Returns a new instance of SqlPlanMetric.
9824 9825 9826 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9824 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accumulator_id ⇒ Fixnum
Corresponds to the JSON property accumulatorId
9812 9813 9814 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9812 def accumulator_id @accumulator_id end |
#metric_type ⇒ String
Corresponds to the JSON property metricType
9817 9818 9819 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9817 def metric_type @metric_type end |
#name ⇒ String
Corresponds to the JSON property name
9822 9823 9824 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9822 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9829 9830 9831 9832 9833 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9829 def update!(**args) @accumulator_id = args[:accumulator_id] if args.key?(:accumulator_id) @metric_type = args[:metric_type] if args.key?(:metric_type) @name = args[:name] if args.key?(:name) end |