Cloudfunctions2FunctionSecretEnvironmentVariable class
One entry in service_config.secret_environment_variables. Each
reference materializes as an env var whose value is the secret payload
at runtime.
- Annotations
-
- @immutable
Constructors
-
Cloudfunctions2FunctionSecretEnvironmentVariable({required TfArg<
String> key, required TfArg<String> projectId, required TfArg<String> secret, required TfArg<String> version}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ TfArg<
String> -
Environment variable name (C_IDENTIFIER).
final
-
projectId
→ TfArg<
String> -
Project containing the secret (project number or ID).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secret
→ TfArg<
String> -
Secret name in Secret Manager (short form, not full resource path).
final
-
version
→ TfArg<
String> -
Version (
'latest'or numeric). Prefer numeric versions: rotation requires a redeploy to pick up a new'latest'.final
Methods
-
encode(
) → Map< String, Object?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited