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 Google Play for Work 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.
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.
1948 1949 1950 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1948 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 will be used
as the first page shown in the Google Play for Work store.
If a homepage has not been set, the Play store shown on devices will be empty.
Not specifying a homepage on a store layout effectively empties the store.
If there exists at least one page, this field must be set to the ID of a valid
page.
Corresponds to the JSON property homepageId
1940 1941 1942 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1940 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
1946 1947 1948 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1946 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1953 1954 1955 1956 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1953 def update!(**args) @homepage_id = args[:homepage_id] if args.key?(:homepage_id) @kind = args[:kind] if args.key?(:kind) end |