Class: Google::Apis::AndroidpublisherV3::Targeting
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Targeting
- 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
Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
Instance Attribute Summary collapse
-
#all_users ⇒ Google::Apis::AndroidpublisherV3::AllUsers
Object representation to describe all set of users.
-
#android_sdks ⇒ Google::Apis::AndroidpublisherV3::AndroidSdks
Android api level targeting data for app recovery action targeting.
-
#regions ⇒ Google::Apis::AndroidpublisherV3::Regions
Region targeting data for app recovery action targeting.
-
#version_list ⇒ Google::Apis::AndroidpublisherV3::AppVersionList
Data format for a list of app versions.
-
#version_range ⇒ Google::Apis::AndroidpublisherV3::AppVersionRange
Data format for a continuous range of app versions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Targeting
constructor
A new instance of Targeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Targeting
Returns a new instance of Targeting.
6391 6392 6393 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#all_users ⇒ Google::Apis::AndroidpublisherV3::AllUsers
Object representation to describe all set of users.
Corresponds to the JSON property allUsers
6369 6370 6371 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6369 def all_users @all_users end |
#android_sdks ⇒ Google::Apis::AndroidpublisherV3::AndroidSdks
Android api level targeting data for app recovery action targeting.
Corresponds to the JSON property androidSdks
6374 6375 6376 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6374 def android_sdks @android_sdks end |
#regions ⇒ Google::Apis::AndroidpublisherV3::Regions
Region targeting data for app recovery action targeting.
Corresponds to the JSON property regions
6379 6380 6381 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6379 def regions @regions end |
#version_list ⇒ Google::Apis::AndroidpublisherV3::AppVersionList
Data format for a list of app versions.
Corresponds to the JSON property versionList
6384 6385 6386 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6384 def version_list @version_list end |
#version_range ⇒ Google::Apis::AndroidpublisherV3::AppVersionRange
Data format for a continuous range of app versions.
Corresponds to the JSON property versionRange
6389 6390 6391 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6389 def version_range @version_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6396 6397 6398 6399 6400 6401 6402 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6396 def update!(**args) @all_users = args[:all_users] if args.key?(:all_users) @android_sdks = args[:android_sdks] if args.key?(:android_sdks) @regions = args[:regions] if args.key?(:regions) @version_list = args[:version_list] if args.key?(:version_list) @version_range = args[:version_range] if args.key?(:version_range) end |