Full name: projects.locations.instances.rules.list
Lists Rules.
HTTP request
Path parameters
Parameters
parent
string
Required. The parent, which owns this collection of rules. Format: projects/{project}/locations/{location}/instances/{instance}
Query parameters
Parameters
pageSize
integer
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
string
A page token, received from a previous rules.list call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to rules.list must match the call that provided the page token.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eprojects.locations.instances.rules.list\u003c/code\u003e method for retrieving a list of rules within a specified instance, requiring a \u003ccode\u003eGET\u003c/code\u003e HTTP request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eThe method accepts path parameters, such as \u003ccode\u003eparent\u003c/code\u003e, to define the location and instance, and query parameters like \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003eview\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e to customize the list results.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this method must be empty, while the response body returns a JSON structure containing an array of \u003ccode\u003erules\u003c/code\u003e and an optional \u003ccode\u003enext_page_token\u003c/code\u003e for pagination.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this method requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.rules.list\u003c/code\u003e on the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe maximum number of rules that will be returned per call is 1000.\u003c/p\u003e\n"]]],[],null,["# Method: rules.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListRulesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\n**Full name**: projects.locations.instances.rules.list\n\nLists Rules.\n\n### HTTP request\n\nChoose a location: \nafrica-south1 asia-northeast1 asia-south1 asia-southeast1 asia-southeast2 australia-southeast1 europe-west12 europe-west2 europe-west3 europe-west6 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast2 southamerica-east1 us eu \n\n\u003cbr /\u003e\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for rules.list method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `chronicle.rules.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]