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.



6518
6519
6520
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6518

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



6506
6507
6508
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6506

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



6511
6512
6513
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6511

def android_sdks
  @android_sdks
end

#regionsGoogle::Apis::AndroidpublisherV3::Regions

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



6516
6517
6518
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6516

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6523
6524
6525
6526
6527
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6523

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