class Google::Apis::RunV1alpha1::EnvVarSource

EnvVarSource represents a source for the value of an EnvVar.

Attributes

config_map_key_ref[RW]

Not supported by Cloud Run Selects a key from a ConfigMap. Corresponds to the JSON property `configMapKeyRef` @return [Google::Apis::RunV1alpha1::ConfigMapKeySelector]

secret_key_ref[RW]

SecretKeySelector selects a key of a Secret. Corresponds to the JSON property `secretKeyRef` @return [Google::Apis::RunV1alpha1::SecretKeySelector]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1alpha1/classes.rb, line 446
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_v1alpha1/classes.rb, line 451
def update!(**args)
  @config_map_key_ref = args[:config_map_key_ref] if args.key?(:config_map_key_ref)
  @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref)
end