REST Resource: projects.locations.evaluations

Resource: Evaluation

LINT.IfChange Message describing Evaluation object

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "description" 
 : 
 string 
 , 
 "resourceFilter" 
 : 
 { 
 object (  ResourceFilter 
 
) 
 } 
 , 
 "ruleNames" 
 : 
 [ 
 string 
 ] 
 , 
 "ruleVersions" 
 : 
 [ 
 string 
 ] 
 , 
 "resourceStatus" 
 : 
 { 
 object (  ResourceStatus 
 
) 
 } 
 , 
 "createTime" 
 : 
 string 
 , 
 "updateTime" 
 : 
 string 
 , 
 "labels" 
 : 
 { 
 string 
 : 
 string 
 , 
 ... 
 } 
 , 
 "customRulesBucket" 
 : 
 string 
 , 
 "evaluationType" 
 : 
 enum (  EvaluationType 
 
) 
 , 
 "bigQueryDestination" 
 : 
 { 
 object (  BigQueryDestination 
 
) 
 } 
 , 
 "schedule" 
 : 
 string 
 } 
Fields
name

string

name of resource names have the form 'projects/{projectId}/locations/{locationId}/evaluations/{evaluationId}'

description

string

Description of the Evaluation

resource Filter

object ( ResourceFilter )

annotations as key value pairs

rule Names[]

string

the name of the rule

rule Versions[]

string

Output only. [Output only] The updated rule ids if exist.

resource Status

object ( ResourceStatus )

Output only. [Output only] The updated rule ids if exist.

create Time

string ( Timestamp format)

Output only. [Output only] Create time stamp

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .

update Time

string ( Timestamp format)

Output only. [Output only] Update time stamp

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .

labels

map (key: string, value: string)

Labels as key value pairs

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .

custom Rules Bucket

string

The Cloud Storage bucket name for custom rules.

evaluation Type

enum ( EvaluationType )

Evaluation type

big Query Destination

object ( BigQueryDestination )

Optional. BigQuery destination

schedule

string

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 (  GceInstanceFilter 
 
) 
 } 
 } 
Fields
scopes[]

string

The scopes of evaluation resource

resource Id Patterns[]

string

The id pattern for filter resource

inclusion Labels

map (key: string, value: string)

The label used for filter resource

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .

gce Instance Filter

object ( GceInstanceFilter )

Filter compute engine resource

GceInstanceFilter

Message describing compute engine instance filter

JSON representation
 { 
 "serviceAccounts" 
 : 
 [ 
 string 
 ] 
 } 
Fields
service Accounts[]

string

Service account of compute engine

ResourceStatus

Message describing resource status

JSON representation
 { 
 "rulesNewerVersions" 
 : 
 [ 
 string 
 ] 
 , 
 "state" 
 : 
 enum (  State 
 
) 
 } 
Fields
rulesNewerVersions[]
(deprecated)

string

Historical: Used before 2023-05-22 the new version of rule id if exists

state

enum ( 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
destination Dataset

string

Optional. destination dataset to save evaluation results

create New Results Table

boolean

Optional. determine if results will be saved in a new table

Methods

create

Creates a new Evaluation in a given project and location.

delete

Deletes a single Evaluation.

get

Gets details of a single Evaluation.

list

Lists Evaluations in a given project and location.
Create a Mobile Website
View Site in Mobile | Classic
Share by: