class Google::Apis::TestingV1::EnvironmentVariable
A key-value pair passed as an environment variable to the test.
Attributes
key[RW]
Key for the environment variable. Corresponds to the JSON property `key` @return [String]
value[RW]
Value for the environment variable. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1030 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1035 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end