Class: Google::Apis::AndroidenterpriseV1::StorePage
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::StorePage
- 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
Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.
Instance Attribute Summary collapse
-
#id ⇒ String
Unique ID of this page.
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#link ⇒ Array<String>
Ordered list of pages a user should be able to reach from this page.
-
#name ⇒ Array<Google::Apis::AndroidenterpriseV1::LocalizedText>
Ordered list of localized strings giving the name of this page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorePage
constructor
A new instance of StorePage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StorePage
Returns a new instance of StorePage.
2847 2848 2849 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique ID of this page. Assigned by the server. Immutable once assigned.
Corresponds to the JSON property id
2825 2826 2827 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2825 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
2830 2831 2832 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2830 def kind @kind end |
#link ⇒ Array<String>
Ordered list of pages a user should be able to reach from this page. The list
can't include this page. It is recommended that the basic pages are created
first, before adding the links between pages.
The API doesn't verify that the pages exist or the pages are reachable.
Corresponds to the JSON property link
2838 2839 2840 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2838 def link @link end |
#name ⇒ Array<Google::Apis::AndroidenterpriseV1::LocalizedText>
Ordered list of localized strings giving the name of this page. The text
displayed is the one that best matches the user locale, or the first entry if
there is no good match. There needs to be at least one entry.
Corresponds to the JSON property name
2845 2846 2847 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2845 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2852 2853 2854 2855 2856 2857 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2852 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @link = args[:link] if args.key?(:link) @name = args[:name] if args.key?(:name) end |