# Google Cloud Ids V1 Client - Class GetEndpointRequest (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.5.5 0.4.2 0.3.1 0.2.0 0.1.12 Reference documentation and code samples for the Google Cloud Ids V1 Client class GetEndpointRequest.

Generated from protobuf message `google.cloud.ids.v1.GetEndpointRequest`

## Namespace

Google \\ Cloud \\ Ids \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` |

### getName

Required. The name of the endpoint to retrieve.

Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`

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

### setName

Required. The name of the endpoint to retrieve.

Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` Please see IDSClient::endpointName() for help formatting this field. |

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