Class: Google::Apis::ContentV2_1::LiaSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiaSettings

Returns a new instance of LiaSettings.



3079
3080
3081
# File 'generated/google/apis/content_v2_1/classes.rb', line 3079

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idFixnum

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

Returns:

  • (Fixnum)


3066
3067
3068
# File 'generated/google/apis/content_v2_1/classes.rb', line 3066

def 
  @account_id
end

#country_settingsArray<Google::Apis::ContentV2_1::LiaCountrySettings>

The LIA settings for each country. Corresponds to the JSON property countrySettings



3071
3072
3073
# File 'generated/google/apis/content_v2_1/classes.rb', line 3071

def country_settings
  @country_settings
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# liaSettings" Corresponds to the JSON property kind

Returns:

  • (String)


3077
3078
3079
# File 'generated/google/apis/content_v2_1/classes.rb', line 3077

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3084
3085
3086
3087
3088
# File 'generated/google/apis/content_v2_1/classes.rb', line 3084

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