class Google::Apis::TaskqueueV1beta2::TaskQueue::Acl

ACLs that are applicable to this TaskQueue object.

Attributes

admin_emails[RW]

Email addresses of users who are “admins” of the TaskQueue. This means they can control the queue, eg set ACLs for the queue. Corresponds to the JSON property `adminEmails` @return [Array<String>]

consumer_emails[RW]

Email addresses of users who can “consume” tasks from the TaskQueue. This means they can Dequeue and Delete tasks from the queue. Corresponds to the JSON property `consumerEmails` @return [Array<String>]

producer_emails[RW]

Email addresses of users who can “produce” tasks into the TaskQueue. This means they can Insert tasks into the queue. Corresponds to the JSON property `producerEmails` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/taskqueue_v1beta2/classes.rb, line 153
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 158
def update!(**args)
  @admin_emails = args[:admin_emails] if args.key?(:admin_emails)
  @consumer_emails = args[:consumer_emails] if args.key?(:consumer_emails)
  @producer_emails = args[:producer_emails] if args.key?(:producer_emails)
end