Class: Google::Apis::ContaineranalysisV1beta1::Environment
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::Environment
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Defines an object for the environment field in in-toto links. The suggested fields are "variables", "filesystem", and "workdir".
Instance Attribute Summary collapse
-
#custom_values ⇒ Hash<String,String>
Corresponds to the JSON property
customValues
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Environment
constructor
A new instance of Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Environment
Returns a new instance of Environment.
1091 1092 1093 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_values ⇒ Hash<String,String>
Corresponds to the JSON property customValues
1089 1090 1091 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1089 def custom_values @custom_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1096 1097 1098 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1096 def update!(**args) @custom_values = args[:custom_values] if args.key?(:custom_values) end |