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

Contains metadata around a Cloud Controls Partner Customer

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

## 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}` |
| `↳ display_name` | `string` Required. Display name for the customer |
| `↳ customer_onboarding_state` | `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.CustomerOnboardingState` Output only. Container for customer onboarding steps |
| `↳ is_onboarded` | `bool` Output only. Indicates whether a customer is fully onboarded |
| `↳ organization_domain` | `string` Output only. The customer organization domain, extracted from CRM Organization's display_name field. e.g. "google.com" |

### getName

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

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

### setName

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

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

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

### getDisplayName

Required. Display name for the customer

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

### setDisplayName

Required. Display name for the customer

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

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

### getCustomerOnboardingState

Output only. Container for customer onboarding steps

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.CustomerOnboardingState|null` |   |

### hasCustomerOnboardingState

### clearCustomerOnboardingState

### setCustomerOnboardingState

Output only. Container for customer onboarding steps

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

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

### getIsOnboarded

Output only. Indicates whether a customer is fully onboarded

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIsOnboarded

Output only. Indicates whether a customer is fully onboarded

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

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

### getOrganizationDomain

Output only. The customer organization domain, extracted from
CRM Organization's display_name field. e.g. "google.com"

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

### setOrganizationDomain

Output only. The customer organization domain, extracted from
CRM Organization's display_name field. e.g. "google.com"

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

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