class Google::Apis::OndemandscanningV1::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
predicate_type[RW]
“in-toto.io/Provenance/v0.1” for InTotoProvenance
. Corresponds to the JSON property `predicateType` @return [String]
provenance[RW]
Corresponds to the JSON property `provenance` @return [Google::Apis::OndemandscanningV1::InTotoProvenance]
subject[RW]
Corresponds to the JSON property `subject` @return [Array<Google::Apis::OndemandscanningV1::Subject>]
type[RW]
Always “in-toto.io/Statement/v0.1”. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1062 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1067 def update!(**args) @predicate_type = args[:predicate_type] if args.key?(:predicate_type) @provenance = args[:provenance] if args.key?(:provenance) @subject = args[:subject] if args.key?(:subject) @type = args[:type] if args.key?(:type) end