Class: Google::Apis::ContaineranalysisV1alpha1::Envelope
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::Envelope
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb 
Overview
MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope. proto. An authenticated message of arbitrary type.
Instance Attribute Summary collapse
- 
  
    
      #payload  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The bytes being signed Corresponds to the JSON property
payloadNOTE: Values are automatically base64 encoded/decoded in the client library. - 
  
    
      #payload_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of payload being signed Corresponds to the JSON property
payloadType. - 
  
    
      #signatures  ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The signatures over the payload Corresponds to the JSON property
signatures. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Envelope 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Envelope.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Envelope
Returns a new instance of Envelope.
      3605 3606 3607  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3605 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#payload ⇒ String
The bytes being signed
Corresponds to the JSON property payload
NOTE: Values are automatically base64 encoded/decoded in the client library.
      3593 3594 3595  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3593 def payload @payload end  | 
  
#payload_type ⇒ String
The type of payload being signed
Corresponds to the JSON property payloadType
      3598 3599 3600  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3598 def payload_type @payload_type end  | 
  
#signatures ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature>
The signatures over the payload
Corresponds to the JSON property signatures
      3603 3604 3605  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3603 def signatures @signatures end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3610 3611 3612 3613 3614  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3610 def update!(**args) @payload = args[:payload] if args.key?(:payload) @payload_type = args[:payload_type] if args.key?(:payload_type) @signatures = args[:signatures] if args.key?(:signatures) end  |