projects

Lists rules in a given project.

get/v1/{+parent}/rules

Request

  • Base URL: https://workloadmanager.googleapis.com
  • URL: https://workloadmanager.googleapis.com/v1/{+parent}/rules
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.

Query parameters

customRulesBucketstring

The Cloud Storage bucket name for custom rules.

evaluationType'EVALUATION_TYPE_UNSPECIFIED' | 'SAP' | 'SQL_SERVER' | 'OTHER'

Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.

filterstring

Filter based on primary_category, secondary_category.

pageSizeinteger

Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageTokenstring

A token identifying a page of results the server should return.

Response

Successful response

Changes