Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
An environment variable required by this task.
Instance Attribute Summary collapse
-
#name ⇒ String
The envvar name.
-
#value ⇒ String
The envvar value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
constructor
A new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
3317 3318 3319 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The envvar name.
Corresponds to the JSON property name
3310 3311 3312 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3310 def name @name end |
#value ⇒ String
The envvar value.
Corresponds to the JSON property value
3315 3316 3317 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3315 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3322 3323 3324 3325 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3322 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |