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.



1486
1487
1488
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1486

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



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

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



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

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1491
1492
1493
1494
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1491

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