Class: Google::Apis::ContentV2_1::LiaSettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::LiaSettings
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The ID of the account to which these LIA settings belong.
-
#country_settings ⇒ Array<Google::Apis::ContentV2_1::LiaCountrySettings>
The LIA settings for each country.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiaSettings
constructor
A new instance of LiaSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiaSettings
Returns a new instance of LiaSettings
2893 2894 2895 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the account to which these LIA settings belong. Ignored upon update,
always present in get request responses.
Corresponds to the JSON property accountId
2880 2881 2882 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2880 def account_id @account_id end |
#country_settings ⇒ Array<Google::Apis::ContentV2_1::LiaCountrySettings>
The LIA settings for each country.
Corresponds to the JSON property countrySettings
2885 2886 2887 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2885 def country_settings @country_settings end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
liaSettings".
Corresponds to the JSON property kind
2891 2892 2893 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2891 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2898 2899 2900 2901 2902 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 2898 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @country_settings = args[:country_settings] if args.key?(:country_settings) @kind = args[:kind] if args.key?(:kind) end |