Class: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice

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 an asset pack slice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeneratedAssetPackSlice

Returns a new instance of GeneratedAssetPackSlice.



2540
2541
2542
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2540

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)


2523
2524
2525
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2523

def download_id
  @download_id
end

#module_nameString

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

Returns:

  • (String)


2528
2529
2530
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2528

def module_name
  @module_name
end

#slice_idString

Asset slice ID. Corresponds to the JSON property sliceId

Returns:

  • (String)


2533
2534
2535
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2533

def slice_id
  @slice_id
end

#versionFixnum

Asset module version. Corresponds to the JSON property version

Returns:

  • (Fixnum)


2538
2539
2540
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2538

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2545
2546
2547
2548
2549
2550
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2545

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