Class ConfigMapEnvSource
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
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.
Inheritance
System.Object
ConfigMapEnvSource
Implements
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class ConfigMapEnvSource : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LocalObjectReference
This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.
Declaration
public virtual LocalObjectReference LocalObjectReference { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalObjectReference |
Name
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
The ConfigMap to select from.
Declaration
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Optional
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Specify whether the ConfigMap must be defined
Declaration
public virtual Nullable<bool> Optional { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |