Regen APIs
This commit is contained in:
1 parent
c645e7d2f8
commit
e3b8c800d6
360 files changed
+55304
-55516
No files matched your search
@@ -28,7 +28,7 @@ module Google
|
||||
|
||||
# Time (in seconds since the epoch) at which the task was enqueued.
|
||||
# Corresponds to the JSON property `enqueueTimestamp`
|
||||
# @return [String]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :enqueue_timestamp
|
||||
|
||||
# Name of the task.
|
||||
@@ -44,7 +44,7 @@ module Google
|
||||
# Time (in seconds since the epoch) at which the task lease will expire. This
|
||||
# value is 0 if the task isnt currently leased out to a worker.
|
||||
# Corresponds to the JSON property `leaseTimestamp`
|
||||
# @return [String]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :lease_timestamp
|
||||
|
||||
# A bag of bytes which is the task payload. The payload on the JSON side is
|
||||
@@ -168,17 +168,17 @@ module Google
|
||||
|
||||
# Number of tasks leased in the last hour.
|
||||
# Corresponds to the JSON property `leasedLastHour`
|
||||
# @return [String]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :leased_last_hour
|
||||
|
||||
# Number of tasks leased in the last minute.
|
||||
# Corresponds to the JSON property `leasedLastMinute`
|
||||
# @return [String]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :leased_last_minute
|
||||
|
||||
# The timestamp (in seconds since the epoch) of the oldest unfinished task.
|
||||
# Corresponds to the JSON property `oldestTask`
|
||||
# @return [String]
|
||||
# @return [Fixnum]
|
||||
attr_accessor :oldest_task
|
||||
|
||||
# Number of tasks in the queue.
|
||||
|
||||
@@ -61,10 +61,10 @@ module Google
|
||||
class Task
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enqueue_timestamp, as: 'enqueueTimestamp'
|
||||
property :enqueue_timestamp, :numeric_string => true, as: 'enqueueTimestamp'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :lease_timestamp, as: 'leaseTimestamp'
|
||||
property :lease_timestamp, :numeric_string => true, as: 'leaseTimestamp'
|
||||
property :payload_base64, as: 'payloadBase64'
|
||||
property :queue_name, as: 'queueName'
|
||||
property :retry_count, as: 'retry_count'
|
||||
@@ -96,9 +96,9 @@ module Google
|
||||
class Stats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :leased_last_hour, as: 'leasedLastHour'
|
||||
property :leased_last_minute, as: 'leasedLastMinute'
|
||||
property :oldest_task, as: 'oldestTask'
|
||||
property :leased_last_hour, :numeric_string => true, as: 'leasedLastHour'
|
||||
property :leased_last_minute, :numeric_string => true, as: 'leasedLastMinute'
|
||||
property :oldest_task, :numeric_string => true, as: 'oldestTask'
|
||||
property :total_tasks, as: 'totalTasks'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -50,6 +50,7 @@ module Google
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'taskqueue/v1beta2/projects/')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Get detailed information about a TaskQueue.
|
||||
|
||||
Reference in new issue
Block a user