Package com.google.cloud.functions.v1
Interface SecretVolume.SecretVersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecretVolume.SecretVersion
,SecretVolume.SecretVersion.Builder
- Enclosing class:
- SecretVolume
public static interface SecretVolume.SecretVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPath()
Relative path of the file under the mount path where the secret value for this version is fetched and made available.com.google.protobuf.ByteString
getPathBytes()
Relative path of the file under the mount path where the secret value for this version is fetched and made available.String
getVersion()
Version of the secret (version number or the string 'latest').com.google.protobuf.ByteString
getVersionBytes()
Version of the secret (version number or the string 'latest').-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersion
String getVersion()
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.
string version = 1;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
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.
string version = 1;
- Returns:
- The bytes for version.
-
getPath
String getPath()
Relative path of the file under the mount path where the secret value for this version is fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` mounts the secret value file at `/etc/secrets/secret_foo`.
string path = 2;
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Relative path of the file under the mount path where the secret value for this version is fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` mounts the secret value file at `/etc/secrets/secret_foo`.
string path = 2;
- Returns:
- The bytes for path.
-
-