google-cloud-discovery_engine-v1 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/discovery_engine/v1/assistant_service/client.rb +509 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/paths.rb +169 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/client.rb +478 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/service_stub.rb +137 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +5 -5
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +5 -5
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +16 -4
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +16 -4
- data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +11 -11
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +11 -11
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1/rest.rb +4 -2
- data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +16 -28
- data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +16 -28
- data/lib/google/cloud/discovery_engine/v1/session_service/client.rb +920 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/credentials.rb +47 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/paths.rb +330 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/rest/client.rb +859 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/rest/service_stub.rb +462 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/session_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +3 -3
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +3 -3
- data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1.rb +5 -3
- data/lib/google/cloud/discoveryengine/v1/assist_answer_pb.rb +59 -0
- data/lib/google/cloud/discoveryengine/v1/assistant_pb.rb +45 -0
- data/lib/google/cloud/discoveryengine/v1/assistant_service_pb.rb +62 -0
- data/lib/google/cloud/discoveryengine/v1/assistant_service_services_pb.rb +45 -0
- data/lib/google/cloud/discoveryengine/v1/session_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/session_service_pb.rb +49 -0
- data/lib/google/cloud/discoveryengine/v1/session_service_services_pb.rb +64 -0
- data/proto_docs/google/cloud/discoveryengine/v1/assist_answer.rb +278 -0
- data/proto_docs/google/cloud/discoveryengine/v1/assistant.rb +39 -0
- data/proto_docs/google/cloud/discoveryengine/v1/assistant_service.rb +207 -0
- data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +15 -3
- data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +8 -14
- data/proto_docs/google/cloud/discoveryengine/v1/session.rb +20 -4
- metadata +24 -1
@@ -228,13 +228,13 @@ module Google
|
|
228
228
|
# Resource name of the CmekConfig to use for protecting this Identity
|
229
229
|
# Mapping Store.
|
230
230
|
#
|
231
|
-
# Note: The following
|
231
|
+
# Note: The following parameters are mutually exclusive: `cmek_config_name`, `disable_cmek`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
232
232
|
# @param disable_cmek [::Boolean]
|
233
233
|
# Identity Mapping Store without CMEK protections. If a default CmekConfig
|
234
234
|
# is set for the project, setting this field will override the default
|
235
235
|
# CmekConfig as well.
|
236
236
|
#
|
237
|
-
# Note: The following
|
237
|
+
# Note: The following parameters are mutually exclusive: `disable_cmek`, `cmek_config_name`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
|
238
238
|
# @param parent [::String]
|
239
239
|
# Required. The parent collection resource name, such as
|
240
240
|
# `projects/{project}/locations/{location}`.
|
@@ -16,10 +16,11 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
+
require "google/cloud/discovery_engine/v1/search_service/rest"
|
20
|
+
require "google/cloud/discovery_engine/v1/assistant_service/rest"
|
19
21
|
require "google/cloud/discovery_engine/v1/cmek_config_service/rest"
|
20
22
|
require "google/cloud/discovery_engine/v1/completion_service/rest"
|
21
23
|
require "google/cloud/discovery_engine/v1/control_service/rest"
|
22
|
-
require "google/cloud/discovery_engine/v1/search_service/rest"
|
23
24
|
require "google/cloud/discovery_engine/v1/conversational_search_service/rest"
|
24
25
|
require "google/cloud/discovery_engine/v1/data_store_service/rest"
|
25
26
|
require "google/cloud/discovery_engine/v1/document_service/rest"
|
@@ -32,6 +33,7 @@ require "google/cloud/discovery_engine/v1/recommendation_service/rest"
|
|
32
33
|
require "google/cloud/discovery_engine/v1/schema_service/rest"
|
33
34
|
require "google/cloud/discovery_engine/v1/search_tuning_service/rest"
|
34
35
|
require "google/cloud/discovery_engine/v1/serving_config_service/rest"
|
36
|
+
require "google/cloud/discovery_engine/v1/session_service/rest"
|
35
37
|
require "google/cloud/discovery_engine/v1/site_search_engine_service/rest"
|
36
38
|
require "google/cloud/discovery_engine/v1/user_event_service/rest"
|
37
39
|
require "google/cloud/discovery_engine/v1/user_license_service/rest"
|
@@ -46,7 +48,7 @@ module Google
|
|
46
48
|
# @example
|
47
49
|
#
|
48
50
|
# require "google/cloud/discovery_engine/v1/rest"
|
49
|
-
# client = ::Google::Cloud::DiscoveryEngine::V1::
|
51
|
+
# client = ::Google::Cloud::DiscoveryEngine::V1::SearchService::Rest::Client.new
|
50
52
|
#
|
51
53
|
module V1
|
52
54
|
end
|
@@ -415,22 +415,16 @@ module Google
|
|
415
415
|
# between /search API calls and /answer API calls.
|
416
416
|
#
|
417
417
|
# Example #1 (multi-turn /search API calls):
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
# be interpreted as "How did Alphabet do in 2023?".
|
418
|
+
# Call /search API with the session ID generated in the first call.
|
419
|
+
# Here, the previous search query gets considered in query
|
420
|
+
# standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
421
|
+
# and the current query is "How about 2023?", the current query will
|
422
|
+
# be interpreted as "How did Alphabet do in 2023?".
|
424
423
|
#
|
425
424
|
# Example #2 (coordination between /search API calls and /answer API calls):
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
# results from the first search call.
|
430
|
-
#
|
431
|
-
# Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
432
|
-
# gets automatically created. Otherwise, users can use the create-session API
|
433
|
-
# to create a session manually.
|
425
|
+
# Call /answer API with the session ID generated in the first call.
|
426
|
+
# Here, the answer generation happens in the context of the search
|
427
|
+
# results from the first search call.
|
434
428
|
#
|
435
429
|
# Multi-turn Search feature is currently at private GA stage. Please use
|
436
430
|
# v1alpha or v1beta version instead before we launch this feature to public
|
@@ -743,22 +737,16 @@ module Google
|
|
743
737
|
# between /search API calls and /answer API calls.
|
744
738
|
#
|
745
739
|
# Example #1 (multi-turn /search API calls):
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
# be interpreted as "How did Alphabet do in 2023?".
|
740
|
+
# Call /search API with the session ID generated in the first call.
|
741
|
+
# Here, the previous search query gets considered in query
|
742
|
+
# standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
743
|
+
# and the current query is "How about 2023?", the current query will
|
744
|
+
# be interpreted as "How did Alphabet do in 2023?".
|
752
745
|
#
|
753
746
|
# Example #2 (coordination between /search API calls and /answer API calls):
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
# results from the first search call.
|
758
|
-
#
|
759
|
-
# Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
760
|
-
# gets automatically created. Otherwise, users can use the create-session API
|
761
|
-
# to create a session manually.
|
747
|
+
# Call /answer API with the session ID generated in the first call.
|
748
|
+
# Here, the answer generation happens in the context of the search
|
749
|
+
# results from the first search call.
|
762
750
|
#
|
763
751
|
# Multi-turn Search feature is currently at private GA stage. Please use
|
764
752
|
# v1alpha or v1beta version instead before we launch this feature to public
|
@@ -408,22 +408,16 @@ module Google
|
|
408
408
|
# between /search API calls and /answer API calls.
|
409
409
|
#
|
410
410
|
# Example #1 (multi-turn /search API calls):
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
# be interpreted as "How did Alphabet do in 2023?".
|
411
|
+
# Call /search API with the session ID generated in the first call.
|
412
|
+
# Here, the previous search query gets considered in query
|
413
|
+
# standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
414
|
+
# and the current query is "How about 2023?", the current query will
|
415
|
+
# be interpreted as "How did Alphabet do in 2023?".
|
417
416
|
#
|
418
417
|
# Example #2 (coordination between /search API calls and /answer API calls):
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
# results from the first search call.
|
423
|
-
#
|
424
|
-
# Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
425
|
-
# gets automatically created. Otherwise, users can use the create-session API
|
426
|
-
# to create a session manually.
|
418
|
+
# Call /answer API with the session ID generated in the first call.
|
419
|
+
# Here, the answer generation happens in the context of the search
|
420
|
+
# results from the first search call.
|
427
421
|
#
|
428
422
|
# Multi-turn Search feature is currently at private GA stage. Please use
|
429
423
|
# v1alpha or v1beta version instead before we launch this feature to public
|
@@ -729,22 +723,16 @@ module Google
|
|
729
723
|
# between /search API calls and /answer API calls.
|
730
724
|
#
|
731
725
|
# Example #1 (multi-turn /search API calls):
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
# be interpreted as "How did Alphabet do in 2023?".
|
726
|
+
# Call /search API with the session ID generated in the first call.
|
727
|
+
# Here, the previous search query gets considered in query
|
728
|
+
# standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
729
|
+
# and the current query is "How about 2023?", the current query will
|
730
|
+
# be interpreted as "How did Alphabet do in 2023?".
|
738
731
|
#
|
739
732
|
# Example #2 (coordination between /search API calls and /answer API calls):
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
# results from the first search call.
|
744
|
-
#
|
745
|
-
# Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
746
|
-
# gets automatically created. Otherwise, users can use the create-session API
|
747
|
-
# to create a session manually.
|
733
|
+
# Call /answer API with the session ID generated in the first call.
|
734
|
+
# Here, the answer generation happens in the context of the search
|
735
|
+
# results from the first search call.
|
748
736
|
#
|
749
737
|
# Multi-turn Search feature is currently at private GA stage. Please use
|
750
738
|
# v1alpha or v1beta version instead before we launch this feature to public
|