Class: Google::Apis::ContaineranalysisV1alpha1::DsseAttestationOccurrence
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::DsseAttestationOccurrence
 
 
- 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
An occurrence describing an attestation on a resource
Instance Attribute Summary collapse
- #envelope ⇒ Google::Apis::ContaineranalysisV1alpha1::Envelope
 - 
  
    
      #statement  ⇒ Google::Apis::ContaineranalysisV1alpha1::InTotoStatement 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Spec defined at https://github.com/in-toto/attestation/tree/main/spec# statement The serialized InTotoStatement will be stored as Envelope.payload.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DsseAttestationOccurrence 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DsseAttestationOccurrence.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DsseAttestationOccurrence
Returns a new instance of DsseAttestationOccurrence.
      3026 3027 3028  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3026 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#envelope ⇒ Google::Apis::ContaineranalysisV1alpha1::Envelope
MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
proto. An authenticated message of arbitrary type.
Corresponds to the JSON property envelope
      3017 3018 3019  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3017 def envelope @envelope end  | 
  
#statement ⇒ Google::Apis::ContaineranalysisV1alpha1::InTotoStatement
Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
statement The serialized InTotoStatement will be stored as Envelope.payload.
Envelope.payloadType is always "application/vnd.in-toto+json".
Corresponds to the JSON property statement
      3024 3025 3026  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3024 def statement @statement end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3031 3032 3033 3034  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3031 def update!(**args) @envelope = args[:envelope] if args.key?(:envelope) @statement = args[:statement] if args.key?(:statement) end  |