- Resource: ScheduledEvaluationRun
- RunEvaluationRequest
- ScheduledEvaluationRun.SchedulingConfig
- ScheduledEvaluationRun.SchedulingConfig.Frequency
- Methods
Resource: ScheduledEvaluationRun
Represents a scheduled evaluation run configuration.
| JSON representation |
|---|
{ "name": string, "displayName": string, "request": { object ( |
| Fields | |
|---|---|
name |
Identifier. The unique identifier of the scheduled evaluation run config. Format: projects/{projectId}/locations/{locationId}/apps/{appId}/scheduledEvaluationRuns/{scheduledEvaluationRunId} |
displayName |
Required. User-defined display name of the scheduled evaluation run config. |
request |
Required. The RunEvaluationRequest to schedule |
description |
Optional. User-defined description of the scheduled evaluation run. |
schedulingConfig |
Required. Configuration for the timing and frequency with which to execute the evaluations. |
active |
Optional. Whether this config is active |
lastCompletedRun |
Output only. The last successful EvaluationRun of this scheduled execution. Format: |
totalExecutions |
Output only. The total number of times this run has been executed |
nextScheduledExecutionTime |
Output only. The next time this is scheduled to execute 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: |
createTime |
Output only. Timestamp when the scheduled evaluation run was created. 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: |
createdBy |
Output only. The user who created the scheduled evaluation run. |
updateTime |
Output only. Timestamp when the evaluation was last updated. 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: |
lastUpdatedBy |
Output only. The user who last updated the evaluation. |
etag |
Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes. |
RunEvaluationRequest
Request message for EvaluationService.RunEvaluation.
| JSON representation |
|---|
{ "app": string, "evaluations": [ string ], "evaluationDataset": string, "displayName": string, "appVersion": string, "config": { object ( |
| Fields | |
|---|---|
app |
Required. The app to evaluate. Format: |
evaluations[] |
Optional. List of evaluations to run. Format: |
evaluationDataset |
Optional. An evaluation dataset to run. Format: |
displayName |
Optional. The display name of the evaluation run. |
appVersion |
Optional. The app version to evaluate. Format: |
config |
Optional. The configuration to use for the run. |
personaRunConfigs[] |
Optional. The configuration to use for the run per persona. |
optimizationConfig |
Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run. |
scheduledEvaluationRun |
Optional. The resource name of the If this field is set, the |
goldenRunMethod |
Optional. The method to run the evaluation if it is a golden evaluation. If not set, default to STABLE. |
runCount |
Optional. The number of times to run the evaluation. If not set, the default value is 1 per golden, and 5 per scenario. |
ScheduledEvaluationRun.SchedulingConfig
Eval scheduling configuration details
| JSON representation |
|---|
{
"frequency": enum ( |
| Fields | |
|---|---|
frequency |
Required. The frequency with which to run the eval |
startTime |
Required. Timestamp when the eval should start. 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: |
daysOfWeek[] |
Optional. The days of the week to run the eval. Applicable only for Weekly and Biweekly frequencies. 1 is Monday, 2 is Tuesday, ..., 7 is Sunday. |
ScheduledEvaluationRun.SchedulingConfig.Frequency
The frequencies evals can be run at
| Enums | |
|---|---|
FREQUENCY_UNSPECIFIED |
The frequency is unspecified. |
NONE |
Indicates a one-time scheduled run that should not repeat |
DAILY |
Run the evaluation daily. |
WEEKLY |
Run the evaluation weekly. |
BIWEEKLY |
Run the evaluation biweekly. |
Methods |
|
|---|---|
|
Creates a scheduled evaluation run. |
|
Deletes a scheduled evaluation run. |
|
Gets details of the specified scheduled evaluation run. |
|
Lists all scheduled evaluation runs in the given app. |
|
Updates a scheduled evaluation run. |