Class: Google::Apis::ContaineranalysisV1alpha1::Completeness
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Completeness
- 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
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) ⇒ Completeness
constructor
A new instance of Completeness.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Completeness
Returns a new instance of Completeness.
1056 1057 1058 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1056 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
1040 1041 1042 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1040 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
1046 1047 1048 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1046 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
1053 1054 1055 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1053 def materials @materials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1061 1062 1063 1064 1065 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1061 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 |