Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class RelatedAccountGroupMembership.
A membership in a group of related accounts.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Identifier. The resource name for this membership in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.
↳ account_id
string
The unique stable account identifier of the member. The identifier corresponds to an account_id provided in a previous CreateAssessment or AnnotateAssessment call.
↳ hashed_account_id
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.
getName
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.
Returns
Type
Description
string
setName
Required. Identifier. The resource name for this membership in the format
projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAccountId
The unique stable account identifier of the member. The identifier
corresponds to an account_id provided in a previous CreateAssessment or
AnnotateAssessment call.
Returns
Type
Description
string
setAccountId
The unique stable account identifier of the member. The identifier
corresponds to an account_id provided in a previous CreateAssessment or
AnnotateAssessment call.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getHashedAccountId
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.
Returns
Type
Description
string
setHashedAccountId
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Recaptcha Enterprise V1 Client - Class RelatedAccountGroupMembership (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.RelatedAccountGroupMembership)\n- [2.1.2](/php/docs/reference/cloud-recaptcha-enterprise/2.1.2/V1.RelatedAccountGroupMembership)\n- [2.0.1](/php/docs/reference/cloud-recaptcha-enterprise/2.0.1/V1.RelatedAccountGroupMembership)\n- [1.17.2](/php/docs/reference/cloud-recaptcha-enterprise/1.17.2/V1.RelatedAccountGroupMembership)\n- [1.16.1](/php/docs/reference/cloud-recaptcha-enterprise/1.16.1/V1.RelatedAccountGroupMembership)\n- [1.15.0](/php/docs/reference/cloud-recaptcha-enterprise/1.15.0/V1.RelatedAccountGroupMembership)\n- [1.14.0](/php/docs/reference/cloud-recaptcha-enterprise/1.14.0/V1.RelatedAccountGroupMembership)\n- [1.13.0](/php/docs/reference/cloud-recaptcha-enterprise/1.13.0/V1.RelatedAccountGroupMembership)\n- [1.12.2](/php/docs/reference/cloud-recaptcha-enterprise/1.12.2/V1.RelatedAccountGroupMembership)\n- [1.8.0](/php/docs/reference/cloud-recaptcha-enterprise/1.8.0/V1.RelatedAccountGroupMembership)\n- [1.7.0](/php/docs/reference/cloud-recaptcha-enterprise/1.7.0/V1.RelatedAccountGroupMembership)\n- [1.6.0](/php/docs/reference/cloud-recaptcha-enterprise/1.6.0/V1.RelatedAccountGroupMembership)\n- [1.5.2](/php/docs/reference/cloud-recaptcha-enterprise/1.5.2/V1.RelatedAccountGroupMembership)\n- [1.4.2](/php/docs/reference/cloud-recaptcha-enterprise/1.4.2/V1.RelatedAccountGroupMembership)\n- [1.3.2](/php/docs/reference/cloud-recaptcha-enterprise/1.3.2/V1.RelatedAccountGroupMembership)\n- [1.2.6](/php/docs/reference/cloud-recaptcha-enterprise/1.2.6/V1.RelatedAccountGroupMembership) \nReference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class RelatedAccountGroupMembership.\n\nA membership in a group of related accounts.\n\nGenerated from protobuf message `google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ RecaptchaEnterprise \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Identifier. The resource name for this membership in the format\n`projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`.\n\n### setName\n\nRequired. Identifier. The resource name for this membership in the format\n`projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`.\n\n### getAccountId\n\nThe unique stable account identifier of the member. The identifier\ncorresponds to an `account_id` provided in a previous `CreateAssessment` or\n`AnnotateAssessment` call.\n\n### setAccountId\n\nThe unique stable account identifier of the member. The identifier\ncorresponds to an `account_id` provided in a previous `CreateAssessment` or\n`AnnotateAssessment` call.\n\n### getHashedAccountId\n\nDeprecated: use `account_id` instead.\n\nThe unique stable hashed account identifier of the member. The identifier\ncorresponds to a `hashed_account_id` provided in a previous\n`CreateAssessment` or `AnnotateAssessment` call.\n\n### setHashedAccountId\n\nDeprecated: use `account_id` instead.\n\nThe unique stable hashed account identifier of the member. The identifier\ncorresponds to a `hashed_account_id` provided in a previous\n`CreateAssessment` or `AnnotateAssessment` call."]]