Google Cloud Build V1 Client - Class Secrets (0.11.0)

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
Type
Description

setSecretManager

Secrets in Secret Manager and associated secret environment variable.

Parameter
Name
Description
Returns
Type
Description
$this

getInline

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

Returns
Type
Description

setInline

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: