Secret Manager V1beta1 Client - Class SecretPayload (1.11.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setData

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this