# Google Cloud Parameter Manager V1 Client - Class GetParameterVersionRequest (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 GetParameterVersionRequest.

Message for getting a ParameterVersion

Generated from protobuf message `google.cloud.parametermanager.v1.GetParameterVersionRequest`

## Namespace

Google \\ Cloud \\ ParameterManager \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Required. Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Name of the resource in the format
`projects/*/locations/*/parameters/*/versions/*`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getView

Optional. View of the ParameterVersion.

In the default FULL view, all metadata \& payload associated with the
ParameterVersion will be returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [View](https://docs.cloud.google.com/php/docs/reference/cloud-parametermanager/latest/V1.View). |

### setView

Optional. View of the ParameterVersion.

In the default FULL view, all metadata \& payload associated with the
ParameterVersion will be returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [View](https://docs.cloud.google.com/php/docs/reference/cloud-parametermanager/latest/V1.View). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the resource in the format `projects/*/locations/*/parameters/*/versions/*`. Please see ParameterManagerClient::parameterVersionName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parametermanager/latest/V1.GetParameterVersionRequest` |   |