Class: Google::Apis::AndroidenterpriseV1::StoreLayout
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::StoreLayout
 
- 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
General setting for the managed Google Play store layout, currently only specifying the page to display the first time the store is opened.
Instance Attribute Summary collapse
- 
  
    
      #homepage_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the store page to be used as the homepage. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #store_layout_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The store layout type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StoreLayout 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StoreLayout. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StoreLayout
Returns a new instance of StoreLayout
| 2416 2417 2418 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2416 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#homepage_id ⇒ String
The ID of the store page to be used as the homepage. The homepage is the first
page shown in the managed Google Play Store.
Not specifying a homepage is equivalent to setting the store layout type to "
basic".
Corresponds to the JSON property homepageId
| 2400 2401 2402 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2400 def homepage_id @homepage_id end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#storeLayout".
Corresponds to the JSON property kind
| 2406 2407 2408 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2406 def kind @kind end | 
#store_layout_type ⇒ String
The store layout type. By default, this value is set to "basic" if the
homepageId field is not set, and to "custom" otherwise. If set to "basic", the
layout will consist of all approved apps that have been whitelisted for the
user.
Corresponds to the JSON property storeLayoutType
| 2414 2415 2416 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2414 def store_layout_type @store_layout_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2421 2422 2423 2424 2425 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2421 def update!(**args) @homepage_id = args[:homepage_id] if args.key?(:homepage_id) @kind = args[:kind] if args.key?(:kind) @store_layout_type = args[:store_layout_type] if args.key?(:store_layout_type) end |