Interface SecretManagerSecretOrBuilder (3.50.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for versionName.