Class: Google::Apis::ContaineranalysisV1beta1::ByProducts
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::ByProducts
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Defines an object for the byproducts field in in-toto links. The suggested fields are "stderr", "stdout", and "return-value".
Instance Attribute Summary collapse
-
#custom_values ⇒ Hash<String,String>
Corresponds to the JSON property
customValues
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ByProducts
constructor
A new instance of ByProducts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ByProducts
Returns a new instance of ByProducts.
911 912 913 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_values ⇒ Hash<String,String>
Corresponds to the JSON property customValues
909 910 911 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 909 def custom_values @custom_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
916 917 918 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 916 def update!(**args) @custom_values = args[:custom_values] if args.key?(:custom_values) end |