google-cloud-dialogflow-cx-v3 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +32 -0
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +122 -0
- data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +82 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +1051 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +151 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +94 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +92 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +766 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb +75 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +117 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +61 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +950 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +98 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +177 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +61 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +851 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/paths.rb +102 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +145 -0
- data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +88 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +1200 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +184 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +97 -0
- data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +750 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/paths.rb +96 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +113 -0
- data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +805 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +165 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +77 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +89 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +696 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/paths.rb +157 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +56 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +68 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +715 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/paths.rb +137 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +209 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +71 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +654 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +225 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +53 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +302 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +73 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +1324 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +249 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +53 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +67 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +766 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +144 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +59 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +30 -0
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +88 -0
- data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +57 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +792 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +666 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions/paths.rb +79 -0
- data/lib/google/cloud/dialogflow/cx/v3/versions.rb +52 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +172 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +704 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb +96 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +51 -0
- data/lib/google/cloud/dialogflow/cx/v3.rb +53 -0
- data/lib/google-cloud-dialogflow-cx-v3.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +57 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +301 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +322 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +306 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +279 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +438 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +438 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +126 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +318 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +478 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +220 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +222 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +798 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +184 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +757 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +195 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb +121 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +182 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +496 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +326 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Dialogflow
|
24
|
+
module CX
|
25
|
+
module V3
|
26
|
+
module Sessions
|
27
|
+
# Credentials for the Sessions API.
|
28
|
+
class Credentials < ::Google::Auth::Credentials
|
29
|
+
self.scope = [
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
31
|
+
"https://www.googleapis.com/auth/dialogflow"
|
32
|
+
]
|
33
|
+
self.env_vars = [
|
34
|
+
"DIALOGFLOW_CREDENTIALS",
|
35
|
+
"DIALOGFLOW_KEYFILE",
|
36
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
37
|
+
"GOOGLE_CLOUD_KEYFILE",
|
38
|
+
"GCLOUD_KEYFILE",
|
39
|
+
"DIALOGFLOW_CREDENTIALS_JSON",
|
40
|
+
"DIALOGFLOW_KEYFILE_JSON",
|
41
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
42
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
43
|
+
"GCLOUD_KEYFILE_JSON"
|
44
|
+
]
|
45
|
+
self.paths = [
|
46
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
47
|
+
]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,225 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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 Dialogflow
|
23
|
+
module CX
|
24
|
+
module V3
|
25
|
+
module Sessions
|
26
|
+
# Path helper methods for the Sessions API.
|
27
|
+
module Paths
|
28
|
+
##
|
29
|
+
# Create a fully-qualified EntityType resource string.
|
30
|
+
#
|
31
|
+
# The resource will be in the following format:
|
32
|
+
#
|
33
|
+
# `projects/{project}/locations/{location}/agents/{agent}/entityTypes/{entity_type}`
|
34
|
+
#
|
35
|
+
# @param project [String]
|
36
|
+
# @param location [String]
|
37
|
+
# @param agent [String]
|
38
|
+
# @param entity_type [String]
|
39
|
+
#
|
40
|
+
# @return [::String]
|
41
|
+
def entity_type_path project:, location:, agent:, entity_type:
|
42
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
44
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
45
|
+
|
46
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/entityTypes/#{entity_type}"
|
47
|
+
end
|
48
|
+
|
49
|
+
##
|
50
|
+
# Create a fully-qualified Intent resource string.
|
51
|
+
#
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/agents/{agent}/intents/{intent}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param agent [String]
|
59
|
+
# @param intent [String]
|
60
|
+
#
|
61
|
+
# @return [::String]
|
62
|
+
def intent_path project:, location:, agent:, intent:
|
63
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
64
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
65
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
66
|
+
|
67
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/intents/#{intent}"
|
68
|
+
end
|
69
|
+
|
70
|
+
##
|
71
|
+
# Create a fully-qualified Page resource string.
|
72
|
+
#
|
73
|
+
# The resource will be in the following format:
|
74
|
+
#
|
75
|
+
# `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/pages/{page}`
|
76
|
+
#
|
77
|
+
# @param project [String]
|
78
|
+
# @param location [String]
|
79
|
+
# @param agent [String]
|
80
|
+
# @param flow [String]
|
81
|
+
# @param page [String]
|
82
|
+
#
|
83
|
+
# @return [::String]
|
84
|
+
def page_path project:, location:, agent:, flow:, page:
|
85
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
87
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
88
|
+
raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
|
89
|
+
|
90
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/pages/#{page}"
|
91
|
+
end
|
92
|
+
|
93
|
+
##
|
94
|
+
# Create a fully-qualified Session resource string.
|
95
|
+
#
|
96
|
+
# @overload session_path(project:, location:, agent:, session:)
|
97
|
+
# The resource will be in the following format:
|
98
|
+
#
|
99
|
+
# `projects/{project}/locations/{location}/agents/{agent}/sessions/{session}`
|
100
|
+
#
|
101
|
+
# @param project [String]
|
102
|
+
# @param location [String]
|
103
|
+
# @param agent [String]
|
104
|
+
# @param session [String]
|
105
|
+
#
|
106
|
+
# @overload session_path(project:, location:, agent:, environment:, session:)
|
107
|
+
# The resource will be in the following format:
|
108
|
+
#
|
109
|
+
# `projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}`
|
110
|
+
#
|
111
|
+
# @param project [String]
|
112
|
+
# @param location [String]
|
113
|
+
# @param agent [String]
|
114
|
+
# @param environment [String]
|
115
|
+
# @param session [String]
|
116
|
+
#
|
117
|
+
# @return [::String]
|
118
|
+
def session_path **args
|
119
|
+
resources = {
|
120
|
+
"agent:location:project:session" => (proc do |project:, location:, agent:, session:|
|
121
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
122
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
123
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
124
|
+
|
125
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/sessions/#{session}"
|
126
|
+
end),
|
127
|
+
"agent:environment:location:project:session" => (proc do |project:, location:, agent:, environment:, session:|
|
128
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
129
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
130
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
131
|
+
raise ::ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
|
132
|
+
|
133
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/environments/#{environment}/sessions/#{session}"
|
134
|
+
end)
|
135
|
+
}
|
136
|
+
|
137
|
+
resource = resources[args.keys.sort.join(":")]
|
138
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
139
|
+
resource.call(**args)
|
140
|
+
end
|
141
|
+
|
142
|
+
##
|
143
|
+
# Create a fully-qualified SessionEntityType resource string.
|
144
|
+
#
|
145
|
+
# @overload session_entity_type_path(project:, location:, agent:, session:, entity_type:)
|
146
|
+
# The resource will be in the following format:
|
147
|
+
#
|
148
|
+
# `projects/{project}/locations/{location}/agents/{agent}/sessions/{session}/entityTypes/{entity_type}`
|
149
|
+
#
|
150
|
+
# @param project [String]
|
151
|
+
# @param location [String]
|
152
|
+
# @param agent [String]
|
153
|
+
# @param session [String]
|
154
|
+
# @param entity_type [String]
|
155
|
+
#
|
156
|
+
# @overload session_entity_type_path(project:, location:, agent:, environment:, session:, entity_type:)
|
157
|
+
# The resource will be in the following format:
|
158
|
+
#
|
159
|
+
# `projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}/entityTypes/{entity_type}`
|
160
|
+
#
|
161
|
+
# @param project [String]
|
162
|
+
# @param location [String]
|
163
|
+
# @param agent [String]
|
164
|
+
# @param environment [String]
|
165
|
+
# @param session [String]
|
166
|
+
# @param entity_type [String]
|
167
|
+
#
|
168
|
+
# @return [::String]
|
169
|
+
def session_entity_type_path **args
|
170
|
+
resources = {
|
171
|
+
"agent:entity_type:location:project:session" => (proc do |project:, location:, agent:, session:, entity_type:|
|
172
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
173
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
174
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
175
|
+
raise ::ArgumentError, "session cannot contain /" if session.to_s.include? "/"
|
176
|
+
|
177
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/sessions/#{session}/entityTypes/#{entity_type}"
|
178
|
+
end),
|
179
|
+
"agent:entity_type:environment:location:project:session" => (proc do |project:, location:, agent:, environment:, session:, entity_type:|
|
180
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
181
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
182
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
183
|
+
raise ::ArgumentError, "environment cannot contain /" if environment.to_s.include? "/"
|
184
|
+
raise ::ArgumentError, "session cannot contain /" if session.to_s.include? "/"
|
185
|
+
|
186
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/environments/#{environment}/sessions/#{session}/entityTypes/#{entity_type}"
|
187
|
+
end)
|
188
|
+
}
|
189
|
+
|
190
|
+
resource = resources[args.keys.sort.join(":")]
|
191
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
192
|
+
resource.call(**args)
|
193
|
+
end
|
194
|
+
|
195
|
+
##
|
196
|
+
# Create a fully-qualified Version resource string.
|
197
|
+
#
|
198
|
+
# The resource will be in the following format:
|
199
|
+
#
|
200
|
+
# `projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/versions/{version}`
|
201
|
+
#
|
202
|
+
# @param project [String]
|
203
|
+
# @param location [String]
|
204
|
+
# @param agent [String]
|
205
|
+
# @param flow [String]
|
206
|
+
# @param version [String]
|
207
|
+
#
|
208
|
+
# @return [::String]
|
209
|
+
def version_path project:, location:, agent:, flow:, version:
|
210
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
211
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
212
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
213
|
+
raise ::ArgumentError, "flow cannot contain /" if flow.to_s.include? "/"
|
214
|
+
|
215
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/versions/#{version}"
|
216
|
+
end
|
217
|
+
|
218
|
+
extend self
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/dialogflow/cx/v3/version"
|
24
|
+
|
25
|
+
require "google/cloud/dialogflow/cx/v3/sessions/credentials"
|
26
|
+
require "google/cloud/dialogflow/cx/v3/sessions/paths"
|
27
|
+
require "google/cloud/dialogflow/cx/v3/sessions/client"
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module Dialogflow
|
32
|
+
module CX
|
33
|
+
module V3
|
34
|
+
##
|
35
|
+
# A session represents an interaction with a user. You retrieve user input
|
36
|
+
# and pass it to the {::Google::Cloud::Dialogflow::CX::V3::Sessions::Client#detect_intent DetectIntent} method to determine
|
37
|
+
# user intent and respond.
|
38
|
+
#
|
39
|
+
# To load this service and instantiate a client:
|
40
|
+
#
|
41
|
+
# require "google/cloud/dialogflow/cx/v3/sessions"
|
42
|
+
# client = ::Google::Cloud::Dialogflow::CX::V3::Sessions::Client.new
|
43
|
+
#
|
44
|
+
module Sessions
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
helper_path = ::File.join __dir__, "sessions", "helpers.rb"
|
53
|
+
require "google/cloud/dialogflow/cx/v3/sessions/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,302 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/dialogflow/cx/v3/test_case.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/dialogflow/cx/v3/flow_pb'
|
11
|
+
require 'google/cloud/dialogflow/cx/v3/intent_pb'
|
12
|
+
require 'google/cloud/dialogflow/cx/v3/page_pb'
|
13
|
+
require 'google/cloud/dialogflow/cx/v3/response_message_pb'
|
14
|
+
require 'google/cloud/dialogflow/cx/v3/session_pb'
|
15
|
+
require 'google/cloud/dialogflow/cx/v3/transition_route_group_pb'
|
16
|
+
require 'google/longrunning/operations_pb'
|
17
|
+
require 'google/protobuf/empty_pb'
|
18
|
+
require 'google/protobuf/field_mask_pb'
|
19
|
+
require 'google/protobuf/struct_pb'
|
20
|
+
require 'google/protobuf/timestamp_pb'
|
21
|
+
require 'google/rpc/status_pb'
|
22
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
23
|
+
add_file("google/cloud/dialogflow/cx/v3/test_case.proto", :syntax => :proto3) do
|
24
|
+
add_message "google.cloud.dialogflow.cx.v3.TestCase" do
|
25
|
+
optional :name, :string, 1
|
26
|
+
repeated :tags, :string, 2
|
27
|
+
optional :display_name, :string, 3
|
28
|
+
optional :notes, :string, 4
|
29
|
+
optional :test_config, :message, 13, "google.cloud.dialogflow.cx.v3.TestConfig"
|
30
|
+
repeated :test_case_conversation_turns, :message, 5, "google.cloud.dialogflow.cx.v3.ConversationTurn"
|
31
|
+
optional :creation_time, :message, 10, "google.protobuf.Timestamp"
|
32
|
+
optional :last_test_result, :message, 12, "google.cloud.dialogflow.cx.v3.TestCaseResult"
|
33
|
+
end
|
34
|
+
add_message "google.cloud.dialogflow.cx.v3.TestCaseResult" do
|
35
|
+
optional :name, :string, 1
|
36
|
+
optional :environment, :string, 2
|
37
|
+
repeated :conversation_turns, :message, 3, "google.cloud.dialogflow.cx.v3.ConversationTurn"
|
38
|
+
optional :test_result, :enum, 4, "google.cloud.dialogflow.cx.v3.TestResult"
|
39
|
+
optional :test_time, :message, 5, "google.protobuf.Timestamp"
|
40
|
+
end
|
41
|
+
add_message "google.cloud.dialogflow.cx.v3.TestConfig" do
|
42
|
+
repeated :tracking_parameters, :string, 1
|
43
|
+
optional :flow, :string, 2
|
44
|
+
end
|
45
|
+
add_message "google.cloud.dialogflow.cx.v3.ConversationTurn" do
|
46
|
+
optional :user_input, :message, 1, "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput"
|
47
|
+
optional :virtual_agent_output, :message, 2, "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput"
|
48
|
+
end
|
49
|
+
add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput" do
|
50
|
+
optional :input, :message, 5, "google.cloud.dialogflow.cx.v3.QueryInput"
|
51
|
+
optional :injected_parameters, :message, 2, "google.protobuf.Struct"
|
52
|
+
optional :is_webhook_enabled, :bool, 3
|
53
|
+
optional :enable_sentiment_analysis, :bool, 7
|
54
|
+
end
|
55
|
+
add_message "google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput" do
|
56
|
+
optional :session_parameters, :message, 4, "google.protobuf.Struct"
|
57
|
+
repeated :differences, :message, 5, "google.cloud.dialogflow.cx.v3.TestRunDifference"
|
58
|
+
optional :diagnostic_info, :message, 6, "google.protobuf.Struct"
|
59
|
+
optional :triggered_intent, :message, 7, "google.cloud.dialogflow.cx.v3.Intent"
|
60
|
+
optional :current_page, :message, 8, "google.cloud.dialogflow.cx.v3.Page"
|
61
|
+
repeated :text_responses, :message, 9, "google.cloud.dialogflow.cx.v3.ResponseMessage.Text"
|
62
|
+
optional :status, :message, 10, "google.rpc.Status"
|
63
|
+
end
|
64
|
+
add_message "google.cloud.dialogflow.cx.v3.TestRunDifference" do
|
65
|
+
optional :type, :enum, 1, "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType"
|
66
|
+
optional :description, :string, 2
|
67
|
+
end
|
68
|
+
add_enum "google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType" do
|
69
|
+
value :DIFF_TYPE_UNSPECIFIED, 0
|
70
|
+
value :INTENT, 1
|
71
|
+
value :PAGE, 2
|
72
|
+
value :PARAMETERS, 3
|
73
|
+
value :UTTERANCE, 4
|
74
|
+
end
|
75
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage" do
|
76
|
+
repeated :transitions, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition"
|
77
|
+
optional :coverage_score, :float, 2
|
78
|
+
end
|
79
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode" do
|
80
|
+
oneof :kind do
|
81
|
+
optional :page, :message, 1, "google.cloud.dialogflow.cx.v3.Page"
|
82
|
+
optional :flow, :message, 2, "google.cloud.dialogflow.cx.v3.Flow"
|
83
|
+
end
|
84
|
+
end
|
85
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition" do
|
86
|
+
optional :source, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode"
|
87
|
+
optional :index, :int32, 4
|
88
|
+
optional :target, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode"
|
89
|
+
optional :covered, :bool, 3
|
90
|
+
oneof :detail do
|
91
|
+
optional :transition_route, :message, 5, "google.cloud.dialogflow.cx.v3.TransitionRoute"
|
92
|
+
optional :event_handler, :message, 6, "google.cloud.dialogflow.cx.v3.EventHandler"
|
93
|
+
end
|
94
|
+
end
|
95
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage" do
|
96
|
+
repeated :coverages, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage"
|
97
|
+
optional :coverage_score, :float, 2
|
98
|
+
end
|
99
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage" do
|
100
|
+
optional :route_group, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRouteGroup"
|
101
|
+
repeated :transitions, :message, 2, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition"
|
102
|
+
optional :coverage_score, :float, 3
|
103
|
+
end
|
104
|
+
add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition" do
|
105
|
+
optional :transition_route, :message, 1, "google.cloud.dialogflow.cx.v3.TransitionRoute"
|
106
|
+
optional :covered, :bool, 2
|
107
|
+
end
|
108
|
+
add_message "google.cloud.dialogflow.cx.v3.IntentCoverage" do
|
109
|
+
repeated :intents, :message, 1, "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent"
|
110
|
+
optional :coverage_score, :float, 2
|
111
|
+
end
|
112
|
+
add_message "google.cloud.dialogflow.cx.v3.IntentCoverage.Intent" do
|
113
|
+
optional :intent, :string, 1
|
114
|
+
optional :covered, :bool, 2
|
115
|
+
end
|
116
|
+
add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest" do
|
117
|
+
optional :agent, :string, 3
|
118
|
+
optional :type, :enum, 2, "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType"
|
119
|
+
end
|
120
|
+
add_enum "google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" do
|
121
|
+
value :COVERAGE_TYPE_UNSPECIFIED, 0
|
122
|
+
value :INTENT, 1
|
123
|
+
value :PAGE_TRANSITION, 2
|
124
|
+
value :TRANSITION_ROUTE_GROUP, 3
|
125
|
+
end
|
126
|
+
add_message "google.cloud.dialogflow.cx.v3.CalculateCoverageResponse" do
|
127
|
+
optional :agent, :string, 5
|
128
|
+
oneof :coverage_type do
|
129
|
+
optional :intent_coverage, :message, 2, "google.cloud.dialogflow.cx.v3.IntentCoverage"
|
130
|
+
optional :transition_coverage, :message, 4, "google.cloud.dialogflow.cx.v3.TransitionCoverage"
|
131
|
+
optional :route_group_coverage, :message, 6, "google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage"
|
132
|
+
end
|
133
|
+
end
|
134
|
+
add_message "google.cloud.dialogflow.cx.v3.ListTestCasesRequest" do
|
135
|
+
optional :parent, :string, 1
|
136
|
+
optional :page_size, :int32, 2
|
137
|
+
optional :page_token, :string, 3
|
138
|
+
optional :view, :enum, 4, "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView"
|
139
|
+
end
|
140
|
+
add_enum "google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" do
|
141
|
+
value :TEST_CASE_VIEW_UNSPECIFIED, 0
|
142
|
+
value :BASIC, 1
|
143
|
+
value :FULL, 2
|
144
|
+
end
|
145
|
+
add_message "google.cloud.dialogflow.cx.v3.ListTestCasesResponse" do
|
146
|
+
repeated :test_cases, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
|
147
|
+
optional :next_page_token, :string, 2
|
148
|
+
end
|
149
|
+
add_message "google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest" do
|
150
|
+
optional :parent, :string, 1
|
151
|
+
repeated :names, :string, 3
|
152
|
+
end
|
153
|
+
add_message "google.cloud.dialogflow.cx.v3.CreateTestCaseRequest" do
|
154
|
+
optional :parent, :string, 1
|
155
|
+
optional :test_case, :message, 2, "google.cloud.dialogflow.cx.v3.TestCase"
|
156
|
+
end
|
157
|
+
add_message "google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest" do
|
158
|
+
optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
|
159
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
160
|
+
end
|
161
|
+
add_message "google.cloud.dialogflow.cx.v3.GetTestCaseRequest" do
|
162
|
+
optional :name, :string, 1
|
163
|
+
end
|
164
|
+
add_message "google.cloud.dialogflow.cx.v3.RunTestCaseRequest" do
|
165
|
+
optional :name, :string, 1
|
166
|
+
optional :environment, :string, 2
|
167
|
+
end
|
168
|
+
add_message "google.cloud.dialogflow.cx.v3.RunTestCaseResponse" do
|
169
|
+
optional :result, :message, 2, "google.cloud.dialogflow.cx.v3.TestCaseResult"
|
170
|
+
end
|
171
|
+
add_message "google.cloud.dialogflow.cx.v3.RunTestCaseMetadata" do
|
172
|
+
end
|
173
|
+
add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest" do
|
174
|
+
optional :parent, :string, 1
|
175
|
+
optional :environment, :string, 2
|
176
|
+
repeated :test_cases, :string, 3
|
177
|
+
end
|
178
|
+
add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse" do
|
179
|
+
repeated :results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult"
|
180
|
+
end
|
181
|
+
add_message "google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata" do
|
182
|
+
repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestError"
|
183
|
+
end
|
184
|
+
add_message "google.cloud.dialogflow.cx.v3.TestError" do
|
185
|
+
optional :test_case, :string, 1
|
186
|
+
optional :status, :message, 2, "google.rpc.Status"
|
187
|
+
optional :test_time, :message, 3, "google.protobuf.Timestamp"
|
188
|
+
end
|
189
|
+
add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesRequest" do
|
190
|
+
optional :parent, :string, 1
|
191
|
+
oneof :source do
|
192
|
+
optional :gcs_uri, :string, 2
|
193
|
+
optional :content, :bytes, 3
|
194
|
+
end
|
195
|
+
end
|
196
|
+
add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesResponse" do
|
197
|
+
repeated :names, :string, 1
|
198
|
+
end
|
199
|
+
add_message "google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata" do
|
200
|
+
repeated :errors, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseError"
|
201
|
+
end
|
202
|
+
add_message "google.cloud.dialogflow.cx.v3.TestCaseError" do
|
203
|
+
optional :test_case, :message, 1, "google.cloud.dialogflow.cx.v3.TestCase"
|
204
|
+
optional :status, :message, 2, "google.rpc.Status"
|
205
|
+
end
|
206
|
+
add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest" do
|
207
|
+
optional :parent, :string, 1
|
208
|
+
optional :data_format, :enum, 3, "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat"
|
209
|
+
optional :filter, :string, 4
|
210
|
+
oneof :destination do
|
211
|
+
optional :gcs_uri, :string, 2
|
212
|
+
end
|
213
|
+
end
|
214
|
+
add_enum "google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" do
|
215
|
+
value :DATA_FORMAT_UNSPECIFIED, 0
|
216
|
+
value :BLOB, 1
|
217
|
+
value :JSON, 2
|
218
|
+
end
|
219
|
+
add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesResponse" do
|
220
|
+
oneof :destination do
|
221
|
+
optional :gcs_uri, :string, 1
|
222
|
+
optional :content, :bytes, 2
|
223
|
+
end
|
224
|
+
end
|
225
|
+
add_message "google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata" do
|
226
|
+
end
|
227
|
+
add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest" do
|
228
|
+
optional :parent, :string, 1
|
229
|
+
optional :page_size, :int32, 2
|
230
|
+
optional :page_token, :string, 3
|
231
|
+
optional :filter, :string, 4
|
232
|
+
end
|
233
|
+
add_message "google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse" do
|
234
|
+
repeated :test_case_results, :message, 1, "google.cloud.dialogflow.cx.v3.TestCaseResult"
|
235
|
+
optional :next_page_token, :string, 2
|
236
|
+
end
|
237
|
+
add_message "google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest" do
|
238
|
+
optional :name, :string, 1
|
239
|
+
end
|
240
|
+
add_enum "google.cloud.dialogflow.cx.v3.TestResult" do
|
241
|
+
value :TEST_RESULT_UNSPECIFIED, 0
|
242
|
+
value :PASSED, 1
|
243
|
+
value :FAILED, 2
|
244
|
+
end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
module Google
|
249
|
+
module Cloud
|
250
|
+
module Dialogflow
|
251
|
+
module CX
|
252
|
+
module V3
|
253
|
+
TestCase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCase").msgclass
|
254
|
+
TestCaseResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCaseResult").msgclass
|
255
|
+
TestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestConfig").msgclass
|
256
|
+
ConversationTurn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn").msgclass
|
257
|
+
ConversationTurn::UserInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput").msgclass
|
258
|
+
ConversationTurn::VirtualAgentOutput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput").msgclass
|
259
|
+
TestRunDifference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestRunDifference").msgclass
|
260
|
+
TestRunDifference::DiffType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType").enummodule
|
261
|
+
TransitionCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage").msgclass
|
262
|
+
TransitionCoverage::TransitionNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode").msgclass
|
263
|
+
TransitionCoverage::Transition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition").msgclass
|
264
|
+
TransitionRouteGroupCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage").msgclass
|
265
|
+
TransitionRouteGroupCoverage::Coverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage").msgclass
|
266
|
+
TransitionRouteGroupCoverage::Coverage::Transition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition").msgclass
|
267
|
+
IntentCoverage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.IntentCoverage").msgclass
|
268
|
+
IntentCoverage::Intent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.IntentCoverage.Intent").msgclass
|
269
|
+
CalculateCoverageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageRequest").msgclass
|
270
|
+
CalculateCoverageRequest::CoverageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType").enummodule
|
271
|
+
CalculateCoverageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CalculateCoverageResponse").msgclass
|
272
|
+
ListTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesRequest").msgclass
|
273
|
+
ListTestCasesRequest::TestCaseView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView").enummodule
|
274
|
+
ListTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCasesResponse").msgclass
|
275
|
+
BatchDeleteTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest").msgclass
|
276
|
+
CreateTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateTestCaseRequest").msgclass
|
277
|
+
UpdateTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest").msgclass
|
278
|
+
GetTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetTestCaseRequest").msgclass
|
279
|
+
RunTestCaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseRequest").msgclass
|
280
|
+
RunTestCaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseResponse").msgclass
|
281
|
+
RunTestCaseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RunTestCaseMetadata").msgclass
|
282
|
+
BatchRunTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest").msgclass
|
283
|
+
BatchRunTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse").msgclass
|
284
|
+
BatchRunTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata").msgclass
|
285
|
+
TestError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestError").msgclass
|
286
|
+
ImportTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesRequest").msgclass
|
287
|
+
ImportTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesResponse").msgclass
|
288
|
+
ImportTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata").msgclass
|
289
|
+
TestCaseError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestCaseError").msgclass
|
290
|
+
ExportTestCasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesRequest").msgclass
|
291
|
+
ExportTestCasesRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat").enummodule
|
292
|
+
ExportTestCasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesResponse").msgclass
|
293
|
+
ExportTestCasesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata").msgclass
|
294
|
+
ListTestCaseResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest").msgclass
|
295
|
+
ListTestCaseResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse").msgclass
|
296
|
+
GetTestCaseResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest").msgclass
|
297
|
+
TestResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.TestResult").enummodule
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|