- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists GatewaySecurityPolicyRules in a given project and location.
HTTP request
GET https://networksecurity.googleapis.com/v1alpha1/{parent=projects/*/locations/*/gatewaySecurityPolicies/*}/rules
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of GatewaySecurityPolicyRules to return per call. |
pageToken |
The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'rules.list' call, and that the system should return the next page of data. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response returned by the rules.list method.
JSON representation |
---|
{
"gatewaySecurityPolicyRules": [
{
object ( |
Fields | |
---|---|
gatewaySecurityPolicyRules[] |
List of GatewaySecurityPolicyRule resources. |
nextPageToken |
If there might be more results than those appearing in this response, then 'nextPageToken' is included. To get the next set of results, call this method again using the value of 'nextPageToken' as 'pageToken'. |
unreachable[] |
Locations that could not be reached. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.