google-cloud-discovery_engine-v1 0.4.0 → 0.4.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/discovery_engine/v1/completion_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/schema_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/schema_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/schema_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/search_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +7 -7
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
- 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: 5d00469bbb155ea7df43499d189f221a600eb91b8250f3e35f548be839e12528
|
4
|
+
data.tar.gz: f1f0e55a923b7dc99717e33f3a017ffe88404e0534b1218ba0d27ac480c4241e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63009803454dafd047fe4b00d4800b727b55169d356fd7ff3780e615ee94f2b704286c616d0a5174580b10df6a7448176bd4fca4147624375aa1af974fbaba1a
|
7
|
+
data.tar.gz: 84c0853913bccc31ffdcf01ef334d959c933b66903c6456edb4cb033664a8e8a4151da156a76cb3802b123e72ca053cb2d151f49e1614a42f7f6a76f7d018d71
|
@@ -152,13 +152,6 @@ module Google
|
|
152
152
|
@quota_project_id = @config.quota_project
|
153
153
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
154
154
|
|
155
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
156
|
-
config.credentials = credentials
|
157
|
-
config.quota_project = @quota_project_id
|
158
|
-
config.endpoint = @config.endpoint
|
159
|
-
config.universe_domain = @config.universe_domain
|
160
|
-
end
|
161
|
-
|
162
155
|
@completion_service_stub = ::Gapic::ServiceStub.new(
|
163
156
|
::Google::Cloud::DiscoveryEngine::V1::CompletionService::Stub,
|
164
157
|
credentials: credentials,
|
@@ -169,6 +162,13 @@ module Google
|
|
169
162
|
interceptors: @config.interceptors,
|
170
163
|
channel_pool_config: @config.channel_pool
|
171
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @completion_service_stub.endpoint
|
170
|
+
config.universe_domain = @completion_service_stub.universe_domain
|
171
|
+
end
|
172
172
|
end
|
173
173
|
|
174
174
|
##
|
@@ -149,19 +149,19 @@ module Google
|
|
149
149
|
@quota_project_id = @config.quota_project
|
150
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
151
151
|
|
152
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
153
|
-
config.credentials = credentials
|
154
|
-
config.quota_project = @quota_project_id
|
155
|
-
config.endpoint = @config.endpoint
|
156
|
-
config.universe_domain = @config.universe_domain
|
157
|
-
end
|
158
|
-
|
159
152
|
@completion_service_stub = ::Google::Cloud::DiscoveryEngine::V1::CompletionService::Rest::ServiceStub.new(
|
160
153
|
endpoint: @config.endpoint,
|
161
154
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
162
155
|
universe_domain: @config.universe_domain,
|
163
156
|
credentials: credentials
|
164
157
|
)
|
158
|
+
|
159
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
+
config.credentials = credentials
|
161
|
+
config.quota_project = @quota_project_id
|
162
|
+
config.endpoint = @completion_service_stub.endpoint
|
163
|
+
config.universe_domain = @completion_service_stub.universe_domain
|
164
|
+
end
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the complete_query REST call
|
57
66
|
#
|
@@ -152,13 +152,6 @@ module Google
|
|
152
152
|
@quota_project_id = @config.quota_project
|
153
153
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
154
154
|
|
155
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
156
|
-
config.credentials = credentials
|
157
|
-
config.quota_project = @quota_project_id
|
158
|
-
config.endpoint = @config.endpoint
|
159
|
-
config.universe_domain = @config.universe_domain
|
160
|
-
end
|
161
|
-
|
162
155
|
@conversational_search_service_stub = ::Gapic::ServiceStub.new(
|
163
156
|
::Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Stub,
|
164
157
|
credentials: credentials,
|
@@ -169,6 +162,13 @@ module Google
|
|
169
162
|
interceptors: @config.interceptors,
|
170
163
|
channel_pool_config: @config.channel_pool
|
171
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @conversational_search_service_stub.endpoint
|
170
|
+
config.universe_domain = @conversational_search_service_stub.universe_domain
|
171
|
+
end
|
172
172
|
end
|
173
173
|
|
174
174
|
##
|
@@ -149,19 +149,19 @@ module Google
|
|
149
149
|
@quota_project_id = @config.quota_project
|
150
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
151
151
|
|
152
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
153
|
-
config.credentials = credentials
|
154
|
-
config.quota_project = @quota_project_id
|
155
|
-
config.endpoint = @config.endpoint
|
156
|
-
config.universe_domain = @config.universe_domain
|
157
|
-
end
|
158
|
-
|
159
152
|
@conversational_search_service_stub = ::Google::Cloud::DiscoveryEngine::V1::ConversationalSearchService::Rest::ServiceStub.new(
|
160
153
|
endpoint: @config.endpoint,
|
161
154
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
162
155
|
universe_domain: @config.universe_domain,
|
163
156
|
credentials: credentials
|
164
157
|
)
|
158
|
+
|
159
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
+
config.credentials = credentials
|
161
|
+
config.quota_project = @quota_project_id
|
162
|
+
config.endpoint = @conversational_search_service_stub.endpoint
|
163
|
+
config.universe_domain = @conversational_search_service_stub.universe_domain
|
164
|
+
end
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/service_stub.rb
CHANGED
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the converse_conversation REST call
|
57
66
|
#
|
@@ -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
|
@document_service_stub = ::Gapic::ServiceStub.new(
|
176
169
|
::Google::Cloud::DiscoveryEngine::V1::DocumentService::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 = @document_service_stub.endpoint
|
183
|
+
config.universe_domain = @document_service_stub.universe_domain
|
184
|
+
end
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
@@ -162,19 +162,19 @@ 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
|
-
end
|
171
|
-
|
172
165
|
@document_service_stub = ::Google::Cloud::DiscoveryEngine::V1::DocumentService::Rest::ServiceStub.new(
|
173
166
|
endpoint: @config.endpoint,
|
174
167
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
175
168
|
universe_domain: @config.universe_domain,
|
176
169
|
credentials: credentials
|
177
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 = @document_service_stub.endpoint
|
176
|
+
config.universe_domain = @document_service_stub.universe_domain
|
177
|
+
end
|
178
178
|
end
|
179
179
|
|
180
180
|
##
|
@@ -159,13 +159,6 @@ module Google
|
|
159
159
|
config.universe_domain = @config.universe_domain
|
160
160
|
end
|
161
161
|
|
162
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
163
|
-
config.credentials = credentials
|
164
|
-
config.quota_project = @quota_project_id
|
165
|
-
config.endpoint = @config.endpoint
|
166
|
-
config.universe_domain = @config.universe_domain
|
167
|
-
end
|
168
|
-
|
169
162
|
@schema_service_stub = ::Gapic::ServiceStub.new(
|
170
163
|
::Google::Cloud::DiscoveryEngine::V1::SchemaService::Stub,
|
171
164
|
credentials: credentials,
|
@@ -176,6 +169,13 @@ module Google
|
|
176
169
|
interceptors: @config.interceptors,
|
177
170
|
channel_pool_config: @config.channel_pool
|
178
171
|
)
|
172
|
+
|
173
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
174
|
+
config.credentials = credentials
|
175
|
+
config.quota_project = @quota_project_id
|
176
|
+
config.endpoint = @schema_service_stub.endpoint
|
177
|
+
config.universe_domain = @schema_service_stub.universe_domain
|
178
|
+
end
|
179
179
|
end
|
180
180
|
|
181
181
|
##
|
@@ -156,19 +156,19 @@ module Google
|
|
156
156
|
config.universe_domain = @config.universe_domain
|
157
157
|
end
|
158
158
|
|
159
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
-
config.credentials = credentials
|
161
|
-
config.quota_project = @quota_project_id
|
162
|
-
config.endpoint = @config.endpoint
|
163
|
-
config.universe_domain = @config.universe_domain
|
164
|
-
end
|
165
|
-
|
166
159
|
@schema_service_stub = ::Google::Cloud::DiscoveryEngine::V1::SchemaService::Rest::ServiceStub.new(
|
167
160
|
endpoint: @config.endpoint,
|
168
161
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
169
162
|
universe_domain: @config.universe_domain,
|
170
163
|
credentials: credentials
|
171
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @schema_service_stub.endpoint
|
170
|
+
config.universe_domain = @schema_service_stub.universe_domain
|
171
|
+
end
|
172
172
|
end
|
173
173
|
|
174
174
|
##
|
@@ -152,13 +152,6 @@ module Google
|
|
152
152
|
@quota_project_id = @config.quota_project
|
153
153
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
154
154
|
|
155
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
156
|
-
config.credentials = credentials
|
157
|
-
config.quota_project = @quota_project_id
|
158
|
-
config.endpoint = @config.endpoint
|
159
|
-
config.universe_domain = @config.universe_domain
|
160
|
-
end
|
161
|
-
|
162
155
|
@search_service_stub = ::Gapic::ServiceStub.new(
|
163
156
|
::Google::Cloud::DiscoveryEngine::V1::SearchService::Stub,
|
164
157
|
credentials: credentials,
|
@@ -169,6 +162,13 @@ module Google
|
|
169
162
|
interceptors: @config.interceptors,
|
170
163
|
channel_pool_config: @config.channel_pool
|
171
164
|
)
|
165
|
+
|
166
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
167
|
+
config.credentials = credentials
|
168
|
+
config.quota_project = @quota_project_id
|
169
|
+
config.endpoint = @search_service_stub.endpoint
|
170
|
+
config.universe_domain = @search_service_stub.universe_domain
|
171
|
+
end
|
172
172
|
end
|
173
173
|
|
174
174
|
##
|
@@ -149,19 +149,19 @@ module Google
|
|
149
149
|
@quota_project_id = @config.quota_project
|
150
150
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
151
151
|
|
152
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
153
|
-
config.credentials = credentials
|
154
|
-
config.quota_project = @quota_project_id
|
155
|
-
config.endpoint = @config.endpoint
|
156
|
-
config.universe_domain = @config.universe_domain
|
157
|
-
end
|
158
|
-
|
159
152
|
@search_service_stub = ::Google::Cloud::DiscoveryEngine::V1::SearchService::Rest::ServiceStub.new(
|
160
153
|
endpoint: @config.endpoint,
|
161
154
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
162
155
|
universe_domain: @config.universe_domain,
|
163
156
|
credentials: credentials
|
164
157
|
)
|
158
|
+
|
159
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
160
|
+
config.credentials = credentials
|
161
|
+
config.quota_project = @quota_project_id
|
162
|
+
config.endpoint = @search_service_stub.endpoint
|
163
|
+
config.universe_domain = @search_service_stub.universe_domain
|
164
|
+
end
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -164,13 +164,6 @@ module Google
|
|
164
164
|
config.universe_domain = @config.universe_domain
|
165
165
|
end
|
166
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 = @config.endpoint
|
171
|
-
config.universe_domain = @config.universe_domain
|
172
|
-
end
|
173
|
-
|
174
167
|
@user_event_service_stub = ::Gapic::ServiceStub.new(
|
175
168
|
::Google::Cloud::DiscoveryEngine::V1::UserEventService::Stub,
|
176
169
|
credentials: credentials,
|
@@ -181,6 +174,13 @@ module Google
|
|
181
174
|
interceptors: @config.interceptors,
|
182
175
|
channel_pool_config: @config.channel_pool
|
183
176
|
)
|
177
|
+
|
178
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
179
|
+
config.credentials = credentials
|
180
|
+
config.quota_project = @quota_project_id
|
181
|
+
config.endpoint = @user_event_service_stub.endpoint
|
182
|
+
config.universe_domain = @user_event_service_stub.universe_domain
|
183
|
+
end
|
184
184
|
end
|
185
185
|
|
186
186
|
##
|
@@ -161,19 +161,19 @@ module Google
|
|
161
161
|
config.universe_domain = @config.universe_domain
|
162
162
|
end
|
163
163
|
|
164
|
-
@location_client = Google::Cloud::Location::Locations::Rest::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
|
@user_event_service_stub = ::Google::Cloud::DiscoveryEngine::V1::UserEventService::Rest::ServiceStub.new(
|
172
165
|
endpoint: @config.endpoint,
|
173
166
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
174
167
|
universe_domain: @config.universe_domain,
|
175
168
|
credentials: credentials
|
176
169
|
)
|
170
|
+
|
171
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
172
|
+
config.credentials = credentials
|
173
|
+
config.quota_project = @quota_project_id
|
174
|
+
config.endpoint = @user_event_service_stub.endpoint
|
175
|
+
config.universe_domain = @user_event_service_stub.universe_domain
|
176
|
+
end
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the write_user_event REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-discovery_engine-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|