Class: Google::Apis::AndroidpublisherV3::Regions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Regions

Returns a new instance of Regions.



4737
4738
4739
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4737

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

Instance Attribute Details

#region_codeArray<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

Returns:

  • (Array<String>)


4735
4736
4737
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4735

def region_code
  @region_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4742
4743
4744
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4742

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