Google Cloud Build V1 Client - Class Secrets (0.5.1)

Reference documentation and code samples for the Google Cloud Build V1 Client class Secrets.

Secrets and secret environment variables.

Generated from protobuf message google.devtools.cloudbuild.v1.Secrets

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ secret_manager array<Google\Cloud\Build\V1\SecretManagerSecret>

Secrets in Secret Manager and associated secret environment variable.

↳ inline array<Google\Cloud\Build\V1\InlineSecret>

Secrets encrypted with KMS key and the associated secret environment variable.

getSecretManager

Secrets in Secret Manager and associated secret environment variable.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSecretManager

Secrets in Secret Manager and associated secret environment variable.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\SecretManagerSecret>
Returns
TypeDescription
$this

getInline

Secrets encrypted with KMS key and the associated secret environment variable.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInline

Secrets encrypted with KMS key and the associated secret environment variable.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\InlineSecret>
Returns
TypeDescription
$this