NAME
Google::Cloud::Ces::V1beta::Evaluation - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/evaluation.proto
SYNOPSIS
use Google::Cloud::Ces::V1beta::Evaluation;
my $msg = Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics->new({
metrics_by_app_version => $metrics_by_app_version,
});
# Read or update a field
my $val = $msg->metrics_by_app_version();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/evaluation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics
Aggregated metrics for an evaluation or evaluation dataset.
Inherits from Protobuf::Message.
Accessors
$msg->metrics_by_app_version()/$msg->metrics_by_app_version($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics::MetricsByAppVersion)Output only. Aggregated metrics, grouped by app version ID.
Google::Cloud::Ces::V1beta::Evaluation::Evaluation
An evaluation represents all of the information needed to simulate and evaluate an agent.
Inherits from Protobuf::Message.
Accessors
$msg->golden()/$msg->golden($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Golden)Optional. The golden steps to be evaluated.
$msg->scenario()/$msg->scenario($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation::Scenario)Optional. The config for a scenario.
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of this evaluation. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. User-defined display name of the evaluation. Unique within an App.
$msg->description()/$msg->description($value)Type:
StringOptional. User-defined description of the evaluation.
$msg->tags()/$msg->tags($value)Type:
StringOptional. User defined tags to categorize the evaluation.
$msg->evaluation_datasets()/$msg->evaluation_datasets($value)Type:
StringOutput only. List of evaluation datasets the evaluation belongs to. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation was created.
$msg->created_by()/$msg->created_by($value)Type:
StringOutput only. The user who created the evaluation.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation was last updated.
$msg->last_updated_by()/$msg->last_updated_by($value)Type:
StringOutput only. The user who last updated the evaluation.
$msg->evaluation_runs()/$msg->evaluation_runs($value)Type:
StringOutput only. The EvaluationRuns that this Evaluation is associated with.
$msg->etag()/$msg->etag($value)Type:
StringOutput 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.
$msg->aggregated_metrics()/$msg->aggregated_metrics($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics)Output only. The aggregated metrics for this evaluation across all runs.
$msg->last_completed_result()/$msg->last_completed_result($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult)Output only. The latest evaluation result for this evaluation.
$msg->invalid()/$msg->invalid($value)Type:
BoolOutput only. Whether the evaluation is invalid. This can happen if an evaluation is referencing a tool, toolset, or agent that has since been deleted.
$msg->last_ten_results()/$msg->last_ten_results($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult)Output only. The last 10 evaluation results for this evaluation. This is only populated if include_last_ten_results is set to true in the ListEvaluationsRequest or GetEvaluationRequest.
$msg->evaluation_metrics_threshold_override()/$msg->evaluation_metrics_threshold_override($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationMetricsThresholds)Optional. Overrides metrics thresholds for this specific evaluation.
$msg->evaluation_metrics_config_override()/$msg->evaluation_metrics_config_override($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationMetricsConfig::EvaluationMetricsConfig)Optional. Overrides metrics config for this specific evaluation.
Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset
An evaluation dataset represents a set of evaluations that are grouped together basaed on shared tags.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of this evaluation dataset. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. User-defined display name of the evaluation dataset. Unique within an App.
$msg->evaluations()/$msg->evaluations($value)Type:
StringOptional. Evaluations that are included in this dataset.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation dataset was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation dataset was last updated.
$msg->etag()/$msg->etag($value)Type:
StringOutput 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.
$msg->created_by()/$msg->created_by($value)Type:
StringOutput only. The user who created the evaluation dataset.
$msg->last_updated_by()/$msg->last_updated_by($value)Type:
StringOutput only. The user who last updated the evaluation dataset.
$msg->aggregated_metrics()/$msg->aggregated_metrics($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::AggregatedMetrics)Output only. The aggregated metrics for this evaluation dataset across all runs.
Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult
An evaluation result represents the output of running an Evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->golden_result()/$msg->golden_result($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::GoldenResult)Output only. The outcome of a golden evaluation.
$msg->scenario_result()/$msg->scenario_result($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult::ScenarioResult)Output only. The outcome of a scenario evaluation.
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of the evaluation result. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name of the Evaluation Result. Unique within an Evaluation. By default, it has the following format: "<evaluation-display-name> result - <timestamp>".
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation result was created.
$msg->evaluation_status()/$msg->evaluation_status($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationResult::Outcome)Output only. The outcome of the evaluation. Only populated if execution_state is COMPLETE.
$msg->evaluation_run()/$msg->evaluation_run($value)Type:
StringOutput only. The evaluation run that produced this result. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`
$msg->persona()/$msg->persona($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationPersona)Output only. The persona used to generate the conversation for the evaluation result.
$msg->error_info()/$msg->error_info($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo)Output only. Error information for the evaluation result.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Deprecated: Use `error_info` instead. Errors encountered during execution.
$msg->initiated_by()/$msg->initiated_by($value)Type:
StringOutput only. The user who initiated the evaluation run that resulted in this result.
$msg->app_version()/$msg->app_version($value)Type:
StringOutput only. The app version used to generate the conversation that resulted in this result. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
$msg->app_version_display_name()/$msg->app_version_display_name($value)Type:
StringOutput only. The display name of the `app_version` that the evaluation ran against.
$msg->changelog()/$msg->changelog($value)Type:
StringOutput only. The changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
$msg->changelog_create_time()/$msg->changelog_create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create time of the changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
$msg->execution_state()/$msg->execution_state($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationResult::ExecutionState)Output only. The state of the evaluation result execution.
$msg->evaluation_metrics_thresholds()/$msg->evaluation_metrics_thresholds($value)Type:
Message(Google::Cloud::Ces::V1beta::App::EvaluationMetricsThresholds)Output only. The evaluation thresholds for the result.
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig)Output only. The configuration used in the evaluation run that resulted in this result.
$msg->golden_run_method()/$msg->golden_run_method($value)Type:
Enum(Google::Cloud::Ces::V1beta::GoldenRunMethod)Output only. The method used to run the golden evaluation.
$msg->root_span()/$msg->root_span($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::Span)Output only. The root span of the evaluation execution, which includes information about each step of the evaluation.
$msg->outcome_metadata()/$msg->outcome_metadata($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationResult::OutcomeMetadata)Output only. The outcome metadata of the evaluation. Only populated if execution_state is COMPLETE.
Enum: EvaluationResult::Outcome
OUTCOME_UNSPECIFIED=>0PASS=>1FAIL=>2SKIPPED=>3
Enum: EvaluationResult::ExecutionState
EXECUTION_STATE_UNSPECIFIED=>0QUEUED=>5RUNNING=>1COMPLETED=>2ERROR=>3CANCELLED=>4
Enum: EvaluationResult::OutcomeMetadata
OUTCOME_METADATA_UNSPECIFIED=>0GRACEFUL_HANDOFF=>1
Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun
An evaluation run represents an all the evaluation results from an evaluation execution.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of the evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. User-defined display name of the evaluation run. default: "<evaluation-dataset-display-name> run - <timestamp>".
$msg->evaluation_results()/$msg->evaluation_results($value)Type:
StringOutput only. The evaluation results that are part of this run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation run was created.
$msg->initiated_by()/$msg->initiated_by($value)Type:
StringOutput only. The user who initiated the evaluation run.
$msg->app_version()/$msg->app_version($value)Type:
StringOutput only. The app version to evaluate. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
$msg->app_version_display_name()/$msg->app_version_display_name($value)Type:
StringOutput only. The display name of the `app_version` that the evaluation ran against.
$msg->changelog()/$msg->changelog($value)Type:
StringOutput only. The changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
$msg->changelog_create_time()/$msg->changelog_create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The create time of the changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
$msg->evaluations()/$msg->evaluations($value)Type:
StringOutput only. The evaluations that are part of this run. The list may contain evaluations of either type. This field is mutually exclusive with `evaluation_dataset`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->evaluation_dataset()/$msg->evaluation_dataset($value)Type:
StringOutput only. The evaluation dataset that this run is associated with. This field is mutually exclusive with `evaluations`. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
$msg->evaluation_type()/$msg->evaluation_type($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationRun::EvaluationType)Output only. The type of the evaluations in this run.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationRun::EvaluationRunState)Output only. The state of the evaluation run.
$msg->progress()/$msg->progress($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::Progress)Output only. The progress of the evaluation run.
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig)Output only. The configuration used in the run.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Deprecated: Use error_info instead. Errors encountered during execution.
$msg->error_info()/$msg->error_info($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo)Output only. Error information for the evaluation run.
$msg->evaluation_run_summaries()/$msg->evaluation_run_summaries($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun::EvaluationRunSummariesEntry)Output only. Map of evaluation name to EvaluationRunSummary.
$msg->latency_report()/$msg->latency_report($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::LatencyReport)Output only. Latency report for the evaluation run.
$msg->run_count()/$msg->run_count($value)Type:
Int32Output only. The number of times the evaluations inside the run were run.
$msg->persona_run_configs()/$msg->persona_run_configs($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig)Output only. The configuration to use for the run per persona.
$msg->optimization_config()/$msg->optimization_config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig)Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
$msg->scheduled_evaluation_run()/$msg->scheduled_evaluation_run($value)Type:
StringOutput only. The scheduled evaluation run resource name that created this evaluation run. This field is only set if the evaluation run was created by a scheduled evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}`
$msg->golden_run_method()/$msg->golden_run_method($value)Type:
Enum(Google::Cloud::Ces::V1beta::GoldenRunMethod)Output only. The method used to run the evaluation.
$msg->operation()/$msg->operation($value)Type:
StringOutput only. The operation that created this evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation}`
Enum: EvaluationRun::EvaluationType
EVALUATION_TYPE_UNSPECIFIED=>0GOLDEN=>1SCENARIO=>2MIXED=>3
Enum: EvaluationRun::EvaluationRunState
EVALUATION_RUN_STATE_UNSPECIFIED=>0QUEUED=>5RUNNING=>1COMPLETED=>2ERROR=>3CANCELLED=>4
Google::Cloud::Ces::V1beta::Evaluation::LatencyReport
Latency report for the evaluation run.
Inherits from Protobuf::Message.
Accessors
$msg->tool_latencies()/$msg->tool_latencies($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::ToolLatency)Output only. Unordered list. Latency metrics for each tool.
$msg->callback_latencies()/$msg->callback_latencies($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::CallbackLatency)Output only. Unordered list. Latency metrics for each callback.
$msg->guardrail_latencies()/$msg->guardrail_latencies($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::GuardrailLatency)Output only. Unordered list. Latency metrics for each guardrail.
$msg->llm_call_latencies()/$msg->llm_call_latencies($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::LatencyReport::LlmCallLatency)Output only. Unordered list. Latency metrics for each LLM call.
$msg->session_count()/$msg->session_count($value)Type:
Int32Output only. The total number of sessions considered in the latency report.
Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation
An evaluation expectation represents a specific criteria to evaluate against.
Inherits from Protobuf::Message.
Accessors
$msg->llm_criteria()/$msg->llm_criteria($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation::LlmCriteria)Optional. Evaluation criteria based on an LLM prompt.
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of this evaluation expectation. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. User-defined display name. Must be unique within the app.
$msg->tags()/$msg->tags($value)Type:
StringOptional. User-defined tags for expectations. Can be used to filter expectations.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation expectation was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation expectation was last updated.
$msg->etag()/$msg->etag($value)Type:
StringOutput 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.
Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig
EvaluationConfig configures settings for running the evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->input_audio_config()/$msg->input_audio_config($value)Type:
Message(Google::Cloud::Ces::V1beta::SessionService::InputAudioConfig)Optional. Configuration for processing the input audio.
$msg->output_audio_config()/$msg->output_audio_config($value)Type:
Message(Google::Cloud::Ces::V1beta::SessionService::OutputAudioConfig)Optional. Configuration for generating the output audio.
$msg->evaluation_channel()/$msg->evaluation_channel($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationConfig::EvaluationChannel)Optional. The channel to evaluate.
$msg->tool_call_behaviour()/$msg->tool_call_behaviour($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationToolCallBehaviour)Optional. Specifies whether the evaluation should use real tool calls or fake tools.
Enum: EvaluationConfig::EvaluationChannel
EVALUATION_CHANNEL_UNSPECIFIED=>0TEXT=>1AUDIO=>2
Google::Cloud::Ces::V1beta::Evaluation::EvaluationErrorInfo
Information about an error encountered during an evaluation execution.
Inherits from Protobuf::Message.
Accessors
$msg->error_type()/$msg->error_type($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationErrorInfo::ErrorType)Output only. The type of error.
$msg->error_message()/$msg->error_message($value)Type:
StringOutput only. The error message.
$msg->session_id()/$msg->session_id($value)Type:
StringOutput only. The session ID for the conversation that caused the error.
$msg->user_facing_error_message()/$msg->user_facing_error_message($value)Type:
StringOutput only. The user facing error message.
Enum: EvaluationErrorInfo::ErrorType
ERROR_TYPE_UNSPECIFIED=>0RUNTIME_FAILURE=>1CONVERSATION_RETRIEVAL_FAILURE=>2METRIC_CALCULATION_FAILURE=>3EVALUATION_UPDATE_FAILURE=>4QUOTA_EXHAUSTED=>5USER_SIMULATION_FAILURE=>6
Google::Cloud::Ces::V1beta::Evaluation::RunEvaluationRequest
Request message for [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->app()/$msg->app($value)Type:
StringRequired. The app to evaluate. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->evaluations()/$msg->evaluations($value)Type:
StringOptional. List of evaluations to run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->evaluation_dataset()/$msg->evaluation_dataset($value)Type:
StringOptional. An evaluation dataset to run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}`
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The display name of the evaluation run.
$msg->app_version()/$msg->app_version($value)Type:
StringOptional. The app version to evaluate. At most one of `app_version` or `deployment` can be set. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationConfig)Optional. The configuration to use for the run.
$msg->run_count()/$msg->run_count($value)Type:
Int32Optional. The number of times to run the evaluation. If not set, the default value is 1 per golden, and 5 per scenario.
$msg->persona_run_configs()/$msg->persona_run_configs($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig)Optional. The configuration to use for the run per persona.
$msg->optimization_config()/$msg->optimization_config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig)Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
$msg->scheduled_evaluation_run()/$msg->scheduled_evaluation_run($value)Type:
StringOptional. The resource name of the `ScheduledEvaluationRun` that is triggering this evaluation run.
If this field is set, the `scheduled_evaluation_run` field on the created `EvaluationRun` resource will be populated from this value. Format: `projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}`
$msg->golden_run_method()/$msg->golden_run_method($value)Type:
Enum(Google::Cloud::Ces::V1beta::GoldenRunMethod)Optional. The method to run the evaluation if it is a golden evaluation. If not set, default to STABLE.
$msg->generate_latency_report()/$msg->generate_latency_report($value)Type:
BoolOptional. Whether to generate a latency report for the evaluation run.
$msg->evaluation_run_caching_settings()/$msg->evaluation_run_caching_settings($value)Type:
Message(Google::Cloud::Ces::V1beta::Common::EvaluationRunCachingSettings)Optional. The caching settings to use for the evaluation run.
Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun
Represents a scheduled evaluation run configuration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The unique identifier of the scheduled evaluation run config. Format: projects/{projectId}/locations/{locationId}/apps/{appId}/scheduledEvaluationRuns/{scheduledEvaluationRunId}
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. User-defined display name of the scheduled evaluation run config.
$msg->request()/$msg->request($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::RunEvaluationRequest)Required. The RunEvaluationRequest to schedule
$msg->description()/$msg->description($value)Type:
StringOptional. User-defined description of the scheduled evaluation run.
$msg->scheduling_config()/$msg->scheduling_config($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun::SchedulingConfig)Required. Configuration for the timing and frequency with which to execute the evaluations.
$msg->active()/$msg->active($value)Type:
BoolOptional. Whether this config is active
$msg->last_completed_run()/$msg->last_completed_run($value)Type:
StringOutput only. The last successful EvaluationRun of this scheduled execution. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}`
$msg->total_executions()/$msg->total_executions($value)Type:
Int32Output only. The total number of times this run has been executed
$msg->next_scheduled_execution_time()/$msg->next_scheduled_execution_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The next time this is scheduled to execute
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the scheduled evaluation run was created.
$msg->created_by()/$msg->created_by($value)Type:
StringOutput only. The user who created the scheduled evaluation run.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp when the evaluation was last updated.
$msg->last_updated_by()/$msg->last_updated_by($value)Type:
StringOutput only. The user who last updated the evaluation.
$msg->etag()/$msg->etag($value)Type:
StringOutput 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.
Google::Cloud::Ces::V1beta::Evaluation::PersonaRunConfig
Configuration for running an evaluation for a specific persona.
Inherits from Protobuf::Message.
Accessors
$msg->persona()/$msg->persona($value)Type:
StringOptional. The persona to use for the evaluation. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}`
$msg->task_count()/$msg->task_count($value)Type:
Int32Optional. The number of tasks to run for the persona.
Google::Cloud::Ces::V1beta::Evaluation::OptimizationConfig
Configuration for running the optimization step after the evaluation run.
Inherits from Protobuf::Message.
Accessors
$msg->generate_loss_report()/$msg->generate_loss_report($value)Type:
BoolOptional. Whether to generate a loss report.
$msg->assistant_session()/$msg->assistant_session($value)Type:
StringOutput only. The assistant session to use for the optimization based on this evaluation run. Format: `projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}`
$msg->report_summary()/$msg->report_summary($value)Type:
StringOutput only. The summary of the loss report.
$msg->should_suggest_fix()/$msg->should_suggest_fix($value)Type:
BoolOutput only. Whether to suggest a fix for the losses.
$msg->status()/$msg->status($value)Type:
Enum(Google::Cloud::Ces::V1beta::OptimizationConfig::OptimizationStatus)Output only. The status of the optimization run.
$msg->error_message()/$msg->error_message($value)Type:
StringOutput only. The error message if the optimization run failed.
$msg->loss_report()/$msg->loss_report($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. The generated loss report.
Enum: OptimizationConfig::OptimizationStatus
OPTIMIZATION_STATUS_UNSPECIFIED=>0RUNNING=>1COMPLETED=>2ERROR=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::Evaluation::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.