public interface SecretEnvVarOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Name of the environment variable.
|
com.google.protobuf.ByteString |
getKeyBytes()
Name of the environment variable.
|
String |
getProjectId()
Project identifier (preferably project number but can also be the
project ID) of the project that contains the secret.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Project identifier (preferably project number but can also be the
project ID) of the project that contains the secret.
|
String |
getSecret()
Name of the secret in secret manager (not the full resource name).
|
com.google.protobuf.ByteString |
getSecretBytes()
Name of the secret in secret manager (not the full resource name).
|
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').
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getKey()
Name of the environment variable.
string key = 1;com.google.protobuf.ByteString getKeyBytes()
Name of the environment variable.
string key = 1;String getProjectId()
Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.
string project_id = 2;com.google.protobuf.ByteString getProjectIdBytes()
Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.
string project_id = 2;String getSecret()
Name of the secret in secret manager (not the full resource name).
string secret = 3;com.google.protobuf.ByteString getSecretBytes()
Name of the secret in secret manager (not the full resource name).
string secret = 3;String getVersion()
Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
string version = 4;com.google.protobuf.ByteString getVersionBytes()
Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new instances start.
string version = 4;Copyright © 2023 Google LLC. All rights reserved.