Class: Google::Apis::CloudtasksV2beta3::BufferTaskResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudtasks_v2beta3/classes.rb,
lib/google/apis/cloudtasks_v2beta3/representations.rb,
lib/google/apis/cloudtasks_v2beta3/representations.rb

Overview

Response message for BufferTask.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BufferTaskResponse

Returns a new instance of BufferTaskResponse.



492
493
494
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 492

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#taskGoogle::Apis::CloudtasksV2beta3::Task

A unit of scheduled work. Corresponds to the JSON property task



490
491
492
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 490

def task
  @task
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



497
498
499
# File 'lib/google/apis/cloudtasks_v2beta3/classes.rb', line 497

def update!(**args)
  @task = args[:task] if args.key?(:task)
end