Class: Google::Apis::DataprocV1::DataprocMetricConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::DataprocMetricConfig
- 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
Dataproc metric config.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataprocMetricConfig
constructor
A new instance of DataprocMetricConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataprocMetricConfig
Returns a new instance of DataprocMetricConfig.
1841 1842 1843 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::DataprocV1::Metric>
Required. Metrics sources to enable.
Corresponds to the JSON property metrics
1839 1840 1841 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1839 def metrics @metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1846 1847 1848 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1846 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) end |