Reference documentation and code samples for the Google Cloud Build V1 Client class SecretManagerSecret.
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Generated from protobuf message google.devtools.cloudbuild.v1.SecretManagerSecret
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ version_name
string
Resource name of the SecretVersion. In format: projects/ /secrets/ /versions/*
↳ env
string
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.
getVersionName
Resource name of the SecretVersion. In format: projects/ /secrets/ /versions/*
string
setVersionName
Resource name of the SecretVersion. In format: projects/ /secrets/ /versions/*
var
string
$this
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
setEnv
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.
var
string
$this