Class: Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher
- 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 traffic is evaluated against. Exactly one field must be specified.
Defined Under Namespace
Modules: VersionedExpr
Instance Attribute Summary collapse
-
#config ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcherConfig
The configuration options available when specifying versioned_expr.
-
#expr ⇒ ::Google::Cloud::Compute::V1::Expr
User defined CEVAL expression.
-
#versioned_expr ⇒ ::String
Preconfigured versioned expression.
Instance Attribute Details
#config ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcherConfig
Returns The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22428 class SecurityPolicyRuleMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. module VersionedExpr # A value indicating that the enum field is not set. UNDEFINED_VERSIONED_EXPR = 0 # Matches the source IP address of a request to the IP ranges supplied in config. SRC_IPS_V1 = 70925961 end end |
#expr ⇒ ::Google::Cloud::Compute::V1::Expr
Returns User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22428 class SecurityPolicyRuleMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. module VersionedExpr # A value indicating that the enum field is not set. UNDEFINED_VERSIONED_EXPR = 0 # Matches the source IP address of a request to the IP ranges supplied in config. SRC_IPS_V1 = 70925961 end end |
#versioned_expr ⇒ ::String
Returns Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. Check the VersionedExpr enum for the list of possible values.
22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22428 class SecurityPolicyRuleMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. module VersionedExpr # A value indicating that the enum field is not set. UNDEFINED_VERSIONED_EXPR = 0 # Matches the source IP address of a request to the IP ranges supplied in config. SRC_IPS_V1 = 70925961 end end |