Class EnvVar (0.10.8)

EnvVar(mapping=None, *, ignore_unknown_fields=False, **kwargs)

EnvVar represents an environment variable present in a Container.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Required. Name of the environment variable. Must not exceed 32768 characters.
value str
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 "", and the maximum length is 32768 bytes. This field is a member of oneof_ values.
value_source google.cloud.run_v2.types.EnvVarSource
Source for the environment variable's value. This field is a member of oneof_ values.