# Google Cloud BeyondCorp Client Gateways V1 Client - Class GetClientGatewayRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.5.0 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp Client Gateways V1 Client class GetClientGatewayRequest.

Message for getting a ClientGateway.

Generated from protobuf message `google.cloud.beyondcorp.clientgateways.v1.GetClientGatewayRequest`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ ClientGateways \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of the resource |

### getName

Required. Name of the resource

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

### setName

Required. Name of the resource

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the resource Please see ClientGatewaysServiceClient::clientGatewayName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-beyondcorp-clientgateways/latest/V1.GetClientGatewayRequest` |   |