Class: Google::Apis::AndroidpublisherV3::Bundle
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Bundle
- 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
Information about an app bundle. The resource for BundlesService.
Instance Attribute Summary collapse
-
#sha1 ⇒ String
A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.
-
#sha256 ⇒ String
A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.
-
#version_code ⇒ Fixnum
The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Bundle
constructor
A new instance of Bundle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Bundle
Returns a new instance of Bundle.
1184 1185 1186 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sha1 ⇒ String
A sha1 hash of the upload payload, encoded as a hex string and matching the
output of the sha1sum command.
Corresponds to the JSON property sha1
1170 1171 1172 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1170 def sha1 @sha1 end |
#sha256 ⇒ String
A sha256 hash of the upload payload, encoded as a hex string and matching the
output of the sha256sum command.
Corresponds to the JSON property sha256
1176 1177 1178 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1176 def sha256 @sha256 end |
#version_code ⇒ Fixnum
The version code of the Android App Bundle, as specified in the Android App
Bundle's base module APK manifest file.
Corresponds to the JSON property versionCode
1182 1183 1184 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1182 def version_code @version_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1189 1190 1191 1192 1193 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1189 def update!(**args) @sha1 = args[:sha1] if args.key?(:sha1) @sha256 = args[:sha256] if args.key?(:sha256) @version_code = args[:version_code] if args.key?(:version_code) end |