public sealed class Rule : IMessage<AuthorizationPolicy.Types.Rule>, IEquatable<AuthorizationPolicy.Types.Rule>, IDeepCloneable<AuthorizationPolicy.Types.Rule>, IBufferMessage, IMessage
Specification of rules.
Implements
IMessage<AuthorizationPolicy.Types.Rule>, IEquatable<AuthorizationPolicy.Types.Rule>, IDeepCloneable<AuthorizationPolicy.Types.Rule>, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
Google.Cloud.NetworkSecurity.V1Beta1.dll
Constructors
Rule()
public Rule()
Rule(AuthorizationPolicy.Types.Rule)
public Rule(AuthorizationPolicy.Types.Rule other)
Parameter | |
---|---|
Name | Description |
other | AuthorizationPolicy.Types.Rule |
Properties
Destinations
public RepeatedField<AuthorizationPolicy.Types.Rule.Types.Destination> Destinations { get; }
Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
Property Value | |
---|---|
Type | Description |
RepeatedField<AuthorizationPolicy.Types.Rule.Types.Destination> |
Sources
public RepeatedField<AuthorizationPolicy.Types.Rule.Types.Source> Sources { get; }
Optional. List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ip_blocks match. If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
Property Value | |
---|---|
Type | Description |
RepeatedField<AuthorizationPolicy.Types.Rule.Types.Source> |