EnvVar represents an environment variable present in a
Container.
This message hasoneof_ 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.
str Required. Name of the environment variable.
Must not exceed 32768 characters.
value
str Literal value of the environment variable.
Defaults to "", and the maximum length is 32768
bytes. Variable references are not supported in
Cloud Run.
This field is a member ofoneof_values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-02 UTC."],[],[],null,["# Class EnvVar (0.10.19)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.19 (latest)](/python/docs/reference/run/latest/google.cloud.run_v2.types.EnvVar)\n- [0.10.18](/python/docs/reference/run/0.10.18/google.cloud.run_v2.types.EnvVar)\n- [0.9.1](/python/docs/reference/run/0.9.1/google.cloud.run_v2.types.EnvVar)\n- [0.8.1](/python/docs/reference/run/0.8.1/google.cloud.run_v2.types.EnvVar)\n- [0.7.1](/python/docs/reference/run/0.7.1/google.cloud.run_v2.types.EnvVar)\n- [0.6.0](/python/docs/reference/run/0.6.0/google.cloud.run_v2.types.EnvVar)\n- [0.5.0](/python/docs/reference/run/0.5.0/google.cloud.run_v2.types.EnvVar)\n- [0.4.2](/python/docs/reference/run/0.4.2/google.cloud.run_v2.types.EnvVar)\n- [0.3.0](/python/docs/reference/run/0.3.0/google.cloud.run_v2.types.EnvVar)\n- [0.2.1](/python/docs/reference/run/0.2.1/google.cloud.run_v2.types.EnvVar)\n- [0.1.0](/python/docs/reference/run/0.1.0/google.cloud.run_v2.types.EnvVar) \n\n EnvVar(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nEnvVar represents an environment variable present in a\nContainer.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]