google-cloud-dialogflow-cx-v3 0.24.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/pages/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/service_stub.rb +9 -0
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +7 -7
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +8 -8
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/service_stub.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d39308a4c9c28971c3913db8ab903dfdba722772f79ba41522a220758655e80d
|
4
|
+
data.tar.gz: ba40419f2aa9c2b698c3f14b63ff78e6f1050000fa6277879ed7d3c15a60340c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81afa469c7ceda93eb581a8725dbce3dd3c4e25a905489ec3f01a5269cf0da47a8d8247374940faecd1caa59e27678ddd5d51beb7fae1f2593367f6519b310b2
|
7
|
+
data.tar.gz: 8c49398e128776a2b875d5ad0b254960d891bea49662caeda67fc03beabe4a084e51eb5c498bc891a3092dd1673487be8ce151a6606f6ba07cb768fc7efaa79b
|
@@ -165,13 +165,6 @@ module Google
|
|
165
165
|
config.universe_domain = @config.universe_domain
|
166
166
|
end
|
167
167
|
|
168
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
169
|
-
config.credentials = credentials
|
170
|
-
config.quota_project = @quota_project_id
|
171
|
-
config.endpoint = @config.endpoint
|
172
|
-
config.universe_domain = @config.universe_domain
|
173
|
-
end
|
174
|
-
|
175
168
|
@agents_stub = ::Gapic::ServiceStub.new(
|
176
169
|
::Google::Cloud::Dialogflow::CX::V3::Agents::Stub,
|
177
170
|
credentials: credentials,
|
@@ -182,6 +175,13 @@ module Google
|
|
182
175
|
interceptors: @config.interceptors,
|
183
176
|
channel_pool_config: @config.channel_pool
|
184
177
|
)
|
178
|
+
|
179
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
180
|
+
config.credentials = credentials
|
181
|
+
config.quota_project = @quota_project_id
|
182
|
+
config.endpoint = @agents_stub.endpoint
|
183
|
+
config.universe_domain = @agents_stub.universe_domain
|
184
|
+
end
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
@@ -162,20 +162,20 @@ module Google
|
|
162
162
|
config.universe_domain = @config.universe_domain
|
163
163
|
end
|
164
164
|
|
165
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
166
|
-
config.credentials = credentials
|
167
|
-
config.quota_project = @quota_project_id
|
168
|
-
config.endpoint = @config.endpoint
|
169
|
-
config.universe_domain = @config.universe_domain
|
170
|
-
config.bindings_override = @config.bindings_override
|
171
|
-
end
|
172
|
-
|
173
165
|
@agents_stub = ::Google::Cloud::Dialogflow::CX::V3::Agents::Rest::ServiceStub.new(
|
174
166
|
endpoint: @config.endpoint,
|
175
167
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
176
168
|
universe_domain: @config.universe_domain,
|
177
169
|
credentials: credentials
|
178
170
|
)
|
171
|
+
|
172
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
173
|
+
config.credentials = credentials
|
174
|
+
config.quota_project = @quota_project_id
|
175
|
+
config.endpoint = @agents_stub.endpoint
|
176
|
+
config.universe_domain = @agents_stub.universe_domain
|
177
|
+
config.bindings_override = @config.bindings_override
|
178
|
+
end
|
179
179
|
end
|
180
180
|
|
181
181
|
##
|
@@ -153,13 +153,6 @@ module Google
|
|
153
153
|
@quota_project_id = @config.quota_project
|
154
154
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
end
|
162
|
-
|
163
156
|
@changelogs_stub = ::Gapic::ServiceStub.new(
|
164
157
|
::Google::Cloud::Dialogflow::CX::V3::Changelogs::Stub,
|
165
158
|
credentials: credentials,
|
@@ -170,6 +163,13 @@ module Google
|
|
170
163
|
interceptors: @config.interceptors,
|
171
164
|
channel_pool_config: @config.channel_pool
|
172
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @changelogs_stub.endpoint
|
171
|
+
config.universe_domain = @changelogs_stub.universe_domain
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -150,20 +150,20 @@ module Google
|
|
150
150
|
@quota_project_id = @config.quota_project
|
151
151
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
152
152
|
|
153
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
|
-
config.credentials = credentials
|
155
|
-
config.quota_project = @quota_project_id
|
156
|
-
config.endpoint = @config.endpoint
|
157
|
-
config.universe_domain = @config.universe_domain
|
158
|
-
config.bindings_override = @config.bindings_override
|
159
|
-
end
|
160
|
-
|
161
153
|
@changelogs_stub = ::Google::Cloud::Dialogflow::CX::V3::Changelogs::Rest::ServiceStub.new(
|
162
154
|
endpoint: @config.endpoint,
|
163
155
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
164
156
|
universe_domain: @config.universe_domain,
|
165
157
|
credentials: credentials
|
166
158
|
)
|
159
|
+
|
160
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
+
config.credentials = credentials
|
162
|
+
config.quota_project = @quota_project_id
|
163
|
+
config.endpoint = @changelogs_stub.endpoint
|
164
|
+
config.universe_domain = @changelogs_stub.universe_domain
|
165
|
+
config.bindings_override = @config.bindings_override
|
166
|
+
end
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the list_changelogs REST call
|
58
67
|
#
|
@@ -153,13 +153,6 @@ module Google
|
|
153
153
|
@quota_project_id = @config.quota_project
|
154
154
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
end
|
162
|
-
|
163
156
|
@deployments_stub = ::Gapic::ServiceStub.new(
|
164
157
|
::Google::Cloud::Dialogflow::CX::V3::Deployments::Stub,
|
165
158
|
credentials: credentials,
|
@@ -170,6 +163,13 @@ module Google
|
|
170
163
|
interceptors: @config.interceptors,
|
171
164
|
channel_pool_config: @config.channel_pool
|
172
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @deployments_stub.endpoint
|
171
|
+
config.universe_domain = @deployments_stub.universe_domain
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -150,20 +150,20 @@ module Google
|
|
150
150
|
@quota_project_id = @config.quota_project
|
151
151
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
152
152
|
|
153
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
|
-
config.credentials = credentials
|
155
|
-
config.quota_project = @quota_project_id
|
156
|
-
config.endpoint = @config.endpoint
|
157
|
-
config.universe_domain = @config.universe_domain
|
158
|
-
config.bindings_override = @config.bindings_override
|
159
|
-
end
|
160
|
-
|
161
153
|
@deployments_stub = ::Google::Cloud::Dialogflow::CX::V3::Deployments::Rest::ServiceStub.new(
|
162
154
|
endpoint: @config.endpoint,
|
163
155
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
164
156
|
universe_domain: @config.universe_domain,
|
165
157
|
credentials: credentials
|
166
158
|
)
|
159
|
+
|
160
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
+
config.credentials = credentials
|
162
|
+
config.quota_project = @quota_project_id
|
163
|
+
config.endpoint = @deployments_stub.endpoint
|
164
|
+
config.universe_domain = @deployments_stub.universe_domain
|
165
|
+
config.bindings_override = @config.bindings_override
|
166
|
+
end
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the list_deployments REST call
|
58
67
|
#
|
@@ -153,13 +153,6 @@ module Google
|
|
153
153
|
@quota_project_id = @config.quota_project
|
154
154
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
end
|
162
|
-
|
163
156
|
@entity_types_stub = ::Gapic::ServiceStub.new(
|
164
157
|
::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Stub,
|
165
158
|
credentials: credentials,
|
@@ -170,6 +163,13 @@ module Google
|
|
170
163
|
interceptors: @config.interceptors,
|
171
164
|
channel_pool_config: @config.channel_pool
|
172
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @entity_types_stub.endpoint
|
171
|
+
config.universe_domain = @entity_types_stub.universe_domain
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -150,20 +150,20 @@ module Google
|
|
150
150
|
@quota_project_id = @config.quota_project
|
151
151
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
152
152
|
|
153
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
|
-
config.credentials = credentials
|
155
|
-
config.quota_project = @quota_project_id
|
156
|
-
config.endpoint = @config.endpoint
|
157
|
-
config.universe_domain = @config.universe_domain
|
158
|
-
config.bindings_override = @config.bindings_override
|
159
|
-
end
|
160
|
-
|
161
153
|
@entity_types_stub = ::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Rest::ServiceStub.new(
|
162
154
|
endpoint: @config.endpoint,
|
163
155
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
164
156
|
universe_domain: @config.universe_domain,
|
165
157
|
credentials: credentials
|
166
158
|
)
|
159
|
+
|
160
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
+
config.credentials = credentials
|
162
|
+
config.quota_project = @quota_project_id
|
163
|
+
config.endpoint = @entity_types_stub.endpoint
|
164
|
+
config.universe_domain = @entity_types_stub.universe_domain
|
165
|
+
config.bindings_override = @config.bindings_override
|
166
|
+
end
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the get_entity_type REST call
|
58
67
|
#
|
@@ -161,13 +161,6 @@ module Google
|
|
161
161
|
config.universe_domain = @config.universe_domain
|
162
162
|
end
|
163
163
|
|
164
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
165
|
-
config.credentials = credentials
|
166
|
-
config.quota_project = @quota_project_id
|
167
|
-
config.endpoint = @config.endpoint
|
168
|
-
config.universe_domain = @config.universe_domain
|
169
|
-
end
|
170
|
-
|
171
164
|
@environments_stub = ::Gapic::ServiceStub.new(
|
172
165
|
::Google::Cloud::Dialogflow::CX::V3::Environments::Stub,
|
173
166
|
credentials: credentials,
|
@@ -178,6 +171,13 @@ module Google
|
|
178
171
|
interceptors: @config.interceptors,
|
179
172
|
channel_pool_config: @config.channel_pool
|
180
173
|
)
|
174
|
+
|
175
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
176
|
+
config.credentials = credentials
|
177
|
+
config.quota_project = @quota_project_id
|
178
|
+
config.endpoint = @environments_stub.endpoint
|
179
|
+
config.universe_domain = @environments_stub.universe_domain
|
180
|
+
end
|
181
181
|
end
|
182
182
|
|
183
183
|
##
|
@@ -158,20 +158,20 @@ module Google
|
|
158
158
|
config.universe_domain = @config.universe_domain
|
159
159
|
end
|
160
160
|
|
161
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
162
|
-
config.credentials = credentials
|
163
|
-
config.quota_project = @quota_project_id
|
164
|
-
config.endpoint = @config.endpoint
|
165
|
-
config.universe_domain = @config.universe_domain
|
166
|
-
config.bindings_override = @config.bindings_override
|
167
|
-
end
|
168
|
-
|
169
161
|
@environments_stub = ::Google::Cloud::Dialogflow::CX::V3::Environments::Rest::ServiceStub.new(
|
170
162
|
endpoint: @config.endpoint,
|
171
163
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
172
164
|
universe_domain: @config.universe_domain,
|
173
165
|
credentials: credentials
|
174
166
|
)
|
167
|
+
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
169
|
+
config.credentials = credentials
|
170
|
+
config.quota_project = @quota_project_id
|
171
|
+
config.endpoint = @environments_stub.endpoint
|
172
|
+
config.universe_domain = @environments_stub.universe_domain
|
173
|
+
config.bindings_override = @config.bindings_override
|
174
|
+
end
|
175
175
|
end
|
176
176
|
|
177
177
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the list_environments REST call
|
58
67
|
#
|
@@ -153,13 +153,6 @@ module Google
|
|
153
153
|
@quota_project_id = @config.quota_project
|
154
154
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
end
|
162
|
-
|
163
156
|
@experiments_stub = ::Gapic::ServiceStub.new(
|
164
157
|
::Google::Cloud::Dialogflow::CX::V3::Experiments::Stub,
|
165
158
|
credentials: credentials,
|
@@ -170,6 +163,13 @@ module Google
|
|
170
163
|
interceptors: @config.interceptors,
|
171
164
|
channel_pool_config: @config.channel_pool
|
172
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @experiments_stub.endpoint
|
171
|
+
config.universe_domain = @experiments_stub.universe_domain
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -150,20 +150,20 @@ module Google
|
|
150
150
|
@quota_project_id = @config.quota_project
|
151
151
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
152
152
|
|
153
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
|
-
config.credentials = credentials
|
155
|
-
config.quota_project = @quota_project_id
|
156
|
-
config.endpoint = @config.endpoint
|
157
|
-
config.universe_domain = @config.universe_domain
|
158
|
-
config.bindings_override = @config.bindings_override
|
159
|
-
end
|
160
|
-
|
161
153
|
@experiments_stub = ::Google::Cloud::Dialogflow::CX::V3::Experiments::Rest::ServiceStub.new(
|
162
154
|
endpoint: @config.endpoint,
|
163
155
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
164
156
|
universe_domain: @config.universe_domain,
|
165
157
|
credentials: credentials
|
166
158
|
)
|
159
|
+
|
160
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
+
config.credentials = credentials
|
162
|
+
config.quota_project = @quota_project_id
|
163
|
+
config.endpoint = @experiments_stub.endpoint
|
164
|
+
config.universe_domain = @experiments_stub.universe_domain
|
165
|
+
config.bindings_override = @config.bindings_override
|
166
|
+
end
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the list_experiments REST call
|
58
67
|
#
|
@@ -160,13 +160,6 @@ module Google
|
|
160
160
|
config.universe_domain = @config.universe_domain
|
161
161
|
end
|
162
162
|
|
163
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
164
|
-
config.credentials = credentials
|
165
|
-
config.quota_project = @quota_project_id
|
166
|
-
config.endpoint = @config.endpoint
|
167
|
-
config.universe_domain = @config.universe_domain
|
168
|
-
end
|
169
|
-
|
170
163
|
@flows_stub = ::Gapic::ServiceStub.new(
|
171
164
|
::Google::Cloud::Dialogflow::CX::V3::Flows::Stub,
|
172
165
|
credentials: credentials,
|
@@ -177,6 +170,13 @@ module Google
|
|
177
170
|
interceptors: @config.interceptors,
|
178
171
|
channel_pool_config: @config.channel_pool
|
179
172
|
)
|
173
|
+
|
174
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
175
|
+
config.credentials = credentials
|
176
|
+
config.quota_project = @quota_project_id
|
177
|
+
config.endpoint = @flows_stub.endpoint
|
178
|
+
config.universe_domain = @flows_stub.universe_domain
|
179
|
+
end
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|
@@ -157,20 +157,20 @@ module Google
|
|
157
157
|
config.universe_domain = @config.universe_domain
|
158
158
|
end
|
159
159
|
|
160
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
-
config.credentials = credentials
|
162
|
-
config.quota_project = @quota_project_id
|
163
|
-
config.endpoint = @config.endpoint
|
164
|
-
config.universe_domain = @config.universe_domain
|
165
|
-
config.bindings_override = @config.bindings_override
|
166
|
-
end
|
167
|
-
|
168
160
|
@flows_stub = ::Google::Cloud::Dialogflow::CX::V3::Flows::Rest::ServiceStub.new(
|
169
161
|
endpoint: @config.endpoint,
|
170
162
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
171
163
|
universe_domain: @config.universe_domain,
|
172
164
|
credentials: credentials
|
173
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @flows_stub.endpoint
|
171
|
+
config.universe_domain = @flows_stub.universe_domain
|
172
|
+
config.bindings_override = @config.bindings_override
|
173
|
+
end
|
174
174
|
end
|
175
175
|
|
176
176
|
##
|
@@ -153,13 +153,6 @@ module Google
|
|
153
153
|
@quota_project_id = @config.quota_project
|
154
154
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
155
155
|
|
156
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
157
|
-
config.credentials = credentials
|
158
|
-
config.quota_project = @quota_project_id
|
159
|
-
config.endpoint = @config.endpoint
|
160
|
-
config.universe_domain = @config.universe_domain
|
161
|
-
end
|
162
|
-
|
163
156
|
@generators_stub = ::Gapic::ServiceStub.new(
|
164
157
|
::Google::Cloud::Dialogflow::CX::V3::Generators::Stub,
|
165
158
|
credentials: credentials,
|
@@ -170,6 +163,13 @@ module Google
|
|
170
163
|
interceptors: @config.interceptors,
|
171
164
|
channel_pool_config: @config.channel_pool
|
172
165
|
)
|
166
|
+
|
167
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
168
|
+
config.credentials = credentials
|
169
|
+
config.quota_project = @quota_project_id
|
170
|
+
config.endpoint = @generators_stub.endpoint
|
171
|
+
config.universe_domain = @generators_stub.universe_domain
|
172
|
+
end
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -150,20 +150,20 @@ module Google
|
|
150
150
|
@quota_project_id = @config.quota_project
|
151
151
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
152
152
|
|
153
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
154
|
-
config.credentials = credentials
|
155
|
-
config.quota_project = @quota_project_id
|
156
|
-
config.endpoint = @config.endpoint
|
157
|
-
config.universe_domain = @config.universe_domain
|
158
|
-
config.bindings_override = @config.bindings_override
|
159
|
-
end
|
160
|
-
|
161
153
|
@generators_stub = ::Google::Cloud::Dialogflow::CX::V3::Generators::Rest::ServiceStub.new(
|
162
154
|
endpoint: @config.endpoint,
|
163
155
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
164
156
|
universe_domain: @config.universe_domain,
|
165
157
|
credentials: credentials
|
166
158
|
)
|
159
|
+
|
160
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
161
|
+
config.credentials = credentials
|
162
|
+
config.quota_project = @quota_project_id
|
163
|
+
config.endpoint = @generators_stub.endpoint
|
164
|
+
config.universe_domain = @generators_stub.universe_domain
|
165
|
+
config.bindings_override = @config.bindings_override
|
166
|
+
end
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -53,6 +53,15 @@ module Google
|
|
53
53
|
@client_stub.universe_domain
|
54
54
|
end
|
55
55
|
|
56
|
+
##
|
57
|
+
# The effective endpoint
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
def endpoint
|
62
|
+
@client_stub.endpoint
|
63
|
+
end
|
64
|
+
|
56
65
|
##
|
57
66
|
# Baseline implementation for the list_generators REST call
|
58
67
|
#
|
@@ -160,13 +160,6 @@ module Google
|
|
160
160
|
config.universe_domain = @config.universe_domain
|
161
161
|
end
|
162
162
|
|
163
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
164
|
-
config.credentials = credentials
|
165
|
-
config.quota_project = @quota_project_id
|
166
|
-
config.endpoint = @config.endpoint
|
167
|
-
config.universe_domain = @config.universe_domain
|
168
|
-
end
|
169
|
-
|
170
163
|
@intents_stub = ::Gapic::ServiceStub.new(
|
171
164
|
::Google::Cloud::Dialogflow::CX::V3::Intents::Stub,
|
172
165
|
credentials: credentials,
|
@@ -177,6 +170,13 @@ module Google
|
|
177
170
|
interceptors: @config.interceptors,
|
178
171
|
channel_pool_config: @config.channel_pool
|
179
172
|
)
|
173
|
+
|
174
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
175
|
+
config.credentials = credentials
|
176
|
+
config.quota_project = @quota_project_id
|
177
|
+
config.endpoint = @intents_stub.endpoint
|
178
|
+
config.universe_domain = @intents_stub.universe_domain
|
179
|
+
end
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|