Class: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk
- 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 standalone APK.
Instance Attribute Summary collapse
-
#download_id ⇒ String
Download ID, which uniquely identifies the APK to download.
-
#variant_id ⇒ Fixnum
ID of the generated variant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeneratedStandaloneApk
constructor
A new instance of GeneratedStandaloneApk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GeneratedStandaloneApk
Returns a new instance of GeneratedStandaloneApk.
1471 1472 1473 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1471 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
1464 1465 1466 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1464 def download_id @download_id end |
#variant_id ⇒ Fixnum
ID of the generated variant.
Corresponds to the JSON property variantId
1469 1470 1471 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1469 def variant_id @variant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1476 1477 1478 1479 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1476 def update!(**args) @download_id = args[:download_id] if args.key?(:download_id) @variant_id = args[:variant_id] if args.key?(:variant_id) end |