Interface SecretEnvVarOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Name of the environment variable.
    com.google.protobuf.ByteString
    Name of the environment variable.
    Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
    com.google.protobuf.ByteString
    Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
    Name of the secret in secret manager (not the full resource name).
    com.google.protobuf.ByteString
    Name of the secret in secret manager (not the full resource name).
    Version of the secret (version number or the string 'latest').
    com.google.protobuf.ByteString
    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 Details

    • 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 (preferably project number but can also be the project
       ID) of the project that contains the secret. If not set, it will be
       populated with the function's project assuming that the secret exists in
       the same project as of the function.
       
      string project_id = 2;
      Returns:
      The projectId.
    • getProjectIdBytes

      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 will be
       populated with the function's project assuming that the secret exists in
       the same project as of 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.