Secret Manager V1beta1 Client - Class SecretPayload (1.15.4)

Reference documentation and code samples for the Secret Manager V1beta1 Client class SecretPayload.

A secret payload resource in the Secret Manager API. This contains the sensitive secret data that is associated with a SecretVersion.

Generated from protobuf message google.cloud.secrets.v1beta1.SecretPayload

Namespace

Google \ Cloud \ SecretManager \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data string

The secret data. Must be no larger than 64KiB.

getData

The secret data. Must be no larger than 64KiB.

Returns
Type Description
string

setData

The secret data. Must be no larger than 64KiB.

Parameter
Name Description
var string
Returns
Type Description
$this