Class: Google::Apis::AndroidpublisherV3::GeneratedSplitApk
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::GeneratedSplitApk
- 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
Download metadata for a split APK.
Instance Attribute Summary collapse
-
#download_id ⇒ String
Download ID, which uniquely identifies the APK to download.
-
#module_name ⇒ String
Name of the module that this APK belongs to.
-
#split_id ⇒ String
Split ID.
-
#variant_id ⇒ Fixnum
ID of the generated variant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeneratedSplitApk
constructor
A new instance of GeneratedSplitApk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GeneratedSplitApk
Returns a new instance of GeneratedSplitApk.
1915 1916 1917 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1915 def initialize(**args) update!(**args) end |
Instance Attribute Details
#download_id ⇒ String
Download ID, which uniquely identifies the APK to download. Should be supplied
to generatedapks.download method.
Corresponds to the JSON property downloadId
1898 1899 1900 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1898 def download_id @download_id end |
#module_name ⇒ String
Name of the module that this APK belongs to.
Corresponds to the JSON property moduleName
1903 1904 1905 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1903 def module_name @module_name end |
#split_id ⇒ String
Split ID. Empty for the main split of the base module.
Corresponds to the JSON property splitId
1908 1909 1910 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1908 def split_id @split_id end |
#variant_id ⇒ Fixnum
ID of the generated variant.
Corresponds to the JSON property variantId
1913 1914 1915 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1913 def variant_id @variant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1920 1921 1922 1923 1924 1925 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1920 def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @module_name = args[:module_name] if args.key?(:module_name) @split_id = args[:split_id] if args.key?(:split_id) @variant_id = args[:variant_id] if args.key?(:variant_id) end |