Organization Policy v2 API - Class CreateCustomConstraintRequest (2.7.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
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