Class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
- 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
Identifies the event that kicked off the build.
Instance Attribute Summary collapse
-
#config_source ⇒ Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
Describes where the config file that kicked off the build came from.
-
#environment ⇒ Hash<String,Object>
Corresponds to the JSON property
environment
. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
constructor
A new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
Returns a new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation.
1351 1352 1353 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_source ⇒ Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
Describes where the config file that kicked off the build came from. This is
effectively a pointer to the source where buildConfig came from.
Corresponds to the JSON property configSource
1339 1340 1341 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1339 def config_source @config_source end |
#environment ⇒ Hash<String,Object>
Corresponds to the JSON property environment
1344 1345 1346 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1344 def environment @environment end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
1349 1350 1351 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1349 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1356 1357 1358 1359 1360 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1356 def update!(**args) @config_source = args[:config_source] if args.key?(:config_source) @environment = args[:environment] if args.key?(:environment) @parameters = args[:parameters] if args.key?(:parameters) end |