# CustomerSettings

- [JSON representation](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#SCHEMA_REPRESENTATION)
- [VPCSettings](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings)
  - [JSON representation](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings.SCHEMA_REPRESENTATION)
- [AuditLoggingSettings](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings)
  - [JSON representation](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings.SCHEMA_REPRESENTATION)

Represents settings at a customer level.

| JSON representation |
|---|
| ``` { "vpcSettings": { object (`https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings`) }, "auditLoggingSettings": { object (`https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings`) } } ``` |

| Fields ||
|---|---|
| `vpcSettings` | ``object (`https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings`)`` VPC SC settings for the customer. If updateMask is empty then this field will be updated based on settings.updateCustomer request. |
| `auditLoggingSettings` | ``object (`https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings`)`` Audit Logging settings for the customer. If updateMask is empty then this field will be updated based on settings.updateCustomer request. |

## VPCSettings

| JSON representation |
|---|
| ``` { "project": string } ``` |

| Fields ||
|---|---|
| `project` | `string` The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{projectId} |

## AuditLoggingSettings

Represents the settings for Cloud audit logging

| JSON representation |
|---|
| ``` { "project": string, "logAdminReadActions": boolean, "logDataWriteActions": boolean, "logDataReadActions": boolean } ``` |

| Fields ||
|---|---|
| `project` | `string` The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{projectId} |
| `logAdminReadActions` | `boolean` Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. |
| `logDataWriteActions` | `boolean` Indicates whether audit logging is on/off for data access write APIs i.e. items.index etc. |
| `logDataReadActions` | `boolean` Indicates whether audit logging is on/off for data access read APIs i.e. items.list, items.get etc. |