# Google Cloud Discovery Engine V1 Client - Class WorkspaceConfig (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class WorkspaceConfig.

Config to store data store type configuration for workspace data

Generated from protobuf message `google.cloud.discoveryengine.v1.WorkspaceConfig`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` The Google Workspace data source. |
| `↳ dasher_customer_id` | `string` Obfuscated Dasher customer ID. |
| `↳ super_admin_service_account` | `string` Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. |
| `↳ super_admin_email_address` | `string` Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. |

### getType

The Google Workspace data source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.WorkspaceConfig.Type). |

### setType

The Google Workspace data source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.WorkspaceConfig.Type). |

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

### getDasherCustomerId

Obfuscated Dasher customer ID.

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

### setDasherCustomerId

Obfuscated Dasher customer ID.

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

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

### getSuperAdminServiceAccount

Optional. The super admin service account for the workspace that will be
used for access token generation. For now we only use it for Native Google
Drive connector data ingestion.

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

### setSuperAdminServiceAccount

Optional. The super admin service account for the workspace that will be
used for access token generation. For now we only use it for Native Google
Drive connector data ingestion.

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

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

### getSuperAdminEmailAddress

Optional. The super admin email address for the workspace that will be used
for access token generation. For now we only use it for Native Google Drive
connector data ingestion.

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

### setSuperAdminEmailAddress

Optional. The super admin email address for the workspace that will be used
for access token generation. For now we only use it for Native Google Drive
connector data ingestion.

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

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