Class: Google::Apis::ContentV2_1::PosDataProviders

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

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) ⇒ PosDataProviders

Returns a new instance of PosDataProviders



6258
6259
6260
# File 'generated/google/apis/content_v2_1/classes.rb', line 6258

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

Instance Attribute Details

#countryString

Country code. Corresponds to the JSON property country

Returns:

  • (String)


6251
6252
6253
# File 'generated/google/apis/content_v2_1/classes.rb', line 6251

def country
  @country
end

#pos_data_providersArray<Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider>

A list of POS data providers. Corresponds to the JSON property posDataProviders



6256
6257
6258
# File 'generated/google/apis/content_v2_1/classes.rb', line 6256

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6263
6264
6265
6266
# File 'generated/google/apis/content_v2_1/classes.rb', line 6263

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers)
end