class Google::Apis::ContaineranalysisV1alpha1::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::ContaineranalysisV1alpha1::InTotoProvenance]

subject[RW]

Corresponds to the JSON property `subject` @return [Array<Google::Apis::ContaineranalysisV1alpha1::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/containeranalysis_v1alpha1/classes.rb, line 1988
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 1993
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