generated/google/apis/taskqueue_v1beta2/classes.rb in google-api-client-0.10.3 vs generated/google/apis/taskqueue_v1beta2/classes.rb in google-api-client-0.11.0
- old
+ new
@@ -26,11 +26,11 @@
class Task
include Google::Apis::Core::Hashable
# 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.
# Corresponds to the JSON property `id`
# @return [String]
@@ -42,11 +42,11 @@
attr_accessor :kind
# 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
# always Base64 encoded.
# Corresponds to the JSON property `payloadBase64`
@@ -166,20 +166,20 @@
class Stats
include Google::Apis::Core::Hashable
# 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.
# Corresponds to the JSON property `totalTasks`
# @return [Fixnum]