class Google::Apis::RunV1::EnvFromSource
Not supported by Cloud Run EnvFromSource
represents the source of a set of ConfigMaps
Attributes
Not supported by Cloud Run ConfigMapEnvSource
selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. Corresponds to the JSON property `configMapRef` @return [Google::Apis::RunV1::ConfigMapEnvSource]
(Optional) An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. Corresponds to the JSON property `prefix` @return [String]
Not supported by Cloud Run SecretEnvSource
selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. Corresponds to the JSON property `secretRef` @return [Google::Apis::RunV1::SecretEnvSource]
Public Class Methods
# File lib/google/apis/run_v1/classes.rb, line 805 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1/classes.rb, line 810 def update!(**args) @config_map_ref = args[:config_map_ref] if args.key?(:config_map_ref) @prefix = args[:prefix] if args.key?(:prefix) @secret_ref = args[:secret_ref] if args.key?(:secret_ref) end