Method: projects.relatedaccountgroupmemberships.search

Search group memberships related to a given account.

HTTP request

POST https://recaptchaenterprise.googleapis.com/v1/{project=projects/*}/relatedaccountgroupmemberships:search

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Required. The name of the project to search related account group memberships from. Specify the project name in the following format: "projects/{project}".

Request body

The request body contains data with the following structure:

JSON representation
{
  "hashedAccountId": string,
  "pageSize": integer,
  "pageToken": string
}
Fields
hashedAccountId

string (bytes format)

Optional. The unique stable hashed user identifier we should search connections to. The identifier should correspond to a hashedAccountId provided in a previous assessments.create or assessments.annotate call.

A base64-encoded string.

pageSize

integer

Optional. The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 50 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

pageToken

string

Optional. A page token, received from a previous relatedaccountgroupmemberships.search call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to relatedaccountgroupmemberships.search must match the call that provided the page token.

Response body

If successful, the response body contains data with the following structure:

The response to a relatedaccountgroupmemberships.search call.

JSON representation
{
  "relatedAccountGroupMemberships": [
    {
      object (RelatedAccountGroupMembership)
    }
  ],
  "nextPageToken": string
}
Fields
relatedAccountGroupMemberships[]

object (RelatedAccountGroupMembership)

The queried memberships.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the project resource:

  • recaptchaenterprise.relatedaccountgroupmemberships.list

For more information, see the IAM documentation.