Class: Google::Apis::DataflowV1b3::LeaseWorkItemResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::LeaseWorkItemResponse
- 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
Response to a request to lease WorkItems.
Instance Attribute Summary collapse
-
#work_items ⇒ Array<Google::Apis::DataflowV1b3::WorkItem>
A list of the leased WorkItems.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LeaseWorkItemResponse
constructor
A new instance of LeaseWorkItemResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LeaseWorkItemResponse
Returns a new instance of LeaseWorkItemResponse
1952 1953 1954 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#work_items ⇒ Array<Google::Apis::DataflowV1b3::WorkItem>
A list of the leased WorkItems.
Corresponds to the JSON property workItems
1950 1951 1952 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1950 def work_items @work_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1957 1958 1959 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1957 def update!(**args) @work_items = args[:work_items] if args.key?(:work_items) end |