Class: Google::Apis::AndroidpublisherV3::TargetingUpdate

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

Update type for targeting. Note it is always a subset Targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetingUpdate

Returns a new instance of TargetingUpdate.



6462
6463
6464
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6462

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

Instance Attribute Details

#all_usersGoogle::Apis::AndroidpublisherV3::AllUsers

Object representation to describe all set of users. Corresponds to the JSON property allUsers



6450
6451
6452
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6450

def all_users
  @all_users
end

#android_sdksGoogle::Apis::AndroidpublisherV3::AndroidSdks

Android api level targeting data for app recovery action targeting. Corresponds to the JSON property androidSdks



6455
6456
6457
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6455

def android_sdks
  @android_sdks
end

#regionsGoogle::Apis::AndroidpublisherV3::Regions

Region targeting data for app recovery action targeting. Corresponds to the JSON property regions



6460
6461
6462
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6460

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6467
6468
6469
6470
6471
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6467

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