google-cloud-discovery_engine-v1 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +235 -4
  3. data/lib/google/cloud/discovery_engine/v1/completion_service/operations.rb +801 -0
  4. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +221 -4
  5. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +1091 -0
  6. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/service_stub.rb +136 -0
  7. data/lib/google/cloud/discovery_engine/v1/completion_service/rest.rb +1 -0
  8. data/lib/google/cloud/discovery_engine/v1/completion_service.rb +1 -0
  9. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +20 -3
  10. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/paths.rb +91 -0
  11. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +20 -3
  12. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/service_stub.rb +45 -0
  13. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +924 -0
  14. data/lib/google/cloud/discovery_engine/v1/data_store_service/credentials.rb +47 -0
  15. data/lib/google/cloud/discovery_engine/v1/data_store_service/operations.rb +801 -0
  16. data/lib/google/cloud/discovery_engine/v1/data_store_service/paths.rb +97 -0
  17. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +863 -0
  18. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +1091 -0
  19. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/service_stub.rb +403 -0
  20. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest.rb +54 -0
  21. data/lib/google/cloud/discovery_engine/v1/data_store_service.rb +57 -0
  22. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +14 -0
  23. data/lib/google/cloud/discovery_engine/v1/engine_service/client.rb +885 -0
  24. data/lib/google/cloud/discovery_engine/v1/engine_service/credentials.rb +47 -0
  25. data/lib/google/cloud/discovery_engine/v1/engine_service/operations.rb +801 -0
  26. data/lib/google/cloud/discovery_engine/v1/engine_service/paths.rb +73 -0
  27. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb +824 -0
  28. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +1091 -0
  29. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/service_stub.rb +366 -0
  30. data/lib/google/cloud/discovery_engine/v1/engine_service/rest.rb +54 -0
  31. data/lib/google/cloud/discovery_engine/v1/engine_service.rb +57 -0
  32. data/lib/google/cloud/discovery_engine/v1/rest.rb +3 -0
  33. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +14 -0
  34. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +40 -4
  35. data/lib/google/cloud/discovery_engine/v1/search_service/paths.rb +19 -0
  36. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +40 -4
  37. data/lib/google/cloud/discovery_engine/v1/search_service/rest/service_stub.rb +8 -0
  38. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +1631 -0
  39. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/credentials.rb +47 -0
  40. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/operations.rb +801 -0
  41. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/paths.rb +127 -0
  42. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +1521 -0
  43. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +1091 -0
  44. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/service_stub.rb +860 -0
  45. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest.rb +53 -0
  46. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service.rb +56 -0
  47. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +14 -0
  48. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  49. data/lib/google/cloud/discovery_engine/v1.rb +3 -0
  50. data/lib/google/cloud/discoveryengine/v1/common_pb.rb +5 -1
  51. data/lib/google/cloud/discoveryengine/v1/completion_pb.rb +45 -0
  52. data/lib/google/cloud/discoveryengine/v1/completion_service_pb.rb +4 -1
  53. data/lib/google/cloud/discoveryengine/v1/completion_service_services_pb.rb +8 -0
  54. data/lib/google/cloud/discoveryengine/v1/conversation_pb.rb +1 -1
  55. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +1 -1
  56. data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +49 -0
  57. data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +62 -0
  58. data/lib/google/cloud/discoveryengine/v1/data_store_service_services_pb.rb +61 -0
  59. data/lib/google/cloud/discoveryengine/v1/document_pb.rb +1 -1
  60. data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +1 -1
  61. data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +53 -0
  62. data/lib/google/cloud/discoveryengine/v1/engine_service_pb.rb +62 -0
  63. data/lib/google/cloud/discoveryengine/v1/engine_service_services_pb.rb +55 -0
  64. data/lib/google/cloud/discoveryengine/v1/import_config_pb.rb +7 -1
  65. data/lib/google/cloud/discoveryengine/v1/purge_config_pb.rb +6 -1
  66. data/lib/google/cloud/discoveryengine/v1/schema_pb.rb +1 -1
  67. data/lib/google/cloud/discoveryengine/v1/schema_service_pb.rb +1 -1
  68. data/lib/google/cloud/discoveryengine/v1/search_service_pb.rb +8 -1
  69. data/lib/google/cloud/discoveryengine/v1/site_search_engine_pb.rb +54 -0
  70. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +82 -0
  71. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_services_pb.rb +73 -0
  72. data/lib/google/cloud/discoveryengine/v1/user_event_pb.rb +1 -1
  73. data/lib/google/cloud/discoveryengine/v1/user_event_service_pb.rb +1 -1
  74. data/proto_docs/google/cloud/discoveryengine/v1/common.rb +51 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1/completion.rb +53 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1/completion_service.rb +10 -4
  77. data/proto_docs/google/cloud/discoveryengine/v1/conversation.rb +2 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +19 -1
  79. data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +88 -0
  80. data/proto_docs/google/cloud/discoveryengine/v1/data_store_service.rb +214 -0
  81. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +1 -1
  82. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +214 -0
  83. data/proto_docs/google/cloud/discoveryengine/v1/engine_service.rb +177 -0
  84. data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +66 -0
  85. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +41 -0
  86. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +149 -4
  87. data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine.rb +160 -0
  88. data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine_service.rb +525 -0
  89. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +3 -3
  90. metadata +48 -2
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/discovery_engine/v1/version"
24
+
25
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/credentials"
26
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/paths"
27
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations"
28
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module DiscoveryEngine
33
+ module V1
34
+ ##
35
+ # Service for managing site search related resources.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/discovery_engine/v1/site_search_engine_service/rest"
40
+ # client = ::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngineService::Rest::Client.new
41
+ #
42
+ module SiteSearchEngineService
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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/discovery_engine/v1/version"
24
+
25
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/credentials"
26
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/paths"
27
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/operations"
28
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/client"
29
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module DiscoveryEngine
34
+ module V1
35
+ ##
36
+ # Service for managing site search related resources.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/discovery_engine/v1/site_search_engine_service"
41
+ # client = ::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngineService::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/discovery_engine/v1/site_search_engine_service/rest"
46
+ # client = ::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngineService::Rest::Client.new
47
+ #
48
+ module SiteSearchEngineService
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "site_search_engine_service", "helpers.rb"
56
+ require "google/cloud/discovery_engine/v1/site_search_engine_service/helpers" if ::File.file? helper_path
@@ -820,6 +820,13 @@ module Google
820
820
  ["name", %r{^projects/[^/]+/?$}, false]
