Class: Google::Apis::OndemandscanningV1beta1::SlsaProvenanceV1
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::SlsaProvenanceV1
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/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::OndemandscanningV1beta1::BuildDefinition
Corresponds to the JSON property
buildDefinition
. -
#run_details ⇒ Google::Apis::OndemandscanningV1beta1::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.
3087 3088 3089 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3087 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_definition ⇒ Google::Apis::OndemandscanningV1beta1::BuildDefinition
Corresponds to the JSON property buildDefinition
3080 3081 3082 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3080 def build_definition @build_definition end |
#run_details ⇒ Google::Apis::OndemandscanningV1beta1::RunDetails
Corresponds to the JSON property runDetails
3085 3086 3087 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3085 def run_details @run_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3092 3093 3094 3095 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3092 def update!(**args) @build_definition = args[:build_definition] if args.key?(:build_definition) @run_details = args[:run_details] if args.key?(:run_details) end |