Class: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::SlsaProvenanceV1
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/ docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
Instance Attribute Summary collapse
-
#build_definition ⇒ Google::Apis::ContaineranalysisV1::BuildDefinition
Corresponds to the JSON property
buildDefinition. -
#run_details ⇒ Google::Apis::ContaineranalysisV1::RunDetails
Corresponds to the JSON property
runDetails.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SlsaProvenanceV1
constructor
A new instance of SlsaProvenanceV1.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SlsaProvenanceV1
Returns a new instance of SlsaProvenanceV1.
5951 5952 5953 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5951 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_definition ⇒ Google::Apis::ContaineranalysisV1::BuildDefinition
Corresponds to the JSON property buildDefinition
5944 5945 5946 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5944 def build_definition @build_definition end |
#run_details ⇒ Google::Apis::ContaineranalysisV1::RunDetails
Corresponds to the JSON property runDetails
5949 5950 5951 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5949 def run_details @run_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5956 5957 5958 5959 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 5956 def update!(**args) @build_definition = args[:build_definition] if args.key?(:build_definition) @run_details = args[:run_details] if args.key?(:run_details) end |