Class: Google::Apis::DataflowV1b3::CounterMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::CounterMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
CounterMetadata includes all static non-name non-value counter attributes.
Instance Attribute Summary collapse
-
#description ⇒ String
Human-readable description of the counter semantics.
-
#kind ⇒ String
Counter aggregation kind.
-
#other_units ⇒ String
A string referring to the unit type.
-
#standard_units ⇒ String
System defined Units, see above enum.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CounterMetadata
constructor
A new instance of CounterMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CounterMetadata
Returns a new instance of CounterMetadata.
534 535 536 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 534 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Human-readable description of the counter semantics.
Corresponds to the JSON property description
517 518 519 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 517 def description @description end |
#kind ⇒ String
Counter aggregation kind.
Corresponds to the JSON property kind
522 523 524 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 522 def kind @kind end |
#other_units ⇒ String
A string referring to the unit type.
Corresponds to the JSON property otherUnits
527 528 529 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 527 def other_units @other_units end |
#standard_units ⇒ String
System defined Units, see above enum.
Corresponds to the JSON property standardUnits
532 533 534 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 532 def standard_units @standard_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
539 540 541 542 543 544 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 539 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 |