Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1/classes.rb,
generated/google/apis/remotebuildexecution_v1/representations.rb,
generated/google/apis/remotebuildexecution_v1/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
2426 2427 2428 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The envvar name.
Corresponds to the JSON property name
2419 2420 2421 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2419 def name @name end |
#value ⇒ String
The envvar value.
Corresponds to the JSON property value
2424 2425 2426 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2424 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2431 2432 2433 2434 |
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 2431 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |