- Resource: Evaluation
- ResourceFilter
- GceInstanceFilter
- ResourceStatus
- State
- EvaluationType
- BigQueryDestination
- Methods
Resource: Evaluation
Message describing Evaluation object
| JSON representation |
|---|
{ "name" : string , "description" : string , "resourceFilter" : { object ( |
| Fields | |
|---|---|
name
|
name of resource names have the form 'projects/{projectId}/locations/{locationId}/evaluations/{evaluationId}' |
description
|
Description of the Evaluation |
resourceFilter
|
annotations as key value pairs |
ruleNames[]
|
the name of the rule |
ruleVersions[]
|
Output only. [Output only] The updated rule ids if exist. |
resourceStatus
|
Output only. [Output only] The updated rule ids if exist. |
createTime
|
Output only. [Output only] Create time stamp Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime
|
Output only. [Output only] Update time stamp Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels
|
Labels as key value pairs An object containing a list of |
customRulesBucket
|
The Cloud Storage bucket name for custom rules. |
evaluationType
|
Evaluation type |
bigQueryDestination
|
Optional. BigQuery destination |
kmsKey
|
Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*. |
schedule
|
crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", |
ResourceFilter
Message describing resource filters
| JSON representation |
|---|
{
"scopes"
:
[
string
]
,
"resourceIdPatterns"
:
[
string
]
,
"inclusionLabels"
:
{
string
:
string
,
...
}
,
"gceInstanceFilter"
:
{
object (
|
| Fields | |
|---|---|
scopes[]
|
The scopes of evaluation resource |
resourceIdPatterns[]
|
The id pattern for filter resource |
inclusionLabels
|
The label used for filter resource An object containing a list of |
gceInstanceFilter
|
Filter compute engine resource |
GceInstanceFilter
Message describing compute engine instance filter
| JSON representation |
|---|
{ "serviceAccounts" : [ string ] } |
| Fields | |
|---|---|
serviceAccounts[]
|
Service account of compute engine |
ResourceStatus
Message describing resource status
| JSON representation |
|---|
{
"rulesNewerVersions"
:
[
string
]
,
"state"
:
enum (
|
| Fields | |
|---|---|
rulesNewerVersions[]
|
Historical: Used before 2023-05-22 the new version of rule id if exists |
state
|
State of the resource |
State
the State of Evaluation
| Enums | |
|---|---|
STATE_UNSPECIFIED
|
The state has not been populated in this message. |
CREATING
|
Resource has an active Create operation. |
ACTIVE
|
Resource has no outstanding operations on it or has active Update operations. |
DELETING
|
Resource has an active Delete operation. |
EvaluationType
Evaluation type
| Enums | |
|---|---|
EVALUATION_TYPE_UNSPECIFIED
|
Not specified |
SAP
|
SAP best practices |
SQL_SERVER
|
SQL best practices |
OTHER
|
Customized best practices |
SCC_IAC
|
SCC IaC (Infra as Code) best practices. |
BigQueryDestination
Message describing big query destination
| JSON representation |
|---|
{ "destinationDataset" : string , "createNewResultsTable" : boolean } |
| Fields | |
|---|---|
destinationDataset
|
Optional. destination dataset to save evaluation results |
createNewResultsTable
|
Optional. determine if results will be saved in a new table |
Methods |
|
|---|---|
|
Creates a new Evaluation in a given project and location. |
|
Deletes a single Evaluation. |
|
Gets details of a single Evaluation. |
|
Lists Evaluations in a given project and location. |
|
Updates the parameters of a single Evaluation. |

