Class: Google::Apis::AndroidpublisherV3::Regions
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Regions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Region targeting data for app recovery action targeting.
Instance Attribute Summary collapse
-
#region_code ⇒ Array<String>
Regions targeted by the recovery action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Regions
constructor
A new instance of Regions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Regions
Returns a new instance of Regions.
9107 9108 9109 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region_code ⇒ Array<String>
Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2
country codes. For example, US stands for United States of America. See https:/
/www.iso.org/iso-3166-country-codes.html for the complete list of country
codes.
Corresponds to the JSON property regionCode
9105 9106 9107 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9105 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9112 9113 9114 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9112 def update!(**args) @region_code = args[:region_code] if args.key?(:region_code) end |