Firewall Rule

Modify a firewall rule

patch/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule/{firewall_rule_id}

Request body

OR
OR
OR

Response

A Firewall Rule

cidrstring required

CIDR of the firewall rule

idstring required

ID of the firewall rule

port_rangestring required

Port range of the firewall rule

protocol'tcp' | 'udp' required

Protocol of the firewall rule (tcp or udp)

descriptionstring required

Description of the firewall rule

Example response

{
  "id": "fraz0q3vbrpa7pkg7zbmah9csn"
}