Skip to main content

autessa.connectors.googleAnalytics

8 methods in the connectors.googleAnalytics namespace.

autessa.connectors.googleAnalytics.allREAD

autessa.connectors.googleAnalytics.all({ pageSize, pageToken })

List every Google Analytics connector you can access in your current company.

List every Google Analytics connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Google Analytics connector methods. Stored credentials are never included.

Request fields

  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    connectors
    Type
    GoogleAnalyticsConnectorDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.googleAnalytics.bigqueryDatasetsREAD

autessa.connectors.googleAnalytics.bigqueryDatasets({ connectorId, projectId, pageSize, pageToken })

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.googleAnalytics.bigqueryTables to list its tables. Read-only; touches nothing.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    datasets
    Type
    BigQueryDatasetDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.googleAnalytics.bigqueryProjectsREAD

autessa.connectors.googleAnalytics.bigqueryProjects({ connectorId, pageSize, pageToken })

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.googleAnalytics.bigqueryDatasets to drill into its datasets. Read-only; touches nothing.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    projects
    Type
    BigQueryProjectDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.googleAnalytics.bigqueryTablesREAD

autessa.connectors.googleAnalytics.bigqueryTables({ connectorId, projectId, datasetId, pageSize, pageToken })

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
    Description
  • Name
    projectId
    Type
    string
    Description
  • Name
    datasetId
    Type
    string
    Description
  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    tables
    Type
    BigQueryTableDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.googleAnalytics.deleteMUTATE

autessa.connectors.googleAnalytics.delete({ connectorId })

Permanently delete a Google Analytics connector and its stored credential.

Permanently delete a Google Analytics connector and its stored credential. Removes the 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 OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    deleted
    Type
    boolean
    Description

autessa.connectors.googleAnalytics.getREAD

autessa.connectors.googleAnalytics.get({ connectorId })

Fetch one Google Analytics connector by id.

Fetch one Google Analytics connector by id. Returns the full connector for connectorId — including its linked account, GA4 properties, and sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    connector
    Type
    GoogleAnalyticsConnectorDto
    Description

autessa.connectors.googleAnalytics.shareMUTATE

autessa.connectors.googleAnalytics.share({ connectorId, level, accessLevel, usersToAdd, usersToRemove })

Change who in your company can use a Google Analytics connector.

Change who in your company can use a Google Analytics connector. level=PRIVATE keeps it to the owner; level=COMPANY grants everyone in the company the given accessLevel; level=SPECIFIC_MEMBER shares with named users — add them in usersToAdd and revoke via usersToRemove (each a UserShareWrapper). accessLevel applies to COMPANY sharing. Sharing lets other members' tools and scripts use the connector; the credential itself is never exposed. Requires ADMIN access. Returns the connector with its updated sharing state.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersToAdd
    Type
    UserShareWrapper[]
    Description
  • Name
    usersToRemove
    Type
    UserShareWrapper[]
    Description

Response fields

  • Name
    connector
    Type
    GoogleAnalyticsConnectorDto
    Description

autessa.connectors.googleAnalytics.updateMUTATE

autessa.connectors.googleAnalytics.update({ connectorId, connectorName, isActive })

Rename a Google Analytics connector or toggle whether it is active.

Rename a Google Analytics connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    connectorName
    Type
    string
    Description
  • Name
    isActive
    Type
    boolean
    Description

Response fields

  • Name
    connector
    Type
    GoogleAnalyticsConnectorDto
    Description