Analytics Hub API (analyticshub:v1)

2025-08-10

7 new methods

Additions

    Methods
  • analyticshub.projects.locations.dataExchanges.queryTemplates.create

      Path : v1/{+parent}/queryTemplates

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$

          Location : path

          Required : Yes

          Type : string

        queryTemplateId

          Description : Required. The ID of the QueryTemplate to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Creates a new QueryTemplate

  • analyticshub.projects.locations.dataExchanges.queryTemplates.get

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Gets a QueryTemplate

  • analyticshub.projects.locations.dataExchanges.queryTemplates.list

      Path : v1/{+parent}/queryTemplates

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. Page token, returned by a previous call, to request the next page of results.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Lists all QueryTemplates in a given project and location.

  • analyticshub.projects.locations.dataExchanges.queryTemplates.patch

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Optional. Field mask specifies the fields to update in the query template resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Updates an existing QueryTemplate

  • analyticshub.projects.locations.dataExchanges.queryTemplates.delete

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Deletes a query template.

  • analyticshub.projects.locations.dataExchanges.queryTemplates.submit

      Path : v1/{+name}:submit

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:submit

      HTTP Method : POST

      Parameters :

        name

          Description : Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Submits a query template for approval.

  • analyticshub.projects.locations.dataExchanges.queryTemplates.approve

      Path : v1/{+name}:approve

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:approve

      HTTP Method : POST

      Parameters :

        name

          Description : Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.

          Pattern : ^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/bigquery
    • https://www.googleapis.com/auth/cloud-platform
    • Description : Approves a query template.