Using Console
[PROJECT_ID]
with your actual GCP project ID.
Using CLI
[FIREWALL_RULE_NAME]
with the name of the firewall rule that needs to be updated.
True
indicating that logging is enabled for the firewall rule.
Using Python
google-cloud-monitoring
library using the following command:
<your-project-id>
with your actual GCP project ID.