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.



7528
7529
7530
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7528

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>)


7526
7527
7528
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7526

def region_code
  @region_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7533
7534
7535
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7533

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