Class AlternatePolicySpec (2.0.0)

public sealed class AlternatePolicySpec : IMessage<AlternatePolicySpec>, IEquatable<AlternatePolicySpec>, IDeepCloneable<AlternatePolicySpec>, IBufferMessage, IMessage

Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.

Inheritance

Object > AlternatePolicySpec

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

AlternatePolicySpec()

public AlternatePolicySpec()

AlternatePolicySpec(AlternatePolicySpec)

public AlternatePolicySpec(AlternatePolicySpec other)
Parameter
NameDescription
otherAlternatePolicySpec

Properties

Launch

public string Launch { get; set; }

Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.

Property Value
TypeDescription
String

Spec

public PolicySpec Spec { get; set; }

Specify Constraint for configurations of Cloud Platform resources.

Property Value
TypeDescription
PolicySpec