Google Analytics Admin API (analyticsadmin:v1alpha)

2021-12-02

5 new methods

Additions

    Methods
  • analyticsadmin.properties.dataStreams.get

      Scopes:

    • https://www.googleapis.com/auth/analytics.edit
    • https://www.googleapis.com/auth/analytics.readonly
    • Description: Lookup for a single DataStream.

      Path: v1alpha/{+name}

      Parameter Order: name

      HTTP Method: GET

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}

      Parameters:

        name

          Location: path

          Required: Yes

          Pattern: ^properties/[^/]+/dataStreams/[^/]+$

          Description: Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678

          Type: string

  • analyticsadmin.properties.dataStreams.patch

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}

      Path: v1alpha/{+name}

      Description: Updates a DataStream on a property.

      Scopes: https://www.googleapis.com/auth/analytics.edit

      Parameters:

        name

          Required: Yes

          Location: path

          Pattern: ^properties/[^/]+/dataStreams/[^/]+$

          Type: string

          Description: Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"

        updateMask

          Type: string

          Location: query

          Format: google-fieldmask

          Description: Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

      HTTP Method: PATCH

      Parameter Order: name

  • analyticsadmin.properties.dataStreams.create

      Path: v1alpha/{+parent}/dataStreams

      Scopes: https://www.googleapis.com/auth/analytics.edit

      HTTP Method: POST

      Parameter Order: parent

      Description: Creates a DataStream.

      Parameters:

        parent

          Pattern: ^properties/[^/]+$

          Required: Yes

          Location: path

          Type: string

          Description: Required. Example format: properties/1234

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams

  • analyticsadmin.properties.dataStreams.delete

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/analytics.edit

      Path: v1alpha/{+name}

      Parameters:

        name

          Pattern: ^properties/[^/]+/dataStreams/[^/]+$

          Required: Yes

          Location: path

          Description: Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678

          Type: string

      Description: Deletes a DataStream on a property.

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}

      HTTP Method: DELETE

  • analyticsadmin.properties.dataStreams.list

      Parameter Order: parent

      Parameters:

        pageToken

          Description: A page token, received from a previous `ListDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataStreams` must match the call that provided the page token.

          Location: query

          Type: string

        pageSize

          Description: The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).

          Location: query

          Type: integer

          Format: int32

        parent

          Location: path

          Type: string

          Pattern: ^properties/[^/]+$

          Description: Required. Example format: properties/1234

          Required: Yes

      HTTP Method: GET

      Description: Lists DataStreams on a property.

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams

      Path: v1alpha/{+parent}/dataStreams

      Scopes:

    • https://www.googleapis.com/auth/analytics.edit
    • https://www.googleapis.com/auth/analytics.readonly