Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb

Overview

An environment variable required by this task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable.



3233
3234
3235
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3233

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

The envvar name. Corresponds to the JSON property name

Returns:

  • (String)


3226
3227
3228
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3226

def name
  @name
end

#valueString

The envvar value. Corresponds to the JSON property value

Returns:

  • (String)


3231
3232
3233
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3231

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3238
3239
3240
3241
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3238

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end