Organization Policy v2 API - Class CreateCustomConstraintRequest (2.3.0)

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.

Inheritance

object > CreateCustomConstraintRequest

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

CreateCustomConstraintRequest()

public CreateCustomConstraintRequest()

CreateCustomConstraintRequest(CreateCustomConstraintRequest)

public CreateCustomConstraintRequest(CreateCustomConstraintRequest other)
Parameter
NameDescription
otherCreateCustomConstraintRequest

Properties

CustomConstraint

public CustomConstraint CustomConstraint { get; set; }

Required. Custom constraint to create.

Property Value
TypeDescription
CustomConstraint

Parent

public string Parent { get; set; }

Required. Must be in the following form:

  • organizations/{organization_id}
Property Value
TypeDescription
string

ParentAsOrganizationName

public OrganizationName ParentAsOrganizationName { get; set; }

OrganizationName-typed view over the Parent resource name property.

Property Value
TypeDescription
OrganizationName