Postgres Firewall Rule

Create a new PostgreSQL firewall rule

post/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/firewall-rule

Request body

cidrstring required

CIDR of the firewall rule

descriptionstring nullable

Description of the firewall rule

Response

A Postgres Firewall Rule

cidrstring required

CIDR of the firewall rule

descriptionstring

Port information for the firewall rule

idstring required

ID of the firewall rule

portinteger

Port for the Postgres firewall rule

Example response

{
  "id": "frmjgkgbktw62k53005jpx8tt7"
}