# Google Cloud Iap V1 Client - Class GetTunnelDestGroupRequest (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.3 1.4.5 1.3.4 1.2.3 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Iap V1 Client class GetTunnelDestGroupRequest.

The request to GetTunnelDestGroup.

Generated from protobuf message `google.cloud.iap.v1.GetTunnelDestGroupRequest`

## Namespace

Google \\ Cloud \\ Iap \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`. |

### getName

Required. Name of the TunnelDestGroup to be fetched.

In the following format:
`projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.

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

### setName

Required. Name of the TunnelDestGroup to be fetched.

In the following format:
`projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`. Please see IdentityAwareProxyAdminServiceClient::tunnelDestGroupName() for help formatting this field. |

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