class Google::Apis::CloudtasksV2::RunTaskRequest

Request message for forcing a task to run now using RunTask.

Attributes

response_view[RW]

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](cloud.google.com/iam/) permission on the Task resource. Corresponds to the JSON property `responseView` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudtasks_v2/classes.rb, line 1125
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudtasks_v2/classes.rb, line 1130
def update!(**args)
  @response_view = args[:response_view] if args.key?(:response_view)
end