Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v1alpha/classes.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb,
lib/google/apis/remotebuildexecution_v1alpha/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.



2662
2663
2664
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2662

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

Instance Attribute Details

#nameString

The envvar name. Corresponds to the JSON property name

Returns:

  • (String)


2655
2656
2657
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2655

def name
  @name
end

#valueString

The envvar value. Corresponds to the JSON property value

Returns:

  • (String)


2660
2661
2662
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2660

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2667
2668
2669
2670
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2667

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