Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable



3380
3381
3382
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3380

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

Instance Attribute Details

#nameString

The envvar name. Corresponds to the JSON property name

Returns:

  • (String)


3373
3374
3375
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3373

def name
  @name
end

#valueString

The envvar value. Corresponds to the JSON property value

Returns:

  • (String)


3378
3379
3380
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3378

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3385
3386
3387
3388
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 3385

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