Class: Google::Apis::AndroidpublisherV2::Bundle

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Bundle

Returns a new instance of Bundle



284
285
286
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 284

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

Instance Attribute Details

#sha1String

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

Returns:

  • (String)


270
271
272
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 270

def sha1
  @sha1
end

#sha256String

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

Returns:

  • (String)


276
277
278
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 276

def sha256
  @sha256
end

#version_codeFixnum

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

Returns:

  • (Fixnum)


282
283
284
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 282

def version_code
  @version_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



289
290
291
292
293
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 289

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