Class: Google::Apis::ContentV2_1::AccountItemUpdates
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountItemUpdates
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Turning on item updates allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.
Instance Attribute Summary collapse
-
#account_item_updates_settings ⇒ Google::Apis::ContentV2_1::AccountItemUpdatesSettings
Settings for the Automatic Item Updates.
-
#effective_allow_availability_updates ⇒ Boolean
(also: #effective_allow_availability_updates?)
Output only.
-
#effective_allow_condition_updates ⇒ Boolean
(also: #effective_allow_condition_updates?)
Output only.
-
#effective_allow_price_updates ⇒ Boolean
(also: #effective_allow_price_updates?)
Output only.
-
#effective_allow_strict_availability_updates ⇒ Boolean
(also: #effective_allow_strict_availability_updates?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountItemUpdates
constructor
A new instance of AccountItemUpdates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountItemUpdates
Returns a new instance of AccountItemUpdates.
779 780 781 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 779 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_item_updates_settings ⇒ Google::Apis::ContentV2_1::AccountItemUpdatesSettings
Settings for the Automatic Item Updates.
Corresponds to the JSON property accountItemUpdatesSettings
745 746 747 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 745 def account_item_updates_settings @account_item_updates_settings end |
#effective_allow_availability_updates ⇒ Boolean Also known as: effective_allow_availability_updates?
Output only. The effective value of allow_availability_updates. If
account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account. Read-only.
Corresponds to the JSON property effectiveAllowAvailabilityUpdates
752 753 754 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 752 def effective_allow_availability_updates @effective_allow_availability_updates end |
#effective_allow_condition_updates ⇒ Boolean Also known as: effective_allow_condition_updates?
Output only. The effective value of allow_condition_updates. If
account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account. Read-only.
Corresponds to the JSON property effectiveAllowConditionUpdates
760 761 762 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 760 def effective_allow_condition_updates @effective_allow_condition_updates end |
#effective_allow_price_updates ⇒ Boolean Also known as: effective_allow_price_updates?
Output only. The effective value of allow_price_updates. If
account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account. Read-only.
Corresponds to the JSON property effectiveAllowPriceUpdates
768 769 770 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 768 def effective_allow_price_updates @effective_allow_price_updates end |
#effective_allow_strict_availability_updates ⇒ Boolean Also known as: effective_allow_strict_availability_updates?
Output only. The effective value of allow_strict_availability_updates. If
account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account. Read-only.
Corresponds to the JSON property effectiveAllowStrictAvailabilityUpdates
776 777 778 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 776 def effective_allow_strict_availability_updates @effective_allow_strict_availability_updates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
784 785 786 787 788 789 790 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 784 def update!(**args) @account_item_updates_settings = args[:account_item_updates_settings] if args.key?(:account_item_updates_settings) @effective_allow_availability_updates = args[:effective_allow_availability_updates] if args.key?(:effective_allow_availability_updates) @effective_allow_condition_updates = args[:effective_allow_condition_updates] if args.key?(:effective_allow_condition_updates) @effective_allow_price_updates = args[:effective_allow_price_updates] if args.key?(:effective_allow_price_updates) @effective_allow_strict_availability_updates = args[:effective_allow_strict_availability_updates] if args.key?(:effective_allow_strict_availability_updates) end |