public sealed class AlternatePolicySpec : IMessage<AlternatePolicySpec>, IEquatable<AlternatePolicySpec>, IDeepCloneable<AlternatePolicySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class AlternatePolicySpec.
Similar to PolicySpec but with an extra 'launch' field for launch reference.
The PolicySpec here is specific for dry-run/darklaunch.
[[["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\u003eThe \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e class in the Organization Policy v2 API is designed for specifying policy configurations in a dry-run or darklaunch scenario.\u003c/p\u003e\n"],["\u003cp\u003eThis class extends the functionality of \u003ccode\u003ePolicySpec\u003c/code\u003e by incorporating an additional 'launch' field, which is essential for managing the launch of new policies and audit logging.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.7.0, while the displayed version's documentation pertains to version 2.4.0, with historical versions ranging from 1.0.0 to 2.7.0 available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlternatePolicySpec\u003c/code\u003e inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces like \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\u003eKey properties of the \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e class include \u003ccode\u003eLaunch\u003c/code\u003e (a string property) and \u003ccode\u003eSpec\u003c/code\u003e (of type \u003ccode\u003ePolicySpec\u003c/code\u003e), which define the launch reference and the constraint specifications, respectively.\u003c/p\u003e\n"]]],[],null,[]]