Class EnvironmentVariable
Environment variables for this build.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1.Data
Assembly: Google.Apis.FirebaseAppHosting.v1.dll
Syntax
public class EnvironmentVariable : IDirectResponseSchema
Properties
Availability
Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.
Declaration
[JsonProperty("availability")]
public virtual IList<string> Availability { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Secret
A fully qualified secret version. The value of the secret will be accessed once while building the
application and once per cold start of the container at runtime. The service account used by Cloud Build and
by Cloud Run must each have the secretmanager.versions.access
permission on the secret.
Declaration
[JsonProperty("secret")]
public virtual string Secret { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Variable
Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with "FIREBASE" or "GOOGLE". - May not be a reserved environment variable for KNative/Cloud Run
Declaration
[JsonProperty("variable")]
public virtual string Variable { get; set; }
Property Value
Type | Description |
---|---|
string |