Show / Hide Table of Contents

Class EnvVar

EnvVar represents an environment variable present in a Container.

Inheritance
System.Object
EnvVar
Implements
IDirectResponseSchema
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class EnvVar : object, IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Name

Name of the environment variable. Must be a C_IDENTIFIER.

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Value

(Optional)

Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

Declaration
public virtual string Value { get; set; }
Property Value
Type Description
System.String

ValueFrom

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Source for the environment variable's value. Cannot be used if value is not empty.

Declaration
public virtual EnvVarSource ValueFrom { get; set; }
Property Value
Type Description
EnvVarSource

Implements

IDirectResponseSchema
Back to top