Class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
- 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
-
#environment ⇒ Boolean
(also: #environment?)
Corresponds to the JSON property
environment
. -
#materials ⇒ Boolean
(also: #materials?)
Corresponds to the JSON property
materials
. -
#parameters ⇒ Boolean
(also: #parameters?)
Corresponds to the JSON property
parameters
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
constructor
A new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
Returns a new instance of GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness.
1125 1126 1127 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ Boolean Also known as: environment?
Corresponds to the JSON property environment
1110 1111 1112 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1110 def environment @environment end |
#materials ⇒ Boolean Also known as: materials?
Corresponds to the JSON property materials
1116 1117 1118 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1116 def materials @materials end |
#parameters ⇒ Boolean Also known as: parameters?
Corresponds to the JSON property parameters
1122 1123 1124 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1122 def parameters @parameters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1130 1131 1132 1133 1134 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1130 def update!(**args) @environment = args[:environment] if args.key?(:environment) @materials = args[:materials] if args.key?(:materials) @parameters = args[:parameters] if args.key?(:parameters) end |