Class: Google::Apis::TaskqueueV1beta1::Tasks2
- Inherits:
-
Object
- Object
- Google::Apis::TaskqueueV1beta1::Tasks2
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/taskqueue_v1beta1/classes.rb,
generated/google/apis/taskqueue_v1beta1/representations.rb,
generated/google/apis/taskqueue_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::TaskqueueV1beta1::Task>
The actual list of tasks currently active in the TaskQueue.
-
#kind ⇒ String
The kind of object returned, a list of tasks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tasks2
constructor
A new instance of Tasks2.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Tasks2
Returns a new instance of Tasks2
230 231 232 |
# File 'generated/google/apis/taskqueue_v1beta1/classes.rb', line 230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::TaskqueueV1beta1::Task>
The actual list of tasks currently active in the TaskQueue.
Corresponds to the JSON property items
223 224 225 |
# File 'generated/google/apis/taskqueue_v1beta1/classes.rb', line 223 def items @items end |
#kind ⇒ String
The kind of object returned, a list of tasks.
Corresponds to the JSON property kind
228 229 230 |
# File 'generated/google/apis/taskqueue_v1beta1/classes.rb', line 228 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
235 236 237 238 |
# File 'generated/google/apis/taskqueue_v1beta1/classes.rb', line 235 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |