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

## Resource: DataSharingWithGoogleSetting

Message describing DataSharingWithGoogleSetting object

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "enablePreviewDataSharing": boolean, "enableDataSharing": boolean } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Name of the resource. Format:projects/{project}/locations/{location}/dataSharingWithGoogleSettings/{dataSharingWithGoogleSetting} |
| `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" }`. |
| `enablePreviewDataSharing` | `boolean` Optional. Whether data sharing should be enabled in Preview products. |
| `enableDataSharing` | `boolean` Optional. Whether data sharing should be enabled in GA products. |

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