analyticsadmin.accounts.getDataSharingSettings
Retrieve an account's data sharing settings to audit or verify how data is shared. Fetches the singleton settings resource for a given account and returns it as JSON.
Instructions
Get data sharing settings on an account. Data sharing settings are singletons [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: delete, get, list, patch, provisionAccountTicket, runAccessReport, searchChangeHistoryEvents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: `accounts/1000/dataSharingSettings` | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| sharingWithOthersEnabled | No | ||
| sharingWithGoogleSupportEnabled | No | ||
| sharingWithGoogleAnySalesEnabled | No | ||
| sharingWithGoogleProductsEnabled | No | ||
| sharingWithGoogleAssignedSalesEnabled | No |