Class: Google::Apis::DataflowV1b3::WorkerDetails
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::WorkerDetails
- 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
Information about a worker
Instance Attribute Summary collapse
-
#work_items ⇒ Array<Google::Apis::DataflowV1b3::WorkItemDetails>
Work items processed by this worker, sorted by time.
-
#worker_name ⇒ String
Name of this worker Corresponds to the JSON property
workerName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkerDetails
constructor
A new instance of WorkerDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkerDetails
Returns a new instance of WorkerDetails.
6345 6346 6347 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 6345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#work_items ⇒ Array<Google::Apis::DataflowV1b3::WorkItemDetails>
Work items processed by this worker, sorted by time.
Corresponds to the JSON property workItems
6338 6339 6340 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 6338 def work_items @work_items end |
#worker_name ⇒ String
Name of this worker
Corresponds to the JSON property workerName
6343 6344 6345 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 6343 def worker_name @worker_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6350 6351 6352 6353 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 6350 def update!(**args) @work_items = args[:work_items] if args.key?(:work_items) @worker_name = args[:worker_name] if args.key?(:worker_name) end |