Class: Google::Apis::ManagerV1beta2::EnvVariable
- Inherits:
-
Object
- Object
- Google::Apis::ManagerV1beta2::EnvVariable
- 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
An environment variable.
Instance Attribute Summary collapse
-
#hidden ⇒ Boolean
(also: #hidden?)
Whether this variable is hidden or visible.
-
#value ⇒ String
Value of the environment variable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvVariable
constructor
A new instance of EnvVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EnvVariable
Returns a new instance of EnvVariable
339 340 341 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hidden ⇒ Boolean Also known as:
Whether this variable is hidden or visible.
Corresponds to the JSON property hidden
331 332 333 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 331 def hidden @hidden end |
#value ⇒ String
Value of the environment variable.
Corresponds to the JSON property value
337 338 339 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 337 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
344 345 346 347 |
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 344 def update!(**args) @hidden = args[:hidden] if args.key?(:hidden) @value = args[:value] if args.key?(:value) end |