Method: properties.accessBindings.batchGet

  • Retrieves information about multiple access bindings associated with a Google Analytics 4 account or property.

  • Uses the batchGet method to efficiently fetch data for up to 1000 access bindings in a single request.

  • Requires specifying the parent account or property and providing a list of access binding names to retrieve.

  • The API employs gRPC Transcoding for its URL structure and needs appropriate authorization scopes for access.

  • Returns a BatchGetAccessBindingsResponse containing details about the requested access bindings upon successful execution.

Gets information about multiple access bindings to an account or property.

HTTP request

GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchGet

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property}

Query parameters

Parameters
names[]

string

Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of BatchGetAccessBindingsResponse.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/analytics.manage.users.readonly
  • https://www.googleapis.com/auth/analytics.manage.users