Autogenerated update (2017-12-14)
Update: - adexchangebuyer2_v2beta1 - androidmanagement_v1 - bigquerydatatransfer_v1 - calendar_v3 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2beta1 - cloudtasks_v2beta2 - drive_v2 - drive_v3 - speech_v1beta1
This commit is contained in:
1 parent
5451b7230d
commit
808ddace3e
31 files changed
+10753
-80
No files matched your search
@@ -30,8 +30,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is acknowledging the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -465,8 +465,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is canceling the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -830,12 +830,12 @@ module Google
|
||||
# PullTasksResponse is leased -- that task will not be
|
||||
# returned in a different PullTasksResponse before the
|
||||
# Task.schedule_time.
|
||||
# After the lease holder has successfully finished the work
|
||||
# associated with the task, the lease holder must call
|
||||
# After the pull worker has successfully finished the work
|
||||
# associated with the task, the pull worker must call
|
||||
# CloudTasks.AcknowledgeTask. If the task is not acknowledged
|
||||
# via CloudTasks.AcknowledgeTask before the
|
||||
# Task.schedule_time then it will be returned in a later
|
||||
# PullTasksResponse so that another lease holder can process
|
||||
# PullTasksResponse so that another pull worker can process
|
||||
# it.
|
||||
# The maximum lease duration is 1 week.
|
||||
# `lease_duration` will be truncated to the nearest second.
|
||||
@@ -1101,8 +1101,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is renewing the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -1457,20 +1457,20 @@ module Google
|
||||
attr_accessor :pull_message
|
||||
|
||||
# The time when the task is scheduled to be attempted.
|
||||
# For App Engine queues, this is when the task will be attempted or retried.
|
||||
# For pull queues, this is the time when the task is available to
|
||||
# be leased; if a task is currently leased, this is the time when
|
||||
# the current lease expires, that is, the time that the task was
|
||||
# leased plus the PullTasksRequest.lease_duration.
|
||||
# For App Engine queues, this is when the task will be attempted or retried.
|
||||
# `schedule_time` will be truncated to the nearest microsecond.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
|
||||
# Status of the task.
|
||||
# Corresponds to the JSON property `taskStatus`
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
||||
attr_accessor :task_status
|
||||
attr_accessor :status
|
||||
|
||||
# Output only. The view specifies which subset of the Task has
|
||||
# been returned.
|
||||
@@ -1489,7 +1489,7 @@ module Google
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@pull_message = args[:pull_message] if args.key?(:pull_message)
|
||||
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
||||
@task_status = args[:task_status] if args.key?(:task_status)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@view = args[:view] if args.key?(:view)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -483,7 +483,7 @@ module Google
|
||||
property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation
|
||||
|
||||
property :schedule_time, as: 'scheduleTime'
|
||||
property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
|
||||
property :status, as: 'status', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
|
||||
|
||||
property :view, as: 'view'
|
||||
end
|
||||
|
||||
@@ -593,10 +593,10 @@ module Google
|
||||
end
|
||||
|
||||
# Acknowledges a pull task.
|
||||
# The lease holder, that is, the entity that received this task in
|
||||
# The pull worker, that is, the entity that received this task in
|
||||
# a PullTasksResponse, must call this method to indicate that
|
||||
# the work associated with the task has finished.
|
||||
# The lease holder must acknowledge a task within the
|
||||
# The pull worker must acknowledge a task within the
|
||||
# PullTasksRequest.lease_duration or the lease will expire and
|
||||
# the task will become ready to be returned in a different
|
||||
# PullTasksResponse. After the task is acknowledged, it will
|
||||
@@ -641,7 +641,7 @@ module Google
|
||||
end
|
||||
|
||||
# Cancel a pull task's lease.
|
||||
# The lease holder can use this method to cancel a task's lease
|
||||
# The pull worker can use this method to cancel a task's lease
|
||||
# by setting Task.schedule_time to now. This will make the task
|
||||
# available to be leased to the next caller of CloudTasks.PullTasks.
|
||||
# @param [String] name
|
||||
@@ -874,11 +874,11 @@ module Google
|
||||
|
||||
# Pulls tasks from a pull queue and acquires a lease on them for a
|
||||
# specified PullTasksRequest.lease_duration.
|
||||
# This method is invoked by the lease holder to obtain the
|
||||
# lease. The lease holder must acknowledge the task via
|
||||
# This method is invoked by the pull worker to obtain the
|
||||
# lease. The pull worker must acknowledge the task via
|
||||
# CloudTasks.AcknowledgeTask after they have performed the work
|
||||
# associated with the task.
|
||||
# The payload is intended to store data that the lease holder needs
|
||||
# The payload is intended to store data that the pull worker needs
|
||||
# to perform the work associated with the task. To return the
|
||||
# payloads in the PullTasksResponse, set
|
||||
# PullTasksRequest.response_view to Task.View.FULL.
|
||||
@@ -921,7 +921,7 @@ module Google
|
||||
end
|
||||
|
||||
# Renew the current lease of a pull task.
|
||||
# The lease holder can use this method to extend the lease by a new
|
||||
# The pull worker can use this method to extend the lease by a new
|
||||
# duration, starting from now. The new task lease will be
|
||||
# returned in Task.schedule_time.
|
||||
# @param [String] name
|
||||
@@ -966,7 +966,7 @@ module Google
|
||||
# When this method is called, Cloud Tasks will dispatch the task to its
|
||||
# target, even if the queue is Queue.State.PAUSED.
|
||||
# The dispatched task is returned. That is, the task that is returned
|
||||
# contains the Task.task_status after the task is dispatched but
|
||||
# contains the Task.status after the task is dispatched but
|
||||
# before the task is received by its target.
|
||||
# If Cloud Tasks receives a successful response from the task's
|
||||
# handler, then the task will be deleted; otherwise the task's
|
||||
|
||||
Reference in new issue
Block a user