class Google::Apis::OndemandscanningV1beta1::InTotoProvenance

Attributes

builder_config[RW]

required Corresponds to the JSON property `builderConfig` @return [Google::Apis::OndemandscanningV1beta1::BuilderConfig]

materials[RW]

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty. Corresponds to the JSON property `materials` @return [Array<String>]

metadata[RW]

Other properties of the build. Corresponds to the JSON property `metadata` @return [Google::Apis::OndemandscanningV1beta1::Metadata]

recipe[RW]

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. Corresponds to the JSON property `recipe` @return [Google::Apis::OndemandscanningV1beta1::Recipe]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 1023
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_v1beta1/classes.rb, line 1028
def update!(**args)
  @builder_config = args[:builder_config] if args.key?(:builder_config)
  @materials = args[:materials] if args.key?(:materials)
  @metadata = args[:metadata] if args.key?(:metadata)
  @recipe = args[:recipe] if args.key?(:recipe)
end