# Google Cloud Network Security V1 Client - Class ConnectedEndpointGroup (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 ConnectedEndpointGroup.

An endpoint group connected to this deployment group.

Generated from protobuf message `google.cloud.networksecurity.v1.InterceptDeploymentGroup.ConnectedEndpointGroup`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ InterceptDeploymentGroup

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The connected endpoint group's resource name, for example: `projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See <https://google.aip.dev/124>. |

### getName

Output only. The connected endpoint group's resource name, for example:
`projects/123456789/locations/global/interceptEndpointGroups/my-eg`.

See <https://google.aip.dev/124>.

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

### setName

Output only. The connected endpoint group's resource name, for example:
`projects/123456789/locations/global/interceptEndpointGroups/my-eg`.

See <https://google.aip.dev/124>.

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

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