public sealed class PolicyBinding.Types.Target : IMessage<PolicyBinding.Types.Target>, IEquatable<PolicyBinding.Types.Target>, IDeepCloneable<PolicyBinding.Types.Target>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v3beta API class PolicyBinding.Types.Target.
Target is the full resource name of the resource to which the policy will be bound. Immutable once set.
Implements
IMessagePolicyBindingTypesTarget, IEquatablePolicyBindingTypesTarget, IDeepCloneablePolicyBindingTypesTarget, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.V3BetaAssembly
Google.Cloud.Iam.V3Beta.dll
Constructors
Target()
public Target()
Target(Target)
public Target(PolicyBinding.Types.Target other)
Parameter | |
---|---|
Name | Description |
other |
PolicyBindingTypesTarget |
Properties
HasPrincipalSet
public bool HasPrincipalSet { get; }
Gets whether the "principal_set" field is set
Property Value | |
---|---|
Type | Description |
bool |
PrincipalSet
public string PrincipalSet { get; set; }
Immutable. Full Resource Name used for principal access boundary policy bindings. The principal set must be directly parented by the policy binding's parent or same as the parent if the target is a project/folder/organization.
Examples:
- For binding's parented by an organization:
- Organization:
//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID
- Workforce Identity:
//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID
- Workspace Identity:
//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID
- Organization:
- For binding's parented by a folder:
- Folder:
//cloudresourcemanager.googleapis.com/folders/FOLDER_ID
- Folder:
- For binding's parented by a project:
- Project:
//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER
//cloudresourcemanager.googleapis.com/projects/PROJECT_ID
- Workload Identity Pool:
//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID
- Project:
Property Value | |
---|---|
Type | Description |
string |
TargetCase
public PolicyBinding.Types.Target.TargetOneofCase TargetCase { get; }
Property Value | |
---|---|
Type | Description |
PolicyBindingTypesTargetTargetOneofCase |