autessa.googleAnalytics
8 methods in the googleAnalytics namespace.
autessa.googleAnalytics.connectors.allREAD
autessa.googleAnalytics.connectors.all()List every Google Analytics connector you can access in your company.
Returns all Google Analytics connectors in your current company that you have at least READ access to, newest-relevant first. Use a connector's connectorId with the other googleAnalytics.connectors.* methods. Credentials are never included in the returned DTOs.
Request fields
No fields.
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
connectors- Type
- GoogleAnalyticsConnectorDto[]
- Description
autessa.googleAnalytics.connectors.bigquery.datasetsREAD
autessa.googleAnalytics.connectors.bigquery.datasets({ connectorId, projectId })List the BigQuery datasets in a project the connected Google account can access.
Returns the BigQuery datasets inside the given projectId, as visible to the Google account linked to this Google Analytics connector. Use a returned datasetId with connectors.bigquery.tables to list its tables. Read-only; touches nothing.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
- Name
projectId- Type
- string
- Description
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
datasets- Type
- BigQueryDatasetDto[]
- Description
autessa.googleAnalytics.connectors.bigquery.projectsREAD
autessa.googleAnalytics.connectors.bigquery.projects({ connectorId })List the BigQuery projects the connected Google account can access.
Returns every BigQuery project visible to the Google account linked to this Google Analytics connector. Use a returned projectId with connectors.bigquery.datasets to drill into its datasets. Read-only; touches nothing.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
projects- Type
- BigQueryProjectDto[]
- Description
autessa.googleAnalytics.connectors.bigquery.tablesREAD
autessa.googleAnalytics.connectors.bigquery.tables({ connectorId, projectId, datasetId })List the BigQuery tables in a dataset the connected Google account can access.
Returns the BigQuery tables and views inside the given datasetId of projectId, as visible to the Google account linked to this Google Analytics connector. Read-only; touches nothing.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
- Name
projectId- Type
- string
- Description
- Name
datasetId- Type
- string
- Description
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
tables- Type
- BigQueryTableDto[]
- Description
autessa.googleAnalytics.connectors.deleteMUTATE
autessa.googleAnalytics.connectors.delete({ connectorId })Permanently delete a Google Analytics connector and its stored credential.
Removes the Google Analytics connector for connectorId, revoking every tool and script that relied on it. The stored credential is destroyed and cannot be recovered — reconnecting requires the full auth flow again. Requires WRITE (owner-level) access.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
deleted- Type
- boolean
- Description
autessa.googleAnalytics.connectors.getREAD
autessa.googleAnalytics.connectors.get({ connectorId })Fetch one Google Analytics connector by id.
Returns the full Google Analytics connector for connectorId, including its sharing/active state and the linked account metadata — but never the stored credential. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
connector- Type
- GoogleAnalyticsConnectorDto
- Description
autessa.googleAnalytics.connectors.updateMUTATE
autessa.googleAnalytics.connectors.update({ connectorId, connectorName, isActive })Rename a Google Analytics connector or toggle whether it is active.
Applies a sparse patch to the Google Analytics connector for connectorId: send connectorName to rename it, isActive to enable/disable it. This is a partial update — omit a field to leave it unchanged; sending null or an empty name is ignored. Does not touch the stored credential or sharing. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string (opaque id)
- Description
- References external connector by opaque id.
- Name
connectorName- Type
- string
- Description
- Name
isActive- Type
- boolean
- Description
Response fields
- Name
errors- Type
- string[]
- Description
- Name
deprecationWarnings- Type
- string[]
- Description
- Name
sessionToken- Type
- string
- Description
- Name
connector- Type
- GoogleAnalyticsConnectorDto
- Description