Class: Google::Apis::DataflowV1b3::NameAndKind
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::NameAndKind
- 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
Basic metadata about a counter.
Instance Attribute Summary collapse
-
#kind ⇒ String
Counter aggregation kind.
-
#name ⇒ String
Name of the counter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NameAndKind
constructor
A new instance of NameAndKind.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NameAndKind
Returns a new instance of NameAndKind
4450 4451 4452 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4450 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Counter aggregation kind.
Corresponds to the JSON property kind
4448 4449 4450 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4448 def kind @kind end |
#name ⇒ String
Name of the counter.
Corresponds to the JSON property name
4443 4444 4445 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4443 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4455 4456 4457 4458 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4455 def update!(**args) @name = args[:name] if args.key?(:name) @kind = args[:kind] if args.key?(:kind) end |