Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/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.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable.
3432 3433 3434 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The envvar name.
Corresponds to the JSON property name
3425 3426 3427 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3425 def name @name end |
#value ⇒ String
The envvar value.
Corresponds to the JSON property value
3430 3431 3432 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3430 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3437 3438 3439 3440 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 3437 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |