Class: Google::Apis::TaskqueueV1beta2::Tasks2
- Inherits:
-
Object
- Object
- Google::Apis::TaskqueueV1beta2::Tasks2
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/taskqueue_v1beta2/classes.rb,
generated/google/apis/taskqueue_v1beta2/representations.rb,
generated/google/apis/taskqueue_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::TaskqueueV1beta2::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
242 243 244 |
# File 'generated/google/apis/taskqueue_v1beta2/classes.rb', line 242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::TaskqueueV1beta2::Task>
The actual list of tasks currently active in the TaskQueue.
Corresponds to the JSON property items
235 236 237 |
# File 'generated/google/apis/taskqueue_v1beta2/classes.rb', line 235 def items @items end |
#kind ⇒ String
The kind of object returned, a list of tasks.
Corresponds to the JSON property kind
240 241 242 |
# File 'generated/google/apis/taskqueue_v1beta2/classes.rb', line 240 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
247 248 249 250 |
# File 'generated/google/apis/taskqueue_v1beta2/classes.rb', line 247 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |