class Google::Apis::DataflowV1b3::CounterMetadata
CounterMetadata
includes all static non-name non-value counter attributes.
Attributes
description[RW]
Human-readable description of the counter semantics. Corresponds to the JSON property `description` @return [String]
kind[RW]
Counter aggregation kind. Corresponds to the JSON property `kind` @return [String]
other_units[RW]
A string referring to the unit type. Corresponds to the JSON property `otherUnits` @return [String]
standard_units[RW]
System defined Units, see above enum. Corresponds to the JSON property `standardUnits` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 516 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 521 def update!(**args) @description = args[:description] if args.key?(:description) @kind = args[:kind] if args.key?(:kind) @other_units = args[:other_units] if args.key?(:other_units) @standard_units = args[:standard_units] if args.key?(:standard_units) end