class Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource

EnvVarSource represents a source for the value of an EnvVar.

Attributes

secret_key_ref[RW]

SecretEnvVarSource represents a source for the value of an EnvVar. Corresponds to the JSON property ‘secretKeyRef` @return [Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v2/classes.rb, line 316
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v2/classes.rb, line 321
def update!(**args)
  @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref)
end