Class: Google::Apis::AndroidpublisherV3::RemoteInAppUpdateDataPerBundle

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

Data related to the recovery action at bundle level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoteInAppUpdateDataPerBundle

Returns a new instance of RemoteInAppUpdateDataPerBundle.



4841
4842
4843
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4841

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

Instance Attribute Details

#recovered_device_countFixnum

Total number of devices which have been rescued. Corresponds to the JSON property recoveredDeviceCount

Returns:

  • (Fixnum)


4828
4829
4830
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4828

def recovered_device_count
  @recovered_device_count
end

#total_device_countFixnum

Total number of devices affected by this recovery action associated with bundle of the app. Corresponds to the JSON property totalDeviceCount

Returns:

  • (Fixnum)


4834
4835
4836
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4834

def total_device_count
  @total_device_count
end

#version_codeFixnum

Version Code corresponding to the target bundle. Corresponds to the JSON property versionCode

Returns:

  • (Fixnum)


4839
4840
4841
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4839

def version_code
  @version_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4846
4847
4848
4849
4850
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4846

def update!(**args)
  @recovered_device_count = args[:recovered_device_count] if args.key?(:recovered_device_count)
  @total_device_count = args[:total_device_count] if args.key?(:total_device_count)
  @version_code = args[:version_code] if args.key?(:version_code)
end