Class: Google::Apis::ContentV2_1::PosDataProviders
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PosDataProviders
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#country ⇒ String
Country code.
-
#pos_data_providers ⇒ Array<Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider>
A list of POS data providers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosDataProviders
constructor
A new instance of PosDataProviders.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PosDataProviders
Returns a new instance of PosDataProviders.
7746 7747 7748 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country ⇒ String
Country code.
Corresponds to the JSON property country
7739 7740 7741 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7739 def country @country end |
#pos_data_providers ⇒ Array<Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider>
A list of POS data providers.
Corresponds to the JSON property posDataProviders
7744 7745 7746 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7744 def pos_data_providers @pos_data_providers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7751 7752 7753 7754 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7751 def update!(**args) @country = args[:country] if args.key?(:country) @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers) end |