Network Security v1 API - Class UrlFilter (1.0.0-beta01)

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

Reference documentation and code samples for the Network Security v1 API class UrlFilter.

A URL filter defines an action to take for some URL match.

Inheritance

object > UrlFilter

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Constructors

UrlFilter()

public UrlFilter()

UrlFilter(UrlFilter)

public UrlFilter(UrlFilter other)
Parameter
Name Description
other UrlFilter

Properties

FilteringAction

public UrlFilter.Types.UrlFilteringAction FilteringAction { get; set; }

Required. The action taken when this filter is applied.

Property Value
Type Description
UrlFilterTypesUrlFilteringAction

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
Type Description
bool

Priority

public int Priority { get; set; }

Required. The priority of this filter within the URL Filtering Profile. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL Filtering Profile.

Property Value
Type Description
int

Urls

public RepeatedField<string> Urls { get; }

Required. The list of strings that a URL must match with for this filter to be applied.

Property Value
Type Description
RepeatedFieldstring