FunctionServiceConfigSecretVolume class

Constructors

FunctionServiceConfigSecretVolume({required Input<String> mountPath, required Input<String> projectId, required Input<String> secret, Input<List<FunctionServiceConfigSecretVolumeVersion>?>? versions})
Creates a new FunctionServiceConfigSecretVolume. mountPath The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets projectId Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function. secret Name of the secret in secret manager (not the full resource name). versions List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.'
const
FunctionServiceConfigSecretVolume.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
mountPath → Input<String>
The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
final
projectId → Input<String>
Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → Input<String>
Name of the secret in secret manager (not the full resource name).
final
versions → Input<List<FunctionServiceConfigSecretVolumeVersion>?>?
List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Structure is documented below.
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