Class: Google::Apis::DataflowV1b3::HotKeyDetection
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::HotKeyDetection
- 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
Proto describing a hot key detected on a given WorkItem.
Instance Attribute Summary collapse
-
#hot_key_age ⇒ String
The age of the hot key measured from when it was first detected.
-
#system_name ⇒ String
System-defined name of the step containing this hot key.
-
#user_step_name ⇒ String
User-provided name of the step that contains this hot key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HotKeyDetection
constructor
A new instance of HotKeyDetection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HotKeyDetection
Returns a new instance of HotKeyDetection.
1605 1606 1607 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hot_key_age ⇒ String
The age of the hot key measured from when it was first detected.
Corresponds to the JSON property hotKeyAge
1592 1593 1594 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1592 def hot_key_age @hot_key_age end |
#system_name ⇒ String
System-defined name of the step containing this hot key.
Unique across the workflow.
Corresponds to the JSON property systemName
1598 1599 1600 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1598 def system_name @system_name end |
#user_step_name ⇒ String
User-provided name of the step that contains this hot key.
Corresponds to the JSON property userStepName
1603 1604 1605 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1603 def user_step_name @user_step_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1610 1611 1612 1613 1614 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1610 def update!(**args) @hot_key_age = args[:hot_key_age] if args.key?(:hot_key_age) @system_name = args[:system_name] if args.key?(:system_name) @user_step_name = args[:user_step_name] if args.key?(:user_step_name) end |