class Google::Apis::ContaineranalysisV1::InTotoStatement
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”.
Attributes
Always ‘in-toto.io/Statement/v0.1`. Corresponds to the JSON property `_type` @return [String]
‘slsa.dev/provenance/v0.1` for SlsaProvenance
. Corresponds to the JSON property `predicateType` @return [String]
Corresponds to the JSON property ‘provenance` @return [Google::Apis::ContaineranalysisV1::InTotoProvenance]
Corresponds to the JSON property ‘slsaProvenance` @return [Google::Apis::ContaineranalysisV1::SlsaProvenance]
Corresponds to the JSON property ‘subject` @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
Public Class Methods
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3152 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3157 def update!(**args) @_type = args[:_type] if args.key?(:_type) @predicate_type = args[:predicate_type] if args.key?(:predicate_type) @provenance = args[:provenance] if args.key?(:provenance) @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance) @subject = args[:subject] if args.key?(:subject) end