GoogleCloudRunV2SecretKeySelector class
SecretEnvVarSource represents a source for the value of an EnvVar.
Constructors
-
GoogleCloudRunV2SecretKeySelector({required Input<
String> secret, Input<String> ? version}) -
Creates a new GoogleCloudRunV2SecretKeySelector.
secretThe name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.versionThe Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.const -
GoogleCloudRunV2SecretKeySelector.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secret
→ Input<
String> -
The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
final
-
version
→ Input<
String> ? -
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited