Class: Google::Apis::MerchantapiAccountsV1beta::Homepage
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::Homepage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
A store's homepage.
Instance Attribute Summary collapse
-
#claimed ⇒ Boolean
(also: #claimed?)
Output only.
-
#name ⇒ String
Identifier.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Homepage
constructor
A new instance of Homepage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Homepage
Returns a new instance of Homepage.
1027 1028 1029 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#claimed ⇒ Boolean Also known as: claimed?
Output only. Whether the homepage is claimed. See https://support.google.com/
merchants/answer/176793.
Corresponds to the JSON property claimed
1013 1014 1015 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1013 def claimed @claimed end |
#name ⇒ String
Identifier. The resource name of the store's homepage. Format: accounts/
account/homepage
Corresponds to the JSON property name
1020 1021 1022 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1020 def name @name end |
#uri ⇒ String
Required. The URI (typically a URL) of the store's homepage.
Corresponds to the JSON property uri
1025 1026 1027 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1025 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1032 1033 1034 1035 1036 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1032 def update!(**args) @claimed = args[:claimed] if args.key?(:claimed) @name = args[:name] if args.key?(:name) @uri = args[:uri] if args.key?(:uri) end |