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 | |
---|---|
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 |
Google\Protobuf\Internal\RepeatedField |
setSecretManager
Secrets in Secret Manager and associated secret environment variable.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Build\V1\SecretManagerSecret>
|
Returns | |
---|---|
Type | Description |
$this |
getInline
Secrets encrypted with KMS key and the associated secret environment variable.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInline
Secrets encrypted with KMS key and the associated secret environment variable.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Build\V1\InlineSecret>
|
Returns | |
---|---|
Type | Description |
$this |