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
Identifies what kind of resource this is.
-
#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
2062 2063 2064 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2062 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
2038 2039 2040 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2038 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#storePage".
Corresponds to the JSON property kind
2044 2045 2046 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2044 def kind @kind end |
#link ⇒ Array<String>
Ordered list of pages a user should be able to reach from this page. The pages
must exist, must not be this page, and once a link is created the page linked
to cannot be deleted until all links to it are removed. It is recommended that
the basic pages are created first, before adding the links between pages.
No attempt is made to verify that all pages are reachable from the homepage.
Corresponds to the JSON property link
2053 2054 2055 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2053 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
2060 2061 2062 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2060 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2067 2068 2069 2070 2071 2072 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2067 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 |