Class: Google::Cloud::Compute::V1::SecurityPolicyRule
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::SecurityPolicyRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
Instance Attribute Summary collapse
-
#action ⇒ ::String
The Action to perform when the rule is matched.
-
#description ⇒ ::String
An optional description of this resource.
-
#header_action ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleHttpHeaderAction
Optional, additional actions that are performed on headers.
-
#kind ⇒ ::String
[Output only] Type of the resource.
-
#match ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher
A match condition that incoming traffic is evaluated against.
-
#network_match ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleNetworkMatcher
A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies.
-
#preconfigured_waf_config ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfig
Preconfigured WAF configuration to be applied for the rule.
-
#preview ⇒ ::Boolean
If set to true, the specified action is not enforced.
-
#priority ⇒ ::Integer
An integer indicating the priority of a rule in the list.
-
#rate_limit_options ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptions
Must be specified if the action is "rate_based_ban" or "throttle" or "fairshare".
-
#redirect_options ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions
Parameters defining the redirect action.
Instance Attribute Details
#action ⇒ ::String
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#header_action ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleHttpHeaderAction
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#kind ⇒ ::String
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#match ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleMatcher
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#network_match ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleNetworkMatcher
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#preconfigured_waf_config ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRulePreconfiguredWafConfig
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#preview ⇒ ::Boolean
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#priority ⇒ ::Integer
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rate_limit_options ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleRateLimitOptions
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#redirect_options ⇒ ::Google::Cloud::Compute::V1::SecurityPolicyRuleRedirectOptions
32830 32831 32832 32833 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 32830 class SecurityPolicyRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |