google-cloud-ces-v1beta 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/ces/v1beta/agent_pb.rb +30 -0
- data/lib/google/cloud/ces/v1beta/agent_service/client.rb +5635 -0
- data/lib/google/cloud/ces/v1beta/agent_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/agent_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1beta/agent_service/paths.rb +481 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/client.rb +5243 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest/service_stub.rb +3213 -0
- data/lib/google/cloud/ces/v1beta/agent_service/rest.rb +55 -0
- data/lib/google/cloud/ces/v1beta/agent_service.rb +57 -0
- data/lib/google/cloud/ces/v1beta/agent_service_pb.rb +131 -0
- data/lib/google/cloud/ces/v1beta/agent_service_services_pb.rb +148 -0
- data/lib/google/cloud/ces/v1beta/agent_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/agent_transfers_pb.rb +29 -0
- data/lib/google/cloud/ces/v1beta/app_pb.rb +67 -0
- data/lib/google/cloud/ces/v1beta/app_version_pb.rb +32 -0
- data/lib/google/cloud/ces/v1beta/auth_pb.rb +34 -0
- data/lib/google/cloud/ces/v1beta/bigquery_export_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/bindings_override.rb +75 -0
- data/lib/google/cloud/ces/v1beta/changelog_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/client_function_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/common_pb.rb +46 -0
- data/lib/google/cloud/ces/v1beta/connector_tool_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/connector_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/conversation_pb.rb +31 -0
- data/lib/google/cloud/ces/v1beta/data_store_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/data_store_tool_pb.rb +40 -0
- data/lib/google/cloud/ces/v1beta/deployment_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/evaluation_pb.rb +98 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/client.rb +3732 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/paths.rb +306 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/client.rb +3473 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/service_stub.rb +2047 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest.rb +54 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service.rb +56 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service_pb.rb +86 -0
- data/lib/google/cloud/ces/v1beta/evaluation_service_services_pb.rb +110 -0
- data/lib/google/cloud/ces/v1beta/example_pb.rb +34 -0
- data/lib/google/cloud/ces/v1beta/fakes_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/file_context_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/file_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/golden_run_pb.rb +21 -0
- data/lib/google/cloud/ces/v1beta/google_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/guardrail_pb.rb +37 -0
- data/lib/google/cloud/ces/v1beta/mcp_tool_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/mcp_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/mocks_pb.rb +26 -0
- data/lib/google/cloud/ces/v1beta/omnichannel_pb.rb +31 -0
- data/lib/google/cloud/ces/v1beta/omnichannel_service_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/open_api_tool_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/open_api_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/python_function_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/rest.rb +42 -0
- data/lib/google/cloud/ces/v1beta/schema_pb.rb +25 -0
- data/lib/google/cloud/ces/v1beta/search_suggestions_pb.rb +22 -0
- data/lib/google/cloud/ces/v1beta/security_settings_pb.rb +27 -0
- data/lib/google/cloud/ces/v1beta/session_service/client.rb +760 -0
- data/lib/google/cloud/ces/v1beta/session_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/session_service/paths.rb +117 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/client.rb +560 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest/service_stub.rb +199 -0
- data/lib/google/cloud/ces/v1beta/session_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/session_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/session_service_pb.rb +53 -0
- data/lib/google/cloud/ces/v1beta/session_service_services_pb.rb +120 -0
- data/lib/google/cloud/ces/v1beta/system_tool_pb.rb +23 -0
- data/lib/google/cloud/ces/v1beta/tool_pb.rb +38 -0
- data/lib/google/cloud/ces/v1beta/tool_service/client.rb +727 -0
- data/lib/google/cloud/ces/v1beta/tool_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/tool_service/paths.rb +94 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest/client.rb +671 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest/service_stub.rb +267 -0
- data/lib/google/cloud/ces/v1beta/tool_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/tool_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/tool_service_pb.rb +36 -0
- data/lib/google/cloud/ces/v1beta/tool_service_services_pb.rb +50 -0
- data/lib/google/cloud/ces/v1beta/toolset_pb.rb +30 -0
- data/lib/google/cloud/ces/v1beta/toolset_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1beta/version.rb +7 -2
- data/lib/google/cloud/ces/v1beta/widget_service/client.rb +501 -0
- data/lib/google/cloud/ces/v1beta/widget_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1beta/widget_service/paths.rb +75 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest/client.rb +459 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest/service_stub.rb +143 -0
- data/lib/google/cloud/ces/v1beta/widget_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1beta/widget_service.rb +55 -0
- data/lib/google/cloud/ces/v1beta/widget_service_pb.rb +28 -0
- data/lib/google/cloud/ces/v1beta/widget_service_services_pb.rb +46 -0
- data/lib/google/cloud/ces/v1beta/widget_tool_pb.rb +29 -0
- data/lib/google/cloud/ces/v1beta.rb +49 -0
- data/lib/google-cloud-ces-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/ces/v1beta/agent.rb +224 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_service.rb +1661 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_tool.rb +48 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_transfers.rb +111 -0
- data/proto_docs/google/cloud/ces/v1beta/app.rb +836 -0
- data/proto_docs/google/cloud/ces/v1beta/app_version.rb +83 -0
- data/proto_docs/google/cloud/ces/v1beta/auth.rb +214 -0
- data/proto_docs/google/cloud/ces/v1beta/bigquery_export.rb +45 -0
- data/proto_docs/google/cloud/ces/v1beta/changelog.rb +73 -0
- data/proto_docs/google/cloud/ces/v1beta/client_function.rb +48 -0
- data/proto_docs/google/cloud/ces/v1beta/common.rb +375 -0
- data/proto_docs/google/cloud/ces/v1beta/connector_tool.rb +122 -0
- data/proto_docs/google/cloud/ces/v1beta/connector_toolset.rb +52 -0
- data/proto_docs/google/cloud/ces/v1beta/conversation.rb +156 -0
- data/proto_docs/google/cloud/ces/v1beta/data_store.rb +102 -0
- data/proto_docs/google/cloud/ces/v1beta/data_store_tool.rb +328 -0
- data/proto_docs/google/cloud/ces/v1beta/deployment.rb +62 -0
- data/proto_docs/google/cloud/ces/v1beta/evaluation.rb +1618 -0
- data/proto_docs/google/cloud/ces/v1beta/evaluation_service.rb +1009 -0
- data/proto_docs/google/cloud/ces/v1beta/example.rb +245 -0
- data/proto_docs/google/cloud/ces/v1beta/fakes.rb +67 -0
- data/proto_docs/google/cloud/ces/v1beta/file_context.rb +50 -0
- data/proto_docs/google/cloud/ces/v1beta/file_search_tool.rb +60 -0
- data/proto_docs/google/cloud/ces/v1beta/golden_run.rb +40 -0
- data/proto_docs/google/cloud/ces/v1beta/google_search_tool.rb +76 -0
- data/proto_docs/google/cloud/ces/v1beta/guardrail.rb +324 -0
- data/proto_docs/google/cloud/ces/v1beta/mcp_tool.rb +85 -0
- data/proto_docs/google/cloud/ces/v1beta/mcp_toolset.rb +71 -0
- data/proto_docs/google/cloud/ces/v1beta/mocks.rb +60 -0
- data/proto_docs/google/cloud/ces/v1beta/omnichannel.rb +163 -0
- data/proto_docs/google/cloud/ces/v1beta/omnichannel_service.rb +45 -0
- data/proto_docs/google/cloud/ces/v1beta/open_api_tool.rb +66 -0
- data/proto_docs/google/cloud/ces/v1beta/open_api_toolset.rb +57 -0
- data/proto_docs/google/cloud/ces/v1beta/python_function.rb +44 -0
- data/proto_docs/google/cloud/ces/v1beta/schema.rb +162 -0
- data/proto_docs/google/cloud/ces/v1beta/search_suggestions.rb +55 -0
- data/proto_docs/google/cloud/ces/v1beta/security_settings.rb +80 -0
- data/proto_docs/google/cloud/ces/v1beta/session_service.rb +490 -0
- data/proto_docs/google/cloud/ces/v1beta/system_tool.rb +38 -0
- data/proto_docs/google/cloud/ces/v1beta/tool.rb +126 -0
- data/proto_docs/google/cloud/ces/v1beta/tool_service.rb +173 -0
- data/proto_docs/google/cloud/ces/v1beta/toolset.rb +80 -0
- data/proto_docs/google/cloud/ces/v1beta/toolset_tool.rb +40 -0
- data/proto_docs/google/cloud/ces/v1beta/widget_service.rb +62 -0
- data/proto_docs/google/cloud/ces/v1beta/widget_tool.rb +146 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +204 -9
|
@@ -0,0 +1,1009 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Ces
|
|
23
|
+
module V1beta
|
|
24
|
+
# Response message for
|
|
25
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#run_evaluation EvaluationService.RunEvaluation}.
|
|
26
|
+
# @!attribute [rw] evaluation_run
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# The name of the evaluation run that was created.
|
|
29
|
+
# Format:
|
|
30
|
+
# `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}`
|
|
31
|
+
class RunEvaluationResponse
|
|
32
|
+
include ::Google::Protobuf::MessageExts
|
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Operation metadata for
|
|
37
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#run_evaluation EvaluationService.RunEvaluation}.
|
|
38
|
+
# @!attribute [r] evaluations
|
|
39
|
+
# @return [::Array<::String>]
|
|
40
|
+
# Output only. The list of evaluations that were run.
|
|
41
|
+
# Format:
|
|
42
|
+
# `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
|
|
43
|
+
# @!attribute [r] evaluation_run
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# Output only. The evaluation run that was created.
|
|
46
|
+
# Format:
|
|
47
|
+
# `projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}`
|
|
48
|
+
# @!attribute [r] create_time
|
|
49
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
50
|
+
# Output only. The time the operation was created.
|
|
51
|
+
# @!attribute [r] end_time
|
|
52
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
53
|
+
# Output only. The time the operation completed.
|
|
54
|
+
# @!attribute [r] verb
|
|
55
|
+
# @return [::String]
|
|
56
|
+
# Output only. The verb of the operation.
|
|
57
|
+
# @!attribute [r] cancel_requested
|
|
58
|
+
# @return [::Boolean]
|
|
59
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
60
|
+
# operation. Operations that have been cancelled successfully have
|
|
61
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
|
62
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of `1`,
|
|
63
|
+
# corresponding to `Code.CANCELLED`.
|
|
64
|
+
class RunEvaluationOperationMetadata
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Operation metadata for
|
|
70
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#generate_evaluation EvaluationService.GenerateEvaluation}.
|
|
71
|
+
class GenerateEvaluationOperationMetadata
|
|
72
|
+
include ::Google::Protobuf::MessageExts
|
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Operation metadata for
|
|
77
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation_run EvaluationService.DeleteEvaluationRun}.
|
|
78
|
+
class DeleteEvaluationRunOperationMetadata
|
|
79
|
+
include ::Google::Protobuf::MessageExts
|
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Request message for
|
|
84
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#create_evaluation EvaluationService.CreateEvaluation}.
|
|
85
|
+
# @!attribute [rw] parent
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# Required. The app to create the evaluation for.
|
|
88
|
+
# Format:
|
|
89
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
90
|
+
# @!attribute [rw] evaluation_id
|
|
91
|
+
# @return [::String]
|
|
92
|
+
# Optional. The ID to use for the evaluation, which will become the final
|
|
93
|
+
# component of the evaluation's resource name. If not provided, a unique ID
|
|
94
|
+
# will be automatically assigned for the evaluation.
|
|
95
|
+
# @!attribute [rw] evaluation
|
|
96
|
+
# @return [::Google::Cloud::Ces::V1beta::Evaluation]
|
|
97
|
+
# Required. The evaluation to create.
|
|
98
|
+
class CreateEvaluationRequest
|
|
99
|
+
include ::Google::Protobuf::MessageExts
|
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Request message for
|
|
104
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#generate_evaluation EvaluationService.GenerateEvaluation}.
|
|
105
|
+
# @!attribute [rw] conversation
|
|
106
|
+
# @return [::String]
|
|
107
|
+
# Required. The conversation to create the golden evaluation for.
|
|
108
|
+
# Format:
|
|
109
|
+
# `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`
|
|
110
|
+
# @!attribute [rw] source
|
|
111
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
112
|
+
# @return [::Google::Cloud::Ces::V1beta::Conversation::Source]
|
|
113
|
+
# Optional. Indicate the source of the conversation. If not set, all sources
|
|
114
|
+
# will be searched.
|
|
115
|
+
class GenerateEvaluationRequest
|
|
116
|
+
include ::Google::Protobuf::MessageExts
|
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Request message for
|
|
121
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#import_evaluations EvaluationService.ImportEvaluations}.
|
|
122
|
+
# @!attribute [rw] conversation_list
|
|
123
|
+
# @return [::Google::Cloud::Ces::V1beta::ImportEvaluationsRequest::ConversationList]
|
|
124
|
+
# The conversations to import the evaluations from.
|
|
125
|
+
#
|
|
126
|
+
# Note: The following fields are mutually exclusive: `conversation_list`, `gcs_uri`, `csv_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
127
|
+
# @!attribute [rw] gcs_uri
|
|
128
|
+
# @return [::String]
|
|
129
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
|
|
130
|
+
# from which to import evaluations. The format of this URI must be
|
|
131
|
+
# `gs://<bucket-name>/<object-name>`.
|
|
132
|
+
#
|
|
133
|
+
# Note: The following fields are mutually exclusive: `gcs_uri`, `conversation_list`, `csv_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
134
|
+
# @!attribute [rw] csv_content
|
|
135
|
+
# @return [::String]
|
|
136
|
+
# Raw bytes representing the csv file with the evaluations structure.
|
|
137
|
+
#
|
|
138
|
+
# Note: The following fields are mutually exclusive: `csv_content`, `conversation_list`, `gcs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
139
|
+
# @!attribute [rw] parent
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# Required. The app to import the evaluations into.
|
|
142
|
+
# Format:
|
|
143
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
144
|
+
# @!attribute [rw] import_options
|
|
145
|
+
# @return [::Google::Cloud::Ces::V1beta::ImportEvaluationsRequest::ImportOptions]
|
|
146
|
+
# Optional. Options governing the import process for the evaluations.
|
|
147
|
+
class ImportEvaluationsRequest
|
|
148
|
+
include ::Google::Protobuf::MessageExts
|
|
149
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
150
|
+
|
|
151
|
+
# A list of conversation resource names.
|
|
152
|
+
# @!attribute [rw] conversations
|
|
153
|
+
# @return [::Array<::String>]
|
|
154
|
+
# Optional. Conversation resource names.
|
|
155
|
+
class ConversationList
|
|
156
|
+
include ::Google::Protobuf::MessageExts
|
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Configuration options for the evaluation import process.
|
|
161
|
+
# These options control how the import behaves, particularly when
|
|
162
|
+
# conflicts arise with existing evaluations data.
|
|
163
|
+
# @!attribute [rw] conflict_resolution_strategy
|
|
164
|
+
# @return [::Google::Cloud::Ces::V1beta::ImportEvaluationsRequest::ImportOptions::ConflictResolutionStrategy]
|
|
165
|
+
# Optional. The strategy to use when resolving conflicts during import.
|
|
166
|
+
class ImportOptions
|
|
167
|
+
include ::Google::Protobuf::MessageExts
|
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
169
|
+
|
|
170
|
+
# Defines the strategy for handling conflicts when an evaluation with the
|
|
171
|
+
# same evaluation ID already exists in the app.
|
|
172
|
+
module ConflictResolutionStrategy
|
|
173
|
+
# The conflict resolution strategy is unspecified.
|
|
174
|
+
CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED = 0
|
|
175
|
+
|
|
176
|
+
# Overwrite the existing evaluation with the new one.
|
|
177
|
+
OVERWRITE = 1
|
|
178
|
+
|
|
179
|
+
# Keep the existing evaluation and skip the new one.
|
|
180
|
+
SKIP = 2
|
|
181
|
+
|
|
182
|
+
# Keep the existing evaluation and duplicate the new one as a new
|
|
183
|
+
# evaluation.
|
|
184
|
+
DUPLICATE = 3
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Response message for
|
|
190
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#import_evaluations EvaluationService.ImportEvaluations}.
|
|
191
|
+
# @!attribute [rw] evaluations
|
|
192
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::Evaluation>]
|
|
193
|
+
# The list of evaluations that were imported into the app.
|
|
194
|
+
# @!attribute [rw] evaluation_results
|
|
195
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationResult>]
|
|
196
|
+
# The list of evaluation results that were imported into the app.
|
|
197
|
+
# @!attribute [rw] evaluation_runs
|
|
198
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationRun>]
|
|
199
|
+
# The list of evaluation runs that were imported into the app.
|
|
200
|
+
# @!attribute [rw] error_messages
|
|
201
|
+
# @return [::Array<::String>]
|
|
202
|
+
# Optional. A list of error messages associated with evaluations that failed
|
|
203
|
+
# to be imported.
|
|
204
|
+
# @!attribute [rw] import_failure_count
|
|
205
|
+
# @return [::Integer]
|
|
206
|
+
# The number of evaluations that either failed to import entirely or
|
|
207
|
+
# completed import with one or more errors.
|
|
208
|
+
# @!attribute [rw] evaluation_result_import_failure_count
|
|
209
|
+
# @return [::Integer]
|
|
210
|
+
# The number of evaluation results that either failed to import entirely or
|
|
211
|
+
# completed import with one or more errors.
|
|
212
|
+
# @!attribute [rw] evaluation_run_import_failure_count
|
|
213
|
+
# @return [::Integer]
|
|
214
|
+
# The number of evaluation runs that either failed to import entirely or
|
|
215
|
+
# completed import with one or more errors.
|
|
216
|
+
class ImportEvaluationsResponse
|
|
217
|
+
include ::Google::Protobuf::MessageExts
|
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Represents the metadata of the long-running operation for
|
|
222
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#import_evaluations EvaluationService.ImportEvaluations}.
|
|
223
|
+
# @!attribute [r] create_time
|
|
224
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
225
|
+
# Output only. The time the operation was created.
|
|
226
|
+
# @!attribute [r] end_time
|
|
227
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
228
|
+
# Output only. The time the operation finished running.
|
|
229
|
+
# @!attribute [r] status_message
|
|
230
|
+
# @return [::String]
|
|
231
|
+
# Output only. Human-readable status of the operation, if any.
|
|
232
|
+
class ImportEvaluationsOperationMetadata
|
|
233
|
+
include ::Google::Protobuf::MessageExts
|
|
234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Request message for
|
|
238
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#create_evaluation_dataset EvaluationService.CreateEvaluationDataset}.
|
|
239
|
+
# @!attribute [rw] parent
|
|
240
|
+
# @return [::String]
|
|
241
|
+
# Required. The app to create the evaluation for.
|
|
242
|
+
# Format:
|
|
243
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
244
|
+
# @!attribute [rw] evaluation_dataset_id
|
|
245
|
+
# @return [::String]
|
|
246
|
+
# Optional. The ID to use for the evaluation dataset, which will become the
|
|
247
|
+
# final component of the evaluation dataset's resource name. If not provided,
|
|
248
|
+
# a unique ID will be automatically assigned for the evaluation.
|
|
249
|
+
# @!attribute [rw] evaluation_dataset
|
|
250
|
+
# @return [::Google::Cloud::Ces::V1beta::EvaluationDataset]
|
|
251
|
+
# Required. The evaluation dataset to create.
|
|
252
|
+
class CreateEvaluationDatasetRequest
|
|
253
|
+
include ::Google::Protobuf::MessageExts
|
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# Request message for
|
|
258
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#update_evaluation EvaluationService.UpdateEvaluation}.
|
|
259
|
+
# @!attribute [rw] evaluation
|
|
260
|
+
# @return [::Google::Cloud::Ces::V1beta::Evaluation]
|
|
261
|
+
# Required. The evaluation to update.
|
|
262
|
+
# @!attribute [rw] update_mask
|
|
263
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
264
|
+
# Optional. Field mask is used to control which fields get updated. If the
|
|
265
|
+
# mask is not present, all fields will be updated.
|
|
266
|
+
class UpdateEvaluationRequest
|
|
267
|
+
include ::Google::Protobuf::MessageExts
|
|
268
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Request message for
|
|
272
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#update_evaluation_dataset EvaluationService.UpdateEvaluationDataset}.
|
|
273
|
+
# @!attribute [rw] evaluation_dataset
|
|
274
|
+
# @return [::Google::Cloud::Ces::V1beta::EvaluationDataset]
|
|
275
|
+
# Required. The evaluation dataset to update.
|
|
276
|
+
# @!attribute [rw] update_mask
|
|
277
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
278
|
+
# Optional. Field mask is used to control which fields get updated. If the
|
|
279
|
+
# mask is not present, all fields will be updated.
|
|
280
|
+
class UpdateEvaluationDatasetRequest
|
|
281
|
+
include ::Google::Protobuf::MessageExts
|
|
282
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# Request message for
|
|
286
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation EvaluationService.DeleteEvaluation}.
|
|
287
|
+
# @!attribute [rw] name
|
|
288
|
+
# @return [::String]
|
|
289
|
+
# Required. The resource name of the evaluation to delete.
|
|
290
|
+
# @!attribute [rw] force
|
|
291
|
+
# @return [::Boolean]
|
|
292
|
+
# Optional. Indicates whether to forcefully delete the evaluation, even if it
|
|
293
|
+
# is still referenced by evaluation datasets.
|
|
294
|
+
#
|
|
295
|
+
# * If `force = false`, the deletion will fail if any datasets still
|
|
296
|
+
# reference the evaluation.
|
|
297
|
+
# * If `force = true`, all existing references from datasets will be removed
|
|
298
|
+
# and the evaluation will be deleted.
|
|
299
|
+
# @!attribute [rw] etag
|
|
300
|
+
# @return [::String]
|
|
301
|
+
# Optional. The current etag of the evaluation. If an etag is not provided,
|
|
302
|
+
# the deletion will overwrite any concurrent changes. If an etag is provided
|
|
303
|
+
# and does not match the current etag of the evaluation, deletion will be
|
|
304
|
+
# blocked and an ABORTED error will be returned.
|
|
305
|
+
class DeleteEvaluationRequest
|
|
306
|
+
include ::Google::Protobuf::MessageExts
|
|
307
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
# Request message for
|
|
311
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation_result EvaluationService.DeleteEvaluationResult}.
|
|
312
|
+
# @!attribute [rw] name
|
|
313
|
+
# @return [::String]
|
|
314
|
+
# Required. The resource name of the evaluation result to delete.
|
|
315
|
+
class DeleteEvaluationResultRequest
|
|
316
|
+
include ::Google::Protobuf::MessageExts
|
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# Request message for
|
|
321
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation_dataset EvaluationService.DeleteEvaluationDataset}.
|
|
322
|
+
# @!attribute [rw] name
|
|
323
|
+
# @return [::String]
|
|
324
|
+
# Required. The resource name of the evaluation dataset to delete.
|
|
325
|
+
# @!attribute [rw] etag
|
|
326
|
+
# @return [::String]
|
|
327
|
+
# Optional. The current etag of the evaluation dataset. If an etag is not
|
|
328
|
+
# provided, the deletion will overwrite any concurrent changes. If an etag is
|
|
329
|
+
# provided and does not match the current etag of the evaluation dataset,
|
|
330
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
|
331
|
+
class DeleteEvaluationDatasetRequest
|
|
332
|
+
include ::Google::Protobuf::MessageExts
|
|
333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Request message for
|
|
337
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation_run EvaluationService.DeleteEvaluationRun}.
|
|
338
|
+
# @!attribute [rw] name
|
|
339
|
+
# @return [::String]
|
|
340
|
+
# Required. The resource name of the evaluation run to delete.
|
|
341
|
+
class DeleteEvaluationRunRequest
|
|
342
|
+
include ::Google::Protobuf::MessageExts
|
|
343
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# Request message for
|
|
347
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_evaluation EvaluationService.GetEvaluation}.
|
|
348
|
+
# @!attribute [rw] name
|
|
349
|
+
# @return [::String]
|
|
350
|
+
# Required. The resource name of the evaluation to retrieve.
|
|
351
|
+
class GetEvaluationRequest
|
|
352
|
+
include ::Google::Protobuf::MessageExts
|
|
353
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Request message for
|
|
357
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_evaluation_result EvaluationService.GetEvaluationResult}.
|
|
358
|
+
# @!attribute [rw] name
|
|
359
|
+
# @return [::String]
|
|
360
|
+
# Required. The resource name of the evaluation result to retrieve.
|
|
361
|
+
class GetEvaluationResultRequest
|
|
362
|
+
include ::Google::Protobuf::MessageExts
|
|
363
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Request message for
|
|
367
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_evaluation_dataset EvaluationService.GetEvaluationDataset}.
|
|
368
|
+
# @!attribute [rw] name
|
|
369
|
+
# @return [::String]
|
|
370
|
+
# Required. The resource name of the evaluation dataset to retrieve.
|
|
371
|
+
class GetEvaluationDatasetRequest
|
|
372
|
+
include ::Google::Protobuf::MessageExts
|
|
373
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
# Request message for
|
|
377
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_evaluation_run EvaluationService.GetEvaluationRun}.
|
|
378
|
+
# @!attribute [rw] name
|
|
379
|
+
# @return [::String]
|
|
380
|
+
# Required. The resource name of the evaluation run to retrieve.
|
|
381
|
+
class GetEvaluationRunRequest
|
|
382
|
+
include ::Google::Protobuf::MessageExts
|
|
383
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Request message for
|
|
387
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluations EvaluationService.ListEvaluations}.
|
|
388
|
+
# @!attribute [rw] parent
|
|
389
|
+
# @return [::String]
|
|
390
|
+
# Required. The resource name of the app to list evaluations from.
|
|
391
|
+
# @!attribute [rw] page_size
|
|
392
|
+
# @return [::Integer]
|
|
393
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
394
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
395
|
+
# @!attribute [rw] page_token
|
|
396
|
+
# @return [::String]
|
|
397
|
+
# Optional. The
|
|
398
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationsResponse#next_page_token next_page_token}
|
|
399
|
+
# value returned from a previous list
|
|
400
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluations EvaluationService.ListEvaluations}
|
|
401
|
+
# call.
|
|
402
|
+
# @!attribute [rw] filter
|
|
403
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
404
|
+
# @return [::String]
|
|
405
|
+
# Optional. Deprecated: Use evaluation_filter and evaluation_run_filter
|
|
406
|
+
# instead.
|
|
407
|
+
# @!attribute [rw] evaluation_filter
|
|
408
|
+
# @return [::String]
|
|
409
|
+
# Optional. Filter to be applied on the evaluation when listing the
|
|
410
|
+
# evaluations. See https://google.aip.dev/160 for more details. Supported
|
|
411
|
+
# fields: evaluation_datasets
|
|
412
|
+
# @!attribute [rw] evaluation_run_filter
|
|
413
|
+
# @return [::String]
|
|
414
|
+
# Optional. Filter string for fields on the associated EvaluationRun
|
|
415
|
+
# resources. See https://google.aip.dev/160 for more details. Supported
|
|
416
|
+
# fields: create_time, initiated_by, app_version_display_name
|
|
417
|
+
# @!attribute [rw] order_by
|
|
418
|
+
# @return [::String]
|
|
419
|
+
# Optional. Field to sort by. Only "name" and "create_time", and
|
|
420
|
+
# "update_time" are supported. Time fields are ordered in descending order,
|
|
421
|
+
# and the name field is ordered in ascending order. If not included,
|
|
422
|
+
# "update_time" will be the default. See https://google.aip.dev/132#ordering
|
|
423
|
+
# for more details.
|
|
424
|
+
# @!attribute [rw] last_ten_results
|
|
425
|
+
# @return [::Boolean]
|
|
426
|
+
# Optional. Whether to include the last 10 evaluation results for each
|
|
427
|
+
# evaluation in the response.
|
|
428
|
+
class ListEvaluationsRequest
|
|
429
|
+
include ::Google::Protobuf::MessageExts
|
|
430
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# Request message for
|
|
434
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_results EvaluationService.ListEvaluationResults}.
|
|
435
|
+
# @!attribute [rw] parent
|
|
436
|
+
# @return [::String]
|
|
437
|
+
# Required. The resource name of the evaluation to list evaluation results
|
|
438
|
+
# from. To filter by evaluation run, use `-` as the evaluation ID and specify
|
|
439
|
+
# the evaluation run ID in the filter. For example:
|
|
440
|
+
# `projects/{project}/locations/{location}/apps/{app}/evaluations/-`
|
|
441
|
+
# @!attribute [rw] page_size
|
|
442
|
+
# @return [::Integer]
|
|
443
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
444
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
445
|
+
# @!attribute [rw] page_token
|
|
446
|
+
# @return [::String]
|
|
447
|
+
# Optional. The
|
|
448
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationResultsResponse#next_page_token next_page_token}
|
|
449
|
+
# value returned from a previous list
|
|
450
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_results EvaluationService.ListEvaluationResults}
|
|
451
|
+
# call.
|
|
452
|
+
# @!attribute [rw] filter
|
|
453
|
+
# @return [::String]
|
|
454
|
+
# Optional. Filter to be applied when listing the evaluation results.
|
|
455
|
+
# See https://google.aip.dev/160 for more details.
|
|
456
|
+
# @!attribute [rw] order_by
|
|
457
|
+
# @return [::String]
|
|
458
|
+
# Optional. Field to sort by. Only "name" and "create_time", and
|
|
459
|
+
# "update_time" are supported. Time fields are ordered in descending order,
|
|
460
|
+
# and the name field is ordered in ascending order. If not included,
|
|
461
|
+
# "update_time" will be the default. See https://google.aip.dev/132#ordering
|
|
462
|
+
# for more details.
|
|
463
|
+
class ListEvaluationResultsRequest
|
|
464
|
+
include ::Google::Protobuf::MessageExts
|
|
465
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# Request message for
|
|
469
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_datasets EvaluationService.ListEvaluationDatasets}.
|
|
470
|
+
# @!attribute [rw] parent
|
|
471
|
+
# @return [::String]
|
|
472
|
+
# Required. The resource name of the app to list evaluation datasets from.
|
|
473
|
+
# @!attribute [rw] page_size
|
|
474
|
+
# @return [::Integer]
|
|
475
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
476
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
477
|
+
# @!attribute [rw] page_token
|
|
478
|
+
# @return [::String]
|
|
479
|
+
# Optional. The
|
|
480
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationDatasetsResponse#next_page_token next_page_token}
|
|
481
|
+
# value returned from a previous list
|
|
482
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_datasets EvaluationService.ListEvaluationDatasets}
|
|
483
|
+
# call.
|
|
484
|
+
# @!attribute [rw] filter
|
|
485
|
+
# @return [::String]
|
|
486
|
+
# Optional. Filter to be applied when listing the evaluation datasets.
|
|
487
|
+
# See https://google.aip.dev/160 for more details.
|
|
488
|
+
# @!attribute [rw] order_by
|
|
489
|
+
# @return [::String]
|
|
490
|
+
# Optional. Field to sort by. Only "name" and "create_time", and
|
|
491
|
+
# "update_time" are supported. Time fields are ordered in descending order,
|
|
492
|
+
# and the name field is ordered in ascending order. If not included,
|
|
493
|
+
# "update_time" will be the default. See https://google.aip.dev/132#ordering
|
|
494
|
+
# for more details.
|
|
495
|
+
class ListEvaluationDatasetsRequest
|
|
496
|
+
include ::Google::Protobuf::MessageExts
|
|
497
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
# Request message for
|
|
501
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_runs EvaluationService.ListEvaluationRuns}.
|
|
502
|
+
# @!attribute [rw] parent
|
|
503
|
+
# @return [::String]
|
|
504
|
+
# Required. The resource name of the app to list evaluation runs from.
|
|
505
|
+
# @!attribute [rw] page_size
|
|
506
|
+
# @return [::Integer]
|
|
507
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
508
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
509
|
+
# @!attribute [rw] page_token
|
|
510
|
+
# @return [::String]
|
|
511
|
+
# Optional. The
|
|
512
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationRunsResponse#next_page_token next_page_token}
|
|
513
|
+
# value returned from a previous list
|
|
514
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_runs EvaluationService.ListEvaluationRuns}
|
|
515
|
+
# call.
|
|
516
|
+
# @!attribute [rw] filter
|
|
517
|
+
# @return [::String]
|
|
518
|
+
# Optional. Filter to be applied when listing the evaluation runs.
|
|
519
|
+
# See https://google.aip.dev/160 for more details.
|
|
520
|
+
# @!attribute [rw] order_by
|
|
521
|
+
# @return [::String]
|
|
522
|
+
# Optional. Field to sort by. Only "name" and "create_time", and
|
|
523
|
+
# "update_time" are supported. Time fields are ordered in descending order,
|
|
524
|
+
# and the name field is ordered in ascending order. If not included,
|
|
525
|
+
# "update_time" will be the default. See https://google.aip.dev/132#ordering
|
|
526
|
+
# for more details.
|
|
527
|
+
class ListEvaluationRunsRequest
|
|
528
|
+
include ::Google::Protobuf::MessageExts
|
|
529
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# Response message for
|
|
533
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluations EvaluationService.ListEvaluations}.
|
|
534
|
+
# @!attribute [rw] evaluations
|
|
535
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::Evaluation>]
|
|
536
|
+
# The list of evaluations.
|
|
537
|
+
# @!attribute [rw] next_page_token
|
|
538
|
+
# @return [::String]
|
|
539
|
+
# A token that can be sent as
|
|
540
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationsRequest#page_token ListEvaluationsRequest.page_token}
|
|
541
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
542
|
+
# subsequent pages.
|
|
543
|
+
class ListEvaluationsResponse
|
|
544
|
+
include ::Google::Protobuf::MessageExts
|
|
545
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# Response message for
|
|
549
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_results EvaluationService.ListEvaluationResults}.
|
|
550
|
+
# @!attribute [rw] evaluation_results
|
|
551
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationResult>]
|
|
552
|
+
# The list of evaluation results.
|
|
553
|
+
# @!attribute [rw] next_page_token
|
|
554
|
+
# @return [::String]
|
|
555
|
+
# A token that can be sent as
|
|
556
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationResultsRequest#page_token ListEvaluationResultsRequest.page_token}
|
|
557
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
558
|
+
# subsequent pages.
|
|
559
|
+
class ListEvaluationResultsResponse
|
|
560
|
+
include ::Google::Protobuf::MessageExts
|
|
561
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
# Response message for
|
|
565
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_datasets EvaluationService.ListEvaluationDatasets}.
|
|
566
|
+
# @!attribute [rw] evaluation_datasets
|
|
567
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationDataset>]
|
|
568
|
+
# The list of evaluation datasets.
|
|
569
|
+
# @!attribute [rw] next_page_token
|
|
570
|
+
# @return [::String]
|
|
571
|
+
# A token that can be sent as
|
|
572
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationDatasetsRequest#page_token ListEvaluationDatasetsRequest.page_token}
|
|
573
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
574
|
+
# subsequent pages.
|
|
575
|
+
class ListEvaluationDatasetsResponse
|
|
576
|
+
include ::Google::Protobuf::MessageExts
|
|
577
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# Response message for
|
|
581
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_runs EvaluationService.ListEvaluationRuns}.
|
|
582
|
+
# @!attribute [rw] evaluation_runs
|
|
583
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationRun>]
|
|
584
|
+
# The list of evaluation runs.
|
|
585
|
+
# @!attribute [rw] next_page_token
|
|
586
|
+
# @return [::String]
|
|
587
|
+
# A token that can be sent as
|
|
588
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationRunsRequest#page_token ListEvaluationRunsRequest.page_token}
|
|
589
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
590
|
+
# subsequent pages.
|
|
591
|
+
class ListEvaluationRunsResponse
|
|
592
|
+
include ::Google::Protobuf::MessageExts
|
|
593
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
# Request message for
|
|
597
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#create_scheduled_evaluation_run EvaluationService.CreateScheduledEvaluationRun}.
|
|
598
|
+
# @!attribute [rw] parent
|
|
599
|
+
# @return [::String]
|
|
600
|
+
# Required. The app to create the scheduled evaluation run for.
|
|
601
|
+
# Format:
|
|
602
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
603
|
+
# @!attribute [rw] scheduled_evaluation_run_id
|
|
604
|
+
# @return [::String]
|
|
605
|
+
# Optional. The ID to use for the scheduled evaluation run, which will become
|
|
606
|
+
# the final component of the scheduled evaluation run's resource name. If not
|
|
607
|
+
# provided, a unique ID will be automatically assigned.
|
|
608
|
+
# @!attribute [rw] scheduled_evaluation_run
|
|
609
|
+
# @return [::Google::Cloud::Ces::V1beta::ScheduledEvaluationRun]
|
|
610
|
+
# Required. The scheduled evaluation run to create.
|
|
611
|
+
class CreateScheduledEvaluationRunRequest
|
|
612
|
+
include ::Google::Protobuf::MessageExts
|
|
613
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# Request message for
|
|
617
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_scheduled_evaluation_run EvaluationService.GetScheduledEvaluationRun}.
|
|
618
|
+
# @!attribute [rw] name
|
|
619
|
+
# @return [::String]
|
|
620
|
+
# Required. The resource name of the scheduled evaluation run to retrieve.
|
|
621
|
+
class GetScheduledEvaluationRunRequest
|
|
622
|
+
include ::Google::Protobuf::MessageExts
|
|
623
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
# Request message for
|
|
627
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_scheduled_evaluation_runs EvaluationService.ListScheduledEvaluationRuns}.
|
|
628
|
+
# @!attribute [rw] parent
|
|
629
|
+
# @return [::String]
|
|
630
|
+
# Required. The resource name of the app to list scheduled evaluation runs
|
|
631
|
+
# from.
|
|
632
|
+
# @!attribute [rw] page_size
|
|
633
|
+
# @return [::Integer]
|
|
634
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
635
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
636
|
+
# @!attribute [rw] page_token
|
|
637
|
+
# @return [::String]
|
|
638
|
+
# Optional. The
|
|
639
|
+
# {::Google::Cloud::Ces::V1beta::ListScheduledEvaluationRunsResponse#next_page_token next_page_token}
|
|
640
|
+
# value returned from a previous list
|
|
641
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_scheduled_evaluation_runs EvaluationService.ListScheduledEvaluationRuns}
|
|
642
|
+
# call.
|
|
643
|
+
# @!attribute [rw] filter
|
|
644
|
+
# @return [::String]
|
|
645
|
+
# Optional. Filter to be applied when listing the scheduled evaluation runs.
|
|
646
|
+
# See https://google.aip.dev/160 for more details.
|
|
647
|
+
# Currently supports filtering by:
|
|
648
|
+
# * request.evaluations:evaluation_id
|
|
649
|
+
# * request.evaluation_dataset:evaluation_dataset_id
|
|
650
|
+
# @!attribute [rw] order_by
|
|
651
|
+
# @return [::String]
|
|
652
|
+
# Optional. Field to sort by. Supported fields are:
|
|
653
|
+
# "name" (ascending), "create_time" (descending), "update_time" (descending),
|
|
654
|
+
# "next_scheduled_execution" (ascending), and
|
|
655
|
+
# "last_completed_run.create_time" (descending).
|
|
656
|
+
# If not included, "update_time" will be the default.
|
|
657
|
+
# See https://google.aip.dev/132#ordering for more details.
|
|
658
|
+
class ListScheduledEvaluationRunsRequest
|
|
659
|
+
include ::Google::Protobuf::MessageExts
|
|
660
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# Response message for
|
|
664
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_scheduled_evaluation_runs EvaluationService.ListScheduledEvaluationRuns}.
|
|
665
|
+
# @!attribute [rw] scheduled_evaluation_runs
|
|
666
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::ScheduledEvaluationRun>]
|
|
667
|
+
# The list of scheduled evaluation runs.
|
|
668
|
+
# @!attribute [rw] next_page_token
|
|
669
|
+
# @return [::String]
|
|
670
|
+
# A token that can be sent as
|
|
671
|
+
# {::Google::Cloud::Ces::V1beta::ListScheduledEvaluationRunsRequest#page_token ListScheduledEvaluationRunsRequest.page_token}
|
|
672
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
673
|
+
# subsequent pages.
|
|
674
|
+
class ListScheduledEvaluationRunsResponse
|
|
675
|
+
include ::Google::Protobuf::MessageExts
|
|
676
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
# Request message for
|
|
680
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#update_scheduled_evaluation_run EvaluationService.UpdateScheduledEvaluationRun}.
|
|
681
|
+
# @!attribute [rw] scheduled_evaluation_run
|
|
682
|
+
# @return [::Google::Cloud::Ces::V1beta::ScheduledEvaluationRun]
|
|
683
|
+
# Required. The scheduled evaluation run to update.
|
|
684
|
+
# @!attribute [rw] update_mask
|
|
685
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
686
|
+
# Optional. Field mask is used to control which fields get updated. If the
|
|
687
|
+
# mask is not present, all fields will be updated.
|
|
688
|
+
class UpdateScheduledEvaluationRunRequest
|
|
689
|
+
include ::Google::Protobuf::MessageExts
|
|
690
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
691
|
+
end
|
|
692
|
+
|
|
693
|
+
# Request message for
|
|
694
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_scheduled_evaluation_run EvaluationService.DeleteScheduledEvaluationRun}.
|
|
695
|
+
# @!attribute [rw] name
|
|
696
|
+
# @return [::String]
|
|
697
|
+
# Required. The resource name of the scheduled evaluation run to delete.
|
|
698
|
+
# @!attribute [rw] etag
|
|
699
|
+
# @return [::String]
|
|
700
|
+
# Optional. The etag of the ScheduledEvaluationRun.
|
|
701
|
+
# If provided, it must match the server's etag.
|
|
702
|
+
class DeleteScheduledEvaluationRunRequest
|
|
703
|
+
include ::Google::Protobuf::MessageExts
|
|
704
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
# Request message for
|
|
708
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#test_persona_voice EvaluationService.TestPersonaVoice}.
|
|
709
|
+
# @!attribute [rw] app
|
|
710
|
+
# @return [::String]
|
|
711
|
+
# Required. the resource name of the app to test the persona voice for.
|
|
712
|
+
# Format:
|
|
713
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
714
|
+
# @!attribute [rw] persona_id
|
|
715
|
+
# @return [::String]
|
|
716
|
+
# Required. The persona ID to test the voice for. Also accepts "default".
|
|
717
|
+
# @!attribute [rw] text
|
|
718
|
+
# @return [::String]
|
|
719
|
+
# Required. The text to test the voice for.
|
|
720
|
+
class TestPersonaVoiceRequest
|
|
721
|
+
include ::Google::Protobuf::MessageExts
|
|
722
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# Request message for
|
|
726
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#upload_evaluation_audio EvaluationService.UploadEvaluationAudio}.
|
|
727
|
+
# @!attribute [rw] name
|
|
728
|
+
# @return [::String]
|
|
729
|
+
# Required. The resource name of the Evaluation for which to upload the
|
|
730
|
+
# evaluation audio. Format:
|
|
731
|
+
# `projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}`
|
|
732
|
+
# @!attribute [rw] audio_content
|
|
733
|
+
# @return [::String]
|
|
734
|
+
# Required. The raw audio bytes.
|
|
735
|
+
# The format of the audio must be single-channel LINEAR16 with a sample
|
|
736
|
+
# rate of 16kHz (default InputAudioConfig).
|
|
737
|
+
# @!attribute [rw] previous_audio_gcs_uri
|
|
738
|
+
# @return [::String]
|
|
739
|
+
# Optional. The Google Cloud Storage URI of the previously uploaded audio
|
|
740
|
+
# file to be deleted. Format: `gs://<bucket-name>/<object-name>`
|
|
741
|
+
class UploadEvaluationAudioRequest
|
|
742
|
+
include ::Google::Protobuf::MessageExts
|
|
743
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
# Response message for
|
|
747
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#upload_evaluation_audio EvaluationService.UploadEvaluationAudio}.
|
|
748
|
+
# @!attribute [rw] audio_gcs_uri
|
|
749
|
+
# @return [::String]
|
|
750
|
+
# The Google Cloud Storage URI where the uploaded audio file is stored.
|
|
751
|
+
# Format: `gs://<bucket-name>/<object-name>`
|
|
752
|
+
# @!attribute [rw] transcript
|
|
753
|
+
# @return [::String]
|
|
754
|
+
# The transcript of the audio, generated by Cloud Speech-to-Text.
|
|
755
|
+
# @!attribute [rw] duration
|
|
756
|
+
# @return [::Google::Protobuf::Duration]
|
|
757
|
+
# The duration of the audio.
|
|
758
|
+
class UploadEvaluationAudioResponse
|
|
759
|
+
include ::Google::Protobuf::MessageExts
|
|
760
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# Response message for
|
|
764
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#test_persona_voice EvaluationService.TestPersonaVoice}.
|
|
765
|
+
# @!attribute [rw] audio
|
|
766
|
+
# @return [::String]
|
|
767
|
+
# The audio data bytes of the synthesized voice.
|
|
768
|
+
class TestPersonaVoiceResponse
|
|
769
|
+
include ::Google::Protobuf::MessageExts
|
|
770
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
# Request message for
|
|
774
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#create_evaluation_expectation EvaluationService.CreateEvaluationExpectation}.
|
|
775
|
+
# @!attribute [rw] parent
|
|
776
|
+
# @return [::String]
|
|
777
|
+
# Required. The app to create the evaluation expectation for.
|
|
778
|
+
# Format:
|
|
779
|
+
# `projects/{project}/locations/{location}/apps/{app}`
|
|
780
|
+
# @!attribute [rw] evaluation_expectation_id
|
|
781
|
+
# @return [::String]
|
|
782
|
+
# Optional. The ID to use for the evaluation expectation, which will become
|
|
783
|
+
# the final component of the evaluation expectation's resource name. If not
|
|
784
|
+
# provided, a unique ID will be automatically assigned for the evaluation
|
|
785
|
+
# expectation.
|
|
786
|
+
# @!attribute [rw] evaluation_expectation
|
|
787
|
+
# @return [::Google::Cloud::Ces::V1beta::EvaluationExpectation]
|
|
788
|
+
# Required. The evaluation expectation to create.
|
|
789
|
+
class CreateEvaluationExpectationRequest
|
|
790
|
+
include ::Google::Protobuf::MessageExts
|
|
791
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# Request message for
|
|
795
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#update_evaluation_expectation EvaluationService.UpdateEvaluationExpectation}.
|
|
796
|
+
# @!attribute [rw] evaluation_expectation
|
|
797
|
+
# @return [::Google::Cloud::Ces::V1beta::EvaluationExpectation]
|
|
798
|
+
# Required. The evaluation expectation to update.
|
|
799
|
+
# @!attribute [rw] update_mask
|
|
800
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
801
|
+
# Optional. Field mask is used to control which fields get updated. If the
|
|
802
|
+
# mask is not present, all fields will be updated.
|
|
803
|
+
class UpdateEvaluationExpectationRequest
|
|
804
|
+
include ::Google::Protobuf::MessageExts
|
|
805
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# Request message for
|
|
809
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#delete_evaluation_expectation EvaluationService.DeleteEvaluationExpectation}.
|
|
810
|
+
# @!attribute [rw] name
|
|
811
|
+
# @return [::String]
|
|
812
|
+
# Required. The resource name of the evaluation expectation to delete.
|
|
813
|
+
# @!attribute [rw] etag
|
|
814
|
+
# @return [::String]
|
|
815
|
+
# Optional. The current etag of the evaluation expectation. If an etag is not
|
|
816
|
+
# provided, the deletion will overwrite any concurrent changes. If an etag is
|
|
817
|
+
# provided and does not match the current etag of the evaluation expectation,
|
|
818
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
|
819
|
+
class DeleteEvaluationExpectationRequest
|
|
820
|
+
include ::Google::Protobuf::MessageExts
|
|
821
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
# Request message for
|
|
825
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#get_evaluation_expectation EvaluationService.GetEvaluationExpectation}.
|
|
826
|
+
# @!attribute [rw] name
|
|
827
|
+
# @return [::String]
|
|
828
|
+
# Required. The resource name of the evaluation expectation to retrieve.
|
|
829
|
+
class GetEvaluationExpectationRequest
|
|
830
|
+
include ::Google::Protobuf::MessageExts
|
|
831
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
832
|
+
end
|
|
833
|
+
|
|
834
|
+
# Request message for
|
|
835
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_expectations EvaluationService.ListEvaluationExpectations}.
|
|
836
|
+
# @!attribute [rw] parent
|
|
837
|
+
# @return [::String]
|
|
838
|
+
# Required. The resource name of the app to list evaluation expectations
|
|
839
|
+
# from.
|
|
840
|
+
# @!attribute [rw] page_size
|
|
841
|
+
# @return [::Integer]
|
|
842
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
843
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
844
|
+
# @!attribute [rw] page_token
|
|
845
|
+
# @return [::String]
|
|
846
|
+
# Optional. The
|
|
847
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationExpectationsResponse#next_page_token next_page_token}
|
|
848
|
+
# value returned from a previous list
|
|
849
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_expectations EvaluationService.ListEvaluationExpectations}
|
|
850
|
+
# call.
|
|
851
|
+
# @!attribute [rw] filter
|
|
852
|
+
# @return [::String]
|
|
853
|
+
# Optional. Filter to be applied when listing the evaluation expectations.
|
|
854
|
+
# See https://google.aip.dev/160 for more details.
|
|
855
|
+
# @!attribute [rw] order_by
|
|
856
|
+
# @return [::String]
|
|
857
|
+
# Optional. Field to sort by. Only "name" and "create_time", and
|
|
858
|
+
# "update_time" are supported. Time fields are ordered in descending order,
|
|
859
|
+
# and the name field is ordered in ascending order. If not included,
|
|
860
|
+
# "update_time" will be the default. See https://google.aip.dev/132#ordering
|
|
861
|
+
# for more details.
|
|
862
|
+
class ListEvaluationExpectationsRequest
|
|
863
|
+
include ::Google::Protobuf::MessageExts
|
|
864
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
# Response message for
|
|
868
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#list_evaluation_expectations EvaluationService.ListEvaluationExpectations}.
|
|
869
|
+
# @!attribute [rw] evaluation_expectations
|
|
870
|
+
# @return [::Array<::Google::Cloud::Ces::V1beta::EvaluationExpectation>]
|
|
871
|
+
# The list of evaluation expectations.
|
|
872
|
+
# @!attribute [rw] next_page_token
|
|
873
|
+
# @return [::String]
|
|
874
|
+
# A token that can be sent as
|
|
875
|
+
# {::Google::Cloud::Ces::V1beta::ListEvaluationExpectationsRequest#page_token ListEvaluationExpectationsRequest.page_token}
|
|
876
|
+
# to retrieve the next page. Absence of this field indicates there are no
|
|
877
|
+
# subsequent pages.
|
|
878
|
+
class ListEvaluationExpectationsResponse
|
|
879
|
+
include ::Google::Protobuf::MessageExts
|
|
880
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
881
|
+
end
|
|
882
|
+
|
|
883
|
+
# Options for exporting CES evaluation resources.
|
|
884
|
+
# @!attribute [rw] export_format
|
|
885
|
+
# @return [::Google::Cloud::Ces::V1beta::ExportOptions::ExportFormat]
|
|
886
|
+
# Optional. The format to export the evaluation results in. Defaults to JSON
|
|
887
|
+
# if not specified.
|
|
888
|
+
# @!attribute [rw] gcs_uri
|
|
889
|
+
# @return [::String]
|
|
890
|
+
# Optional. The Google Cloud Storage URI to write the exported Evaluation
|
|
891
|
+
# Results to.
|
|
892
|
+
class ExportOptions
|
|
893
|
+
include ::Google::Protobuf::MessageExts
|
|
894
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
895
|
+
|
|
896
|
+
# The format to export the items in. Defaults to JSON if not
|
|
897
|
+
# specified.
|
|
898
|
+
module ExportFormat
|
|
899
|
+
# Unspecified format.
|
|
900
|
+
EXPORT_FORMAT_UNSPECIFIED = 0
|
|
901
|
+
|
|
902
|
+
# JSON format.
|
|
903
|
+
JSON = 1
|
|
904
|
+
|
|
905
|
+
# YAML format.
|
|
906
|
+
YAML = 2
|
|
907
|
+
end
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
# Request message for
|
|
911
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#export_evaluations EvaluationService.ExportEvaluations}.
|
|
912
|
+
# @!attribute [rw] parent
|
|
913
|
+
# @return [::String]
|
|
914
|
+
# Required. The resource name of the app to export evaluations from.
|
|
915
|
+
# Format: `projects/{project}/locations/{location}/apps/{app}`
|
|
916
|
+
# @!attribute [rw] names
|
|
917
|
+
# @return [::Array<::String>]
|
|
918
|
+
# Required. The resource names of the evaluations to export.
|
|
919
|
+
# @!attribute [rw] export_options
|
|
920
|
+
# @return [::Google::Cloud::Ces::V1beta::ExportOptions]
|
|
921
|
+
# Optional. The export options for the evaluations.
|
|
922
|
+
# @!attribute [rw] include_evaluation_results
|
|
923
|
+
# @return [::Boolean]
|
|
924
|
+
# Optional. Includes evaluation results in the export. At least one of
|
|
925
|
+
# include_evaluation_results or include_evaluations must be set.
|
|
926
|
+
# @!attribute [rw] include_evaluations
|
|
927
|
+
# @return [::Boolean]
|
|
928
|
+
# Optional. Includes evaluations in the export. At least one of
|
|
929
|
+
# include_evaluation_results or include_evaluations must be set.
|
|
930
|
+
class ExportEvaluationsRequest
|
|
931
|
+
include ::Google::Protobuf::MessageExts
|
|
932
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
# Response message for
|
|
936
|
+
# {::Google::Cloud::Ces::V1beta::EvaluationService::Client#export_evaluations EvaluationService.ExportEvaluations}.
|
|
937
|
+
# @!attribute [rw] evaluations_content
|
|
938
|
+
# @return [::String]
|
|
939
|
+
# The content of the exported Evaluations. This will be populated if
|
|
940
|
+
# gcs_uri was not specified in the request.
|
|
941
|
+
#
|
|
942
|
+
# Note: The following fields are mutually exclusive: `evaluations_content`, `evaluations_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
943
|
+
# @!attribute [rw] evaluations_uri
|
|
944
|
+
# @return [::String]
|
|
945
|
+
# The Google Cloud Storage URI folder where the exported evaluations were
|
|
946
|
+
# written. This will be populated if gcs_uri was specified in the request.
|
|
947
|
+
#
|
|
948
|
+
# Note: The following fields are mutually exclusive: `evaluations_uri`, `evaluations_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
949
|
+
# @!attribute [r] failed_evaluations
|
|
950
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
951
|
+
# Output only. A map of evaluation resource names that could not be exported,
|
|
952
|
+
# to the reason why they failed.
|
|
953
|
+
class ExportEvaluationsResponse
|
|
954
|
+
include ::Google::Protobuf::MessageExts
|
|
955
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
956
|
+
|
|
957
|
+
# @!attribute [rw] key
|
|
958
|
+
# @return [::String]
|
|
959
|
+
# @!attribute [rw] value
|
|
960
|
+
# @return [::String]
|
|
961
|
+
class FailedEvaluationsEntry
|
|
962
|
+
include ::Google::Protobuf::MessageExts
|
|
963
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
964
|
+
end
|
|
965
|
+
end
|
|
966
|
+
|
|
967
|
+
# Response message for
|
|
968
|
+
# [EvaluationService.ExportEvaluationResults][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationResults].
|
|
969
|
+
# @!attribute [rw] evaluation_results_content
|
|
970
|
+
# @return [::String]
|
|
971
|
+
# The content of the exported Evaluation Results. This will be populated if
|
|
972
|
+
# gcs_uri was not specified in the request.
|
|
973
|
+
#
|
|
974
|
+
# Note: The following fields are mutually exclusive: `evaluation_results_content`, `evaluation_results_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
975
|
+
# @!attribute [rw] evaluation_results_uri
|
|
976
|
+
# @return [::String]
|
|
977
|
+
# The Google Cloud Storage URI folder where the exported Evaluation Results
|
|
978
|
+
# were written. This will be populated if gcs_uri was specified in the
|
|
979
|
+
# request.
|
|
980
|
+
#
|
|
981
|
+
# Note: The following fields are mutually exclusive: `evaluation_results_uri`, `evaluation_results_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
982
|
+
class ExportEvaluationResultsResponse
|
|
983
|
+
include ::Google::Protobuf::MessageExts
|
|
984
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
985
|
+
end
|
|
986
|
+
|
|
987
|
+
# Response message for
|
|
988
|
+
# [EvaluationService.ExportEvaluationRuns][google.cloud.ces.v1beta.EvaluationService.ExportEvaluationRuns].
|
|
989
|
+
# @!attribute [rw] evaluation_runs_content
|
|
990
|
+
# @return [::String]
|
|
991
|
+
# The content of the exported Evaluation Runs. This will be populated if
|
|
992
|
+
# gcs_uri was not specified in the request.
|
|
993
|
+
#
|
|
994
|
+
# Note: The following fields are mutually exclusive: `evaluation_runs_content`, `evaluation_runs_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
995
|
+
# @!attribute [rw] evaluation_runs_uri
|
|
996
|
+
# @return [::String]
|
|
997
|
+
# The Google Cloud Storage URI folder where the exported Evaluation Runs
|
|
998
|
+
# were written. This will be populated if gcs_uri was specified in the
|
|
999
|
+
# request.
|
|
1000
|
+
#
|
|
1001
|
+
# Note: The following fields are mutually exclusive: `evaluation_runs_uri`, `evaluation_runs_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
1002
|
+
class ExportEvaluationRunsResponse
|
|
1003
|
+
include ::Google::Protobuf::MessageExts
|
|
1004
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1005
|
+
end
|
|
1006
|
+
end
|
|
1007
|
+
end
|
|
1008
|
+
end
|
|
1009
|
+
end
|