Class: Google::Apis::ContentV2::LiaSettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::LiaSettings
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The ID of the account to which these LIA settings belong.
-
#country_settings ⇒ Array<Google::Apis::ContentV2::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
3024 3025 3026 |
# File 'generated/google/apis/content_v2/classes.rb', line 3024 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
3011 3012 3013 |
# File 'generated/google/apis/content_v2/classes.rb', line 3011 def account_id @account_id end |
#country_settings ⇒ Array<Google::Apis::ContentV2::LiaCountrySettings>
The LIA settings for each country.
Corresponds to the JSON property countrySettings
3016 3017 3018 |
# File 'generated/google/apis/content_v2/classes.rb', line 3016 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
3022 3023 3024 |
# File 'generated/google/apis/content_v2/classes.rb', line 3022 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3029 3030 3031 3032 3033 |
# File 'generated/google/apis/content_v2/classes.rb', line 3029 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 |