# Google Cloud Location Finder V1 Client - Class GetCloudLocationRequest (0.2.0)

0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud Location Finder V1 Client class GetCloudLocationRequest.

Message for getting a cloud location.

Generated from protobuf message `google.cloud.locationfinder.v1.GetCloudLocationRequest`

## Namespace

Google \\ Cloud \\ LocationFinder \\ 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 CloudLocationFinderClient::cloudLocationName() for help formatting this field. |

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