Class: Google::Apis::AndroidpublisherV3::ApkBinary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidpublisherV3::ApkBinary
 
- 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
Overview
Represents the binary payload of an APK.
Instance Attribute Summary collapse
- 
  
    
      #sha1  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command. 
- 
  
    
      #sha256  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApkBinary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ApkBinary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApkBinary
Returns a new instance of ApkBinary
| 66 67 68 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 66 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#sha1 ⇒ String
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
| 58 59 60 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 58 def sha1 @sha1 end | 
#sha256 ⇒ String
A sha256 hash of the APK payload, encoded as a hex string and matching the
output of the sha256sum command.
Corresponds to the JSON property sha256
| 64 65 66 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 64 def sha256 @sha256 end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 71 72 73 74 | # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 71 def update!(**args) @sha1 = args[:sha1] if args.key?(:sha1) @sha256 = args[:sha256] if args.key?(:sha256) end |