Class: Google::Apis::DataflowV1b3::CounterMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::CounterMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CounterMetadata
Returns a new instance of CounterMetadata
1922 1923 1924 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Human-readable description of the counter semantics.
Corresponds to the JSON property description
1910 1911 1912 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1910 def description @description end |
#kind ⇒ String
Counter aggregation kind.
Corresponds to the JSON property kind
1905 1906 1907 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1905 def kind @kind end |
#other_units ⇒ String
A string referring to the unit type.
Corresponds to the JSON property otherUnits
1920 1921 1922 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1920 def other_units @other_units end |
#standard_units ⇒ String
System defined Units, see above enum.
Corresponds to the JSON property standardUnits
1915 1916 1917 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1915 def standard_units @standard_units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1927 1928 1929 1930 1931 1932 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1927 def update!(**args) @kind = args[:kind] if args.key?(:kind) @description = args[:description] if args.key?(:description) @standard_units = args[:standard_units] if args.key?(:standard_units) @other_units = args[:other_units] if args.key?(:other_units) end |