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.
4745 4746 4747 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4745 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
4743 4744 4745 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4743 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4750 4751 4752 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4750 def update!(**args) @region_code = args[:region_code] if args.key?(:region_code) end |