# Google Cloud Network Security V1 Client - Class GrpcEndpoint (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class GrpcEndpoint.

Specification of the GRPC Endpoint.

Generated from protobuf message `google.cloud.networksecurity.v1.GrpcEndpoint`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ target_uri` | `string` Required. The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". |

### getTargetUri

Required. The target URI of the gRPC endpoint. Only UDS path is supported,
and should start with "unix:".

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

### setTargetUri

Required. The target URI of the gRPC endpoint. Only UDS path is supported,
and should start with "unix:".

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

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