Class: Google::Apis::AndroidpublisherV3::AddTargetingRequest

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

Request message for AddTargeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddTargetingRequest

Returns a new instance of AddTargetingRequest.



181
182
183
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 181

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

Instance Attribute Details

#targeting_updateGoogle::Apis::AndroidpublisherV3::TargetingUpdate

Update type for targeting. Note it is always a subset Targeting. Corresponds to the JSON property targetingUpdate



179
180
181
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 179

def targeting_update
  @targeting_update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



186
187
188
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 186

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