Skip to main content

memberships

Creates, updates, deletes, gets or lists a memberships resource.

Overview

Namememberships
TypeResource
Idgoogle.recaptchaenterprise.memberships

Fields

NameDatatypeDescription
namestringRequired. Identifier. The resource name for this membership in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.
accountIdstringThe unique stable account identifier of the member. The identifier corresponds to an account_id provided in a previous CreateAssessment or AnnotateAssessment call.
hashedAccountIdstringDeprecated: use account_id instead. The unique stable hashed account identifier of the member. The identifier corresponds to a hashed_account_id provided in a previous CreateAssessment or AnnotateAssessment call.

Methods

NameAccessible byRequired ParamsDescription
listSELECTprojectsId, relatedaccountgroupsIdGet memberships in a group of related accounts.

SELECT examples

Get memberships in a group of related accounts.

SELECT
name,
accountId,
hashedAccountId
FROM google.recaptchaenterprise.memberships
WHERE projectsId = '{{ projectsId }}'
AND relatedaccountgroupsId = '{{ relatedaccountgroupsId }}';