Class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb 
Overview
Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #parent  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URI of the parent frame hosting the iframe.
 - 
  
    
      #permission  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The list of permissions the admin is granted within the iframe.
 - 
  
    
      #play_search  ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Options for displaying the Play Search page.
 - 
  
    
      #private_apps  ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Options for displaying the Private Apps page.
 - 
  
    
      #store_builder  ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Options for displaying the Store Builder page.
 - 
  
    
      #web_apps  ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Options for displaying the Web Apps page.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AdministratorWebTokenSpec 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AdministratorWebTokenSpec.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdministratorWebTokenSpec
Returns a new instance of AdministratorWebTokenSpec
      117 118 119  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 117 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#administratorWebTokenSpec".
Corresponds to the JSON property kind
      81 82 83  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 81 def kind @kind end  | 
  
#parent ⇒ String
The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may
not be hosted at other URIs. This URI must be https.
Corresponds to the JSON property parent
      87 88 89  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 87 def parent @parent end  | 
  
#permission ⇒ Array<String>
The list of permissions the admin is granted within the iframe. The admin will
only be allowed to view an iframe if they have all of the permissions
associated with it. The only valid value is "approveApps" that will allow the
admin to access the iframe in "approve" mode.
Corresponds to the JSON property permission
      95 96 97  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 95 def @permission end  | 
  
#play_search ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch
Options for displaying the Play Search page.
Corresponds to the JSON property playSearch
      100 101 102  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 100 def play_search @play_search end  | 
  
#private_apps ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps
Options for displaying the Private Apps page.
Corresponds to the JSON property privateApps
      105 106 107  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 105 def private_apps @private_apps end  | 
  
#store_builder ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder
Options for displaying the Store Builder page.
Corresponds to the JSON property storeBuilder
      110 111 112  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 110 def store_builder @store_builder end  | 
  
#web_apps ⇒ Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecWebApps
Options for displaying the Web Apps page.
Corresponds to the JSON property webApps
      115 116 117  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 115 def web_apps @web_apps end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      122 123 124 125 126 127 128 129 130  | 
    
      # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 122 def update!(**args) @kind = args[:kind] if args.key?(:kind) @parent = args[:parent] if args.key?(:parent) @permission = args[:permission] if args.key?(:permission) @play_search = args[:play_search] if args.key?(:play_search) @private_apps = args[:private_apps] if args.key?(:private_apps) @store_builder = args[:store_builder] if args.key?(:store_builder) @web_apps = args[:web_apps] if args.key?(:web_apps) end  |