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 dry-run/darklaunch scenarios, similar to \u003ccode\u003ePolicySpec\u003c/code\u003e but with an added 'launch' field.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.7.0 is the latest version available for the \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e class, while version 2.6.0 is the current version in the documentation and the class's implementation.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows the specification of constraints for Google Cloud resource configurations, through its \u003ccode\u003eSpec\u003c/code\u003e property, which is of the \u003ccode\u003ePolicySpec\u003c/code\u003e type, and its \u003ccode\u003eLaunch\u003c/code\u003e property that is a \u003ccode\u003estring\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAlternatePolicySpec\u003c/code\u003e implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, meaning it has methods to check for equivalence, create copies, and handle message buffers.\u003c/p\u003e\n"]]],[],null,[]]