memberships
Creates, updates, deletes, gets or lists a memberships
resource.
Overview
Name | memberships |
Type | Resource |
Id | google.recaptchaenterprise.memberships |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Identifier. The resource name for this membership in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership} . |
accountId | string | The unique stable account identifier of the member. The identifier corresponds to an account_id provided in a previous CreateAssessment or AnnotateAssessment call. |
hashedAccountId | string | Deprecated: 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
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | projectsId, relatedaccountgroupsId | Get 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 }}';