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

Message describing Partner resource

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

## Namespace

Google \\ Cloud \\ CloudControlsPartner \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the partner. Format: `organizations/{organization}/locations/{location}/partner` Example: "organizations/123456/locations/us-central1/partner" |
| `↳ skus` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.Sku>` List of SKUs the partner is offering |
| `↳ ekm_solutions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.EkmMetadata>` List of Google Cloud supported EKM partners supported by the partner |
| `↳ operated_cloud_regions` | `string[]` List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud regions found here: <https://cloud.google.com/compute/docs/regions-zones> |
| `↳ partner_project_id` | `string` Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs for Partners. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Time the resource was created |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The last time the resource was updated |

### getName

Identifier. The resource name of the partner.

Format: `organizations/{organization}/locations/{location}/partner`
Example: "organizations/123456/locations/us-central1/partner"

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

### setName

Identifier. The resource name of the partner.

Format: `organizations/{organization}/locations/{location}/partner`
Example: "organizations/123456/locations/us-central1/partner"

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

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

### getSkus

List of SKUs the partner is offering

| **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.Sku>` |   |

### setSkus

List of SKUs the partner is offering

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

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

### getEkmSolutions

List of Google Cloud supported EKM partners supported by the partner

| **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.EkmMetadata>` |   |

### setEkmSolutions

List of Google Cloud supported EKM partners supported by the partner

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

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

### getOperatedCloudRegions

List of Google Cloud regions that the partner sells services to customers.

Valid Google Cloud regions found here:
<https://cloud.google.com/compute/docs/regions-zones>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setOperatedCloudRegions

List of Google Cloud regions that the partner sells services to customers.

Valid Google Cloud regions found here:
<https://cloud.google.com/compute/docs/regions-zones>

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

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

### getPartnerProjectId

Google Cloud project ID in the partner's Google Cloud organization for
receiving enhanced Logs for Partners.

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

### setPartnerProjectId

Google Cloud project ID in the partner's Google Cloud organization for
receiving enhanced Logs for Partners.

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

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

### getCreateTime

Output only. Time the resource was created

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Time the resource was created

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. The last time the resource was updated

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The last time the resource was updated

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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