Class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb more...
Overview
Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.
Instance Attribute Summary collapse
-
#digest ⇒ Hash<String,String>
Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
-
#entry_point ⇒ String
String identifying the entry point into the build.
-
#uri ⇒ String
URI indicating the identity of the source of the config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
constructor
A new instance of GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource
Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource.
4218 4219 4220 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Collection of cryptographic digests for the contents of the artifact specified
by invocation.configSource.uri.
Corresponds to the JSON property digest
4206 4207 4208 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4206 def digest @digest end |
#entry_point ⇒ String
String identifying the entry point into the build.
Corresponds to the JSON property entryPoint
4211 4212 4213 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4211 def entry_point @entry_point end |
#uri ⇒ String
URI indicating the identity of the source of the config.
Corresponds to the JSON property uri
4216 4217 4218 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4216 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4223 4224 4225 4226 4227 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4223 def update!(**args) @digest = args[:digest] if args.key?(:digest) @entry_point = args[:entry_point] if args.key?(:entry_point) @uri = args[:uri] if args.key?(:uri) end |