# REST Resource: projects.locations.geminiGcpEnablementSettings

- [Resource: GeminiGcpEnablementSetting](https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#GeminiGcpEnablementSetting)
  - [JSON representation](https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#GeminiGcpEnablementSetting.SCHEMA_REPRESENTATION)
- [WebGroundingType](https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#WebGroundingType)
- [Methods](https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#METHODS_SUMMARY)

## Resource: GeminiGcpEnablementSetting

Message describing GeminiGcpEnablementSetting object

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "enableCustomerDataSharing": boolean, "disableWebGrounding": boolean, "webGroundingType": enum (`https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#WebGroundingType`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Name of the resource. Format:projects/{project}/locations/{location}/geminiGcpEnablementSettings/{geminiGcpEnablementSetting} |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. \[Output only\] Create time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. \[Output only\] Update time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels` | `map (key: string, value: string)` Optional. Labels as key value pairs. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `enableCustomerDataSharing` | `boolean` Optional. Not implemented. |
| `disableWebGrounding` | `boolean` Optional. Whether web grounding should be disabled. |
| `webGroundingType` | ``enum (`https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings#WebGroundingType`)`` Optional. Web grounding type. |

## WebGroundingType

Web grounding type.

| Enums ||
|---|---|
| `WEB_GROUNDING_TYPE_UNSPECIFIED` | Unspecified grounding. |
| `GROUNDING_WITH_GOOGLE_SEARCH` | Grounding with Google Search. |
| `WEB_GROUNDING_FOR_ENTERPRISE` | Grounding with Google Search for Enterprise. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings/create` | Creates a new GeminiGcpEnablementSetting in a given project and location. |
| ### `https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings/delete` | Deletes a single GeminiGcpEnablementSetting. |
| ### `https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings/get` | Gets details of a single GeminiGcpEnablementSetting. |
| ### `https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings/list` | Lists GeminiGcpEnablementSettings in a given project and location. |
| ### `https://docs.cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.geminiGcpEnablementSettings/patch` | Updates the parameters of a single GeminiGcpEnablementSetting. |