class Google::Apis::CalendarV3::AclRule::Scope
The extent to which calendar access is granted by this ACL rule.
Attributes
type[RW]
The type of the scope. Possible values are:
-
“default” - The public scope. This is the default value.
-
“user” - Limits the scope to a single user.
-
“group” - Limits the scope to a group.
-
“domain” - Limits the scope to a domain. Note: The permissions granted to
the “default”, or public, scope apply to any user, authenticated or not. Corresponds to the JSON property `type` @return [String]
value[RW]
The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type “default”. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/calendar_v3/classes.rb, line 142 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/calendar_v3/classes.rb, line 147 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end