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 latest version of the \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e class is 2.7.0, with several prior versions available, including the currently detailed version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlternatePolicySpec\u003c/code\u003e is a class within the Google Cloud Organization Policy v2 API, extending beyond \u003ccode\u003ePolicySpec\u003c/code\u003e with an additional "launch" field, specifically for dry-run/darklaunch purposes.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is contained within the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlternatePolicySpec\u003c/code\u003e provides two constructors: a default parameterless one, and one that accepts another \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e object for deep cloning, along with properties to set the \u003ccode\u003eLaunch\u003c/code\u003e and the \u003ccode\u003eSpec\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]