Class: Google::Apis::ManagerV1beta2::ParamOverride
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::ParamOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb
Overview
A specification for overriding parameters in a Template that corresponds to the Deployment.
Instance Attribute Summary collapse
-
#path ⇒ String
A JSON Path expression that specifies which parameter should be overridden.
-
#value ⇒ String
The new value to assign to the overridden parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParamOverride
constructor
A new instance of ParamOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ParamOverride
Returns a new instance of ParamOverride
960 961 962 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
A JSON Path expression that specifies which parameter should be overridden.
Corresponds to the JSON property path
953 954 955 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 953 def path @path end |
#value ⇒ String
The new value to assign to the overridden parameter.
Corresponds to the JSON property value
958 959 960 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 958 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
965 966 967 968 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 965 def update!(**args) @path = args[:path] if args.key?(:path) @value = args[:value] if args.key?(:value) end |