Class: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::SlsaCompleteness
- 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
Indicates that the builder claims certain fields in this message to be complete.
Instance Attribute Summary collapse
-
#arguments ⇒ Boolean
(also: #arguments?)
If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
-
#environment ⇒ Boolean
(also: #environment?)
If true, the builder claims that recipe.environment is claimed to be complete.
-
#materials ⇒ Boolean
(also: #materials?)
If true, the builder claims that materials are complete, usually through some controls to prevent network access.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SlsaCompleteness
constructor
A new instance of SlsaCompleteness.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SlsaCompleteness
Returns a new instance of SlsaCompleteness.
2340 2341 2342 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arguments ⇒ Boolean Also known as: arguments?
If true, the builder claims that recipe.arguments is complete, meaning that
all external inputs are properly captured in the recipe.
Corresponds to the JSON property arguments
2324 2325 2326 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2324 def arguments @arguments end |
#environment ⇒ Boolean Also known as: environment?
If true, the builder claims that recipe.environment is claimed to be complete.
Corresponds to the JSON property environment
2330 2331 2332 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2330 def environment @environment end |
#materials ⇒ Boolean Also known as: materials?
If true, the builder claims that materials are complete, usually through some
controls to prevent network access. Sometimes called "hermetic".
Corresponds to the JSON property materials
2337 2338 2339 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2337 def materials @materials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2345 2346 2347 2348 2349 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2345 def update!(**args) @arguments = args[:arguments] if args.key?(:arguments) @environment = args[:environment] if args.key?(:environment) @materials = args[:materials] if args.key?(:materials) end |