class Google::Apis::ContaineranalysisV1beta1::InToto
This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note.
Attributes
This field contains the expected command used to perform the step. Corresponds to the JSON property `expectedCommand` @return [Array<String>]
The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step. Corresponds to the JSON property `expectedMaterials` @return [Array<Google::Apis::ContaineranalysisV1beta1::ArtifactRule>]
Corresponds to the JSON property `expectedProducts` @return [Array<Google::Apis::ContaineranalysisV1beta1::ArtifactRule>]
This field contains the public keys that can be used to verify the signatures on the step metadata. Corresponds to the JSON property `signingKeys` @return [Array<Google::Apis::ContaineranalysisV1beta1::SigningKey>]
This field identifies the name of the step in the supply chain. Corresponds to the JSON property `stepName` @return [String]
This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link. Corresponds to the JSON property `threshold` @return [Fixnum]
Public Class Methods
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 2044 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 2049 def update!(**args) @expected_command = args[:expected_command] if args.key?(:expected_command) @expected_materials = args[:expected_materials] if args.key?(:expected_materials) @expected_products = args[:expected_products] if args.key?(:expected_products) @signing_keys = args[:signing_keys] if args.key?(:signing_keys) @step_name = args[:step_name] if args.key?(:step_name) @threshold = args[:threshold] if args.key?(:threshold) end