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
Modifier and TypeMethodDescriptiongetPath()Relative path of the file under the mount path where the secret value for this version will be fetched and made available.com.google.protobuf.ByteStringRelative path of the file under the mount path where the secret value for this version will be fetched and made available.Version of the secret (version number or the string 'latest').com.google.protobuf.ByteStringVersion of the secret (version number or the string 'latest').Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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 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`.
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 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`.
string path = 2;- Returns:
- The bytes for path.
-