public sealed class CreateAccessPolicyRequest : IMessage<CreateAccessPolicyRequest>, IEquatable<CreateAccessPolicyRequest>, IDeepCloneable<CreateAccessPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class CreateAccessPolicyRequest.
Request message for CreateAccessPolicy method.
Implements
IMessageCreateAccessPolicyRequest, IEquatableCreateAccessPolicyRequest, IDeepCloneableCreateAccessPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.V3BetaAssembly
Google.Cloud.Iam.V3Beta.dll
Constructors
CreateAccessPolicyRequest()
public CreateAccessPolicyRequest()CreateAccessPolicyRequest(CreateAccessPolicyRequest)
public CreateAccessPolicyRequest(CreateAccessPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAccessPolicyRequest |
Properties
AccessPolicy
public AccessPolicy AccessPolicy { get; set; }Required. The access policy to create.
| Property Value | |
|---|---|
| Type | Description |
AccessPolicy |
|
AccessPolicyId
public string AccessPolicyId { get; set; }Required. The ID to use for the access policy, which will become the final component of the access policy's resource name.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.
This value must be unique among all access policies with the same parent.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The parent resource where this access policy will be created.
Format:
projects/{project_id}/locations/{location}
projects/{project_number}/locations/{location}
folders/{folder_id}/locations/{location}
organizations/{organization_id}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsFolderLocationName
public FolderLocationName ParentAsFolderLocationName { get; set; }FolderLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
FolderLocationName |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ParentAsOrganizationLocationName
public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }OrganizationLocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
OrganizationLocationName |
|
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }IResourceName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
ValidateOnly
public bool ValidateOnly { get; set; }Optional. If set, validate the request and preview the creation, but do not actually post it.
| Property Value | |
|---|---|
| Type | Description |
bool |
|