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
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.

Generated from protobuf field bytes data = 1;

Returns
Type
Description
string

setData

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

Generated from protobuf field bytes data = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: