class Google::Apis::SheetsV4::Editors

The editors of a protected range.

Attributes

domain_users_can_edit[RW]

True if anyone in the document's domain has edit access to the protected range. Domain protection is only supported on documents within a domain. Corresponds to the JSON property `domainUsersCanEdit` @return [Boolean]

domain_users_can_edit?[RW]

True if anyone in the document's domain has edit access to the protected range. Domain protection is only supported on documents within a domain. Corresponds to the JSON property `domainUsersCanEdit` @return [Boolean]

groups[RW]

The email addresses of groups with edit access to the protected range. Corresponds to the JSON property `groups` @return [Array<String>]

users[RW]

The email addresses of users with edit access to the protected range. Corresponds to the JSON property `users` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 5191
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 5196
def update!(**args)
  @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit)
  @groups = args[:groups] if args.key?(:groups)
  @users = args[:users] if args.key?(:users)
end