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.



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

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)


4820
4821
4822
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4820

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)


4826
4827
4828
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4826

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)


4831
4832
4833
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4831

def version_code
  @version_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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