google-cloud-ces-v1 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/v1/agent_pb.rb +30 -0
- data/lib/google/cloud/ces/v1/agent_service/client.rb +5315 -0
- data/lib/google/cloud/ces/v1/agent_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/agent_service/operations.rb +841 -0
- data/lib/google/cloud/ces/v1/agent_service/paths.rb +424 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/client.rb +4944 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/operations.rb +925 -0
- data/lib/google/cloud/ces/v1/agent_service/rest/service_stub.rb +3028 -0
- data/lib/google/cloud/ces/v1/agent_service/rest.rb +55 -0
- data/lib/google/cloud/ces/v1/agent_service.rb +57 -0
- data/lib/google/cloud/ces/v1/agent_service_pb.rb +105 -0
- data/lib/google/cloud/ces/v1/agent_service_services_pb.rb +142 -0
- data/lib/google/cloud/ces/v1/agent_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/agent_transfers_pb.rb +29 -0
- data/lib/google/cloud/ces/v1/app_pb.rb +58 -0
- data/lib/google/cloud/ces/v1/app_version_pb.rb +32 -0
- data/lib/google/cloud/ces/v1/auth_pb.rb +34 -0
- data/lib/google/cloud/ces/v1/bigquery_export_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/ces/v1/changelog_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/client_function_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/common_pb.rb +46 -0
- data/lib/google/cloud/ces/v1/connector_tool_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/connector_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/conversation_pb.rb +31 -0
- data/lib/google/cloud/ces/v1/data_store_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/data_store_tool_pb.rb +40 -0
- data/lib/google/cloud/ces/v1/deployment_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/example_pb.rb +34 -0
- data/lib/google/cloud/ces/v1/fakes_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/file_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/google_search_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/guardrail_pb.rb +37 -0
- data/lib/google/cloud/ces/v1/mcp_tool_pb.rb +26 -0
- data/lib/google/cloud/ces/v1/mcp_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/omnichannel_pb.rb +31 -0
- data/lib/google/cloud/ces/v1/omnichannel_service_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/open_api_tool_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/open_api_toolset_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/python_function_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/rest.rb +41 -0
- data/lib/google/cloud/ces/v1/schema_pb.rb +25 -0
- data/lib/google/cloud/ces/v1/search_suggestions_pb.rb +22 -0
- data/lib/google/cloud/ces/v1/security_settings_pb.rb +27 -0
- data/lib/google/cloud/ces/v1/session_service/client.rb +759 -0
- data/lib/google/cloud/ces/v1/session_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/session_service/paths.rb +117 -0
- data/lib/google/cloud/ces/v1/session_service/rest/client.rb +560 -0
- data/lib/google/cloud/ces/v1/session_service/rest/service_stub.rb +199 -0
- data/lib/google/cloud/ces/v1/session_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/session_service.rb +55 -0
- data/lib/google/cloud/ces/v1/session_service_pb.rb +50 -0
- data/lib/google/cloud/ces/v1/session_service_services_pb.rb +119 -0
- data/lib/google/cloud/ces/v1/system_tool_pb.rb +23 -0
- data/lib/google/cloud/ces/v1/tool_pb.rb +38 -0
- data/lib/google/cloud/ces/v1/tool_service/client.rb +723 -0
- data/lib/google/cloud/ces/v1/tool_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/tool_service/paths.rb +94 -0
- data/lib/google/cloud/ces/v1/tool_service/rest/client.rb +667 -0
- data/lib/google/cloud/ces/v1/tool_service/rest/service_stub.rb +267 -0
- data/lib/google/cloud/ces/v1/tool_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/tool_service.rb +55 -0
- data/lib/google/cloud/ces/v1/tool_service_pb.rb +35 -0
- data/lib/google/cloud/ces/v1/tool_service_services_pb.rb +50 -0
- data/lib/google/cloud/ces/v1/toolset_pb.rb +30 -0
- data/lib/google/cloud/ces/v1/toolset_tool_pb.rb +24 -0
- data/lib/google/cloud/ces/v1/version.rb +7 -2
- data/lib/google/cloud/ces/v1/widget_service/client.rb +501 -0
- data/lib/google/cloud/ces/v1/widget_service/credentials.rb +48 -0
- data/lib/google/cloud/ces/v1/widget_service/paths.rb +75 -0
- data/lib/google/cloud/ces/v1/widget_service/rest/client.rb +459 -0
- data/lib/google/cloud/ces/v1/widget_service/rest/service_stub.rb +143 -0
- data/lib/google/cloud/ces/v1/widget_service/rest.rb +53 -0
- data/lib/google/cloud/ces/v1/widget_service.rb +55 -0
- data/lib/google/cloud/ces/v1/widget_service_pb.rb +28 -0
- data/lib/google/cloud/ces/v1/widget_service_services_pb.rb +46 -0
- data/lib/google/cloud/ces/v1/widget_tool_pb.rb +29 -0
- data/lib/google/cloud/ces/v1.rb +48 -0
- data/lib/google-cloud-ces-v1.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/v1/agent.rb +224 -0
- data/proto_docs/google/cloud/ces/v1/agent_service.rb +1250 -0
- data/proto_docs/google/cloud/ces/v1/agent_tool.rb +42 -0
- data/proto_docs/google/cloud/ces/v1/agent_transfers.rb +111 -0
- data/proto_docs/google/cloud/ces/v1/app.rb +685 -0
- data/proto_docs/google/cloud/ces/v1/app_version.rb +83 -0
- data/proto_docs/google/cloud/ces/v1/auth.rb +214 -0
- data/proto_docs/google/cloud/ces/v1/bigquery_export.rb +45 -0
- data/proto_docs/google/cloud/ces/v1/changelog.rb +73 -0
- data/proto_docs/google/cloud/ces/v1/client_function.rb +48 -0
- data/proto_docs/google/cloud/ces/v1/common.rb +375 -0
- data/proto_docs/google/cloud/ces/v1/connector_tool.rb +122 -0
- data/proto_docs/google/cloud/ces/v1/connector_toolset.rb +52 -0
- data/proto_docs/google/cloud/ces/v1/conversation.rb +152 -0
- data/proto_docs/google/cloud/ces/v1/data_store.rb +102 -0
- data/proto_docs/google/cloud/ces/v1/data_store_tool.rb +328 -0
- data/proto_docs/google/cloud/ces/v1/deployment.rb +62 -0
- data/proto_docs/google/cloud/ces/v1/example.rb +244 -0
- data/proto_docs/google/cloud/ces/v1/fakes.rb +55 -0
- data/proto_docs/google/cloud/ces/v1/file_search_tool.rb +60 -0
- data/proto_docs/google/cloud/ces/v1/google_search_tool.rb +76 -0
- data/proto_docs/google/cloud/ces/v1/guardrail.rb +324 -0
- data/proto_docs/google/cloud/ces/v1/mcp_tool.rb +85 -0
- data/proto_docs/google/cloud/ces/v1/mcp_toolset.rb +71 -0
- data/proto_docs/google/cloud/ces/v1/omnichannel.rb +163 -0
- data/proto_docs/google/cloud/ces/v1/omnichannel_service.rb +45 -0
- data/proto_docs/google/cloud/ces/v1/open_api_tool.rb +66 -0
- data/proto_docs/google/cloud/ces/v1/open_api_toolset.rb +57 -0
- data/proto_docs/google/cloud/ces/v1/python_function.rb +44 -0
- data/proto_docs/google/cloud/ces/v1/schema.rb +162 -0
- data/proto_docs/google/cloud/ces/v1/search_suggestions.rb +55 -0
- data/proto_docs/google/cloud/ces/v1/security_settings.rb +80 -0
- data/proto_docs/google/cloud/ces/v1/session_service.rb +464 -0
- data/proto_docs/google/cloud/ces/v1/system_tool.rb +38 -0
- data/proto_docs/google/cloud/ces/v1/tool.rb +126 -0
- data/proto_docs/google/cloud/ces/v1/tool_service.rb +168 -0
- data/proto_docs/google/cloud/ces/v1/toolset.rb +80 -0
- data/proto_docs/google/cloud/ces/v1/toolset_tool.rb +40 -0
- data/proto_docs/google/cloud/ces/v1/widget_service.rb +62 -0
- data/proto_docs/google/cloud/ces/v1/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 +183 -9
|
@@ -0,0 +1,375 @@
|
|
|
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 V1
|
|
24
|
+
# A callback defines the custom logic to be executed at various stages of
|
|
25
|
+
# agent interaction.
|
|
26
|
+
# @!attribute [rw] python_code
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Required. The python code to execute for the callback.
|
|
29
|
+
# @!attribute [rw] description
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Optional. Human-readable description of the callback.
|
|
32
|
+
# @!attribute [rw] disabled
|
|
33
|
+
# @return [::Boolean]
|
|
34
|
+
# Optional. Whether the callback is disabled. Disabled callbacks are ignored
|
|
35
|
+
# by the agent.
|
|
36
|
+
# @!attribute [rw] proactive_execution_enabled
|
|
37
|
+
# @return [::Boolean]
|
|
38
|
+
# Optional. If enabled, the callback will also be executed on intermediate
|
|
39
|
+
# model outputs. This setting only affects after model callback.
|
|
40
|
+
# **ENABLE WITH CAUTION**. Typically after model callback only needs to be
|
|
41
|
+
# executed after receiving all model responses. Enabling proactive execution
|
|
42
|
+
# may have negative implication on the execution cost and latency, and
|
|
43
|
+
# should only be enabled in rare situations.
|
|
44
|
+
class Callback
|
|
45
|
+
include ::Google::Protobuf::MessageExts
|
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Model settings contains various configurations for the LLM model.
|
|
50
|
+
# @!attribute [rw] model
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# Optional. The LLM model that the agent should use.
|
|
53
|
+
# If not set, the agent will inherit the model from its parent agent.
|
|
54
|
+
# @!attribute [rw] temperature
|
|
55
|
+
# @return [::Float]
|
|
56
|
+
# Optional. If set, this temperature will be used for the LLM model.
|
|
57
|
+
# Temperature controls the randomness of the model's responses. Lower
|
|
58
|
+
# temperatures produce responses that are more predictable. Higher
|
|
59
|
+
# temperatures produce responses that are more creative.
|
|
60
|
+
class ModelSettings
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Action that is taken when a certain precondition is met.
|
|
66
|
+
# @!attribute [rw] respond_immediately
|
|
67
|
+
# @return [::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately]
|
|
68
|
+
# Optional. Immediately respond with a preconfigured response.
|
|
69
|
+
#
|
|
70
|
+
# Note: The following fields are mutually exclusive: `respond_immediately`, `transfer_agent`, `generative_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
71
|
+
# @!attribute [rw] transfer_agent
|
|
72
|
+
# @return [::Google::Cloud::Ces::V1::TriggerAction::TransferAgent]
|
|
73
|
+
# Optional. Transfer the conversation to a different agent.
|
|
74
|
+
#
|
|
75
|
+
# Note: The following fields are mutually exclusive: `transfer_agent`, `respond_immediately`, `generative_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
76
|
+
# @!attribute [rw] generative_answer
|
|
77
|
+
# @return [::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer]
|
|
78
|
+
# Optional. Respond with a generative answer.
|
|
79
|
+
#
|
|
80
|
+
# Note: The following fields are mutually exclusive: `generative_answer`, `respond_immediately`, `transfer_agent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
81
|
+
class TriggerAction
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
|
|
85
|
+
# Represents a response from the agent.
|
|
86
|
+
# @!attribute [rw] text
|
|
87
|
+
# @return [::String]
|
|
88
|
+
# Required. Text for the agent to respond with.
|
|
89
|
+
# @!attribute [rw] disabled
|
|
90
|
+
# @return [::Boolean]
|
|
91
|
+
# Optional. Whether the response is disabled. Disabled responses are not
|
|
92
|
+
# used by the agent.
|
|
93
|
+
class Response
|
|
94
|
+
include ::Google::Protobuf::MessageExts
|
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# The agent will immediately respond with a preconfigured response.
|
|
99
|
+
# @!attribute [rw] responses
|
|
100
|
+
# @return [::Array<::Google::Cloud::Ces::V1::TriggerAction::Response>]
|
|
101
|
+
# Required. The canned responses for the agent to choose from. The response
|
|
102
|
+
# is chosen randomly.
|
|
103
|
+
class RespondImmediately
|
|
104
|
+
include ::Google::Protobuf::MessageExts
|
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# The agent will immediately respond with a generative answer.
|
|
109
|
+
# @!attribute [rw] prompt
|
|
110
|
+
# @return [::String]
|
|
111
|
+
# Required. The prompt to use for the generative answer.
|
|
112
|
+
class GenerativeAnswer
|
|
113
|
+
include ::Google::Protobuf::MessageExts
|
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# The agent will transfer the conversation to a different agent.
|
|
118
|
+
# @!attribute [rw] agent
|
|
119
|
+
# @return [::String]
|
|
120
|
+
# Required. The name of the agent to transfer the conversation to. The
|
|
121
|
+
# agent must be in the same app as the current agent. Format:
|
|
122
|
+
# `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`
|
|
123
|
+
class TransferAgent
|
|
124
|
+
include ::Google::Protobuf::MessageExts
|
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# The TLS configuration.
|
|
130
|
+
# @!attribute [rw] ca_certs
|
|
131
|
+
# @return [::Array<::Google::Cloud::Ces::V1::TlsConfig::CaCert>]
|
|
132
|
+
# Required. Specifies a list of allowed custom CA certificates for HTTPS
|
|
133
|
+
# verification.
|
|
134
|
+
class TlsConfig
|
|
135
|
+
include ::Google::Protobuf::MessageExts
|
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
137
|
+
|
|
138
|
+
# The CA certificate.
|
|
139
|
+
# @!attribute [rw] display_name
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# Required. The name of the allowed custom CA certificates. This
|
|
142
|
+
# can be used to disambiguate the custom CA certificates.
|
|
143
|
+
# @!attribute [rw] cert
|
|
144
|
+
# @return [::String]
|
|
145
|
+
# Required. The allowed custom CA certificates (in DER format) for
|
|
146
|
+
# HTTPS verification. This overrides the default SSL trust store. If this
|
|
147
|
+
# is empty or unspecified, CES will use Google's default trust
|
|
148
|
+
# store to verify certificates. N.B. Make sure the HTTPS server
|
|
149
|
+
# certificates are signed with "subject alt name". For instance a
|
|
150
|
+
# certificate can be self-signed using the following command:
|
|
151
|
+
#
|
|
152
|
+
# ```
|
|
153
|
+
# openssl x509 -req -days 200 -in example.com.csr \
|
|
154
|
+
# -signkey example.com.key \
|
|
155
|
+
# -out example.com.crt \
|
|
156
|
+
# -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
|
|
157
|
+
# ```
|
|
158
|
+
class CaCert
|
|
159
|
+
include ::Google::Protobuf::MessageExts
|
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Configuration for tools using Service Directory.
|
|
165
|
+
# @!attribute [rw] service
|
|
166
|
+
# @return [::String]
|
|
167
|
+
# Required. The name of [Service
|
|
168
|
+
# Directory](https://cloud.google.com/service-directory) service.
|
|
169
|
+
# Format:
|
|
170
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`.
|
|
171
|
+
# Location of the service directory must be the same as the location of the
|
|
172
|
+
# app.
|
|
173
|
+
class ServiceDirectoryConfig
|
|
174
|
+
include ::Google::Protobuf::MessageExts
|
|
175
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# A ChannelProfile configures the agent's behavior for a specific communication
|
|
179
|
+
# channel, such as web UI or telephony.
|
|
180
|
+
# @!attribute [rw] profile_id
|
|
181
|
+
# @return [::String]
|
|
182
|
+
# Optional. The unique identifier of the channel profile.
|
|
183
|
+
# @!attribute [rw] channel_type
|
|
184
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::ChannelType]
|
|
185
|
+
# Optional. The type of the channel profile.
|
|
186
|
+
# @!attribute [rw] persona_property
|
|
187
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::PersonaProperty]
|
|
188
|
+
# Optional. The persona property of the channel profile.
|
|
189
|
+
# @!attribute [rw] disable_dtmf
|
|
190
|
+
# @return [::Boolean]
|
|
191
|
+
# Optional. Whether to disable DTMF (dual-tone multi-frequency).
|
|
192
|
+
# @!attribute [rw] disable_barge_in_control
|
|
193
|
+
# @return [::Boolean]
|
|
194
|
+
# Optional. Whether to disable user barge-in control in the conversation.
|
|
195
|
+
# - **true**: User interruptions are disabled while the agent is speaking.
|
|
196
|
+
# - **false**: The agent retains automatic control over when the user can
|
|
197
|
+
# interrupt.
|
|
198
|
+
# @!attribute [rw] web_widget_config
|
|
199
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig]
|
|
200
|
+
# Optional. The configuration for the web widget.
|
|
201
|
+
# @!attribute [rw] noise_suppression_level
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# Optional. The noise suppression level of the channel profile.
|
|
204
|
+
# Available values are "low", "moderate", "high", "very_high".
|
|
205
|
+
class ChannelProfile
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
|
|
209
|
+
# Represents the persona property of a channel.
|
|
210
|
+
# @!attribute [rw] persona
|
|
211
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::PersonaProperty::Persona]
|
|
212
|
+
# Optional. The persona of the channel.
|
|
213
|
+
class PersonaProperty
|
|
214
|
+
include ::Google::Protobuf::MessageExts
|
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
216
|
+
|
|
217
|
+
# The persona of the channel.
|
|
218
|
+
module Persona
|
|
219
|
+
# UNKNOWN persona.
|
|
220
|
+
UNKNOWN = 0
|
|
221
|
+
|
|
222
|
+
# The agent keeps the responses concise and to the point
|
|
223
|
+
CONCISE = 1
|
|
224
|
+
|
|
225
|
+
# The agent provides additional context, explanations, and details
|
|
226
|
+
CHATTY = 2
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Message for configuration for the web widget.
|
|
231
|
+
# @!attribute [rw] modality
|
|
232
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig::Modality]
|
|
233
|
+
# Optional. The modality of the web widget.
|
|
234
|
+
# @!attribute [rw] theme
|
|
235
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig::Theme]
|
|
236
|
+
# Optional. The theme of the web widget.
|
|
237
|
+
# @!attribute [rw] web_widget_title
|
|
238
|
+
# @return [::String]
|
|
239
|
+
# Optional. The title of the web widget.
|
|
240
|
+
# @!attribute [rw] security_settings
|
|
241
|
+
# @return [::Google::Cloud::Ces::V1::ChannelProfile::WebWidgetConfig::SecuritySettings]
|
|
242
|
+
# Optional. The security settings of the web widget.
|
|
243
|
+
class WebWidgetConfig
|
|
244
|
+
include ::Google::Protobuf::MessageExts
|
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
246
|
+
|
|
247
|
+
# Security settings for the web widget.
|
|
248
|
+
# @!attribute [rw] enable_public_access
|
|
249
|
+
# @return [::Boolean]
|
|
250
|
+
# Optional. Indicates whether public access to the web widget is enabled.
|
|
251
|
+
# If `true`, the web widget will be publicly accessible.
|
|
252
|
+
# If `false`, the web widget must be integrated with your own
|
|
253
|
+
# authentication and authorization system to return valid credentials for
|
|
254
|
+
# accessing the CES agent.
|
|
255
|
+
# @!attribute [rw] enable_origin_check
|
|
256
|
+
# @return [::Boolean]
|
|
257
|
+
# Optional. Indicates whether origin check for the web widget is enabled.
|
|
258
|
+
# If `true`, the web widget will check the origin of the website that
|
|
259
|
+
# loads the web widget and only allow it to be loaded in the same origin
|
|
260
|
+
# or any of the allowed origins.
|
|
261
|
+
# @!attribute [rw] allowed_origins
|
|
262
|
+
# @return [::Array<::String>]
|
|
263
|
+
# Optional. The origins that are allowed to host the web widget. An
|
|
264
|
+
# origin is defined by RFC 6454. If empty, all origins are allowed. A
|
|
265
|
+
# maximum of 100 origins is allowed. Example: "https://example.com"
|
|
266
|
+
# @!attribute [rw] enable_recaptcha
|
|
267
|
+
# @return [::Boolean]
|
|
268
|
+
# Optional. Indicates whether reCAPTCHA verification for the web widget
|
|
269
|
+
# is enabled.
|
|
270
|
+
class SecuritySettings
|
|
271
|
+
include ::Google::Protobuf::MessageExts
|
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# Modality of the web widget.
|
|
276
|
+
module Modality
|
|
277
|
+
# Unknown modality.
|
|
278
|
+
MODALITY_UNSPECIFIED = 0
|
|
279
|
+
|
|
280
|
+
# Widget supports both chat and voice input.
|
|
281
|
+
CHAT_AND_VOICE = 1
|
|
282
|
+
|
|
283
|
+
# Widget supports only voice input.
|
|
284
|
+
VOICE_ONLY = 2
|
|
285
|
+
|
|
286
|
+
# Widget supports only chat input.
|
|
287
|
+
CHAT_ONLY = 3
|
|
288
|
+
|
|
289
|
+
# Widget supports chat, voice, and video input.
|
|
290
|
+
CHAT_VOICE_AND_VIDEO = 4
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# Theme of the web widget.
|
|
294
|
+
module Theme
|
|
295
|
+
# Unknown theme.
|
|
296
|
+
THEME_UNSPECIFIED = 0
|
|
297
|
+
|
|
298
|
+
# Light theme.
|
|
299
|
+
LIGHT = 1
|
|
300
|
+
|
|
301
|
+
# Dark theme.
|
|
302
|
+
DARK = 2
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# The type of the channel profile.
|
|
307
|
+
module ChannelType
|
|
308
|
+
# Unknown channel type.
|
|
309
|
+
UNKNOWN = 0
|
|
310
|
+
|
|
311
|
+
# Web UI channel.
|
|
312
|
+
WEB_UI = 2
|
|
313
|
+
|
|
314
|
+
# API channel.
|
|
315
|
+
API = 3
|
|
316
|
+
|
|
317
|
+
# Twilio channel.
|
|
318
|
+
TWILIO = 4
|
|
319
|
+
|
|
320
|
+
# Google Telephony Platform channel.
|
|
321
|
+
GOOGLE_TELEPHONY_PLATFORM = 5
|
|
322
|
+
|
|
323
|
+
# Contact Center as a Service (CCaaS) channel.
|
|
324
|
+
CONTACT_CENTER_AS_A_SERVICE = 6
|
|
325
|
+
|
|
326
|
+
# Five9 channel.
|
|
327
|
+
FIVE9 = 7
|
|
328
|
+
|
|
329
|
+
# Third party contact center integration channel.
|
|
330
|
+
CONTACT_CENTER_INTEGRATION = 8
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# A span is a unit of work or a single operation during the request processing.
|
|
335
|
+
# @!attribute [r] name
|
|
336
|
+
# @return [::String]
|
|
337
|
+
# Output only. The name of the span.
|
|
338
|
+
# @!attribute [r] start_time
|
|
339
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
340
|
+
# Output only. The start time of the span.
|
|
341
|
+
# @!attribute [r] end_time
|
|
342
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
343
|
+
# Output only. The end time of the span.
|
|
344
|
+
# @!attribute [r] duration
|
|
345
|
+
# @return [::Google::Protobuf::Duration]
|
|
346
|
+
# Output only. The duration of the span.
|
|
347
|
+
# @!attribute [r] attributes
|
|
348
|
+
# @return [::Google::Protobuf::Struct]
|
|
349
|
+
# Output only. Key-value attributes associated with the span.
|
|
350
|
+
# @!attribute [r] child_spans
|
|
351
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Span>]
|
|
352
|
+
# Output only. The child spans that are nested under this span.
|
|
353
|
+
class Span
|
|
354
|
+
include ::Google::Protobuf::MessageExts
|
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
# The execution type of the tool or toolset.
|
|
359
|
+
module ExecutionType
|
|
360
|
+
# The execution type is unspecified. Defaults to `SYNCHRONOUS` if
|
|
361
|
+
# unspecified.
|
|
362
|
+
EXECUTION_TYPE_UNSPECIFIED = 0
|
|
363
|
+
|
|
364
|
+
# The tool is executed synchronously. The session is blocked
|
|
365
|
+
# until the tool returns.
|
|
366
|
+
SYNCHRONOUS = 1
|
|
367
|
+
|
|
368
|
+
# The tool is executed asynchronously. The session will
|
|
369
|
+
# continue while the tool is executing.
|
|
370
|
+
ASYNCHRONOUS = 2
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
end
|
|
374
|
+
end
|
|
375
|
+
end
|
|
@@ -0,0 +1,122 @@
|
|
|
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 V1
|
|
24
|
+
# Configuration of an Action for the tool to use.
|
|
25
|
+
# Note: This can be either an Action or an Operation. See
|
|
26
|
+
# https://cloud.google.com/integration-connectors/docs/entities-operation-action
|
|
27
|
+
# for details.
|
|
28
|
+
# @!attribute [rw] connection_action_id
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# ID of a Connection action for the tool to use.
|
|
31
|
+
#
|
|
32
|
+
# Note: The following fields are mutually exclusive: `connection_action_id`, `entity_operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
33
|
+
# @!attribute [rw] entity_operation
|
|
34
|
+
# @return [::Google::Cloud::Ces::V1::Action::EntityOperation]
|
|
35
|
+
# Entity operation configuration for the tool to use.
|
|
36
|
+
#
|
|
37
|
+
# Note: The following fields are mutually exclusive: `entity_operation`, `connection_action_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
38
|
+
# @!attribute [rw] input_fields
|
|
39
|
+
# @return [::Array<::String>]
|
|
40
|
+
# Optional. Entity fields to use as inputs for the operation.
|
|
41
|
+
# If no fields are specified, all fields of the Entity will be used.
|
|
42
|
+
# @!attribute [rw] output_fields
|
|
43
|
+
# @return [::Array<::String>]
|
|
44
|
+
# Optional. Entity fields to return from the operation.
|
|
45
|
+
# If no fields are specified, all fields of the Entity will be returned.
|
|
46
|
+
class Action
|
|
47
|
+
include ::Google::Protobuf::MessageExts
|
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
49
|
+
|
|
50
|
+
# Entity CRUD operation specification.
|
|
51
|
+
# @!attribute [rw] entity_id
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Required. ID of the entity.
|
|
54
|
+
# @!attribute [rw] operation
|
|
55
|
+
# @return [::Google::Cloud::Ces::V1::Action::EntityOperation::OperationType]
|
|
56
|
+
# Required. Operation to perform on the entity.
|
|
57
|
+
class EntityOperation
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
|
|
61
|
+
# The operation to perform on the entity.
|
|
62
|
+
module OperationType
|
|
63
|
+
# Operation type unspecified. Invalid, ConnectorTool create/update
|
|
64
|
+
# will fail.
|
|
65
|
+
OPERATION_TYPE_UNSPECIFIED = 0
|
|
66
|
+
|
|
67
|
+
# List operation.
|
|
68
|
+
LIST = 1
|
|
69
|
+
|
|
70
|
+
# Get operation.
|
|
71
|
+
GET = 2
|
|
72
|
+
|
|
73
|
+
# Create operation.
|
|
74
|
+
CREATE = 3
|
|
75
|
+
|
|
76
|
+
# Update operation.
|
|
77
|
+
UPDATE = 4
|
|
78
|
+
|
|
79
|
+
# Delete operation.
|
|
80
|
+
DELETE = 5
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# A ConnectorTool allows connections to different integrations.
|
|
86
|
+
# See: https://cloud.google.com/integration-connectors/docs/overview.
|
|
87
|
+
# @!attribute [rw] connection
|
|
88
|
+
# @return [::String]
|
|
89
|
+
# Required. The full resource name of the referenced Integration Connectors
|
|
90
|
+
# Connection.
|
|
91
|
+
# Format:
|
|
92
|
+
# `projects/{project}/locations/{location}/connections/{connection}`
|
|
93
|
+
# @!attribute [rw] action
|
|
94
|
+
# @return [::Google::Cloud::Ces::V1::Action]
|
|
95
|
+
# Required. Action for the tool to use.
|
|
96
|
+
# @!attribute [rw] auth_config
|
|
97
|
+
# @return [::Google::Cloud::Ces::V1::EndUserAuthConfig]
|
|
98
|
+
# Optional. Configures how authentication is handled in Integration
|
|
99
|
+
# Connectors. By default, an admin authentication is passed in the
|
|
100
|
+
# Integration Connectors API requests. You can override it with a different
|
|
101
|
+
# end-user authentication config.
|
|
102
|
+
# **Note**: The Connection must have authentication override enabled in
|
|
103
|
+
# order to specify an EUC configuration here - otherwise, the ConnectorTool
|
|
104
|
+
# creation will fail. See
|
|
105
|
+
# https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override
|
|
106
|
+
# for details.
|
|
107
|
+
# @!attribute [rw] name
|
|
108
|
+
# @return [::String]
|
|
109
|
+
# Optional. The name of the tool that can be used by the Agent to decide
|
|
110
|
+
# whether to call this ConnectorTool.
|
|
111
|
+
# @!attribute [rw] description
|
|
112
|
+
# @return [::String]
|
|
113
|
+
# Optional. The description of the tool that can be used by the Agent to
|
|
114
|
+
# decide whether to call this ConnectorTool.
|
|
115
|
+
class ConnectorTool
|
|
116
|
+
include ::Google::Protobuf::MessageExts
|
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 V1
|
|
24
|
+
# A toolset that generates tools from an Integration Connectors Connection.
|
|
25
|
+
# @!attribute [rw] connection
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The full resource name of the referenced Integration Connectors
|
|
28
|
+
# Connection.
|
|
29
|
+
# Format:
|
|
30
|
+
# `projects/{project}/locations/{location}/connections/{connection}`
|
|
31
|
+
# @!attribute [rw] auth_config
|
|
32
|
+
# @return [::Google::Cloud::Ces::V1::EndUserAuthConfig]
|
|
33
|
+
# Optional. Configures how authentication is handled in Integration
|
|
34
|
+
# Connectors. By default, an admin authentication is passed in the
|
|
35
|
+
# Integration Connectors API requests. You can override it with a different
|
|
36
|
+
# end-user authentication config.
|
|
37
|
+
# **Note**: The Connection must have authentication override enabled in
|
|
38
|
+
# order to specify an EUC configuration here - otherwise, the Toolset
|
|
39
|
+
# creation will fail. See:
|
|
40
|
+
# https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override
|
|
41
|
+
# @!attribute [rw] connector_actions
|
|
42
|
+
# @return [::Array<::Google::Cloud::Ces::V1::Action>]
|
|
43
|
+
# Required. The list of connector actions/entity operations to generate tools
|
|
44
|
+
# for.
|
|
45
|
+
class ConnectorToolset
|
|
46
|
+
include ::Google::Protobuf::MessageExts
|
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|