# Google Cloud Parameter Manager V1 Client - Class ParameterVersionPayload (0.5.4)

0.5.4 (latest) 0.5.3 0.4.1 0.3.0 0.2.0 0.1.1 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. |

### 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` |   |