gcloud alpha compute org-security-policies rules update

NAME
gcloud alpha compute org-security-policies rules update - update a Google Compute Engine security policy rule
SYNOPSIS
gcloud alpha compute org-security-policies rules update PRIORITY --security-policy=SECURITY_POLICY [--action=ACTION] [--description=DESCRIPTION] [--dest-ip-ranges=[DEST_IP_RANGE,…]] [--dest-ports=[DEST_PORTS,…]] [--direction=DIRECTION] [--enable-logging] [--new-priority=NEW_PRIORITY] [--src-ip-ranges=[SRC_IP_RANGE,…]] [--target-resources=[TARGET_RESOURCES,…]] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) gcloud alpha compute org-security-policies rules update is used to update organization security policy rules.
POSITIONAL ARGUMENTS
PRIORITY
Priority of the security policy rule to update.
REQUIRED FLAGS
--security-policy=SECURITY_POLICY
Resource ID of the security policy into which the rule should be updated.
OPTIONAL FLAGS
--action=ACTION
Action to take if the request matches the match condition. ACTION must be one of: allow, deny, goto_next.
--description=DESCRIPTION
An optional, textual description for the rule.
--dest-ip-ranges=[DEST_IP_RANGE,…]
Destination IP ranges to match for this rule. Can only be specified if DIRECTION is egress.
--dest-ports=[DEST_PORTS,…]
A list of destination protocols and ports to which the firewall rule will apply.
--direction=DIRECTION
Direction of the traffic the rule is applied. The default is to apply on incoming traffic. DIRECTION must be one of: INGRESS, EGRESS.
--enable-logging
Use this flag to enable logging of connections that allowed or denied by this rule.
--new-priority=NEW_PRIORITY
New priority for the rule to update. Valid in [0, 65535].
--src-ip-ranges=[SRC_IP_RANGE,…]
Source IP ranges to match for this rule. Can only be specified if DIRECTION is ingress.
--target-resources=[TARGET_RESOURCES,…]
List of URLs of target resources to which the rule is applied.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist.