Skip to main content

rules

Overview

Namerules
TypeResource
Idgoogle.networksecurity.rules

Fields

NameDatatypeDescription
namestringRequired. 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?$).
descriptionstringOptional. Free-text description of the resource.
enabledbooleanRequired. Whether the rule is enforced.
basicProfilestringRequired. Profile which tells what the primitive action should be.
tlsInspectionEnabledbooleanOptional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
applicationMatcherstringOptional. CEL expression for matching on L7/application level criteria.
updateTimestringOutput only. Time when the rule was updated.
priorityintegerRequired. Priority of the rule. Lower number corresponds to higher precedence.
sessionMatcherstringRequired. CEL expression for matching on session criteria.
createTimestringOutput only. Time when the rule was created.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_gateway_security_policies_rules_getSELECTgatewaySecurityPoliciesId, locationsId, projectsId, rulesIdGets details of a single GatewaySecurityPolicyRule.
projects_locations_gateway_security_policies_rules_listSELECTgatewaySecurityPoliciesId, locationsId, projectsIdLists GatewaySecurityPolicyRules in a given project and location.
projects_locations_gateway_security_policies_rules_createINSERTgatewaySecurityPoliciesId, locationsId, projectsIdCreates a new GatewaySecurityPolicy in a given project and location.
projects_locations_gateway_security_policies_rules_deleteDELETEgatewaySecurityPoliciesId, locationsId, projectsId, rulesIdDeletes a single GatewaySecurityPolicyRule.
_projects_locations_gateway_security_policies_rules_listEXECgatewaySecurityPoliciesId, locationsId, projectsIdLists GatewaySecurityPolicyRules in a given project and location.
projects_locations_gateway_security_policies_rules_patchEXECgatewaySecurityPoliciesId, locationsId, projectsId, rulesIdUpdates the parameters of a single GatewaySecurityPolicyRule.