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

_type[RW]

Always ‘in-toto.io/Statement/v0.1`. Corresponds to the JSON property `_type` @return [String]

predicate_type[RW]

slsa.dev/provenance/v0.1` for SlsaProvenance. Corresponds to the JSON property `predicateType` @return [String]

provenance[RW]

Corresponds to the JSON property ‘provenance` @return [Google::Apis::ContaineranalysisV1::InTotoProvenance]

slsa_provenance[RW]

Corresponds to the JSON property ‘slsaProvenance` @return [Google::Apis::ContaineranalysisV1::SlsaProvenance]

subject[RW]

Corresponds to the JSON property ‘subject` @return [Array<Google::Apis::ContaineranalysisV1::Subject>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3152
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_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