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 configurations for Cloud Platform resources, similar to \u003ccode\u003ePolicySpec\u003c/code\u003e but includes an additional \u003ccode\u003elaunch\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e class is intended for dry-run/darklaunch policy implementations, offering a way to test and validate policy changes before fully deploying them.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e is 2.7.0, and the provided content covers versions down to 1.0.0, all within the namespace \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLaunch\u003c/code\u003e property is a string that is used to set a launch reference, which controls and audit logs the launch, and should only be set in the alternate policy.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eAlternatePolicySpec\u003c/code\u003e implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]