Class GatewaySecurityPolicyRule (0.11.0)

GatewaySecurityPolicyRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The GatewaySecurityPolicyRule resource is in a nested collection within a GatewaySecurityPolicy and represents a traffic matching condition and associated action to perform.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
basic_profile google.cloud.network_security_v1alpha1.types.GatewaySecurityPolicyRule.BasicProfile
Required. Profile which tells what the primitive action should be. This field is a member of oneof_ profile.
name str
Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^\ a-z <[a-z0-9-]{0,61}[a-z0-9]>__?$).
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the rule was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the rule was updated.
enabled bool
Required. Whether the rule is enforced.
priority int
Required. Priority of the rule. Lower number corresponds to higher precedence.
description str
Optional. Free-text description of the resource.
session_matcher str
Required. CEL expression for matching on session criteria.
application_matcher str
Optional. CEL expression for matching on L7/application level criteria.
tls_inspection_enabled bool
Optional. Flag to enable TLS inspection of traffic matching on

Classes

BasicProfile

BasicProfile(value)

enum to define the primitive action.