# Google Cloud Identity and Access Management (IAM) v1 API - Class ResourcePolicyMember (3.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/3.4.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/3.3.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/3.2.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/3.1.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/3.0.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/2.4.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/2.3.0/Google.Cloud.Iam.V1.ResourcePolicyMember)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/2.2.0/Google.Cloud.Iam.V1.ResourcePolicyMember)

    public sealed class ResourcePolicyMember : IMessage<ResourcePolicyMember>, IEquatable<ResourcePolicyMember>, IDeepCloneable<ResourcePolicyMember>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v1 API class ResourcePolicyMember.

Output-only policy member strings of a Google Cloud resource's built-in
identity.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Iam.V1.dll

## Constructors

### ResourcePolicyMember()

    public ResourcePolicyMember()

### ResourcePolicyMember(ResourcePolicyMember)

    public ResourcePolicyMember(ResourcePolicyMember other)

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

## Properties

### IamPolicyNamePrincipal

    public string IamPolicyNamePrincipal { get; set; }

IAM policy binding member referring to a Google Cloud resource by
user-assigned name (<https://google.aip.dev/122>). If a resource is deleted
and recreated with the same name, the binding will be applicable to the new
resource.

Example:
`principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`

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

### IamPolicyUidPrincipal

    public string IamPolicyUidPrincipal { get; set; }

IAM policy binding member referring to a Google Cloud resource by
system-assigned unique identifier (<https://google.aip.dev/148#uid>). If a
resource is deleted and recreated with the same name, the binding will not
be applicable to the new resource

Example:
`principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`

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