Class: Google::Apis::AndroidpublisherV3::AddTargetingRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AddTargetingRequest
- 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
-
#targeting_update ⇒ Google::Apis::AndroidpublisherV3::TargetingUpdate
Update type for targeting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddTargetingRequest
constructor
A new instance of AddTargetingRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddTargetingRequest
Returns a new instance of AddTargetingRequest.
263 264 265 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#targeting_update ⇒ Google::Apis::AndroidpublisherV3::TargetingUpdate
Update type for targeting. Note it is always a subset Targeting.
Corresponds to the JSON property targetingUpdate
261 262 263 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 261 def targeting_update @targeting_update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
268 269 270 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 268 def update!(**args) @targeting_update = args[:targeting_update] if args.key?(:targeting_update) end |