Class: Google::Apis::AndroidpublisherV3::GeneratedSplitApk

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 split APK.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeneratedSplitApk

Returns a new instance of GeneratedSplitApk.



4683
4684
4685
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4683

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)


4666
4667
4668
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4666

def download_id
  @download_id
end

#module_nameString

Name of the module that this APK belongs to. Corresponds to the JSON property moduleName

Returns:

  • (String)


4671
4672
4673
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4671

def module_name
  @module_name
end

#split_idString

Split ID. Empty for the main split of the base module. Corresponds to the JSON property splitId

Returns:

  • (String)


4676
4677
4678
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4676

def split_id
  @split_id
end

#variant_idFixnum

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

Returns:

  • (Fixnum)


4681
4682
4683
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4681

def variant_id
  @variant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4688
4689
4690
4691
4692
4693
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4688

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