- Resource: Evaluation
- ResourceFilter
- GceInstanceFilter
- ResourceStatus
- State
- EvaluationType
- BigQueryDestination
- Methods
Resource: Evaluation
LINT.IfChange 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 |
resource
|
annotations as key value pairs |
rule
|
the name of the rule |
rule
|
Output only. [Output only] The updated rule ids if exist. |
resource
|
Output only. [Output only] The updated rule ids if exist. |
create
|
Output only. [Output only] Create time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update
|
Output only. [Output only] Update time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels
|
Labels as key value pairs An object containing a list of |
custom
|
The Cloud Storage bucket name for custom rules. |
evaluation
|
Evaluation type |
big
|
Optional. BigQuery destination |
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 |
resource
|
The id pattern for filter resource |
inclusion
|
The label used for filter resource An object containing a list of |
gce
|
Filter compute engine resource |
GceInstanceFilter
Message describing compute engine instance filter
JSON representation |
---|
{ "serviceAccounts" : [ string ] } |
Fields | |
---|---|
service
|
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 | |
---|---|
destination
|
Optional. destination dataset to save evaluation results |
create
|
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. |