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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCreateCustomConstraintRequest\u003c/code\u003e class within the Organization Policy v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCustomConstraintRequest\u003c/code\u003e class is used to send a request to the \u003ccode\u003eCreateCustomConstraint\u003c/code\u003e method, allowing the creation of custom constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe current version of this documentation is 2.6.0, with version 2.7.0 as the latest version available, and the document lists previous versions down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires parameters such as \u003ccode\u003eParent\u003c/code\u003e, in order to set the name of the organization for which the constraint will be set, as well as the \u003ccode\u003eCustomConstraint\u003c/code\u003e itself.\u003c/p\u003e\n"]]],[],null,[]]