Interface SecretManagerSecretOrBuilder (3.37.0)

public interface SecretManagerSecretOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnv()

public abstract String getEnv()

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

string env = 2;

Returns
TypeDescription
String

The env.

getEnvBytes()

public abstract ByteString getEnvBytes()

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

string env = 2;

Returns
TypeDescription
ByteString

The bytes for env.

getVersionName()

public abstract String getVersionName()

Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*

string version_name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The versionName.

getVersionNameBytes()

public abstract ByteString getVersionNameBytes()

Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*

string version_name = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for versionName.