Compute Engine v1 API - Class SecurityPolicyRuleNetworkMatcher (3.2.0)

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

Reference documentation and code samples for the Compute Engine v1 API class SecurityPolicyRuleNetworkMatcher.

Represents a match condition that incoming network traffic is evaluated against.

Inheritance

object > SecurityPolicyRuleNetworkMatcher

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPolicyRuleNetworkMatcher()

public SecurityPolicyRuleNetworkMatcher()

SecurityPolicyRuleNetworkMatcher(SecurityPolicyRuleNetworkMatcher)

public SecurityPolicyRuleNetworkMatcher(SecurityPolicyRuleNetworkMatcher other)
Parameter
Name Description
other SecurityPolicyRuleNetworkMatcher

Properties

DestIpRanges

public RepeatedField<string> DestIpRanges { get; }

Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

Property Value
Type Description
RepeatedFieldstring

DestPorts

public RepeatedField<string> DestPorts { get; }

Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

Property Value
Type Description
RepeatedFieldstring

IpProtocols

public RepeatedField<string> IpProtocols { get; }

IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".

Property Value
Type Description
RepeatedFieldstring

SrcAsns

public RepeatedField<uint> SrcAsns { get; }

BGP Autonomous System Number associated with the source IP address.

Property Value
Type Description
RepeatedFielduint

SrcIpRanges

public RepeatedField<string> SrcIpRanges { get; }

Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

Property Value
Type Description
RepeatedFieldstring

SrcPorts

public RepeatedField<string> SrcPorts { get; }

Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

Property Value
Type Description
RepeatedFieldstring

SrcRegionCodes

public RepeatedField<string> SrcRegionCodes { get; }

Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.

Property Value
Type Description
RepeatedFieldstring

UserDefinedFields

public RepeatedField<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> UserDefinedFields { get; }

User-defined fields. Each element names a defined field and lists the matching values for that field.

Property Value
Type Description
RepeatedFieldSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch