Method: securityPolicies.addRule

Inserts a rule into a security policy.

HTTP request

POST https://compute.googleapis.com/compute/beta/projects/{project}/global/securityPolicies/{resourceId}/addRule

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID for this request.

resourceId

string

Name of the security policy to update.

Query parameters

Parameters
validateOnly

boolean

If true, the request