821
821
  ]
822
822
  )
823
+ .with_bindings(
824
+ uri_method: :get,
825
+ uri_template: "/v1/{name}/operations",
826
+ matches: [
827
+ ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector/?$}, false]
828
+ ]
829
+ )
823
830
  .with_bindings(
824
831
  uri_method: :get,
825
832
  uri_template: "/v1/{name}/operations",
@@ -932,6 +939,13 @@ module Google
932
939
  ["name", %r{^projects/[^/]+/operations/[^/]+/?$}, false]
933
940
  ]
934
941
  )
942
+ .with_bindings(
943
+ uri_method: :get,
944
+ uri_template: "/v1/{name}",
945
+ matches: [
946
+ ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataConnector/operations/[^/]+/?$}, false]
947
+ ]
948
+ )
935
949
  .with_bindings(
936
950
  uri_method: :get,
937
951
  uri_template: "/v1/{name}",
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DiscoveryEngine
23
23
  module V1
24
- VERSION = "0.4.2"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -19,8 +19,11 @@
19
19
  require "google/cloud/discovery_engine/v1/completion_service"
20
20
  require "google/cloud/discovery_engine/v1/search_service"
21
21
  require "google/cloud/discovery_engine/v1/conversational_search_service"
22
+ require "google/cloud/discovery_engine/v1/data_store_service"
22
23
  require "google/cloud/discovery_engine/v1/document_service"
24
+ require "google/cloud/discovery_engine/v1/engine_service"
23
25
  require "google/cloud/discovery_engine/v1/schema_service"
26
+ require "google/cloud/discovery_engine/v1/site_search_engine_service"
24
27
  require "google/cloud/discovery_engine/v1/user_event_service"
25
28
  require "google/cloud/discovery_engine/v1/version"
26
29
 
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/api/resource_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n,google/cloud/discoveryengine/v1/common.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x19google/api/resource.proto\"x\n\x08Interval\x12\x11\n\x07minimum\x18\x01 \x01(\x01H\x00\x12\x1b\n\x11\x65xclusive_minimum\x18\x02 \x01(\x01H\x00\x12\x11\n\x07maximum\x18\x03 \x01(\x01H\x01\x12\x1b\n\x11\x65xclusive_maximum\x18\x04 \x01(\x01H\x01\x42\x05\n\x03minB\x05\n\x03max\"0\n\x0f\x43ustomAttribute\x12\x0c\n\x04text\x18\x01 \x03(\t\x12\x0f\n\x07numbers\x18\x02 \x03(\x01\"/\n\x08UserInfo\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nuser_agent\x18\x02 \x01(\tB\xbe\x07\n#com.google.cloud.discoveryengine.v1B\x0b\x43ommonProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1\xea\x41\xe6\x01\n%discoveryengine.googleapis.com/Branch\x12Qprojects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}\x12jprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}\xea\x41\x89\x02\n,discoveryengine.googleapis.com/ServingConfig\x12_projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}\x12xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}b\x06proto3"
10
+ descriptor_data = "\n,google/cloud/discoveryengine/v1/common.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x19google/api/resource.proto\"x\n\x08Interval\x12\x11\n\x07minimum\x18\x01 \x01(\x01H\x00\x12\x1b\n\x11\x65xclusive_minimum\x18\x02 \x01(\x01H\x00\x12\x11\n\x07maximum\x18\x03 \x01(\x01H\x01\x12\x1b\n\x11\x65xclusive_maximum\x18\x04 \x01(\x01H\x01\x42\x05\n\x03minB\x05\n\x03max\"0\n\x0f\x43ustomAttribute\x12\x0c\n\x04text\x18\x01 \x03(\t\x12\x0f\n\x07numbers\x18\x02 \x03(\x01\"/\n\x08UserInfo\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x12\n\nuser_agent\x18\x02 \x01(\t*M\n\x10IndustryVertical\x12!\n\x1dINDUSTRY_VERTICAL_UNSPECIFIED\x10\x00\x12\x0b\n\x07GENERIC\x10\x01\x12\t\n\x05MEDIA\x10\x02*\x81\x01\n\x0cSolutionType\x12\x1d\n\x19SOLUTION_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cSOLUTION_TYPE_RECOMMENDATION\x10\x01\x12\x18\n\x14SOLUTION_TYPE_SEARCH\x10\x02\x12\x16\n\x12SOLUTION_TYPE_CHAT\x10\x03*_\n\nSearchTier\x12\x1b\n\x17SEARCH_TIER_UNSPECIFIED\x10\x00\x12\x18\n\x14SEARCH_TIER_STANDARD\x10\x01\x12\x1a\n\x16SEARCH_TIER_ENTERPRISE\x10\x02*C\n\x0bSearchAddOn\x12\x1d\n\x19SEARCH_ADD_ON_UNSPECIFIED\x10\x00\x12\x15\n\x11SEARCH_ADD_ON_LLM\x10\x01\x42\xd8\x07\n#com.google.cloud.discoveryengine.v1B\x0b\x43ommonProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1\xea\x41\xe6\x01\n%discoveryengine.googleapis.com/Branch\x12Qprojects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}\x12jprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}\xea\x41m\n)discoveryengine.googleapis.com/Collection\x12@projects/{project}/locations/{location}/collections/{collection}\xea\x41\xfc\x02\n,discoveryengine.googleapis.com/ServingConfig\x12_projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}\x12xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}\x12qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -40,6 +40,10 @@ module Google
40
40
  Interval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.Interval").msgclass
41
41
  CustomAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CustomAttribute").msgclass
42
42
  UserInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UserInfo").msgclass
43
+ IndustryVertical = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.IndustryVertical").enummodule
44
+ SolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SolutionType").enummodule
45
+ SearchTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchTier").enummodule
46
+ SearchAddOn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchAddOn").enummodule
43
47
  end
44
48
  end
45
49
  end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/discoveryengine/v1/completion.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n0google/cloud/discoveryengine/v1/completion.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xe9\x01\n\x17SuggestionDenyListEntry\x12\x19\n\x0c\x62lock_phrase\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x0ematch_operator\x18\x02 \x01(\x0e\x32\x46.google.cloud.discoveryengine.v1.SuggestionDenyListEntry.MatchOperatorB\x03\xe0\x41\x02\"N\n\rMatchOperator\x12\x1e\n\x1aMATCH_OPERATOR_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XACT_MATCH\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x42\x82\x02\n#com.google.cloud.discoveryengine.v1B\x0f\x43ompletionProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module DiscoveryEngine
39
+ module V1
40
+ SuggestionDenyListEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SuggestionDenyListEntry").msgclass
41
+ SuggestionDenyListEntry::MatchOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SuggestionDenyListEntry.MatchOperator").enummodule
42
+ end
43
+ end
44
+ end
45
+ end
@@ -8,9 +8,12 @@ require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
+ require 'google/cloud/discoveryengine/v1/import_config_pb'
12
+ require 'google/cloud/discoveryengine/v1/purge_config_pb'
13
+ require 'google/longrunning/operations_pb'
11
14
 
12
15
 
13
- descriptor_data = "\n8google/cloud/discoveryengine/v1/completion_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc1\x01\n\x14\x43ompleteQueryRequest\x12\x45\n\ndata_store\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x05query\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x0bquery_model\x18\x03 \x01(\t\x12\x16\n\x0euser_pseudo_id\x18\x04 \x01(\t\x12 \n\x18include_tail_suggestions\x18\x05 \x01(\x08\"\xbf\x01\n\x15\x43ompleteQueryResponse\x12\x61\n\x11query_suggestions\x18\x01 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion\x12\x1c\n\x14tail_match_triggered\x18\x02 \x01(\x08\x1a%\n\x0fQuerySuggestion\x12\x12\n\nsuggestion\x18\x01 \x01(\t2\x8a\x03\n\x11\x43ompletionService\x12\xa0\x02\n\rCompleteQuery\x12\x35.google.cloud.discoveryengine.v1.CompleteQueryRequest\x1a\x36.google.cloud.discoveryengine.v1.CompleteQueryResponse\"\x9f\x01\x82\xd3\xe4\x93\x02\x98\x01\x12\x42/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQueryZR\x12P/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x89\x02\n#com.google.cloud.discoveryengine.v1B\x16\x43ompletionServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
16
+ descriptor_data = "\n8google/cloud/discoveryengine/v1/completion_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/discoveryengine/v1/import_config.proto\x1a\x32google/cloud/discoveryengine/v1/purge_config.proto\x1a#google/longrunning/operations.proto\"\xbf\x01\n\x14\x43ompleteQueryRequest\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0bquery_model\x18\x03 \x01(\t\x12\x16\n\x0euser_pseudo_id\x18\x04 \x01(\t\x12 \n\x18include_tail_suggestions\x18\x05 \x01(\x08\"\xe0\x01\n\x15\x43ompleteQueryResponse\x12\x61\n\x11query_suggestions\x18\x01 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion\x12\x1c\n\x14tail_match_triggered\x18\x02 \x01(\x08\x1a\x46\n\x0fQuerySuggestion\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12\x1f\n\x17\x63ompletable_field_paths\x18\x02 \x03(\t2\xd5\n\n\x11\x43ompletionService\x12\xa0\x02\n\rCompleteQuery\x12\x35.google.cloud.discoveryengine.v1.CompleteQueryRequest\x1a\x36.google.cloud.discoveryengine.v1.CompleteQueryResponse\"\x9f\x01\x82\xd3\xe4\x93\x02\x98\x01\x12\x42/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQueryZR\x12P/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery\x12\xe5\x03\n\x1fImportSuggestionDenyListEntries\x12G.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest\x1a\x1d.google.longrunning.Operation\"\xd9\x02\xca\x41\x92\x01\nGgoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesResponse\x12Ggoogle.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesMetadata\x82\xd3\xe4\x93\x02\xbc\x01\"_/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import:\x01*ZV\"Q/v1/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import:\x01*\x12\xe0\x03\n\x1ePurgeSuggestionDenyListEntries\x12\x46.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesRequest\x1a\x1d.google.longrunning.Operation\"\xd6\x02\xca\x41\x90\x01\nFgoogle.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse\x12\x46google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesMetadata\x82\xd3\xe4\x93\x02\xbb\x01\"^/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge:\x01*ZV\"Q/v1/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x89\x02\n#com.google.cloud.discoveryengine.v1B\x16\x43ompletionServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
14
17
 
15
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
19
 
@@ -35,6 +35,14 @@ module Google
35
35
 
36
36
  # Completes the specified user input with keyword suggestions.
37
37
  rpc :CompleteQuery, ::Google::Cloud::DiscoveryEngine::V1::CompleteQueryRequest, ::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse
38
+ # Imports all
39
+ # [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]
40
+ # for a DataStore.
41
+ rpc :ImportSuggestionDenyListEntries, ::Google::Cloud::DiscoveryEngine::V1::ImportSuggestionDenyListEntriesRequest, ::Google::Longrunning::Operation
42
+ # Permanently deletes all
43
+ # [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]
44
+ # for a DataStore.
45
+ rpc :PurgeSuggestionDenyListEntries, ::Google::Cloud::DiscoveryEngine::V1::PurgeSuggestionDenyListEntriesRequest, ::Google::Longrunning::Operation
38
46
  end
39
47
 
40
48
  Stub = Service.rpc_stub_class
@@ -10,7 +10,7 @@ require 'google/cloud/discoveryengine/v1/search_service_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n2google/cloud/discoveryengine/v1/conversation.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1/search_service.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x04\n\x0c\x43onversation\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32\x33.google.cloud.discoveryengine.v1.Conversation.State\x12\x16\n\x0euser_pseudo_id\x18\x03 \x01(\t\x12\x46\n\x08messages\x18\x04 \x03(\x0b\x32\x34.google.cloud.discoveryengine.v1.ConversationMessage\x12\x34\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\">\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02:\x86\x02\xea\x41\x82\x02\n+discoveryengine.googleapis.com/Conversation\x12\\projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}\x12uprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}\"Q\n\x05Reply\x12H\n\x07summary\x18\x03 \x01(\x0b\x32\x37.google.cloud.discoveryengine.v1.SearchResponse.Summary\"I\n\x13\x43onversationContext\x12\x19\n\x11\x63ontext_documents\x18\x01 \x03(\t\x12\x17\n\x0f\x61\x63tive_document\x18\x02 \x01(\t\"a\n\tTextInput\x12\r\n\x05input\x18\x01 \x01(\t\x12\x45\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1.ConversationContext\"\xd2\x01\n\x13\x43onversationMessage\x12@\n\nuser_input\x18\x01 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.TextInputH\x00\x12\x37\n\x05reply\x18\x02 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.ReplyH\x00\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x42\t\n\x07messageB\x84\x02\n#com.google.cloud.discoveryengine.v1B\x11\x43onversationProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
13
+ descriptor_data = "\n2google/cloud/discoveryengine/v1/conversation.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/discoveryengine/v1/search_service.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\x05\n\x0c\x43onversation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32\x33.google.cloud.discoveryengine.v1.Conversation.State\x12\x16\n\x0euser_pseudo_id\x18\x03 \x01(\t\x12\x46\n\x08messages\x18\x04 \x03(\x0b\x32\x34.google.cloud.discoveryengine.v1.ConversationMessage\x12\x33\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\">\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\r\n\tCOMPLETED\x10\x02:\xf6\x02\xea\x41\xf2\x02\n+discoveryengine.googleapis.com/Conversation\x12\\projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}\x12uprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}\x12nprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}\"Q\n\x05Reply\x12H\n\x07summary\x18\x03 \x01(\x0b\x32\x37.google.cloud.discoveryengine.v1.SearchResponse.Summary\"I\n\x13\x43onversationContext\x12\x19\n\x11\x63ontext_documents\x18\x01 \x03(\t\x12\x17\n\x0f\x61\x63tive_document\x18\x02 \x01(\t\"a\n\tTextInput\x12\r\n\x05input\x18\x01 \x01(\t\x12\x45\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1.ConversationContext\"\xd1\x01\n\x13\x43onversationMessage\x12@\n\nuser_input\x18\x01 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.TextInputH\x00\x12\x37\n\x05reply\x18\x02 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.ReplyH\x00\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x42\t\n\x07messageB\x84\x02\n#com.google.cloud.discoveryengine.v1B\x11\x43onversationProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
14
14
  require 'google/protobuf/field_mask_pb'
15
15
 
16
16
 
17
- descriptor_data = "\nCgoogle/cloud/discoveryengine/v1/conversational_search_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/discoveryengine/v1/conversation.proto\x1a\x34google/cloud/discoveryengine/v1/search_service.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xc1\x04\n\x1b\x43onverseConversationRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\x12?\n\x05query\x18\x02 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.TextInputB\x04\xe2\x41\x01\x02\x12I\n\x0eserving_config\x18\x03 \x01(\tB1\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12\x43\n\x0c\x63onversation\x18\x05 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12\x13\n\x0bsafe_search\x18\x06 \x01(\x08\x12\x61\n\x0buser_labels\x18\x07 \x03(\x0b\x32L.google.cloud.discoveryengine.v1.ConverseConversationRequest.UserLabelsEntry\x12\x62\n\x0csummary_spec\x18\x08 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf0\x01\n\x1c\x43onverseConversationResponse\x12\x35\n\x05reply\x18\x01 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.Reply\x12\x43\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12T\n\x0esearch_results\x18\x03 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchResponse.SearchResult\"\xa9\x01\n\x19\x43reateConversationRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12I\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.ConversationB\x04\xe2\x41\x01\x02\"\x97\x01\n\x19UpdateConversationRequest\x12I\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.ConversationB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"_\n\x19\x44\x65leteConversationRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"\\\n\x16GetConversationRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"\xa6\x01\n\x18ListConversationsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x19ListConversationsResponse\x12\x44\n\rconversations\x18\x01 \x03(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xda\x0f\n\x1b\x43onversationalSearchService\x12\xd2\x02\n\x14\x43onverseConversation\x12<.google.cloud.discoveryengine.v1.ConverseConversationRequest\x1a=.google.cloud.discoveryengine.v1.ConverseConversationResponse\"\xbc\x01\xda\x41\nname,query\x82\xd3\xe4\x93\x02\xa8\x01\"G/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse:\x01*ZZ\"U/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse:\x01*\x12\xcb\x02\n\x12\x43reateConversation\x12:.google.cloud.discoveryengine.v1.CreateConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\xc9\x01\xda\x41\x13parent,conversation\x82\xd3\xe4\x93\x02\xac\x01\">/v1/{parent=projects/*/locations/*/dataStores/*}/conversations:\x0c\x63onversationZ\\\"L/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations:\x0c\x63onversation\x12\x89\x02\n\x12\x44\x65leteConversation\x12:.google.cloud.discoveryengine.v1.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"\x9e\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x90\x01*>/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}ZN*L/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}\x12\xea\x02\n\x12UpdateConversation\x12:.google.cloud.discoveryengine.v1.UpdateConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\xe8\x01\xda\x41\x18\x63onversation,update_mask\x82\xd3\xe4\x93\x02\xc6\x01\x32K/v1/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}:\x0c\x63onversationZi2Y/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:\x0c\x63onversation\x12\x9a\x02\n\x0fGetConversation\x12\x37.google.cloud.discoveryengine.v1.GetConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\x9e\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x90\x01\x12>/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}ZN\x12L/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}\x12\xad\x02\n\x11ListConversations\x12\x39.google.cloud.discoveryengine.v1.ListConversationsRequest\x1a:.google.cloud.discoveryengine.v1.ListConversationsResponse\"\xa0\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x90\x01\x12>/v1/{parent=projects/*/locations/*/dataStores/*}/conversationsZN\x12L/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x93\x02\n#com.google.cloud.discoveryengine.v1B ConversationalSearchServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
17
+ descriptor_data = "\nCgoogle/cloud/discoveryengine/v1/conversational_search_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/discoveryengine/v1/conversation.proto\x1a\x34google/cloud/discoveryengine/v1/search_service.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xcf\x04\n\x1b\x43onverseConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\x12>\n\x05query\x18\x02 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.TextInputB\x03\xe0\x41\x02\x12I\n\x0eserving_config\x18\x03 \x01(\tB1\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12\x43\n\x0c\x63onversation\x18\x05 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12\x13\n\x0bsafe_search\x18\x06 \x01(\x08\x12\x61\n\x0buser_labels\x18\x07 \x03(\x0b\x32L.google.cloud.discoveryengine.v1.ConverseConversationRequest.UserLabelsEntry\x12\x62\n\x0csummary_spec\x18\x08 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf0\x01\n\x1c\x43onverseConversationResponse\x12\x35\n\x05reply\x18\x01 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.Reply\x12\x43\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12T\n\x0esearch_results\x18\x03 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchResponse.SearchResult\"\xa7\x01\n\x19\x43reateConversationRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12H\n\x0c\x63onversation\x18\x02 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.ConversationB\x03\xe0\x41\x02\"\x96\x01\n\x19UpdateConversationRequest\x12H\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32-.google.cloud.discoveryengine.v1.ConversationB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"^\n\x19\x44\x65leteConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"[\n\x16GetConversationRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+discoveryengine.googleapis.com/Conversation\"\xa5\x01\n\x18ListConversationsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x19ListConversationsResponse\x12\x44\n\rconversations\x18\x01 \x03(\x0b\x32-.google.cloud.discoveryengine.v1.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xdd\x13\n\x1b\x43onversationalSearchService\x12\xab\x03\n\x14\x43onverseConversation\x12<.google.cloud.discoveryengine.v1.ConverseConversationRequest\x1a=.google.cloud.discoveryengine.v1.ConverseConversationResponse\"\x95\x02\xda\x41\nname,query\x82\xd3\xe4\x93\x02\x81\x02\"G/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse:\x01*ZZ\"U/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse:\x01*ZW\"R/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse:\x01*\x12\xa6\x03\n\x12\x43reateConversation\x12:.google.cloud.discoveryengine.v1.CreateConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\xa4\x02\xda\x41\x13parent,conversation\x82\xd3\xe4\x93\x02\x87\x02\">/v1/{parent=projects/*/locations/*/dataStores/*}/conversations:\x0c\x63onversationZ\\\"L/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations:\x0c\x63onversationZY\"I/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations:\x0c\x63onversation\x12\xd6\x02\n\x12\x44\x65leteConversation\x12:.google.cloud.discoveryengine.v1.DeleteConversationRequest\x1a\x16.google.protobuf.Empty\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01*>/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}ZN*L/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZK*I/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\xd2\x03\n\x12UpdateConversation\x12:.google.cloud.discoveryengine.v1.UpdateConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\xd0\x02\xda\x41\x18\x63onversation,update_mask\x82\xd3\xe4\x93\x02\xae\x02\x32K/v1/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}:\x0c\x63onversationZi2Y/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:\x0c\x63onversationZf2V/v1/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}:\x0c\x63onversation\x12\xe7\x02\n\x0fGetConversation\x12\x37.google.cloud.discoveryengine.v1.GetConversationRequest\x1a-.google.cloud.discoveryengine.v1.Conversation\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01\x12>/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}ZN\x12L/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}ZK\x12I/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}\x12\xfa\x02\n\x11ListConversations\x12\x39.google.cloud.discoveryengine.v1.ListConversationsRequest\x1a:.google.cloud.discoveryengine.v1.ListConversationsResponse\"\xed\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xdd\x01\x12>/v1/{parent=projects/*/locations/*/dataStores/*}/conversationsZN\x12L/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversationsZK\x12I/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x93\x02\n#com.google.cloud.discoveryengine.v1B ConversationalSearchServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/discoveryengine/v1/data_store.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/discoveryengine/v1/common_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+
13
+ descriptor_data = "\n0google/cloud/discoveryengine/v1/data_store.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/discoveryengine/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x05\n\tDataStore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x11industry_vertical\x18\x03 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1.IndustryVerticalB\x03\xe0\x41\x05\x12\x45\n\x0esolution_types\x18\x05 \x03(\x0e\x32-.google.cloud.discoveryengine.v1.SolutionType\x12\x1e\n\x11\x64\x65\x66\x61ult_schema_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12U\n\x0e\x63ontent_config\x18\x06 \x01(\x0e\x32\x38.google.cloud.discoveryengine.v1.DataStore.ContentConfigB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"i\n\rContentConfig\x12\x1e\n\x1a\x43ONTENT_CONFIG_UNSPECIFIED\x10\x00\x12\x0e\n\nNO_CONTENT\x10\x01\x12\x14\n\x10\x43ONTENT_REQUIRED\x10\x02\x12\x12\n\x0ePUBLIC_WEBSITE\x10\x03:\xc9\x01\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}B\x81\x02\n#com.google.cloud.discoveryengine.v1B\x0e\x44\x61taStoreProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Cloud
42
+ module DiscoveryEngine
43
+ module V1
44
+ DataStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DataStore").msgclass
45
+ DataStore::ContentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DataStore.ContentConfig").enummodule
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/discoveryengine/v1/data_store_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/discoveryengine/v1/data_store_pb'
12
+ require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/empty_pb'
14
+ require 'google/protobuf/field_mask_pb'
15
+ require 'google/protobuf/timestamp_pb'
16
+
17
+
18
+ descriptor_data = "\n8google/cloud/discoveryengine/v1/data_store_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1/data_store.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe1\x01\n\x16\x43reateDataStoreRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12\x43\n\ndata_store\x18\x02 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.DataStoreB\x03\xe0\x41\x02\x12\x1a\n\rdata_store_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12#\n\x1b\x63reate_advanced_site_search\x18\x04 \x01(\x08\"U\n\x13GetDataStoreRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"{\n\x17\x43reateDataStoreMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x91\x01\n\x15ListDataStoresRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"r\n\x16ListDataStoresResponse\x12?\n\x0b\x64\x61ta_stores\x18\x01 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.DataStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x16\x44\x65leteDataStoreRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"\x8e\x01\n\x16UpdateDataStoreRequest\x12\x43\n\ndata_store\x18\x01 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.DataStoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"{\n\x17\x44\x65leteDataStoreMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xdd\x0c\n\x10\x44\x61taStoreService\x12\x84\x03\n\x0f\x43reateDataStore\x12\x37.google.cloud.discoveryengine.v1.CreateDataStoreRequest\x1a\x1d.google.longrunning.Operation\"\x98\x02\xca\x41\x64\n)google.cloud.discoveryengine.v1.DataStore\x12\x37google.cloud.discoveryengine.v1.CreateDataStoreMetadata\xda\x41\x1fparent,data_store,data_store_id\x82\xd3\xe4\x93\x02\x88\x01\"./v1/{parent=projects/*/locations/*}/dataStores:\ndata_storeZJ\"</v1/{parent=projects/*/locations/*/collections/*}/dataStores:\ndata_store\x12\xef\x01\n\x0cGetDataStore\x12\x34.google.cloud.discoveryengine.v1.GetDataStoreRequest\x1a*.google.cloud.discoveryengine.v1.DataStore\"}\xda\x41\x04name\x82\xd3\xe4\x93\x02p\x12./v1/{name=projects/*/locations/*/dataStores/*}Z>\x12</v1/{name=projects/*/locations/*/collections/*/dataStores/*}\x12\x82\x02\n\x0eListDataStores\x12\x36.google.cloud.discoveryengine.v1.ListDataStoresRequest\x1a\x37.google.cloud.discoveryengine.v1.ListDataStoresResponse\"\x7f\xda\x41\x06parent\x82\xd3\xe4\x93\x02p\x12./v1/{parent=projects/*/locations/*}/dataStoresZ>\x12</v1/{parent=projects/*/locations/*/collections/*}/dataStores\x12\xbc\x02\n\x0f\x44\x65leteDataStore\x12\x37.google.cloud.discoveryengine.v1.DeleteDataStoreRequest\x1a\x1d.google.longrunning.Operation\"\xd0\x01\xca\x41P\n\x15google.protobuf.Empty\x12\x37google.cloud.discoveryengine.v1.DeleteDataStoreMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02p*./v1/{name=projects/*/locations/*/dataStores/*}Z>*</v1/{name=projects/*/locations/*/collections/*/dataStores/*}\x12\xb7\x02\n\x0fUpdateDataStore\x12\x37.google.cloud.discoveryengine.v1.UpdateDataStoreRequest\x1a*.google.cloud.discoveryengine.v1.DataStore\"\xbe\x01\xda\x41\x16\x64\x61ta_store,update_mask\x82\xd3\xe4\x93\x02\x9e\x01\x32\x39/v1/{data_store.name=projects/*/locations/*/dataStores/*}:\ndata_storeZU2G/v1/{data_store.name=projects/*/locations/*/collections/*/dataStores/*}:\ndata_store\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x88\x02\n#com.google.cloud.discoveryengine.v1B\x15\x44\x61taStoreServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.cloud.discoveryengine.v1.DataStore", "google/cloud/discoveryengine/v1/data_store.proto"],
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
41
+ end
42
+ end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
45
+ end
46
+
47
+ module Google
48
+ module Cloud
49
+ module DiscoveryEngine
50
+ module V1
51
+ CreateDataStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CreateDataStoreRequest").msgclass
52
+ GetDataStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GetDataStoreRequest").msgclass
53
+ CreateDataStoreMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CreateDataStoreMetadata").msgclass
54
+ ListDataStoresRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListDataStoresRequest").msgclass
55
+ ListDataStoresResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListDataStoresResponse").msgclass
56
+ DeleteDataStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteDataStoreRequest").msgclass
57
+ UpdateDataStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UpdateDataStoreRequest").msgclass
58
+ DeleteDataStoreMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteDataStoreMetadata").msgclass
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,61 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/discoveryengine/v1/data_store_service.proto for package 'Google.Cloud.DiscoveryEngine.V1'
3
+ # Original file comments:
4
+ # Copyright 2022 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/discoveryengine/v1/data_store_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module DiscoveryEngine
25
+ module V1
26
+ module DataStoreService
27
+ # Service for managing [DataStore][google.cloud.discoveryengine.v1.DataStore]
28
+ # configuration.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.discoveryengine.v1.DataStoreService'
36
+
37
+ # Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].
38
+ #
39
+ # DataStore is for storing
40
+ # [Documents][google.cloud.discoveryengine.v1.Document]. To serve these
41
+ # documents for Search, or Recommendation use case, an
42
+ # [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created
43
+ # separately.
44
+ rpc :CreateDataStore, ::Google::Cloud::DiscoveryEngine::V1::CreateDataStoreRequest, ::Google::Longrunning::Operation
45
+ # Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].
46
+ rpc :GetDataStore, ::Google::Cloud::DiscoveryEngine::V1::GetDataStoreRequest, ::Google::Cloud::DiscoveryEngine::V1::DataStore
47
+ # Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s
48
+ # associated with the project.
49
+ rpc :ListDataStores, ::Google::Cloud::DiscoveryEngine::V1::ListDataStoresRequest, ::Google::Cloud::DiscoveryEngine::V1::ListDataStoresResponse
50
+ # Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].
51
+ rpc :DeleteDataStore, ::Google::Cloud::DiscoveryEngine::V1::DeleteDataStoreRequest, ::Google::Longrunning::Operation
52
+ # Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]
53
+ rpc :UpdateDataStore, ::Google::Cloud::DiscoveryEngine::V1::UpdateDataStoreRequest, ::Google::Cloud::DiscoveryEngine::V1::DataStore
54
+ end
55
+
56
+ Stub = Service.rpc_stub_class
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/struct_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n.google/cloud/discoveryengine/v1/document.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x92\x05\n\x08\x44ocument\x12.\n\x0bstruct_data\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x13\n\tjson_data\x18\x05 \x01(\tH\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x10\n\x02id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05\x12\x11\n\tschema_id\x18\x03 \x01(\t\x12\x42\n\x07\x63ontent\x18\n \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1.Document.Content\x12\x1a\n\x12parent_document_id\x18\x07 \x01(\t\x12:\n\x13\x64\x65rived_struct_data\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x03\x1aK\n\x07\x43ontent\x12\x13\n\traw_bytes\x18\x02 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x03 \x01(\tH\x00\x12\x11\n\tmime_type\x18\x01 \x01(\tB\t\n\x07\x63ontent:\x96\x02\xea\x41\x92\x02\n\'discoveryengine.googleapis.com/Document\x12\x66projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}\x12\x7fprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}B\x06\n\x04\x64\x61taB\x80\x02\n#com.google.cloud.discoveryengine.v1B\rDocumentProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
12
+ descriptor_data = "\n.google/cloud/discoveryengine/v1/document.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x8f\x05\n\x08\x44ocument\x12.\n\x0bstruct_data\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x13\n\tjson_data\x18\x05 \x01(\tH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x11\n\tschema_id\x18\x03 \x01(\t\x12\x42\n\x07\x63ontent\x18\n \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1.Document.Content\x12\x1a\n\x12parent_document_id\x18\x07 \x01(\t\x12\x39\n\x13\x64\x65rived_struct_data\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x1aK\n\x07\x43ontent\x12\x13\n\traw_bytes\x18\x02 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x03 \x01(\tH\x00\x12\x11\n\tmime_type\x18\x01 \x01(\tB\t\n\x07\x63ontent:\x96\x02\xea\x41\x92\x02\n\'discoveryengine.googleapis.com/Document\x12\x66projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}\x12\x7fprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}B\x06\n\x04\x64\x61taB\x80\x02\n#com.google.cloud.discoveryengine.v1B\rDocumentProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -15,7 +15,7 @@ require 'google/longrunning/operations_pb'
15
15
  require 'google/protobuf/empty_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n6google/cloud/discoveryengine/v1/document_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x33google/cloud/discoveryengine/v1/import_config.proto\x1a\x32google/cloud/discoveryengine/v1/purge_config.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"T\n\x12GetDocumentRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"}\n\x14ListDocumentsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"n\n\x15ListDocumentsResponse\x12<\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.discoveryengine.v1.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb5\x01\n\x15\x43reateDocumentRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe2\x41\x01\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x41\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64ocument_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"q\n\x15UpdateDocumentRequest\x12\x41\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x04\xe2\x41\x01\x02\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"W\n\x15\x44\x65leteDocumentRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document2\x90\x13\n\x0f\x44ocumentService\x12\x9c\x02\n\x0bGetDocument\x12\x33.google.cloud.discoveryengine.v1.GetDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01\x12\x45/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZU\x12S/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\xaf\x02\n\rListDocuments\x12\x35.google.cloud.discoveryengine.v1.ListDocumentsRequest\x1a\x36.google.cloud.discoveryengine.v1.ListDocumentsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x45/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documentsZU\x12S/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents\x12\xcd\x02\n\x0e\x43reateDocument\x12\x36.google.cloud.discoveryengine.v1.CreateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xd7\x01\xda\x41\x1bparent,document,document_id\x82\xd3\xe4\x93\x02\xb2\x01\"E/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:\x08\x64ocumentZ_\"S/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:\x08\x64ocument\x12\xc1\x02\n\x0eUpdateDocument\x12\x36.google.cloud.discoveryengine.v1.UpdateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xcb\x01\x82\xd3\xe4\x93\x02\xc4\x01\x32N/v1/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:\x08\x64ocumentZh2\\/v1/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:\x08\x64ocument\x12\x8f\x02\n\x0e\x44\x65leteDocument\x12\x36.google.cloud.discoveryengine.v1.DeleteDocumentRequest\x1a\x16.google.protobuf.Empty\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01*E/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZU*S/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\x9a\x03\n\x0fImportDocuments\x12\x37.google.cloud.discoveryengine.v1.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xae\x02\xca\x41r\n7google.cloud.discoveryengine.v1.ImportDocumentsResponse\x12\x37google.cloud.discoveryengine.v1.ImportDocumentsMetadata\x82\xd3\xe4\x93\x02\xb2\x01\"L/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import:\x01*Z_\"Z/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import:\x01*\x12\x94\x03\n\x0ePurgeDocuments\x12\x36.google.cloud.discoveryengine.v1.PurgeDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x02\xca\x41p\n6google.cloud.discoveryengine.v1.PurgeDocumentsResponse\x12\x36google.cloud.discoveryengine.v1.PurgeDocumentsMetadata\x82\xd3\xe4\x93\x02\xb0\x01\"K/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge:\x01*Z^\"Y/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x87\x02\n#com.google.cloud.discoveryengine.v1B\x14\x44ocumentServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
18
+ descriptor_data = "\n6google/cloud/discoveryengine/v1/document_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x33google/cloud/discoveryengine/v1/import_config.proto\x1a\x32google/cloud/discoveryengine/v1/purge_config.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"S\n\x12GetDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"|\n\x14ListDocumentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"n\n\x15ListDocumentsResponse\x12<\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.discoveryengine.v1.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb2\x01\n\x15\x43reateDocumentRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12@\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x03\xe0\x41\x02\x12\x18\n\x0b\x64ocument_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"p\n\x15UpdateDocumentRequest\x12@\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x03\xe0\x41\x02\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"V\n\x15\x44\x65leteDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document2\x90\x13\n\x0f\x44ocumentService\x12\x9c\x02\n\x0bGetDocument\x12\x33.google.cloud.discoveryengine.v1.GetDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01\x12\x45/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZU\x12S/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\xaf\x02\n\rListDocuments\x12\x35.google.cloud.discoveryengine.v1.ListDocumentsRequest\x1a\x36.google.cloud.discoveryengine.v1.ListDocumentsResponse\"\xae\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x9e\x01\x12\x45/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documentsZU\x12S/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents\x12\xcd\x02\n\x0e\x43reateDocument\x12\x36.google.cloud.discoveryengine.v1.CreateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xd7\x01\xda\x41\x1bparent,document,document_id\x82\xd3\xe4\x93\x02\xb2\x01\"E/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:\x08\x64ocumentZ_\"S/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:\x08\x64ocument\x12\xc1\x02\n\x0eUpdateDocument\x12\x36.google.cloud.discoveryengine.v1.UpdateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xcb\x01\x82\xd3\xe4\x93\x02\xc4\x01\x32N/v1/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:\x08\x64ocumentZh2\\/v1/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:\x08\x64ocument\x12\x8f\x02\n\x0e\x44\x65leteDocument\x12\x36.google.cloud.discoveryengine.v1.DeleteDocumentRequest\x1a\x16.google.protobuf.Empty\"\xac\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9e\x01*E/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZU*S/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\x9a\x03\n\x0fImportDocuments\x12\x37.google.cloud.discoveryengine.v1.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xae\x02\xca\x41r\n7google.cloud.discoveryengine.v1.ImportDocumentsResponse\x12\x37google.cloud.discoveryengine.v1.ImportDocumentsMetadata\x82\xd3\xe4\x93\x02\xb2\x01\"L/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import:\x01*Z_\"Z/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import:\x01*\x12\x94\x03\n\x0ePurgeDocuments\x12\x36.google.cloud.discoveryengine.v1.PurgeDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x02\xca\x41p\n6google.cloud.discoveryengine.v1.PurgeDocumentsResponse\x12\x36google.cloud.discoveryengine.v1.PurgeDocumentsMetadata\x82\xd3\xe4\x93\x02\xb0\x01\"K/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge:\x01*Z^\"Y/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x87\x02\n#com.google.cloud.discoveryengine.v1B\x14\x44ocumentServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21