Class: Google::Apis::ContentV2::LiaSettings

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

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



3176
3177
3178
# File 'generated/google/apis/content_v2/classes.rb', line 3176

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)


3163
3164
3165
# File 'generated/google/apis/content_v2/classes.rb', line 3163

def 
  @account_id
end

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

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



3168
3169
3170
# File 'generated/google/apis/content_v2/classes.rb', line 3168

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)


3174
3175
3176
# File 'generated/google/apis/content_v2/classes.rb', line 3174

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3181
3182
3183
3184
3185
# File 'generated/google/apis/content_v2/classes.rb', line 3181

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