Class: Google::Apis::ContaineranalysisV1beta1::ArtifactHashes
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::ArtifactHashes
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb 
Overview
Defines a hash object for use in Materials and Products.
Instance Attribute Summary collapse
- 
  
    
      #sha256  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
sha256. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ArtifactHashes 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ArtifactHashes.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ArtifactHashes
Returns a new instance of ArtifactHashes.
      116 117 118  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 116 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#sha256 ⇒ String
Corresponds to the JSON property sha256
      114 115 116  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 114 def sha256 @sha256 end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      121 122 123  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 121 def update!(**args) @sha256 = args[:sha256] if args.key?(:sha256) end  |