Secret Manager V1beta1 Client - Class SecretPayload (1.9.7)

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.

Generated from protobuf field bytes data = 1;

Returns
TypeDescription
string

setData

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

Generated from protobuf field bytes data = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this