Class: Google::Apis::AndroidpublisherV2::ApkBinary

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

Overview

Represents the binary payload of an APK.

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) ⇒ ApkBinary

Returns a new instance of ApkBinary.



60
61
62
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 60

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

Instance Attribute Details

#sha1String

A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command. Corresponds to the JSON property sha1

Returns:

  • (String)


58
59
60
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 58

def sha1
  @sha1
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



65
66
67
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 65

def update!(**args)
  @sha1 = args[:sha1] if args.key?(:sha1)
end