Class: Google::Apis::ScriptV1::GoogleAppsScriptTypeScope
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ScriptV1::GoogleAppsScriptTypeScope
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
 generated/google/apis/script_v1/representations.rb,
 generated/google/apis/script_v1/representations.rb
Overview
Represents an authorization scope.
Instance Attribute Summary collapse
- 
  
    
      #authorizer  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Who authorized the scope. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The scope's identifying string. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleAppsScriptTypeScope 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleAppsScriptTypeScope. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleAppsScriptTypeScope
Returns a new instance of GoogleAppsScriptTypeScope
| 612 613 614 | # File 'generated/google/apis/script_v1/classes.rb', line 612 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#authorizer ⇒ String
Who authorized the scope.
Corresponds to the JSON property authorizer
| 605 606 607 | # File 'generated/google/apis/script_v1/classes.rb', line 605 def @authorizer end | 
#name ⇒ String
The scope's identifying string.
Corresponds to the JSON property name
| 610 611 612 | # File 'generated/google/apis/script_v1/classes.rb', line 610 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 617 618 619 620 | # File 'generated/google/apis/script_v1/classes.rb', line 617 def update!(**args) @authorizer = args[:authorizer] if args.key?(:authorizer) @name = args[:name] if args.key?(:name) end |