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.



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

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



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

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



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

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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