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.
Implements
IMessageAlternatePolicySpec, IEquatableAlternatePolicySpec, IDeepCloneableAlternatePolicySpec, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
AlternatePolicySpec()
public AlternatePolicySpec()
AlternatePolicySpec(AlternatePolicySpec)
public AlternatePolicySpec(AlternatePolicySpec other)
Parameter | |
---|---|
Name | Description |
other |
AlternatePolicySpec |
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 | |
---|---|
Type | Description |
string |
Spec
public PolicySpec Spec { get; set; }
Specify constraint for configurations of Google Cloud resources.
Property Value | |
---|---|
Type | Description |
PolicySpec |