class Google::Apis::CloudtasksV2beta3::QueueStats

Statistics for a queue.

Attributes

concurrent_dispatches_count[RW]

Output only. The number of requests that the queue has dispatched but has not received a reply for yet. Corresponds to the JSON property `concurrentDispatchesCount` @return [Fixnum]

effective_execution_rate[RW]

Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting. Corresponds to the JSON property `effectiveExecutionRate` @return [Float]

executed_last_minute_count[RW]

Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non- successful executions. Corresponds to the JSON property `executedLastMinuteCount` @return [Fixnum]

oldest_estimated_arrival_time[RW]

Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed. Corresponds to the JSON property `oldestEstimatedArrivalTime` @return [String]

tasks_count[RW]

Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying. Corresponds to the JSON property `tasksCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudtasks_v2beta3/classes.rb, line 1091
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_v2beta3/classes.rb, line 1096
def update!(**args)
  @concurrent_dispatches_count = args[:concurrent_dispatches_count] if args.key?(:concurrent_dispatches_count)
  @effective_execution_rate = args[:effective_execution_rate] if args.key?(:effective_execution_rate)
  @executed_last_minute_count = args[:executed_last_minute_count] if args.key?(:executed_last_minute_count)
  @oldest_estimated_arrival_time = args[:oldest_estimated_arrival_time] if args.key?(:oldest_estimated_arrival_time)
  @tasks_count = args[:tasks_count] if args.key?(:tasks_count)
end