# Google Cloud Cloud Controls Partner V1beta Client - Class EkmConnections (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.0 0.2.2 0.1.4

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class EkmConnections.

The EKM connections associated with a workload

Generated from protobuf message `google.cloud.cloudcontrolspartner.v1beta.EkmConnections`

## Namespace

Google \\ Cloud \\ CloudControlsPartner \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections` |
| `↳ ekm_connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmConnection>` The EKM connections associated with the workload |

### getName

Identifier. Format:
`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`

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

### setName

Identifier. Format:
`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`

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

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

### getEkmConnections

The EKM connections associated with the workload

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmConnection>` |   |

### setEkmConnections

The EKM connections associated with the workload

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmConnection>` |

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