Class EnvVar
EnvVar represents an environment variable present in a Container.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class EnvVar : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Name of the environment variable.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
ValueFrom
Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.
Declaration
[JsonProperty("valueFrom")]
public virtual EnvVarSource ValueFrom { get; set; }
Property Value
Type | Description |
---|---|
EnvVarSource |