Show / Hide Table of Contents

Class Rule

Specification of rules.

Inheritance
object
Rule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkSecurity.v1.Data
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class Rule : IDirectResponseSchema

Properties

Destinations

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.

Declaration
[JsonProperty("destinations")]
public virtual IList<Destination> Destinations { get; set; }
Property Value
Type Description
IList<Destination>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Sources

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.

Declaration
[JsonProperty("sources")]
public virtual IList<Source> Sources { get; set; }
Property Value
Type Description
IList<Source>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX