Google Cloud Parameter Manager V1 Client - Class ParameterVersionPayload (0.7.0)

Reference documentation and code samples for the Google Cloud Parameter Manager V1 Client class ParameterVersionPayload.

Message for storing a ParameterVersion resource's payload data

Generated from protobuf message google.cloud.parametermanager.v1.ParameterVersionPayload

Namespace

Google \ Cloud \ ParameterManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data string

Required. bytes data for storing payload.

↳ data_crc32c int|string

Optional. [Optional] The integrity checksum of the payload. If provided, the server will verify that the checksum matches the payload. If not provided, the server will generate the checksum.

getData

Required. bytes data for storing payload.

Returns
Type Description
string

setData

Required. bytes data for storing payload.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataCrc32C

Optional. [Optional] The integrity checksum of the payload.

If provided, the server will verify that the checksum matches the payload. If not provided, the server will generate the checksum.

Returns
Type Description
int|string

hasDataCrc32C

clearDataCrc32C

setDataCrc32C

Optional. [Optional] The integrity checksum of the payload.

If provided, the server will verify that the checksum matches the payload. If not provided, the server will generate the checksum.

Parameter
Name Description
var int|string
Returns
Type Description
$this