Class: Google::Apis::AndroidpublisherV3::Bundle
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Bundle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Bundle
constructor
A new instance of Bundle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Bundle
Returns a new instance of Bundle
233 234 235 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 233 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
219 220 221 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 219 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
225 226 227 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 225 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
231 232 233 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 231 def version_code @version_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 242 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 238 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 |