google-cloud-ces-v1beta 0.3.0 → 0.4.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/lib/google/cloud/ces/v1beta/agent_service_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/app_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/common_pb.rb +5 -1
- data/lib/google/cloud/ces/v1beta/deployment_pb.rb +3 -1
- data/lib/google/cloud/ces/v1beta/evaluation_pb.rb +1 -1
- data/lib/google/cloud/ces/v1beta/evaluation_service/client.rb +7 -2
- data/lib/google/cloud/ces/v1beta/evaluation_service/rest/client.rb +7 -2
- data/lib/google/cloud/ces/v1beta/evaluation_service_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/session_service_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/toolset_pb.rb +2 -1
- data/lib/google/cloud/ces/v1beta/version.rb +1 -1
- data/proto_docs/google/api/routing.rb +463 -0
- data/proto_docs/google/cloud/ces/v1beta/agent_service.rb +15 -0
- data/proto_docs/google/cloud/ces/v1beta/app.rb +30 -4
- data/proto_docs/google/cloud/ces/v1beta/common.rb +82 -0
- data/proto_docs/google/cloud/ces/v1beta/deployment.rb +47 -3
- data/proto_docs/google/cloud/ces/v1beta/evaluation.rb +3 -0
- data/proto_docs/google/cloud/ces/v1beta/evaluation_service.rb +16 -0
- data/proto_docs/google/cloud/ces/v1beta/session_service.rb +3 -0
- data/proto_docs/google/cloud/ces/v1beta/toolset.rb +5 -0
- metadata +2 -1
|
@@ -65,16 +65,16 @@ module Google
|
|
|
65
65
|
# Unspecified state.
|
|
66
66
|
STATE_UNSPECIFIED = 0
|
|
67
67
|
|
|
68
|
-
#
|
|
68
|
+
# Deprecated: This state is no longer used.
|
|
69
69
|
PENDING = 1
|
|
70
70
|
|
|
71
71
|
# Running state. Experiment is running and valid.
|
|
72
72
|
RUNNING = 2
|
|
73
73
|
|
|
74
|
-
#
|
|
74
|
+
# Deprecated: This state is no longer used.
|
|
75
75
|
DONE = 3
|
|
76
76
|
|
|
77
|
-
#
|
|
77
|
+
# Deprecated: This state is no longer used.
|
|
78
78
|
EXPIRED = 4
|
|
79
79
|
end
|
|
80
80
|
end
|
|
@@ -113,10 +113,54 @@ module Google
|
|
|
113
113
|
# @!attribute [rw] experiment_config
|
|
114
114
|
# @return [::Google::Cloud::Ces::V1beta::ExperimentConfig]
|
|
115
115
|
# Optional. Experiment configuration for the deployment.
|
|
116
|
+
# @!attribute [rw] whatsapp_credentials
|
|
117
|
+
# @return [::Google::Cloud::Ces::V1beta::WhatsAppCredentials]
|
|
118
|
+
# Optional. Input only. Ephemeral WhatsApp credentials required when
|
|
119
|
+
# configuring a WhatsApp channel profile.
|
|
120
|
+
# @!attribute [rw] instagram_credentials
|
|
121
|
+
# @return [::Google::Cloud::Ces::V1beta::InstagramCredentials]
|
|
122
|
+
# Optional. Input only. Ephemeral Instagram credentials required when
|
|
123
|
+
# configuring a Instagram channel profile.
|
|
116
124
|
class Deployment
|
|
117
125
|
include ::Google::Protobuf::MessageExts
|
|
118
126
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
119
127
|
end
|
|
128
|
+
|
|
129
|
+
# Ephemeral Meta credentials for WhatsApp native integration.
|
|
130
|
+
# @!attribute [rw] auth_code
|
|
131
|
+
# @return [::String]
|
|
132
|
+
# Required. The Meta auth code provided by the embedded signup flow.
|
|
133
|
+
# @!attribute [rw] pin
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Required. The 6-digit PIN created by the user for two-step verification.
|
|
136
|
+
# @!attribute [rw] phone_number
|
|
137
|
+
# @return [::String]
|
|
138
|
+
# Required. The phone number to register with WhatsApp.
|
|
139
|
+
# @!attribute [rw] business_account_id
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# Required. The Business Account ID to use for the phone number.
|
|
142
|
+
# @!attribute [rw] waba_id
|
|
143
|
+
# @return [::String]
|
|
144
|
+
# Required. The WhatsApp Business Account ID.
|
|
145
|
+
# @!attribute [rw] conversation_profile_id
|
|
146
|
+
# @return [::String]
|
|
147
|
+
# Required. The Conversation Profile ID to use for the deployment.
|
|
148
|
+
class WhatsAppCredentials
|
|
149
|
+
include ::Google::Protobuf::MessageExts
|
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Ephemeral Meta credentials for Instagram native integration.
|
|
154
|
+
# @!attribute [rw] auth_code
|
|
155
|
+
# @return [::String]
|
|
156
|
+
# Required. The Meta auth code provided by the embedded signup flow.
|
|
157
|
+
# @!attribute [rw] conversation_profile_id
|
|
158
|
+
# @return [::String]
|
|
159
|
+
# Required. The Conversation Profile ID to use for the deployment.
|
|
160
|
+
class InstagramCredentials
|
|
161
|
+
include ::Google::Protobuf::MessageExts
|
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
163
|
+
end
|
|
120
164
|
end
|
|
121
165
|
end
|
|
122
166
|
end
|
|
@@ -1529,6 +1529,9 @@ module Google
|
|
|
1529
1529
|
# @!attribute [rw] generate_latency_report
|
|
1530
1530
|
# @return [::Boolean]
|
|
1531
1531
|
# Optional. Whether to generate a latency report for the evaluation run.
|
|
1532
|
+
# @!attribute [rw] evaluation_run_caching_settings
|
|
1533
|
+
# @return [::Google::Cloud::Ces::V1beta::EvaluationRunCachingSettings]
|
|
1534
|
+
# Optional. The caching settings to use for the evaluation run.
|
|
1532
1535
|
class RunEvaluationRequest
|
|
1533
1536
|
include ::Google::Protobuf::MessageExts
|
|
1534
1537
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -134,9 +134,25 @@ module Google
|
|
|
134
134
|
# @return [::Google::Cloud::Ces::V1beta::Conversation::Source]
|
|
135
135
|
# Optional. Indicate the source of the conversation. If not set, all sources
|
|
136
136
|
# will be searched.
|
|
137
|
+
# @!attribute [rw] evaluation_type
|
|
138
|
+
# @return [::Google::Cloud::Ces::V1beta::GenerateEvaluationRequest::EvaluationType]
|
|
139
|
+
# Optional. The type of evaluation to generate. Defaults to GOLDEN if
|
|
140
|
+
# unspecified.
|
|
137
141
|
class GenerateEvaluationRequest
|
|
138
142
|
include ::Google::Protobuf::MessageExts
|
|
139
143
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
144
|
+
|
|
145
|
+
# The type of evaluation to generate.
|
|
146
|
+
module EvaluationType
|
|
147
|
+
# Unspecified type. Defaults to GOLDEN.
|
|
148
|
+
EVALUATION_TYPE_UNSPECIFIED = 0
|
|
149
|
+
|
|
150
|
+
# Golden evaluation.
|
|
151
|
+
GOLDEN = 1
|
|
152
|
+
|
|
153
|
+
# Scenario evaluation.
|
|
154
|
+
SCENARIO = 2
|
|
155
|
+
end
|
|
140
156
|
end
|
|
141
157
|
|
|
142
158
|
# Request message for
|
|
@@ -337,6 +337,9 @@ module Google
|
|
|
337
337
|
# Optional. Diagnostic information contains execution details during the
|
|
338
338
|
# processing of the input. Only populated in the last SessionOutput (with
|
|
339
339
|
# `turn_completed=true`) for each turn.
|
|
340
|
+
# @!attribute [rw] context
|
|
341
|
+
# @return [::Array<::Google::Protobuf::Any>]
|
|
342
|
+
# Context messages for external supervision guardrails.
|
|
340
343
|
class SessionOutput
|
|
341
344
|
include ::Google::Protobuf::MessageExts
|
|
342
345
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -53,6 +53,11 @@ module Google
|
|
|
53
53
|
# @!attribute [rw] description
|
|
54
54
|
# @return [::String]
|
|
55
55
|
# Optional. The description of the toolset.
|
|
56
|
+
# @!attribute [rw] timeout
|
|
57
|
+
# @return [::Google::Protobuf::Duration]
|
|
58
|
+
# Optional. The timeout for the toolset execution. If not set, the default
|
|
59
|
+
# timeout is 30 seconds for `SYNCHRONOUS` toolsets and 60 seconds for
|
|
60
|
+
# `ASYNCHRONOUS` toolsets.
|
|
56
61
|
# @!attribute [r] create_time
|
|
57
62
|
# @return [::Google::Protobuf::Timestamp]
|
|
58
63
|
# Output only. Timestamp when the toolset was created.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-ces-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -165,6 +165,7 @@ files:
|
|
|
165
165
|
- proto_docs/google/api/field_behavior.rb
|
|
166
166
|
- proto_docs/google/api/launch_stage.rb
|
|
167
167
|
- proto_docs/google/api/resource.rb
|
|
168
|
+
- proto_docs/google/api/routing.rb
|
|
168
169
|
- proto_docs/google/cloud/ces/v1beta/agent.rb
|
|
169
170
|
- proto_docs/google/cloud/ces/v1beta/agent_card.rb
|
|
170
171
|
- proto_docs/google/cloud/ces/v1beta/agent_service.rb
|