Class: Google::Cloud::Compute::V1::SecurityPolicyRuleNetworkMatcher

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#dest_ip_ranges::Array<::String>

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

Returns:

  • (::Array<::String>)

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



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dest_ports::Array<::String>

Returns 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").

Returns:

  • (::Array<::String>)

    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").



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ip_protocols::Array<::String>

Returns 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".

Returns:

  • (::Array<::String>)

    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".



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_asns::Array<::Integer>

Returns BGP Autonomous System Number associated with the source IP address.

Returns:

  • (::Array<::Integer>)

    BGP Autonomous System Number associated with the source IP address.



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_ip_ranges::Array<::String>

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

Returns:

  • (::Array<::String>)

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



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_ports::Array<::String>

Returns 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").

Returns:

  • (::Array<::String>)

    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").



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#src_region_codes::Array<::String>

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

Returns:

  • (::Array<::String>)

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



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#user_defined_fields::Array<::Google::Cloud::Compute::V1::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch>

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

Returns:



28780
28781
28782
28783
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 28780

class SecurityPolicyRuleNetworkMatcher
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end