Interface SecretEnvVarOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SecretEnvVar, SecretEnvVar.Builder

    public interface SecretEnvVarOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      Name of the environment variable.
      com.google.protobuf.ByteString getKeyBytes()
      Name of the environment variable.
      String getProjectId()
      Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret.
      com.google.protobuf.ByteString getProjectIdBytes()
      Project identifier (preferrably 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').
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getKey

        String getKey()
         Name of the environment variable.
         
        string key = 1;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         Name of the environment variable.
         
        string key = 1;
        Returns:
        The bytes for key.
      • getProjectId

        String getProjectId()
         Project identifier (preferrably project number but can also be the project
         ID) of the project that contains the secret. If not set, it is
         populated with the function's project, assuming that the secret exists in
         the same project as the function.
         
        string project_id = 2;
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         Project identifier (preferrably project number but can also be the project
         ID) of the project that contains the secret. If not set, it is
         populated with the function's project, assuming that the secret exists in
         the same project as the function.
         
        string project_id = 2;
        Returns:
        The bytes for projectId.
      • getSecret

        String getSecret()
         Name of the secret in Secret Manager (not the full resource name).
         
        string secret = 3;
        Returns:
        The secret.
      • getSecretBytes

        com.google.protobuf.ByteString getSecretBytes()
         Name of the secret in Secret Manager (not the full resource name).
         
        string secret = 3;
        Returns:
        The bytes for secret.
      • getVersion

        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;
        Returns:
        The version.
      • getVersionBytes

        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;
        Returns:
        The bytes for version.