Google Cloud Deploy v1 API - Class PolicyRule (2.19.0)

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

Reference documentation and code samples for the Google Cloud Deploy v1 API class PolicyRule.

Rule to apply.

Inheritance

object > PolicyRule

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

PolicyRule()

public PolicyRule()

PolicyRule(PolicyRule)

public PolicyRule(PolicyRule other)
Parameter
Name Description
other PolicyRule

Properties

RestrictRollouts

public RestrictRollout RestrictRollouts { get; set; }

Rollout restrictions.

Property Value
Type Description
RestrictRollout

RuleCase

public PolicyRule.RuleOneofCase RuleCase { get; }
Property Value
Type Description
PolicyRuleRuleOneofCase