class Google::Apis::ContaineranalysisV1alpha1::DsseAttestationOccurrence

An occurrence describing an attestation on a resource

Attributes

envelope[RW]

MUST match github.com/secure-systems-lab/dsse/blob/master/envelope. proto. An authenticated message of arbitrary type. Corresponds to the JSON property `envelope` @return [Google::Apis::ContaineranalysisV1alpha1::Envelope]

statement[RW]

Spec defined at 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` @return [Google::Apis::ContaineranalysisV1alpha1::InTotoStatement]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 777
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 782
def update!(**args)
  @envelope = args[:envelope] if args.key?(:envelope)
  @statement = args[:statement] if args.key?(:statement)
end