Class: Google::Apis::AndroidpublisherV3::CreateDraftAppRecoveryRequest

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 CreateDraftAppRecovery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateDraftAppRecoveryRequest

Returns a new instance of CreateDraftAppRecoveryRequest.



1477
1478
1479
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1477

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

Instance Attribute Details

#remote_in_app_updateGoogle::Apis::AndroidpublisherV3::RemoteInAppUpdate

Object representation for Remote in-app update action type. Corresponds to the JSON property remoteInAppUpdate



1469
1470
1471
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1469

def remote_in_app_update
  @remote_in_app_update
end

#targetingGoogle::Apis::AndroidpublisherV3::Targeting

Targeting details for a recovery action such as regions, android sdk levels, app versions etc. Corresponds to the JSON property targeting



1475
1476
1477
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1475

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1482
1483
1484
1485
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1482

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