2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public sealed class SearchRelatedAccountGroupMembershipsRequest : IMessage<SearchRelatedAccountGroupMembershipsRequest>, IEquatable<SearchRelatedAccountGroupMembershipsRequest>, IDeepCloneable<SearchRelatedAccountGroupMembershipsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class SearchRelatedAccountGroupMembershipsRequest.

The request message to search related account group memberships.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SearchRelatedAccountGroupMembershipsRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchRelatedAccountGroupMembershipsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.SearchRelatedAccountGroupMembershipsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchRelatedAccountGroupMembershipsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.SearchRelatedAccountGroupMembershipsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchRelatedAccountGroupMembershipsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.SearchRelatedAccountGroupMembershipsRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.RecaptchaEnterprise.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1)

## Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

## Constructors

### SearchRelatedAccountGroupMembershipsRequest()

    public SearchRelatedAccountGroupMembershipsRequest()

### SearchRelatedAccountGroupMembershipsRequest(SearchRelatedAccountGroupMembershipsRequest)

    public SearchRelatedAccountGroupMembershipsRequest(SearchRelatedAccountGroupMembershipsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.SearchRelatedAccountGroupMembershipsRequest` |

## Properties

### AccountId

    public string AccountId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HashedAccountId

    [Obsolete]
    public ByteString HashedAccountId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### PageSize

    public int PageSize { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### PageToken

    public string PageToken { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Project

    public string Project { get; set; }

Required. The name of the project to search related account group
memberships from. Specify the project name in the following format:
`projects/{project}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ProjectAsProjectName

    public ProjectName ProjectAsProjectName { get; set; }

[ProjectName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html)-typed view over the [Project](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.SearchRelatedAccountGroupMembershipsRequest#Google_Cloud_RecaptchaEnterprise_V1_SearchRelatedAccountGroupMembershipsRequest_Project) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` |   |