v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13188889.6 KB
projects

Search group memberships related to a given account.

post/v1/{+project}/relatedaccountgroupmemberships:search

Path parameters

projectstring required

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

accountIdstring

Optional. The unique stable account identifier used to search connections. The identifier should correspond to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

hashedAccountIdstring byte

Optional. Deprecated: use account_id instead. The unique stable hashed account identifier used to search connections. The identifier should correspond to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call. Either hashed_account_id or account_id must be set, but not both.

pageSizeinteger

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.

pageTokenstring

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

Response

Successful response