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.
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.
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
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eResourcePolicyMember\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v1 API, which is used for managing policy member strings of Google Cloud resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicyMember\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eResourcePolicyMember\u003c/code\u003e class is 3.4.0, with older versions available, including 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.4.0, 2.3.0, and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eIamPolicyNamePrincipal\u003c/code\u003e and \u003ccode\u003eIamPolicyUidPrincipal\u003c/code\u003e, which allow policy bindings to be applied to a resource by either a user assigned name or a unique system assigned ID respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourcePolicyMember\u003c/code\u003e has two constructors, one empty and another that takes another \u003ccode\u003eResourcePolicyMember\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]