- Resource: Evaluation
- ResourceFilter
- GceInstanceFilter
- ResourceStatus
- State
- EvaluationType
- BigQueryDestination
- Methods
Resource: Evaluation
Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.
| JSON representation |
|---|
{ "name": string, "description": string, "resourceFilter": { object ( |
| Fields | |
|---|---|
name |
Name of resource that has the form |
description |
Description of the Evaluation. |
resourceFilter |
Resource filter for an evaluation defining the scope of resources to be evaluated. |
ruleNames[] |
The names of the rules used for this evaluation. |
resourceStatus |
Output only. [Output only] The current lifecycle state of the evaluation resource. |
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. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery. |
kmsKey |
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. |
schedule |
Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules: * |
ResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
| JSON representation |
|---|
{
"scopes": [
string
],
"resourceIdPatterns": [
string
],
"inclusionLabels": {
string: string,
...
},
"gceInstanceFilter": {
object ( |
| Fields | |
|---|---|
scopes[] |
The scopes of evaluation resource. Format: * |
resourceIdPatterns[] |
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. |
inclusionLabels |
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 An object containing a list of |
gceInstanceFilter |
Filter compute engine resources. |
GceInstanceFilter
A filter for matching Compute Engine instances.
| JSON representation |
|---|
{ "serviceAccounts": [ string ] } |
| Fields | |
|---|---|
serviceAccounts[] |
If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation. |
ResourceStatus
The lifecycle status of an Evaluation resource.
| JSON representation |
|---|
{
"state": enum ( |
| Fields | |
|---|---|
state |
State of the Evaluation resource. |
State
Possible states of an evaluation, such as CREATING, ACTIVE, and DELETING.
| 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
Possible types of workload evaluations like SAP, SQL Server, etc.
| Enums | |
|---|---|
EVALUATION_TYPE_UNSPECIFIED |
Not specified. |
SAP |
SAP best practices. |
SQL_SERVER |
SQL best practices. |
OTHER |
Customized best practices. |
BigQueryDestination
BigQuery destination for evaluation results.
| JSON representation |
|---|
{ "destinationDataset": string, "createNewResultsTable": boolean } |
| Fields | |
|---|---|
destinationDataset |
Optional. Destination dataset to save evaluation results. |
createNewResultsTable |
Optional. Determines if a new results table will be created when an Execution is created. |
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. |