Class: Google::Apis::ContentV2::PosDataProviders

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosDataProviders

Returns a new instance of PosDataProviders.



7834
7835
7836
# File 'lib/google/apis/content_v2/classes.rb', line 7834

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

Instance Attribute Details

#countryString

Country code. Corresponds to the JSON property country

Returns:

  • (String)


7827
7828
7829
# File 'lib/google/apis/content_v2/classes.rb', line 7827

def country
  @country
end

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

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



7832
7833
7834
# File 'lib/google/apis/content_v2/classes.rb', line 7832

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7839
7840
7841
7842
# File 'lib/google/apis/content_v2/classes.rb', line 7839

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