# Identity and Access Management (IAM) v3beta API - Class SearchTargetPolicyBindingsRequest (1.0.0-beta03)

1.0.0-beta03 (latest) 1.0.0-beta02

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

Reference documentation and code samples for the Identity and Access Management (IAM) v3beta API class SearchTargetPolicyBindingsRequest.

Request message for SearchTargetPolicyBindings method.

## Inheritance

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

## Implements

[IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchTargetPolicyBindingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchTargetPolicyBindingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchTargetPolicyBindingsRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest), [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)

## 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.Iam.V3Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta)

## Assembly

Google.Cloud.Iam.V3Beta.dll

## Constructors

### SearchTargetPolicyBindingsRequest()

    public SearchTargetPolicyBindingsRequest()

### SearchTargetPolicyBindingsRequest(SearchTargetPolicyBindingsRequest)

    public SearchTargetPolicyBindingsRequest(SearchTargetPolicyBindingsRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest` |

## Properties

### Filter

    public string Filter { get; set; }

Optional. Filtering currently only supports the kind of policies to return,
and must be in the format "policy_kind={policy_kind}".

If String is empty, bindings bound to all kinds of policies would be
returned.

The only supported values are the following:

- "policy_kind=PRINCIPAL_ACCESS_BOUNDARY",
- "policy_kind=ACCESS"

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

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of policy bindings to return. The service may
return fewer than this value.

The default value is 50. The maximum value is 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
`SearchTargetPolicyBindingsRequest` call. Provide this to retrieve the
subsequent page.

When paginating, all other parameters provided to
`SearchTargetPolicyBindingsRequest` must match the call that provided the
page token.

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

### Parent

    public string Parent { get; set; }

Required. The parent resource where this search will be performed. This
should be the nearest Resource Manager resource (project, folder, or
organization) to the target.

Format:

- `projects/{project_id}/locations/{location}`
- `projects/{project_number}/locations/{location}`
- `folders/{folder_id}/locations/{location}`
- `organizations/{organization_id}/locations/{location}`

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

### ParentAsFolderLocationName

    public FolderLocationName ParentAsFolderLocationName { get; set; }

[FolderLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.FolderLocationName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest#Google_Cloud_Iam_V3Beta_SearchTargetPolicyBindingsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.FolderLocationName` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest#Google_Cloud_Iam_V3Beta_SearchTargetPolicyBindingsRequest_Parent) resource name property.

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

### ParentAsOrganizationLocationName

    public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }

[OrganizationLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.OrganizationLocationName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest#Google_Cloud_Iam_V3Beta_SearchTargetPolicyBindingsRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.OrganizationLocationName` |   |

### ParentAsResourceName

    public IResourceName ParentAsResourceName { get; set; }

[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.SearchTargetPolicyBindingsRequest#Google_Cloud_Iam_V3Beta_SearchTargetPolicyBindingsRequest_Parent) resource name property.

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

### Target

    public string Target { get; set; }

Required. The target resource, which is bound to the policy in the binding.

Format:

- `//iam.googleapis.com/locations/global/workforcePools/POOL_ID`
- `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID`
- `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
- `//cloudresourcemanager.googleapis.com/projects/{project_number}`
- `//cloudresourcemanager.googleapis.com/folders/{folder_id}`
- `//cloudresourcemanager.googleapis.com/organizations/{organization_id}`

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