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

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

Constructor Details

#initialize(**args) ⇒ PosDataProviders

Returns a new instance of PosDataProviders.



8177
8178
8179
# File 'generated/google/apis/content_v2/classes.rb', line 8177

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

Instance Attribute Details

#countryString

Country code. Corresponds to the JSON property country

Returns:

  • (String)


8170
8171
8172
# File 'generated/google/apis/content_v2/classes.rb', line 8170

def country
  @country
end

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

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



8175
8176
8177
# File 'generated/google/apis/content_v2/classes.rb', line 8175

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8182
8183
8184
8185
# File 'generated/google/apis/content_v2/classes.rb', line 8182

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