Class: Google::Apis::ReplicapoolV1beta1::EnvVariable
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolV1beta1::EnvVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta1/classes.rb,
generated/google/apis/replicapool_v1beta1/representations.rb,
generated/google/apis/replicapool_v1beta1/representations.rb
Overview
An environment variable to set for an action.
Instance Attribute Summary collapse
-
#hidden ⇒ Boolean
(also: #hidden?)
Deprecated, do not use.
-
#name ⇒ String
The name of the environment variable.
-
#value ⇒ String
The value of the 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
141 142 143 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hidden ⇒ Boolean Also known as:
Deprecated, do not use.
Corresponds to the JSON property hidden
128 129 130 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 128 def hidden @hidden end |
#name ⇒ String
The name of the environment variable.
Corresponds to the JSON property name
134 135 136 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 134 def name @name end |
#value ⇒ String
The value of the variable.
Corresponds to the JSON property value
139 140 141 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 139 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
146 147 148 149 150 |
# File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 146 def update!(**args) @hidden = args[:hidden] if args.key?(:hidden) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |