Class: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice
- 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
-
#download_id ⇒ String
Download ID, which uniquely identifies the APK to download.
-
#module_name ⇒ String
Name of the module that this asset slice belongs to.
-
#slice_id ⇒ String
Asset slice ID.
-
#version ⇒ Fixnum
Asset module version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeneratedAssetPackSlice
constructor
A new instance of GeneratedAssetPackSlice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GeneratedAssetPackSlice
Returns a new instance of GeneratedAssetPackSlice.
1405 1406 1407 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1405 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
1388 1389 1390 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1388 def download_id @download_id end |
#module_name ⇒ String
Name of the module that this asset slice belongs to.
Corresponds to the JSON property moduleName
1393 1394 1395 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1393 def module_name @module_name end |
#slice_id ⇒ String
Asset slice ID.
Corresponds to the JSON property sliceId
1398 1399 1400 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1398 def slice_id @slice_id end |
#version ⇒ Fixnum
Asset module version.
Corresponds to the JSON property version
1403 1404 1405 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1403 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1410 1411 1412 1413 1414 1415 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1410 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 |