Service Client: Google::Cloud::Ces::V1beta::EvaluationService::EvaluationServiceClient
Client stub representing the remote EvaluationService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to ces.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Ces::V1beta::EvaluationService - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/evaluation_service.proto
SYNOPSIS
use Google::Cloud::Ces::V1beta::EvaluationService;
my $msg = Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationResultMetricsRequest->new({
evaluation_result_id => $evaluation_result_id,
});
# Read or update a field
my $val = $msg->evaluation_result_id();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationResultMetricsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/evaluation_service.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::EvaluationService::RunEvaluationResultMetricsRequest
Request message for [EvaluationService.RunEvaluationResultMetrics][google.cloud.ces.v1beta.EvaluationService.RunEvaluationResultMetrics].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_result_id()/$msg->evaluation_result_id($value)Type:
StringRequired. The evaluation result to run metrics for. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{evaluation_result_id}`
Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationResultMetricsResponse
Response message for [EvaluationService.RunEvaluationResultMetrics][google.cloud.ces.v1beta.EvaluationService.RunEvaluationResultMetrics].
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
Enum(Google::Cloud::Ces::V1beta::EvaluationResult::Outcome)Output only. The status of the evaluation result metrics calculation.
Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationResponse
Response message for [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_run()/$msg->evaluation_run($value)Type:
StringThe name of the evaluation run that was created. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}`
Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationOperationMetadata
Operation metadata for [EvaluationService.RunEvaluation][google.cloud.ces.v1beta.EvaluationService.RunEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->evaluations()/$msg->evaluations($value)Type:
StringOutput only. The list of evaluations that were run. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->evaluation_run()/$msg->evaluation_run($value)Type:
StringOutput only. The evaluation run that was created. Format: `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation completed.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. The verb of the operation.
$msg->cancel_requested()/$msg->cancel_requested($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.
Google::Cloud::Ces::V1beta::EvaluationService::GenerateEvaluationOperationMetadata
Operation metadata for [EvaluationService.GenerateEvaluation][google.cloud.ces.v1beta.EvaluationService.GenerateEvaluation].
Inherits from Protobuf::Message.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationRunOperationMetadata
Operation metadata for [EvaluationService.DeleteEvaluationRun][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationRun].
Inherits from Protobuf::Message.
Google::Cloud::Ces::V1beta::EvaluationService::CreateEvaluationRequest
Request message for [EvaluationService.CreateEvaluation][google.cloud.ces.v1beta.EvaluationService.CreateEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The app to create the evaluation for. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->evaluation_id()/$msg->evaluation_id($value)Type:
StringOptional. The ID to use for the evaluation, which will become the final component of the evaluation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
$msg->evaluation()/$msg->evaluation($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation)Required. The evaluation to create.
Google::Cloud::Ces::V1beta::EvaluationService::GenerateEvaluationRequest
Request message for [EvaluationService.GenerateEvaluation][google.cloud.ces.v1beta.EvaluationService.GenerateEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->conversation()/$msg->conversation($value)Type:
StringRequired. The conversation to create the golden evaluation for. Format: `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`
$msg->source()/$msg->source($value)Type:
Enum(Google::Cloud::Ces::V1beta::Conversation::Source)Optional. Indicate the source of the conversation. If not set, all sources will be searched.
$msg->evaluation_type()/$msg->evaluation_type($value)Type:
Enum(Google::Cloud::Ces::V1beta::GenerateEvaluationRequest::EvaluationType)Optional. The type of evaluation to generate. Defaults to GOLDEN if unspecified.
Enum: GenerateEvaluationRequest::EvaluationType
EVALUATION_TYPE_UNSPECIFIED=>0GOLDEN=>1SCENARIO=>2
Google::Cloud::Ces::V1beta::EvaluationService::ImportEvaluationsRequest
Request message for [EvaluationService.ImportEvaluations][google.cloud.ces.v1beta.EvaluationService.ImportEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->conversation_list()/$msg->conversation_list($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ImportEvaluationsRequest::ConversationList)The conversations to import the evaluations from.
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI from which to import evaluations. The format of this URI must be `gs://<bucket-name>/<object-name>`.
$msg->csv_content()/$msg->csv_content($value)Type:
BytesRaw bytes representing the csv file with the evaluations structure.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The app to import the evaluations into. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->import_options()/$msg->import_options($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ImportEvaluationsRequest::ImportOptions)Optional. Options governing the import process for the evaluations.
Google::Cloud::Ces::V1beta::EvaluationService::ImportEvaluationsResponse
Response message for [EvaluationService.ImportEvaluations][google.cloud.ces.v1beta.EvaluationService.ImportEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->evaluations()/$msg->evaluations($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation)The list of evaluations that were imported into the app.
$msg->evaluation_results()/$msg->evaluation_results($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult)The list of evaluation results that were imported into the app.
$msg->evaluation_runs()/$msg->evaluation_runs($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun)The list of evaluation runs that were imported into the app.
$msg->error_messages()/$msg->error_messages($value)Type:
StringOptional. A list of error messages associated with evaluations that failed to be imported.
$msg->import_failure_count()/$msg->import_failure_count($value)Type:
Int32The number of evaluations that either failed to import entirely or completed import with one or more errors.
$msg->evaluation_result_import_failure_count()/$msg->evaluation_result_import_failure_count($value)Type:
Int32The number of evaluation results that either failed to import entirely or completed import with one or more errors.
$msg->evaluation_run_import_failure_count()/$msg->evaluation_run_import_failure_count($value)Type:
Int32The number of evaluation runs that either failed to import entirely or completed import with one or more errors.
Google::Cloud::Ces::V1beta::EvaluationService::ImportEvaluationsOperationMetadata
Represents the metadata of the long-running operation for [EvaluationService.ImportEvaluations][google.cloud.ces.v1beta.EvaluationService.ImportEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
Google::Cloud::Ces::V1beta::EvaluationService::CreateEvaluationDatasetRequest
Request message for [EvaluationService.CreateEvaluationDataset][google.cloud.ces.v1beta.EvaluationService.CreateEvaluationDataset].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The app to create the evaluation for. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->evaluation_dataset_id()/$msg->evaluation_dataset_id($value)Type:
StringOptional. The ID to use for the evaluation dataset, which will become the final component of the evaluation dataset's resource name. If not provided, a unique ID will be automatically assigned for the evaluation.
$msg->evaluation_dataset()/$msg->evaluation_dataset($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset)Required. The evaluation dataset to create.
Google::Cloud::Ces::V1beta::EvaluationService::UpdateEvaluationRequest
Request message for [EvaluationService.UpdateEvaluation][google.cloud.ces.v1beta.EvaluationService.UpdateEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation()/$msg->evaluation($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation)Required. The evaluation to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Google::Cloud::Ces::V1beta::EvaluationService::UpdateEvaluationDatasetRequest
Request message for [EvaluationService.UpdateEvaluationDataset][google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationDataset].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_dataset()/$msg->evaluation_dataset($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset)Required. The evaluation dataset to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationRequest
Request message for [EvaluationService.DeleteEvaluation][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation to delete.
$msg->force()/$msg->force($value)Type:
BoolOptional. Indicates whether to forcefully delete the evaluation, even if it is still referenced by evaluation datasets.
* If `force = false`, the deletion will fail if any datasets still reference the evaluation. * If `force = true`, all existing references from datasets will be removed and the evaluation will be deleted.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the evaluation. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the evaluation, deletion will be blocked and an ABORTED error will be returned.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationResultRequest
Request message for [EvaluationService.DeleteEvaluationResult][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationResult].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation result to delete.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationDatasetRequest
Request message for [EvaluationService.DeleteEvaluationDataset][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationDataset].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation dataset to delete.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the evaluation dataset. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the evaluation dataset, deletion will be blocked and an ABORTED error will be returned.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationRunRequest
Request message for [EvaluationService.DeleteEvaluationRun][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation run to delete.
Google::Cloud::Ces::V1beta::EvaluationService::GetEvaluationRequest
Request message for [EvaluationService.GetEvaluation][google.cloud.ces.v1beta.EvaluationService.GetEvaluation].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::GetEvaluationResultRequest
Request message for [EvaluationService.GetEvaluationResult][google.cloud.ces.v1beta.EvaluationService.GetEvaluationResult].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation result to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::GetEvaluationDatasetRequest
Request message for [EvaluationService.GetEvaluationDataset][google.cloud.ces.v1beta.EvaluationService.GetEvaluationDataset].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation dataset to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::GetEvaluationRunRequest
Request message for [EvaluationService.GetEvaluationRun][google.cloud.ces.v1beta.EvaluationService.GetEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation run to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationsRequest
Request message for [EvaluationService.ListEvaluations][google.cloud.ces.v1beta.EvaluationService.ListEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to list evaluations from.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListEvaluationsResponse.next_page_token] value returned from a previous list [EvaluationService.ListEvaluations][google.cloud.ces.v1beta.EvaluationService.ListEvaluations] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Deprecated: Use evaluation_filter and evaluation_run_filter instead.
$msg->evaluation_filter()/$msg->evaluation_filter($value)Type:
StringOptional. Filter to be applied on the evaluation when listing the evaluations. See https://google.aip.dev/160 for more details. Supported fields: evaluation_datasets
$msg->evaluation_run_filter()/$msg->evaluation_run_filter($value)Type:
StringOptional. Filter string for fields on the associated EvaluationRun resources. See https://google.aip.dev/160 for more details. Supported fields: create_time, initiated_by, app_version_display_name
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Only "name" and "create_time", and "update_time" are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
$msg->last_ten_results()/$msg->last_ten_results($value)Type:
BoolOptional. Whether to include the last 10 evaluation results for each evaluation in the response.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationResultsRequest
Request message for [EvaluationService.ListEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ListEvaluationResults].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the evaluation to list evaluation results from. To filter by evaluation run, use `-` as the evaluation ID and specify the evaluation run ID in the filter. For example: `projects/{project}/locations/{location}/apps/{app}/evaluations/-`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListEvaluationResultsResponse.next_page_token] value returned from a previous list [EvaluationService.ListEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ListEvaluationResults] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter to be applied when listing the evaluation results. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Only "name" and "create_time", and "update_time" are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationDatasetsRequest
Request message for [EvaluationService.ListEvaluationDatasets][google.cloud.ces.v1beta.EvaluationService.ListEvaluationDatasets].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to list evaluation datasets from.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListEvaluationDatasetsResponse.next_page_token] value returned from a previous list [EvaluationService.ListEvaluationDatasets][google.cloud.ces.v1beta.EvaluationService.ListEvaluationDatasets] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter to be applied when listing the evaluation datasets. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Only "name" and "create_time", and "update_time" are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationRunsRequest
Request message for [EvaluationService.ListEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to list evaluation runs from.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListEvaluationRunsResponse.next_page_token] value returned from a previous list [EvaluationService.ListEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListEvaluationRuns] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter to be applied when listing the evaluation runs. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Only "name" and "create_time", and "update_time" are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationsResponse
Response message for [EvaluationService.ListEvaluations][google.cloud.ces.v1beta.EvaluationService.ListEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->evaluations()/$msg->evaluations($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::Evaluation)The list of evaluations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListEvaluationsRequest.page_token][google.cloud.ces.v1beta.ListEvaluationsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationResultsResponse
Response message for [EvaluationService.ListEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ListEvaluationResults].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_results()/$msg->evaluation_results($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationResult)The list of evaluation results.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListEvaluationResultsRequest.page_token][google.cloud.ces.v1beta.ListEvaluationResultsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationDatasetsResponse
Response message for [EvaluationService.ListEvaluationDatasets][google.cloud.ces.v1beta.EvaluationService.ListEvaluationDatasets].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_datasets()/$msg->evaluation_datasets($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationDataset)The list of evaluation datasets.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListEvaluationDatasetsRequest.page_token][google.cloud.ces.v1beta.ListEvaluationDatasetsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationRunsResponse
Response message for [EvaluationService.ListEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_runs()/$msg->evaluation_runs($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationRun)The list of evaluation runs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListEvaluationRunsRequest.page_token][google.cloud.ces.v1beta.ListEvaluationRunsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::CreateScheduledEvaluationRunRequest
Request message for [EvaluationService.CreateScheduledEvaluationRun][google.cloud.ces.v1beta.EvaluationService.CreateScheduledEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The app to create the scheduled evaluation run for. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->scheduled_evaluation_run_id()/$msg->scheduled_evaluation_run_id($value)Type:
StringOptional. The ID to use for the scheduled evaluation run, which will become the final component of the scheduled evaluation run's resource name. If not provided, a unique ID will be automatically assigned.
$msg->scheduled_evaluation_run()/$msg->scheduled_evaluation_run($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun)Required. The scheduled evaluation run to create.
Google::Cloud::Ces::V1beta::EvaluationService::GetScheduledEvaluationRunRequest
Request message for [EvaluationService.GetScheduledEvaluationRun][google.cloud.ces.v1beta.EvaluationService.GetScheduledEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the scheduled evaluation run to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::ListScheduledEvaluationRunsRequest
Request message for [EvaluationService.ListScheduledEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListScheduledEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to list scheduled evaluation runs from.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListScheduledEvaluationRunsResponse.next_page_token] value returned from a previous list [EvaluationService.ListScheduledEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListScheduledEvaluationRuns] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter to be applied when listing the scheduled evaluation runs. See https://google.aip.dev/160 for more details. Currently supports filtering by: * request.evaluations:evaluation_id * request.evaluation_dataset:evaluation_dataset_id
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Supported fields are: "name" (ascending), "create_time" (descending), "update_time" (descending), "next_scheduled_execution" (ascending), and "last_completed_run.create_time" (descending). If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Ces::V1beta::EvaluationService::ListScheduledEvaluationRunsResponse
Response message for [EvaluationService.ListScheduledEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ListScheduledEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->scheduled_evaluation_runs()/$msg->scheduled_evaluation_runs($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun)The list of scheduled evaluation runs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListScheduledEvaluationRunsRequest.page_token][google.cloud.ces.v1beta.ListScheduledEvaluationRunsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::UpdateScheduledEvaluationRunRequest
Request message for [EvaluationService.UpdateScheduledEvaluationRun][google.cloud.ces.v1beta.EvaluationService.UpdateScheduledEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->scheduled_evaluation_run()/$msg->scheduled_evaluation_run($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::ScheduledEvaluationRun)Required. The scheduled evaluation run to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteScheduledEvaluationRunRequest
Request message for [EvaluationService.DeleteScheduledEvaluationRun][google.cloud.ces.v1beta.EvaluationService.DeleteScheduledEvaluationRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the scheduled evaluation run to delete.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The etag of the ScheduledEvaluationRun. If provided, it must match the server's etag.
Google::Cloud::Ces::V1beta::EvaluationService::TestPersonaVoiceRequest
Request message for [EvaluationService.TestPersonaVoice][google.cloud.ces.v1beta.EvaluationService.TestPersonaVoice].
Inherits from Protobuf::Message.
Accessors
$msg->app()/$msg->app($value)Type:
StringRequired. the resource name of the app to test the persona voice for. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->persona_id()/$msg->persona_id($value)Type:
StringRequired. The persona ID to test the voice for. Also accepts "default".
$msg->text()/$msg->text($value)Type:
StringRequired. The text to test the voice for.
Google::Cloud::Ces::V1beta::EvaluationService::UploadEvaluationAudioRequest
Request message for [EvaluationService.UploadEvaluationAudio][google.cloud.ces.v1beta.EvaluationService.UploadEvaluationAudio].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the Evaluation for which to upload the evaluation audio. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->audio_content()/$msg->audio_content($value)Type:
BytesRequired. The raw audio bytes. The format of the audio must be single-channel LINEAR16 with a sample rate of 16kHz (default InputAudioConfig).
$msg->previous_audio_gcs_uri()/$msg->previous_audio_gcs_uri($value)Type:
StringOptional. The Google Cloud Storage URI of the previously uploaded audio file to be deleted. Format: `gs://<bucket-name>/<object-name>`
Google::Cloud::Ces::V1beta::EvaluationService::UploadEvaluationAudioResponse
Response message for [EvaluationService.UploadEvaluationAudio][google.cloud.ces.v1beta.EvaluationService.UploadEvaluationAudio].
Inherits from Protobuf::Message.
Accessors
$msg->audio_gcs_uri()/$msg->audio_gcs_uri($value)Type:
StringThe Google Cloud Storage URI where the uploaded audio file is stored. Format: `gs://<bucket-name>/<object-name>`
$msg->transcript()/$msg->transcript($value)Type:
StringThe transcript of the audio, generated by Cloud Speech-to-Text.
$msg->duration()/$msg->duration($value)Type:
Message(Google::Protobuf::Duration::Duration)The duration of the audio.
Google::Cloud::Ces::V1beta::EvaluationService::TestPersonaVoiceResponse
Response message for [EvaluationService.TestPersonaVoice][google.cloud.ces.v1beta.EvaluationService.TestPersonaVoice].
Inherits from Protobuf::Message.
Accessors
$msg->audio()/$msg->audio($value)Type:
BytesThe audio data bytes of the synthesized voice.
Google::Cloud::Ces::V1beta::EvaluationService::CreateEvaluationExpectationRequest
Request message for [EvaluationService.CreateEvaluationExpectation][google.cloud.ces.v1beta.EvaluationService.CreateEvaluationExpectation].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The app to create the evaluation expectation for. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->evaluation_expectation_id()/$msg->evaluation_expectation_id($value)Type:
StringOptional. The ID to use for the evaluation expectation, which will become the final component of the evaluation expectation's resource name. If not provided, a unique ID will be automatically assigned for the evaluation expectation.
$msg->evaluation_expectation()/$msg->evaluation_expectation($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation)Required. The evaluation expectation to create.
Google::Cloud::Ces::V1beta::EvaluationService::UpdateEvaluationExpectationRequest
Request message for [EvaluationService.UpdateEvaluationExpectation][google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationExpectation].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_expectation()/$msg->evaluation_expectation($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation)Required. The evaluation expectation to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
Google::Cloud::Ces::V1beta::EvaluationService::DeleteEvaluationExpectationRequest
Request message for [EvaluationService.DeleteEvaluationExpectation][google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationExpectation].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation expectation to delete.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the evaluation expectation. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the evaluation expectation, deletion will be blocked and an ABORTED error will be returned.
Google::Cloud::Ces::V1beta::EvaluationService::GetEvaluationExpectationRequest
Request message for [EvaluationService.GetEvaluationExpectation][google.cloud.ces.v1beta.EvaluationService.GetEvaluationExpectation].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the evaluation expectation to retrieve.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationExpectationsRequest
Request message for [EvaluationService.ListEvaluationExpectations][google.cloud.ces.v1beta.EvaluationService.ListEvaluationExpectations].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to list evaluation expectations from.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The [next_page_token][google.cloud.ces.v1beta.ListEvaluationExpectationsResponse.next_page_token] value returned from a previous list [EvaluationService.ListEvaluationExpectations][google.cloud.ces.v1beta.EvaluationService.ListEvaluationExpectations] call.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter to be applied when listing the evaluation expectations. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. Only "name" and "create_time", and "update_time" are supported. Time fields are ordered in descending order, and the name field is ordered in ascending order. If not included, "update_time" will be the default. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Ces::V1beta::EvaluationService::ListEvaluationExpectationsResponse
Response message for [EvaluationService.ListEvaluationExpectations][google.cloud.ces.v1beta.EvaluationService.ListEvaluationExpectations].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_expectations()/$msg->evaluation_expectations($value)Type:
Message(Google::Cloud::Ces::V1beta::Evaluation::EvaluationExpectation)The list of evaluation expectations.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListEvaluationExpectationsRequest.page_token][google.cloud.ces.v1beta.ListEvaluationExpectationsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.
Google::Cloud::Ces::V1beta::EvaluationService::ExportOptions
Options for exporting CES evaluation resources.
Inherits from Protobuf::Message.
Accessors
$msg->export_format()/$msg->export_format($value)Type:
Enum(Google::Cloud::Ces::V1beta::ExportOptions::ExportFormat)Optional. The format to export the evaluation results in. Defaults to JSON if not specified.
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringOptional. The Google Cloud Storage URI to write the exported Evaluation Results to.
Enum: ExportOptions::ExportFormat
EXPORT_FORMAT_UNSPECIFIED=>0JSON=>1YAML=>2
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationsRequest
Request message for [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to export evaluations from. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->names()/$msg->names($value)Type:
StringRequired. The resource names of the evaluations to export.
$msg->export_options()/$msg->export_options($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ExportOptions)Optional. The export options for the evaluations.
$msg->include_evaluation_results()/$msg->include_evaluation_results($value)Type:
BoolOptional. Includes evaluation results in the export. At least one of include_evaluation_results or include_evaluations must be set.
$msg->include_evaluations()/$msg->include_evaluations($value)Type:
BoolOptional. Includes evaluations in the export. At least one of include_evaluation_results or include_evaluations must be set.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationsResponse
Response message for [EvaluationService.ExportEvaluations][google.cloud.ces.v1beta.EvaluationService.ExportEvaluations].
Inherits from Protobuf::Message.
Accessors
$msg->evaluations_content()/$msg->evaluations_content($value)Type:
BytesThe content of the exported Evaluations. This will be populated if gcs_uri was not specified in the request.
$msg->evaluations_uri()/$msg->evaluations_uri($value)Type:
StringThe Google Cloud Storage URI folder where the exported evaluations were written. This will be populated if gcs_uri was specified in the request.
$msg->failed_evaluations()/$msg->failed_evaluations($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationsResponse::FailedEvaluationsEntry)Output only. A map of evaluation resource names that could not be exported, to the reason why they failed.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationResultsRequest
Request message for [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the evaluation to export evaluation results from. Format: `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
$msg->names()/$msg->names($value)Type:
StringRequired. The resource names of the evaluation results to export.
$msg->export_options()/$msg->export_options($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ExportOptions)Optional. The export options for the evaluation results.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationResultsResponse
Response message for [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_results_content()/$msg->evaluation_results_content($value)Type:
BytesThe content of the exported Evaluation Results. This will be populated if gcs_uri was not specified in the request.
$msg->evaluation_results_uri()/$msg->evaluation_results_uri($value)Type:
StringThe Google Cloud Storage URI folder where the exported Evaluation Results were written. This will be populated if gcs_uri was specified in the request.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationRunsRequest
Request message for [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the app to export evaluation runs from. Format: `projects/{project}/locations/{location}/apps/{app}`
$msg->names()/$msg->names($value)Type:
StringRequired. The resource names of the evaluation runs to export.
$msg->export_options()/$msg->export_options($value)Type:
Message(Google::Cloud::Ces::V1beta::EvaluationService::ExportOptions)Optional. The export options for the evaluation runs.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationRunsResponse
Response message for [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_runs_content()/$msg->evaluation_runs_content($value)Type:
BytesThe content of the exported Evaluation Runs. This will be populated if gcs_uri was not specified in the request.
$msg->evaluation_runs_uri()/$msg->evaluation_runs_uri($value)Type:
StringThe Google Cloud Storage URI folder where the exported Evaluation Runs were written. This will be populated if gcs_uri was specified in the request.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationRunsOperationMetadata
Operation metadata for [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
Inherits from Protobuf::Message.
Google::Cloud::Ces::V1beta::EvaluationService::ExportEvaluationResultsOperationMetadata
Operation metadata for [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
Inherits from Protobuf::Message.
Google::Cloud::Ces::V1beta::EvaluationService::RunEvaluationResultMetricsOperationMetadata
Operation metadata for [EvaluationService.RunEvaluationResultMetrics][google.cloud.ces.v1beta.EvaluationService.RunEvaluationResultMetrics].
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::EvaluationService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.