Class: Google::Apis::DataprocV1::SqlPlanMetric

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlPlanMetric

Returns a new instance of SqlPlanMetric.



9822
9823
9824
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9822

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

Instance Attribute Details

#accumulator_idFixnum

Corresponds to the JSON property accumulatorId

Returns:

  • (Fixnum)


9810
9811
9812
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9810

def accumulator_id
  @accumulator_id
end

#metric_typeString

Corresponds to the JSON property metricType

Returns:

  • (String)


9815
9816
9817
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9815

def metric_type
  @metric_type
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9820
9821
9822
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9820

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9827
9828
9829
9830
9831
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9827

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