memberships
Creates, updates, deletes, gets or lists a memberships resource.
Overview
| Name | memberships |
| Type | Resource |
| Id | google.recaptchaenterprise.memberships |
Fields
The following fields are returned by SELECT queries:
- list
| 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 (byte) | 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
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | projectsId, relatedaccountgroupsId | pageSize, pageToken | Get memberships in a group of related accounts. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
projectsId | string | |
relatedaccountgroupsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- list
Get memberships in a group of related accounts.
SELECT
name,
accountId,
hashedAccountId
FROM google.recaptchaenterprise.memberships
WHERE projectsId = '{{ projectsId }}' -- required
AND relatedaccountgroupsId = '{{ relatedaccountgroupsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;