google-cloud-dialogflow-cx-v3 0.8.1 → 0.9.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/README.md +5 -0
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +6 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +42 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +14 -0
- data/lib/google/cloud/dialogflow/cx/v3.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +15 -0
- metadata +23 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d31e7df7582a95f671b67239c0c139e7cc23eecfa18af68fe163e7a8f7ff4e06
|
4
|
+
data.tar.gz: b470b8e017d16a57e2ac18c3f0654cf70939abec70c608ea70c0ea99d9be6631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cf02da0b6a1c7edc8ac915662f2d6d163d8e2ebf682dbaae7853430e65d91beb125cf3a9ef56c72a4c0c55f700ddcb053667a0c17219a4481a2fa5f0e852bc
|
7
|
+
data.tar.gz: 80eca910384ebeafd2e739f43c9a84344ef074eca5d5a3b1557dd6ca7afe751a486daaffd7f466f7d1858cd1412545d7c8ec0f1d64a084bc674f82b96290b1e0
|
data/README.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/agent_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -145,6 +146,12 @@ module Google
|
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
149
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.quota_project = @quota_project_id
|
152
|
+
config.endpoint = @config.endpoint
|
153
|
+
end
|
154
|
+
|
148
155
|
@agents_stub = ::Gapic::ServiceStub.new(
|
149
156
|
::Google::Cloud::Dialogflow::CX::V3::Agents::Stub,
|
150
157
|
credentials: credentials,
|
@@ -161,6 +168,13 @@ module Google
|
|
161
168
|
#
|
162
169
|
attr_reader :operations_client
|
163
170
|
|
171
|
+
##
|
172
|
+
# Get the associated client for mix-in of the Locations.
|
173
|
+
#
|
174
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
175
|
+
#
|
176
|
+
attr_reader :location_client
|
177
|
+
|
164
178
|
# Service calls
|
165
179
|
|
166
180
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/changelog_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@changelogs_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Changelogs::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/deployment_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@deployments_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Deployments::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/entity_type_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@entity_types_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/cloud/dialogflow/cx/v3/test_case_pb'
|
11
|
+
require 'google/cloud/dialogflow/cx/v3/webhook_pb'
|
11
12
|
require 'google/longrunning/operations_pb'
|
12
13
|
require 'google/protobuf/empty_pb'
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
@@ -22,6 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
23
|
repeated :version_configs, :message, 6, "google.cloud.dialogflow.cx.v3.Environment.VersionConfig"
|
23
24
|
optional :update_time, :message, 5, "google.protobuf.Timestamp"
|
24
25
|
optional :test_cases_config, :message, 7, "google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig"
|
26
|
+
optional :webhook_config, :message, 10, "google.cloud.dialogflow.cx.v3.Environment.WebhookConfig"
|
25
27
|
end
|
26
28
|
add_message "google.cloud.dialogflow.cx.v3.Environment.VersionConfig" do
|
27
29
|
optional :version, :string, 1
|
@@ -31,6 +33,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
33
|
optional :enable_continuous_run, :bool, 2
|
32
34
|
optional :enable_predeployment_run, :bool, 3
|
33
35
|
end
|
36
|
+
add_message "google.cloud.dialogflow.cx.v3.Environment.WebhookConfig" do
|
37
|
+
repeated :webhook_overrides, :message, 1, "google.cloud.dialogflow.cx.v3.Webhook"
|
38
|
+
end
|
34
39
|
add_message "google.cloud.dialogflow.cx.v3.ListEnvironmentsRequest" do
|
35
40
|
optional :parent, :string, 1
|
36
41
|
optional :page_size, :int32, 2
|
@@ -114,6 +119,7 @@ module Google
|
|
114
119
|
Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment").msgclass
|
115
120
|
Environment::VersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.VersionConfig").msgclass
|
116
121
|
Environment::TestCasesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig").msgclass
|
122
|
+
Environment::WebhookConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Environment.WebhookConfig").msgclass
|
117
123
|
ListEnvironmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListEnvironmentsRequest").msgclass
|
118
124
|
ListEnvironmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse").msgclass
|
119
125
|
GetEnvironmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetEnvironmentRequest").msgclass
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/environment_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -145,6 +146,12 @@ module Google
|
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
149
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.quota_project = @quota_project_id
|
152
|
+
config.endpoint = @config.endpoint
|
153
|
+
end
|
154
|
+
|
148
155
|
@environments_stub = ::Gapic::ServiceStub.new(
|
149
156
|
::Google::Cloud::Dialogflow::CX::V3::Environments::Stub,
|
150
157
|
credentials: credentials,
|
@@ -161,6 +168,13 @@ module Google
|
|
161
168
|
#
|
162
169
|
attr_reader :operations_client
|
163
170
|
|
171
|
+
##
|
172
|
+
# Get the associated client for mix-in of the Locations.
|
173
|
+
#
|
174
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
175
|
+
#
|
176
|
+
attr_reader :location_client
|
177
|
+
|
164
178
|
# Service calls
|
165
179
|
|
166
180
|
##
|
@@ -65,6 +65,27 @@ module Google
|
|
65
65
|
"projects/#{project}/locations/#{location}/agents/#{agent}/environments/#{environment}"
|
66
66
|
end
|
67
67
|
|
68
|
+
##
|
69
|
+
# Create a fully-qualified Service resource string.
|
70
|
+
#
|
71
|
+
# The resource will be in the following format:
|
72
|
+
#
|
73
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`
|
74
|
+
#
|
75
|
+
# @param project [String]
|
76
|
+
# @param location [String]
|
77
|
+
# @param namespace [String]
|
78
|
+
# @param service [String]
|
79
|
+
#
|
80
|
+
# @return [::String]
|
81
|
+
def service_path project:, location:, namespace:, service:
|
82
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
83
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
84
|
+
raise ::ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
|
85
|
+
|
86
|
+
"projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}"
|
87
|
+
end
|
88
|
+
|
68
89
|
##
|
69
90
|
# Create a fully-qualified TestCase resource string.
|
70
91
|
#
|
@@ -109,6 +130,27 @@ module Google
|
|
109
130
|
"projects/#{project}/locations/#{location}/agents/#{agent}/flows/#{flow}/versions/#{version}"
|
110
131
|
end
|
111
132
|
|
133
|
+
##
|
134
|
+
# Create a fully-qualified Webhook resource string.
|
135
|
+
#
|
136
|
+
# The resource will be in the following format:
|
137
|
+
#
|
138
|
+
# `projects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}`
|
139
|
+
#
|
140
|
+
# @param project [String]
|
141
|
+
# @param location [String]
|
142
|
+
# @param agent [String]
|
143
|
+
# @param webhook [String]
|
144
|
+
#
|
145
|
+
# @return [::String]
|
146
|
+
def webhook_path project:, location:, agent:, webhook:
|
147
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
148
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
149
|
+
raise ::ArgumentError, "agent cannot contain /" if agent.to_s.include? "/"
|
150
|
+
|
151
|
+
"projects/#{project}/locations/#{location}/agents/#{agent}/webhooks/#{webhook}"
|
152
|
+
end
|
153
|
+
|
112
154
|
extend self
|
113
155
|
end
|
114
156
|
end
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/experiment_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@experiments_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Experiments::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/flow_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -145,6 +146,12 @@ module Google
|
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
149
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.quota_project = @quota_project_id
|
152
|
+
config.endpoint = @config.endpoint
|
153
|
+
end
|
154
|
+
|
148
155
|
@flows_stub = ::Gapic::ServiceStub.new(
|
149
156
|
::Google::Cloud::Dialogflow::CX::V3::Flows::Stub,
|
150
157
|
credentials: credentials,
|
@@ -161,6 +168,13 @@ module Google
|
|
161
168
|
#
|
162
169
|
attr_reader :operations_client
|
163
170
|
|
171
|
+
##
|
172
|
+
# Get the associated client for mix-in of the Locations.
|
173
|
+
#
|
174
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
175
|
+
#
|
176
|
+
attr_reader :location_client
|
177
|
+
|
164
178
|
# Service calls
|
165
179
|
|
166
180
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/intent_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@intents_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Intents::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/page_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@pages_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Pages::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/security_settings_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@security_settings_service_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/session_entity_type_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@session_entity_types_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::SessionEntityTypes::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/session_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -148,6 +149,12 @@ module Google
|
|
148
149
|
@quota_project_id = @config.quota_project
|
149
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
150
151
|
|
152
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
153
|
+
config.credentials = credentials
|
154
|
+
config.quota_project = @quota_project_id
|
155
|
+
config.endpoint = @config.endpoint
|
156
|
+
end
|
157
|
+
|
151
158
|
@sessions_stub = ::Gapic::ServiceStub.new(
|
152
159
|
::Google::Cloud::Dialogflow::CX::V3::Sessions::Stub,
|
153
160
|
credentials: credentials,
|
@@ -157,6 +164,13 @@ module Google
|
|
157
164
|
)
|
158
165
|
end
|
159
166
|
|
167
|
+
##
|
168
|
+
# Get the associated client for mix-in of the Locations.
|
169
|
+
#
|
170
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
171
|
+
#
|
172
|
+
attr_reader :location_client
|
173
|
+
|
160
174
|
# Service calls
|
161
175
|
|
162
176
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/test_case_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -146,6 +147,12 @@ module Google
|
|
146
147
|
config.endpoint = @config.endpoint
|
147
148
|
end
|
148
149
|
|
150
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
151
|
+
config.credentials = credentials
|
152
|
+
config.quota_project = @quota_project_id
|
153
|
+
config.endpoint = @config.endpoint
|
154
|
+
end
|
155
|
+
|
149
156
|
@test_cases_stub = ::Gapic::ServiceStub.new(
|
150
157
|
::Google::Cloud::Dialogflow::CX::V3::TestCases::Stub,
|
151
158
|
credentials: credentials,
|
@@ -162,6 +169,13 @@ module Google
|
|
162
169
|
#
|
163
170
|
attr_reader :operations_client
|
164
171
|
|
172
|
+
##
|
173
|
+
# Get the associated client for mix-in of the Locations.
|
174
|
+
#
|
175
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
176
|
+
#
|
177
|
+
attr_reader :location_client
|
178
|
+
|
165
179
|
# Service calls
|
166
180
|
|
167
181
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/transition_route_group_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@transition_route_groups_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/version_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -145,6 +146,12 @@ module Google
|
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
149
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
150
|
+
config.credentials = credentials
|
151
|
+
config.quota_project = @quota_project_id
|
152
|
+
config.endpoint = @config.endpoint
|
153
|
+
end
|
154
|
+
|
148
155
|
@versions_stub = ::Gapic::ServiceStub.new(
|
149
156
|
::Google::Cloud::Dialogflow::CX::V3::Versions::Stub,
|
150
157
|
credentials: credentials,
|
@@ -161,6 +168,13 @@ module Google
|
|
161
168
|
#
|
162
169
|
attr_reader :operations_client
|
163
170
|
|
171
|
+
##
|
172
|
+
# Get the associated client for mix-in of the Locations.
|
173
|
+
#
|
174
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
175
|
+
#
|
176
|
+
attr_reader :location_client
|
177
|
+
|
164
178
|
# Service calls
|
165
179
|
|
166
180
|
##
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/dialogflow/cx/v3/webhook_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -139,6 +140,12 @@ module Google
|
|
139
140
|
@quota_project_id = @config.quota_project
|
140
141
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
141
142
|
|
143
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
144
|
+
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
146
|
+
config.endpoint = @config.endpoint
|
147
|
+
end
|
148
|
+
|
142
149
|
@webhooks_stub = ::Gapic::ServiceStub.new(
|
143
150
|
::Google::Cloud::Dialogflow::CX::V3::Webhooks::Stub,
|
144
151
|
credentials: credentials,
|
@@ -148,6 +155,13 @@ module Google
|
|
148
155
|
)
|
149
156
|
end
|
150
157
|
|
158
|
+
##
|
159
|
+
# Get the associated client for mix-in of the Locations.
|
160
|
+
#
|
161
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
162
|
+
#
|
163
|
+
attr_reader :location_client
|
164
|
+
|
151
165
|
# Service calls
|
152
166
|
|
153
167
|
##
|
@@ -27,11 +27,11 @@ require "google/cloud/dialogflow/cx/v3/session_entity_types"
|
|
27
27
|
require "google/cloud/dialogflow/cx/v3/sessions"
|
28
28
|
require "google/cloud/dialogflow/cx/v3/transition_route_groups"
|
29
29
|
require "google/cloud/dialogflow/cx/v3/test_cases"
|
30
|
+
require "google/cloud/dialogflow/cx/v3/webhooks"
|
30
31
|
require "google/cloud/dialogflow/cx/v3/environments"
|
31
32
|
require "google/cloud/dialogflow/cx/v3/experiments"
|
32
33
|
require "google/cloud/dialogflow/cx/v3/security_settings_service"
|
33
34
|
require "google/cloud/dialogflow/cx/v3/versions"
|
34
|
-
require "google/cloud/dialogflow/cx/v3/webhooks"
|
35
35
|
require "google/cloud/dialogflow/cx/v3/version"
|
36
36
|
|
37
37
|
module Google
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# requests.
|
101
101
|
# @!attribute [rw] locked
|
102
102
|
# @return [::Boolean]
|
103
|
-
#
|
103
|
+
# Indicates whether the agent is locked for changes. If the agent is locked,
|
104
104
|
# modifications to the agent will be rejected except for [RestoreAgent][].
|
105
105
|
# @!attribute [rw] advanced_settings
|
106
106
|
# @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
|
@@ -55,6 +55,9 @@ module Google
|
|
55
55
|
# @!attribute [rw] test_cases_config
|
56
56
|
# @return [::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig]
|
57
57
|
# The test cases config for continuous tests of this environment.
|
58
|
+
# @!attribute [rw] webhook_config
|
59
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Environment::WebhookConfig]
|
60
|
+
# The webhook configuration for this environment.
|
58
61
|
class Environment
|
59
62
|
include ::Google::Protobuf::MessageExts
|
60
63
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,6 +90,18 @@ module Google
|
|
87
90
|
include ::Google::Protobuf::MessageExts
|
88
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
92
|
end
|
93
|
+
|
94
|
+
# Configuration for webhooks.
|
95
|
+
# @!attribute [rw] webhook_overrides
|
96
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Webhook>]
|
97
|
+
# The list of webhooks to override for the agent environment. The webhook
|
98
|
+
# must exist in the agent. You can override fields in
|
99
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Webhook#generic_web_service `generic_web_service`} and
|
100
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Webhook#service_directory `service_directory`}.
|
101
|
+
class WebhookConfig
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
end
|
90
105
|
end
|
91
106
|
|
92
107
|
# The request message for {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#list_environments Environments.ListEnvironments}.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -335,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
355
|
- !ruby/object:Gem::Version
|
336
356
|
version: '0'
|
337
357
|
requirements: []
|
338
|
-
rubygems_version: 3.3.
|
358
|
+
rubygems_version: 3.3.14
|
339
359
|
signing_key:
|
340
360
|
specification_version: 4
|
341
361
|
summary: API Client library for the Dialogflow CX V3 API
|