Class: Google::Apis::AndroidpublisherV3::ApkDescription

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

Description of the created apks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApkDescription

Returns a new instance of ApkDescription.



332
333
334
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 332

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

Instance Attribute Details

#asset_slice_metadataGoogle::Apis::AndroidpublisherV3::SplitApkMetadata

Holds data specific to Split APKs. Corresponds to the JSON property assetSliceMetadata



304
305
306
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 304

def 
  @asset_slice_metadata
end

#instant_apk_metadataGoogle::Apis::AndroidpublisherV3::SplitApkMetadata

Holds data specific to Split APKs. Corresponds to the JSON property instantApkMetadata



309
310
311
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 309

def 
  @instant_apk_metadata
end

#pathString

Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to download the apk using GeneratedApks.Download API. Corresponds to the JSON property path

Returns:

  • (String)


315
316
317
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 315

def path
  @path
end

#split_apk_metadataGoogle::Apis::AndroidpublisherV3::SplitApkMetadata

Holds data specific to Split APKs. Corresponds to the JSON property splitApkMetadata



320
321
322
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 320

def 
  @split_apk_metadata
end

#standalone_apk_metadataGoogle::Apis::AndroidpublisherV3::StandaloneApkMetadata

Holds data specific to Standalone APKs. Corresponds to the JSON property standaloneApkMetadata



325
326
327
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 325

def 
  @standalone_apk_metadata
end

#targetingGoogle::Apis::AndroidpublisherV3::ApkTargeting

Represents a set of apk-level targetings. Corresponds to the JSON property targeting



330
331
332
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 330

def targeting
  @targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



337
338
339
340
341
342
343
344
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 337

def update!(**args)
  @asset_slice_metadata = args[:asset_slice_metadata] if args.key?(:asset_slice_metadata)
  @instant_apk_metadata = args[:instant_apk_metadata] if args.key?(:instant_apk_metadata)
  @path = args[:path] if args.key?(:path)
  @split_apk_metadata = args[:split_apk_metadata] if args.key?(:split_apk_metadata)
  @standalone_apk_metadata = args[:standalone_apk_metadata] if args.key?(:standalone_apk_metadata)
  @targeting = args[:targeting] if args.key?(:targeting)
end