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 \ V1Methods
__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: |
↳ 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: |
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.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
Returns | |
---|---|
Type | Description |
string |
setIamPolicyNamePrincipal
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
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIamPolicyUidPrincipal
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
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |