Class: Google::Apis::CloudtasksV2beta2::BufferTaskResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudtasksV2beta2::BufferTaskResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudtasks_v2beta2/classes.rb,
lib/google/apis/cloudtasks_v2beta2/representations.rb,
lib/google/apis/cloudtasks_v2beta2/representations.rb
Overview
Response message for BufferTask.
Instance Attribute Summary collapse
-
#task ⇒ Google::Apis::CloudtasksV2beta2::Task
A unit of scheduled work.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BufferTaskResponse
constructor
A new instance of BufferTaskResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BufferTaskResponse
Returns a new instance of BufferTaskResponse.
473 474 475 |
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#task ⇒ Google::Apis::CloudtasksV2beta2::Task
A unit of scheduled work.
Corresponds to the JSON property task
471 472 473 |
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 471 def task @task end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
478 479 480 |
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 478 def update!(**args) @task = args[:task] if args.key?(:task) end |