Reference documentation and code samples for the Google API Common Protos V1 Client class ResourcePolicyMember.
Output-only policy member strings of a Google Cloud resource's built-in
identity.
Generated from protobuf message google.iam.v1.ResourcePolicyMember
Namespace
Google \ Cloud \ Iam \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ iam_policy_name_principal
string
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
↳ iam_policy_uid_principal
string
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
getIamPolicyNamePrincipal
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
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
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
Returns
Type
Description
string
setIamPolicyUidPrincipal
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
[[["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-28 UTC."],[],[],null,["# Google API Common Protos V1 Client - Class ResourcePolicyMember (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.ResourcePolicyMember)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Cloud.Iam.V1.ResourcePolicyMember)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Cloud.Iam.V1.ResourcePolicyMember)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Cloud.Iam.V1.ResourcePolicyMember)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Cloud.Iam.V1.ResourcePolicyMember)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Cloud.Iam.V1.ResourcePolicyMember) \nReference documentation and code samples for the Google API Common Protos V1 Client class ResourcePolicyMember.\n\nOutput-only policy member strings of a Google Cloud resource's built-in\nidentity.\n\nGenerated from protobuf message `google.iam.v1.ResourcePolicyMember`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iam \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIamPolicyNamePrincipal\n\nIAM policy binding member referring to a Google Cloud resource by\nuser-assigned name (\u003chttps://google.aip.dev/122\u003e). If a resource is deleted\nand recreated with the same name, the binding will be applicable to the new\nresource.\n\nExample:\n`principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`\n\n### setIamPolicyNamePrincipal\n\nIAM policy binding member referring to a Google Cloud resource by\nuser-assigned name (\u003chttps://google.aip.dev/122\u003e). If a resource is deleted\nand recreated with the same name, the binding will be applicable to the new\nresource.\n\nExample:\n`principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`\n\n### getIamPolicyUidPrincipal\n\nIAM policy binding member referring to a Google Cloud resource by\nsystem-assigned unique identifier (\u003chttps://google.aip.dev/148#uid\u003e). If a\nresource is deleted and recreated with the same name, the binding will not\nbe applicable to the new resource\nExample:\n`principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`\n\n### setIamPolicyUidPrincipal\n\nIAM policy binding member referring to a Google Cloud resource by\nsystem-assigned unique identifier (\u003chttps://google.aip.dev/148#uid\u003e). If a\nresource is deleted and recreated with the same name, the binding will not\nbe applicable to the new resource\nExample:\n`principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`"]]