# Google Cloud Cloud Controls Partner V1beta Client - Class EkmMetadata (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 EkmMetadata.

Holds information needed by Mudbray to use partner EKMs for workloads.

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

## Namespace

Google \\ Cloud \\ CloudControlsPartner \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ekm_solution` | `int` The Cloud EKM partner. |
| `↳ ekm_endpoint_uri` | `string` Endpoint for sending requests to the EKM for key provisioning during Assured Workload creation. |

### getEkmSolution

The Cloud EKM partner.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [EkmSolution](https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmMetadata.EkmSolution). |

### setEkmSolution

The Cloud EKM partner.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [EkmSolution](https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmMetadata.EkmSolution). |

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

### getEkmEndpointUri

Endpoint for sending requests to the EKM for key provisioning during
Assured Workload creation.

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

### setEkmEndpointUri

Endpoint for sending requests to the EKM for key provisioning during
Assured Workload creation.

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

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