class Google::Apis::TaskqueueV1beta2::TaskQueue
Attributes
acl[RW]
ACLs that are applicable to this TaskQueue object. Corresponds to the JSON property `acl` @return [Google::Apis::TaskqueueV1beta2::TaskQueue::Acl]
id[RW]
Name of the taskqueue. Corresponds to the JSON property `id` @return [String]
kind[RW]
The kind of REST object returned, in this case taskqueue. Corresponds to the JSON property `kind` @return [String]
max_leases[RW]
The number of times we should lease out tasks before giving up on them. If unset we lease them out forever until a worker deletes the task. Corresponds to the JSON property `maxLeases` @return [Fixnum]
stats[RW]
Statistics for the TaskQueue object in question. Corresponds to the JSON property `stats` @return [Google::Apis::TaskqueueV1beta2::TaskQueue::Stats]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/taskqueue_v1beta2/classes.rb, line 118 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/taskqueue_v1beta2/classes.rb, line 123 def update!(**args) @acl = args[:acl] if args.key?(:acl) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @max_leases = args[:max_leases] if args.key?(:max_leases) @stats = args[:stats] if args.key?(:stats) end