- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.rules.list
Lists Rules.
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent |   Required. The parent, which owns this collection of rules. Format:  | 
Query parameters
| Parameters | |
|---|---|
| pageSize |   The maximum number of rules to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. | 
| pageToken |   A page token, received from a previous  When paginating, all other parameters provided to  | 
| view |   view indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to BASIC. | 
| filter |   Only the following filters are allowed: "referenceLists:{reference_list_name}" "dataTables:{data_table_name}" "displayName:{displayName}" | 
Request body
The request body must be empty.
Response body
Response message for rules.list method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
|  { 
 "rules" 
 : 
 [ 
 { 
 object (  | 
| Fields | |
|---|---|
| rules[] |   The rules from the specified instance. | 
| nextPageToken |   A token, which can be sent as  | 
Authorization scopes
Requires the following OAuth scope:
-  https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .
IAM Permissions
Requires the following IAM 
permission on the parent 
resource:
-  chronicle.rules.list
For more information, see the IAM documentation .

