public sealed class CreateCustomConstraintRequest : IMessage<CreateCustomConstraintRequest>, IEquatable<CreateCustomConstraintRequest>, IDeepCloneable<CreateCustomConstraintRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class CreateCustomConstraintRequest.
The request sent to the [CreateCustomConstraintRequest] [google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint] method.
Implements
IMessageCreateCustomConstraintRequest, IEquatableCreateCustomConstraintRequest, IDeepCloneableCreateCustomConstraintRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
CreateCustomConstraintRequest()
public CreateCustomConstraintRequest()
CreateCustomConstraintRequest(CreateCustomConstraintRequest)
public CreateCustomConstraintRequest(CreateCustomConstraintRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateCustomConstraintRequest |
Properties
CustomConstraint
public CustomConstraint CustomConstraint { get; set; }
Required. Custom constraint to create.
Property Value | |
---|---|
Type | Description |
CustomConstraint |
Parent
public string Parent { get; set; }
Required. Must be in the following form:
organizations/{organization_id}
Property Value | |
---|---|
Type | Description |
string |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |