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.



6284
6285
6286
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6284

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



6272
6273
6274
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6272

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



6277
6278
6279
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6277

def android_sdks
  @android_sdks
end

#regionsGoogle::Apis::AndroidpublisherV3::Regions

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



6282
6283
6284
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6282

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6289
6290
6291
6292
6293
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6289

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