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.



2078
2079
2080
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2078

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



2070
2071
2072
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2070

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



2076
2077
2078
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2076

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2083
2084
2085
2086
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2083

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