Class: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk

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

Download metadata for a standalone APK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeneratedStandaloneApk

Returns a new instance of GeneratedStandaloneApk.



2677
2678
2679
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2677

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

Instance Attribute Details

#download_idString

Download ID, which uniquely identifies the APK to download. Should be supplied to generatedapks.download method. Corresponds to the JSON property downloadId

Returns:

  • (String)


2670
2671
2672
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2670

def download_id
  @download_id
end

#variant_idFixnum

ID of the generated variant. Corresponds to the JSON property variantId

Returns:

  • (Fixnum)


2675
2676
2677
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2675

def variant_id
  @variant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2682
2683
2684
2685
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2682

def update!(**args)
  @download_id = args[:download_id] if args.key?(:download_id)
  @variant_id = args[:variant_id] if args.key?(:variant_id)
end