Class: Google::Cloud::Functions::V2::SecretVolume::SecretVersion
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V2::SecretVolume::SecretVersion
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v2/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
.
589 590 591 592 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 589 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.
589 590 591 592 |
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 589 class SecretVersion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |