Class: Google::Cloud::Functions::V1::SecretVolume::SecretVersion
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V1::SecretVolume::SecretVersion
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v1/functions.rb
Overview
Configuration for a single version.
Instance Attribute Summary collapse
-
#path ⇒ ::String
Relative path of the file under the mount path where the secret value for this version will be fetched and made available.
-
#version ⇒ ::String
Version of the secret (version number or the string 'latest').
Instance Attribute Details
#path ⇒ ::String
Returns Relative path of the file under the mount path where the secret value for
this version will be fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo
would mount the
secret value file at /etc/secrets/secret_foo
.
540 541 542 543 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 540 class SecretVersion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#version ⇒ ::String
Returns Version of the secret (version number or the string 'latest'). It is
preferable to use latest
version with secret volumes as secret value
changes are reflected immediately.
540 541 542 543 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 540 class SecretVersion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |