---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/evaluations"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/evaluations"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/evaluations

`GET /v1/projects/{projectsId}/locations/{locationsId}/evaluations`

## Request

- Base URL: `https://workloadmanager.googleapis.com`
- URL: `https://workloadmanager.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/evaluations`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists Evaluations in a given project and location.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListEvaluationsResponse: Response message for the ListEvaluations RPC.
  - `evaluations` Evaluation[]: The list of evaluations.
    - `bigQueryDestination` BigQueryDestination: BigQuery destination for evaluation results.
      - `createNewResultsTable` boolean: Optional. Determines if a new results table will be created when an Execution is created.
      - `destinationDataset` string: Optional. Destination dataset to save evaluation results.
    - `createTime` string, google-datetime: Output only. [Output only] Create time stamp.
    - `customRulesBucket` string: The Cloud Storage bucket name for custom rules.
    - `description` string: Description of the Evaluation.
    - `evaluationType` 'EVALUATION_TYPE_UNSPECIFIED' | 'SAP' | 'SQL_SERVER' | 'OTHER': Evaluation type.
    - `kmsKey` string: Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*. The key will be used for CMEK encryption of the evaluation resource.
    - `labels` object: Labels as key value pairs.
    - `name` string: Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
    - `resourceFilter` ResourceFilter: Resource filter for an evaluation defining the scope of resources to be evaluated.
      - `gceInstanceFilter` GceInstanceFilter: A filter for matching Compute Engine instances.
        - `serviceAccounts` string[]: If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
      - `inclusionLabels` object: Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ "env": "prod", "database": "nosql" }` will only include resources that have labels `env=prod` and `database=nosql`.
      - `resourceIdPatterns` string[]: The pattern to filter resources by their id For example, a pattern of ".*prod-cluster.*" will match all resources that contain "prod-cluster" in their ID.
      - `scopes` string[]: The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}`
    - `resourceStatus` ResourceStatus: The lifecycle status of an Evaluation resource.
      - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING': State of the Evaluation resource.
    - `ruleNames` string[]: The names of the rules used for this evaluation.
    - `schedule` string: Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules: * `0 */1 * * *` # Hourly * `0 */6 * * *` # Every 6 hours * `0 */12 * * *` # Every 12 hours * `0 0 */1 * *` # Daily * `0 0 */7 * *` # Weekly * `0 0 */14 * *` # Every 14 days * `0 0 1 */1 *` # Monthly
    - `updateTime` string, google-datetime: Output only. [Output only] Update time stamp.
  - `nextPageToken` string: A token identifying a page of results the server should return.
  - `unreachable` string[]: Locations that could not be reached.

---

[API](https://skmtc.dev/google/apis/workloadmanager.md) - [All operations](https://skmtc.dev/google/apis/workloadmanager/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/workloadmanager/revisions/5d93d5206535?raw)
