Class: Google::Apis::CalendarV3::AclRule::Scope
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CalendarV3::AclRule::Scope
 
 
- Defined in:
 - generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb 
Overview
The scope of the rule.
Instance Attribute Summary collapse
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the scope.
 - 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The email address of a user or group, or the name of a domain, depending on the scope type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Scope 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Scope.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Scope
Returns a new instance of Scope
      142 143 144  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 142 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#type ⇒ String
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 
      134 135 136  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 134 def type @type end  | 
  
#value ⇒ String
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
      140 141 142  | 
    
      # File 'generated/google/apis/calendar_v3/classes.rb', line 140 def value @value end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      147 148 149 150  | 
    
      # File 'generated/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  |