google-cloud-discovery_engine-v1 1.0.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +14 -0
  3. data/lib/google/cloud/discovery_engine/v1/control_service/client.rb +6 -6
  4. data/lib/google/cloud/discovery_engine/v1/control_service/rest/client.rb +6 -6
  5. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +15 -12
  6. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +15 -12
  7. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +10 -1
  8. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +10 -1
  9. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +14 -0
  10. data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +109 -1
  11. data/lib/google/cloud/discovery_engine/v1/document_service/paths.rb +25 -0
  12. data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +102 -1
  13. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +14 -0
  14. data/lib/google/cloud/discovery_engine/v1/document_service/rest/service_stub.rb +66 -0
  15. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +14 -0
  16. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/client.rb +219 -3
  17. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/paths.rb +85 -0
  18. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/client.rb +126 -3
  19. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/service_stub.rb +60 -0
  20. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +14 -0
  21. data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +1 -1
  22. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +1 -1
  23. data/lib/google/cloud/discovery_engine/v1/recommendation_service/client.rb +2 -1
  24. data/lib/google/cloud/discovery_engine/v1/recommendation_service/rest/client.rb +2 -1
  25. data/lib/google/cloud/discovery_engine/v1/rest.rb +1 -0
  26. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +14 -0
  27. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +11 -4
  28. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +11 -4
  29. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/client.rb +571 -0
  30. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/credentials.rb +47 -0
  31. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/operations.rb +809 -0
  32. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/paths.rb +78 -0
  33. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/client.rb +531 -0
  34. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +1128 -0
  35. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/service_stub.rb +188 -0
  36. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest.rb +53 -0
  37. data/lib/google/cloud/discovery_engine/v1/search_tuning_service.rb +56 -0
  38. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +5 -1
  39. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +5 -1
  40. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +14 -0
  41. data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +139 -0
  42. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +132 -0
  43. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +14 -0
  44. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/service_stub.rb +68 -0
  45. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  46. data/lib/google/cloud/discovery_engine/v1.rb +1 -0
  47. data/lib/google/cloud/discoveryengine/v1/answer_pb.rb +2 -1
  48. data/lib/google/cloud/discoveryengine/v1/common_pb.rb +1 -1
  49. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +2 -1
  50. data/lib/google/cloud/discoveryengine/v1/custom_tuning_model_pb.rb +48 -0
  51. data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +4 -1
  52. data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +1 -1
  53. data/lib/google/cloud/discoveryengine/v1/document_pb.rb +4 -1
  54. data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +11 -1
  55. data/lib/google/cloud/discoveryengine/v1/document_service_services_pb.rb +4 -0
  56. data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +1 -1
  57. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +23 -1
  58. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_services_pb.rb +4 -0
  59. data/lib/google/cloud/discoveryengine/v1/import_config_pb.rb +1 -1
  60. data/lib/google/cloud/discoveryengine/v1/purge_config_pb.rb +8 -1
  61. data/lib/google/cloud/discoveryengine/v1/search_service_pb.rb +5 -1
  62. data/lib/google/cloud/discoveryengine/v1/search_tuning_service_pb.rb +61 -0
  63. data/lib/google/cloud/discoveryengine/v1/search_tuning_service_services_pb.rb +47 -0
  64. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +1 -1
  65. data/lib/google/cloud/discoveryengine/v1/user_event_pb.rb +1 -1
  66. data/lib/google/cloud/discoveryengine/v1/user_event_service_pb.rb +2 -1
  67. data/lib/google/cloud/discoveryengine/v1/user_event_service_services_pb.rb +5 -0
  68. data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +62 -7
  69. data/proto_docs/google/cloud/discoveryengine/v1/control.rb +6 -4
  70. data/proto_docs/google/cloud/discoveryengine/v1/control_service.rb +6 -6
  71. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +68 -24
  72. data/proto_docs/google/cloud/discoveryengine/v1/custom_tuning_model.rb +99 -0
  73. data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +88 -0
  74. data/proto_docs/google/cloud/discoveryengine/v1/data_store_service.rb +10 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +22 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +9 -5
  77. data/proto_docs/google/cloud/discoveryengine/v1/document_service.rb +120 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +5 -1
  79. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +385 -1
  80. data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +13 -7
  81. data/proto_docs/google/cloud/discoveryengine/v1/project.rb +1 -1
  82. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +115 -0
  83. data/proto_docs/google/cloud/discoveryengine/v1/rank_service.rb +1 -1
  84. data/proto_docs/google/cloud/discoveryengine/v1/recommendation_service.rb +2 -1
  85. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +156 -16
  86. data/proto_docs/google/cloud/discoveryengine/v1/search_tuning_service.rb +172 -0
  87. data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine_service.rb +5 -0
  88. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +5 -1
  89. metadata +17 -3
@@ -14,9 +14,10 @@ require 'google/cloud/discoveryengine/v1/purge_config_pb'
14
14
  require 'google/longrunning/operations_pb'
15
15
  require 'google/protobuf/empty_pb'
16
16
  require 'google/protobuf/field_mask_pb'
17
+ require 'google/protobuf/timestamp_pb'
17
18
 
18
19
 
19
- 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\x1a google/protobuf/field_mask.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\"\xa1\x01\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\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"V\n\x15\x44\x65leteDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document2\xa7\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\xd8\x02\n\x0eUpdateDocument\x12\x36.google.cloud.discoveryengine.v1.UpdateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xe2\x01\xda\x41\x14\x64ocument,update_mask\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"
20
+ 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\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.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\"\xa1\x01\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\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"V\n\x15\x44\x65leteDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\x9b\x04\n BatchGetDocumentsMetadataRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12_\n\x07matcher\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.MatcherB\x03\xe0\x41\x02\x1a\x1b\n\x0bUrisMatcher\x12\x0c\n\x04uris\x18\x01 \x03(\t\x1aU\n\x0b\x46hirMatcher\x12\x46\n\x0e\x66hir_resources\x18\x01 \x03(\tB.\xe0\x41\x02\xfa\x41(\n&healthcare.googleapis.com/FhirResource\x1a\xe2\x01\n\x07Matcher\x12\x65\n\x0curis_matcher\x18\x01 \x01(\x0b\x32M.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.UrisMatcherH\x00\x12\x65\n\x0c\x66hir_matcher\x18\x02 \x01(\x0b\x32M.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.FhirMatcherH\x00\x42\t\n\x07matcher\"\xa0\x05\n!BatchGetDocumentsMetadataResponse\x12o\n\x12\x64ocuments_metadata\x18\x01 \x03(\x0b\x32S.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata\x1a\xb2\x03\n\x10\x44ocumentMetadata\x12w\n\rmatcher_value\x18\x02 \x01(\x0b\x32`.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue\x12W\n\x05state\x18\x03 \x01(\x0e\x32H.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State\x12\x37\n\x13last_refreshed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15\x64\x61ta_ingestion_source\x18\x05 \x01(\t\x1at\n\x0cMatcherValue\x12\r\n\x03uri\x18\x01 \x01(\tH\x00\x12\x44\n\rfhir_resource\x18\x02 \x01(\tB+\xfa\x41(\n&healthcare.googleapis.com/FhirResourceH\x00\x42\x0f\n\rmatcher_value\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INDEXED\x10\x01\x12\x16\n\x12NOT_IN_TARGET_SITE\x10\x02\x12\x10\n\x0cNOT_IN_INDEX\x10\x03\x32\x9d\x16\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\xd8\x02\n\x0eUpdateDocument\x12\x36.google.cloud.discoveryengine.v1.UpdateDocumentRequest\x1a).google.cloud.discoveryengine.v1.Document\"\xe2\x01\xda\x41\x14\x64ocument,update_mask\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*\x12\xf3\x02\n\x19\x42\x61tchGetDocumentsMetadata\x12\x41.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest\x1a\x42.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse\"\xce\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbe\x01\x12U/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadataZe\x12\x63/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata\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"
20
21
 
21
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
23
 
@@ -33,6 +34,7 @@ rescue TypeError
33
34
  imports = [
34
35
  ["google.cloud.discoveryengine.v1.Document", "google/cloud/discoveryengine/v1/document.proto"],
35
36
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
38
  ]
37
39
  imports.each do |type_name, expected_filename|
38
40
  import_file = pool.lookup(type_name).file_descriptor
@@ -54,6 +56,14 @@ module Google
54
56
  CreateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CreateDocumentRequest").msgclass
55
57
  UpdateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UpdateDocumentRequest").msgclass
56
58
  DeleteDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteDocumentRequest").msgclass
59
+ BatchGetDocumentsMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest").msgclass
60
+ BatchGetDocumentsMetadataRequest::UrisMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.UrisMatcher").msgclass
61
+ BatchGetDocumentsMetadataRequest::FhirMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.FhirMatcher").msgclass
62
+ BatchGetDocumentsMetadataRequest::Matcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher").msgclass
63
+ BatchGetDocumentsMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse").msgclass
64
+ BatchGetDocumentsMetadataResponse::DocumentMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata").msgclass
65
+ BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue").msgclass
66
+ BatchGetDocumentsMetadataResponse::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State").enummodule
57
67
  end
58
68
  end
59
69
  end
@@ -69,6 +69,10 @@ module Google
69
69
  # [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force]
70
70
  # to false.
71
71
  rpc :PurgeDocuments, ::Google::Cloud::DiscoveryEngine::V1::PurgeDocumentsRequest, ::Google::Longrunning::Operation
72
+ # Gets index freshness metadata for
73
+ # [Document][google.cloud.discoveryengine.v1.Document]s. Supported for
74
+ # website search only.
75
+ rpc :BatchGetDocumentsMetadata, ::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest, ::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataResponse
72
76
  end
73
77
 
74
78
  Stub = Service.rpc_stub_class
@@ -10,7 +10,7 @@ require 'google/cloud/discoveryengine/v1/common_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n,google/cloud/discoveryengine/v1/engine.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\"\xe3\n\n\x06\x45ngine\x12V\n\x12\x63hat_engine_config\x18\x0b \x01(\x0b\x32\x38.google.cloud.discoveryengine.v1.Engine.ChatEngineConfigH\x00\x12Z\n\x14search_engine_config\x18\r \x01(\x0b\x32:.google.cloud.discoveryengine.v1.Engine.SearchEngineConfigH\x00\x12_\n\x14\x63hat_engine_metadata\x18\x0c \x01(\x0b\x32:.google.cloud.discoveryengine.v1.Engine.ChatEngineMetadataB\x03\xe0\x41\x03H\x01\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\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\x0e\x64\x61ta_store_ids\x18\x05 \x03(\t\x12I\n\rsolution_type\x18\x06 \x01(\x0e\x32-.google.cloud.discoveryengine.v1.SolutionTypeB\x03\xe0\x41\x02\x12L\n\x11industry_vertical\x18\x10 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1.IndustryVertical\x12K\n\rcommon_config\x18\x0f \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1.Engine.CommonConfig\x1a\x9c\x01\n\x12SearchEngineConfig\x12@\n\x0bsearch_tier\x18\x01 \x01(\x0e\x32+.google.cloud.discoveryengine.v1.SearchTier\x12\x44\n\x0esearch_add_ons\x18\x02 \x03(\x0e\x32,.google.cloud.discoveryengine.v1.SearchAddOn\x1a\x93\x02\n\x10\x43hatEngineConfig\x12k\n\x15\x61gent_creation_config\x18\x01 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig\x12 \n\x18\x64ialogflow_agent_to_link\x18\x02 \x01(\t\x1ap\n\x13\x41gentCreationConfig\x12\x10\n\x08\x62usiness\x18\x01 \x01(\t\x12\x1d\n\x15\x64\x65\x66\x61ult_language_code\x18\x02 \x01(\t\x12\x16\n\ttime_zone\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08location\x18\x04 \x01(\t\x1a$\n\x0c\x43ommonConfig\x12\x14\n\x0c\x63ompany_name\x18\x01 \x01(\t\x1a.\n\x12\x43hatEngineMetadata\x12\x18\n\x10\x64ialogflow_agent\x18\x01 \x01(\t:}\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}B\x0f\n\rengine_configB\x11\n\x0f\x65ngine_metadataB\xfe\x01\n#com.google.cloud.discoveryengine.v1B\x0b\x45ngineProtoP\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 = "\n,google/cloud/discoveryengine/v1/engine.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\"\x83\x0b\n\x06\x45ngine\x12V\n\x12\x63hat_engine_config\x18\x0b \x01(\x0b\x32\x38.google.cloud.discoveryengine.v1.Engine.ChatEngineConfigH\x00\x12Z\n\x14search_engine_config\x18\r \x01(\x0b\x32:.google.cloud.discoveryengine.v1.Engine.SearchEngineConfigH\x00\x12_\n\x14\x63hat_engine_metadata\x18\x0c \x01(\x0b\x32:.google.cloud.discoveryengine.v1.Engine.ChatEngineMetadataB\x03\xe0\x41\x03H\x01\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\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\x0e\x64\x61ta_store_ids\x18\x05 \x03(\t\x12I\n\rsolution_type\x18\x06 \x01(\x0e\x32-.google.cloud.discoveryengine.v1.SolutionTypeB\x03\xe0\x41\x02\x12L\n\x11industry_vertical\x18\x10 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1.IndustryVertical\x12K\n\rcommon_config\x18\x0f \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1.Engine.CommonConfig\x12\x1e\n\x11\x64isable_analytics\x18\x1a \x01(\x08\x42\x03\xe0\x41\x01\x1a\x9c\x01\n\x12SearchEngineConfig\x12@\n\x0bsearch_tier\x18\x01 \x01(\x0e\x32+.google.cloud.discoveryengine.v1.SearchTier\x12\x44\n\x0esearch_add_ons\x18\x02 \x03(\x0e\x32,.google.cloud.discoveryengine.v1.SearchAddOn\x1a\x93\x02\n\x10\x43hatEngineConfig\x12k\n\x15\x61gent_creation_config\x18\x01 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig\x12 \n\x18\x64ialogflow_agent_to_link\x18\x02 \x01(\t\x1ap\n\x13\x41gentCreationConfig\x12\x10\n\x08\x62usiness\x18\x01 \x01(\t\x12\x1d\n\x15\x64\x65\x66\x61ult_language_code\x18\x02 \x01(\t\x12\x16\n\ttime_zone\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08location\x18\x04 \x01(\t\x1a$\n\x0c\x43ommonConfig\x12\x14\n\x0c\x63ompany_name\x18\x01 \x01(\t\x1a.\n\x12\x43hatEngineMetadata\x12\x18\n\x10\x64ialogflow_agent\x18\x01 \x01(\t:}\xea\x41z\n%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}B\x0f\n\rengine_configB\x11\n\x0f\x65ngine_metadataB\xfe\x01\n#com.google.cloud.discoveryengine.v1B\x0b\x45ngineProtoP\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
 
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/discoveryengine/v1/grounding_pb'
12
12
 
13
13
 
14
- descriptor_data = "\nAgoogle/cloud/discoveryengine/v1/grounded_generation_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/grounding.proto\"L\n\x12\x43heckGroundingSpec\x12\x1f\n\x12\x63itation_threshold\x18\x01 \x01(\x01H\x00\x88\x01\x01\x42\x15\n\x13_citation_threshold\"\x9f\x03\n\x15\x43heckGroundingRequest\x12P\n\x10grounding_config\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.discoveryengine.googleapis.com/GroundingConfig\x12\x18\n\x10\x61nswer_candidate\x18\x02 \x01(\t\x12=\n\x05\x66\x61\x63ts\x18\x03 \x03(\x0b\x32..google.cloud.discoveryengine.v1.GroundingFact\x12K\n\x0egrounding_spec\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1.CheckGroundingSpec\x12[\n\x0buser_labels\x18\x05 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.CheckGroundingRequest.UserLabelsEntry\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x03\n\x16\x43heckGroundingResponse\x12\x1a\n\rsupport_score\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12@\n\x0c\x63ited_chunks\x18\x03 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.FactChunk\x12M\n\x06\x63laims\x18\x04 \x03(\x0b\x32=.google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim\x1a\xc1\x01\n\x05\x43laim\x12\x16\n\tstart_pos\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x14\n\x07\x65nd_pos\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x12\n\nclaim_text\x18\x03 \x01(\t\x12\x18\n\x10\x63itation_indices\x18\x04 \x03(\x05\x12%\n\x18grounding_check_required\x18\x06 \x01(\x08H\x02\x88\x01\x01\x42\x0c\n\n_start_posB\n\n\x08_end_posB\x1b\n\x19_grounding_check_requiredB\x10\n\x0e_support_score2\xc6\x02\n\x19GroundedGenerationService\x12\xd4\x01\n\x0e\x43heckGrounding\x12\x36.google.cloud.discoveryengine.v1.CheckGroundingRequest\x1a\x37.google.cloud.discoveryengine.v1.CheckGroundingResponse\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{grounding_config=projects/*/locations/*/groundingConfigs/*}:check:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x02\n#com.google.cloud.discoveryengine.v1B\x1eGroundedGenerationServiceProtoP\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
+ descriptor_data = "\nAgoogle/cloud/discoveryengine/v1/grounded_generation_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/grounding.proto\"\x99\x01\n\x19GroundedGenerationContent\x12\x0c\n\x04role\x18\x01 \x01(\t\x12N\n\x05parts\x18\x02 \x03(\x0b\x32?.google.cloud.discoveryengine.v1.GroundedGenerationContent.Part\x1a\x1e\n\x04Part\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"\xc9\x13\n\x1eGenerateGroundedContentRequest\x12\x41\n\x08location\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12V\n\x12system_instruction\x18\x05 \x01(\x0b\x32:.google.cloud.discoveryengine.v1.GroundedGenerationContent\x12L\n\x08\x63ontents\x18\x02 \x03(\x0b\x32:.google.cloud.discoveryengine.v1.GroundedGenerationContent\x12g\n\x0fgeneration_spec\x18\x03 \x01(\x0b\x32N.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec\x12\x65\n\x0egrounding_spec\x18\x04 \x01(\x0b\x32M.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec\x12\x64\n\x0buser_labels\x18\x06 \x03(\x0b\x32O.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.UserLabelsEntry\x1a\xbf\x02\n\x0eGenerationSpec\x12\x10\n\x08model_id\x18\x03 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12\x18\n\x0btemperature\x18\x04 \x01(\x02H\x00\x88\x01\x01\x12\x12\n\x05top_p\x18\x05 \x01(\x02H\x01\x88\x01\x01\x12\x12\n\x05top_k\x18\x07 \x01(\x05H\x02\x88\x01\x01\x12\x1e\n\x11\x66requency_penalty\x18\x08 \x01(\x02H\x03\x88\x01\x01\x12\x1d\n\x10presence_penalty\x18\t \x01(\x02H\x04\x88\x01\x01\x12\x1e\n\x11max_output_tokens\x18\n \x01(\x05H\x05\x88\x01\x01\x42\x0e\n\x0c_temperatureB\x08\n\x06_top_pB\x08\n\x06_top_kB\x14\n\x12_frequency_penaltyB\x13\n\x11_presence_penaltyB\x14\n\x12_max_output_tokens\x1a\xbb\x03\n\x1d\x44ynamicRetrievalConfiguration\x12\x8a\x01\n\tpredictor\x18\x01 \x01(\x0b\x32w.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor\x1a\x8c\x02\n\x19\x44ynamicRetrievalPredictor\x12\x90\x01\n\x07version\x18\x01 \x01(\x0e\x32\x7f.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version\x12\x16\n\tthreshold\x18\x02 \x01(\x02H\x00\x88\x01\x01\"6\n\x07Version\x12\x17\n\x13VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0eV1_INDEPENDENT\x10\x01\x42\x0c\n\n_threshold\x1a\xd7\x07\n\x0fGroundingSource\x12u\n\rinline_source\x18\x01 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSourceH\x00\x12u\n\rsearch_source\x18\x02 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.SearchSourceH\x00\x12\x82\x01\n\x14google_search_source\x18\x03 \x01(\x0b\x32\x62.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceH\x00\x1a\x8d\x02\n\x0cInlineSource\x12G\n\x0fgrounding_facts\x18\x01 \x03(\x0b\x32..google.cloud.discoveryengine.v1.GroundingFact\x12\x80\x01\n\nattributes\x18\x02 \x03(\x0b\x32l.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSource.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x98\x01\n\x0cSearchSource\x12I\n\x0eserving_config\x18\x01 \x01(\tB1\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12\x18\n\x10max_result_count\x18\x02 \x01(\x05\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x13\n\x0bsafe_search\x18\x05 \x01(\x08\x1a\x9b\x01\n\x12GoogleSearchSource\x12\x84\x01\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32].google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfigurationB\x03\xe0\x41\x01\x42\x08\n\x06source\x1a{\n\rGroundingSpec\x12j\n\x11grounding_sources\x18\x01 \x03(\x0b\x32O.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xeb\x0f\n\x1fGenerateGroundedContentResponse\x12^\n\ncandidates\x18\x01 \x03(\x0b\x32J.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate\x1a\xe7\x0e\n\tCandidate\x12\r\n\x05index\x18\x01 \x01(\x05\x12K\n\x07\x63ontent\x18\x02 \x01(\x0b\x32:.google.cloud.discoveryengine.v1.GroundedGenerationContent\x12\x1c\n\x0fgrounding_score\x18\x03 \x01(\x02H\x00\x88\x01\x01\x12x\n\x12grounding_metadata\x18\x04 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata\x1a\xd1\x0c\n\x11GroundingMetadata\x12\x8a\x01\n\x12retrieval_metadata\x18\x05 \x03(\x0b\x32n.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata\x12\x42\n\x0esupport_chunks\x18\x01 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.FactChunk\x12\x1a\n\x12web_search_queries\x18\x03 \x03(\t\x12\x89\x01\n\x12search_entry_point\x18\x04 \x01(\x0b\x32m.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint\x12\x88\x01\n\x11grounding_support\x18\x02 \x03(\x0b\x32m.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport\x1a\xa7\x03\n\x11RetrievalMetadata\x12\x85\x01\n\x06source\x18\x01 \x01(\x0e\x32u.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source\x12\x99\x01\n\x1a\x64ynamic_retrieval_metadata\x18\x02 \x01(\x0b\x32u.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata\"n\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x14\n\x10VERTEX_AI_SEARCH\x10\x01\x12\x11\n\rGOOGLE_SEARCH\x10\x03\x12\x12\n\x0eINLINE_CONTENT\x10\x02\x12\x0f\n\x0bGOOGLE_MAPS\x10\x04\x1a\xb7\x01\n\x18\x44ynamicRetrievalMetadata\x12\x9a\x01\n\x12predictor_metadata\x18\x01 \x01(\x0b\x32~.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata\x1a\x9e\x02\n!DynamicRetrievalPredictorMetadata\x12\x98\x01\n\x07version\x18\x01 \x01(\x0e\x32\x86\x01.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Version\x12\x17\n\nprediction\x18\x02 \x01(\x02H\x00\x88\x01\x01\"6\n\x07Version\x12\x17\n\x13VERSION_UNSPECIFIED\x10\x00\x12\x12\n\x0eV1_INDEPENDENT\x10\x01\x42\r\n\x0b_prediction\x1a>\n\x10SearchEntryPoint\x12\x18\n\x10rendered_content\x18\x01 \x01(\t\x12\x10\n\x08sdk_blob\x18\x02 \x01(\x0c\x1as\n\x10GroundingSupport\x12\x12\n\nclaim_text\x18\x01 \x01(\t\x12\x1d\n\x15support_chunk_indices\x18\x03 \x03(\x05\x12\x1a\n\rsupport_score\x18\x02 \x01(\x02H\x00\x88\x01\x01\x42\x10\n\x0e_support_scoreB\x12\n\x10_grounding_score\"L\n\x12\x43heckGroundingSpec\x12\x1f\n\x12\x63itation_threshold\x18\x01 \x01(\x01H\x00\x88\x01\x01\x42\x15\n\x13_citation_threshold\"\x9f\x03\n\x15\x43heckGroundingRequest\x12P\n\x10grounding_config\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.discoveryengine.googleapis.com/GroundingConfig\x12\x18\n\x10\x61nswer_candidate\x18\x02 \x01(\t\x12=\n\x05\x66\x61\x63ts\x18\x03 \x03(\x0b\x32..google.cloud.discoveryengine.v1.GroundingFact\x12K\n\x0egrounding_spec\x18\x04 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1.CheckGroundingSpec\x12[\n\x0buser_labels\x18\x05 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.CheckGroundingRequest.UserLabelsEntry\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x03\n\x16\x43heckGroundingResponse\x12\x1a\n\rsupport_score\x18\x01 \x01(\x02H\x00\x88\x01\x01\x12@\n\x0c\x63ited_chunks\x18\x03 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.FactChunk\x12M\n\x06\x63laims\x18\x04 \x03(\x0b\x32=.google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim\x1a\xc1\x01\n\x05\x43laim\x12\x16\n\tstart_pos\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x14\n\x07\x65nd_pos\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x12\n\nclaim_text\x18\x03 \x01(\t\x12\x18\n\x10\x63itation_indices\x18\x04 \x03(\x05\x12%\n\x18grounding_check_required\x18\x06 \x01(\x08H\x02\x88\x01\x01\x42\x0c\n\n_start_posB\n\n\x08_end_posB\x1b\n\x19_grounding_check_requiredB\x10\n\x0e_support_score2\xa8\x06\n\x19GroundedGenerationService\x12\xf6\x01\n\x1dStreamGenerateGroundedContent\x12?.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest\x1a@.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse\"N\x82\xd3\xe4\x93\x02H\"C/v1/{location=projects/*/locations/*}:streamGenerateGroundedContent:\x01*(\x01\x30\x01\x12\xe6\x01\n\x17GenerateGroundedContent\x12?.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest\x1a@.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{location=projects/*/locations/*}:generateGroundedContent:\x01*\x12\xd4\x01\n\x0e\x43heckGrounding\x12\x36.google.cloud.discoveryengine.v1.CheckGroundingRequest\x1a\x37.google.cloud.discoveryengine.v1.CheckGroundingResponse\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{grounding_config=projects/*/locations/*/groundingConfigs/*}:check:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x02\n#com.google.cloud.discoveryengine.v1B\x1eGroundedGenerationServiceProtoP\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"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -42,6 +42,28 @@ module Google
42
42
  module Cloud
43
43
  module DiscoveryEngine
44
44
  module V1
45
+ GroundedGenerationContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GroundedGenerationContent").msgclass
46
+ GroundedGenerationContent::Part = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GroundedGenerationContent.Part").msgclass
47
+ GenerateGroundedContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest").msgclass
48
+ GenerateGroundedContentRequest::GenerationSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec").msgclass
49
+ GenerateGroundedContentRequest::DynamicRetrievalConfiguration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration").msgclass
50
+ GenerateGroundedContentRequest::DynamicRetrievalConfiguration::DynamicRetrievalPredictor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor").msgclass
51
+ GenerateGroundedContentRequest::DynamicRetrievalConfiguration::DynamicRetrievalPredictor::Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version").enummodule
52
+ GenerateGroundedContentRequest::GroundingSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource").msgclass
53
+ GenerateGroundedContentRequest::GroundingSource::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.InlineSource").msgclass
54
+ GenerateGroundedContentRequest::GroundingSource::SearchSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.SearchSource").msgclass
55
+ GenerateGroundedContentRequest::GroundingSource::GoogleSearchSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource").msgclass
56
+ GenerateGroundedContentRequest::GroundingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec").msgclass
57
+ GenerateGroundedContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse").msgclass
58
+ GenerateGroundedContentResponse::Candidate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate").msgclass
59
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata").msgclass
60
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::RetrievalMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata").msgclass
61
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::RetrievalMetadata::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source").enummodule
62
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::DynamicRetrievalMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata").msgclass
63
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::DynamicRetrievalPredictorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata").msgclass
64
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::DynamicRetrievalPredictorMetadata::Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalPredictorMetadata.Version").enummodule
65
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::SearchEntryPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint").msgclass
66
+ GenerateGroundedContentResponse::Candidate::GroundingMetadata::GroundingSupport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport").msgclass
45
67
  CheckGroundingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CheckGroundingSpec").msgclass
46
68
  CheckGroundingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CheckGroundingRequest").msgclass
47
69
  CheckGroundingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CheckGroundingResponse").msgclass
@@ -33,6 +33,10 @@ module Google
33
33
  self.unmarshal_class_method = :decode
34
34
  self.service_name = 'google.cloud.discoveryengine.v1.GroundedGenerationService'
35
35
 
36
+ # Generates grounded content in a streaming fashion.
37
+ rpc :StreamGenerateGroundedContent, stream(::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest), stream(::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse)
38
+ # Generates grounded content.
39
+ rpc :GenerateGroundedContent, ::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest, ::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse
36
40
  # Performs a grounding check.
37
41
  rpc :CheckGrounding, ::Google::Cloud::DiscoveryEngine::V1::CheckGroundingRequest, ::Google::Cloud::DiscoveryEngine::V1::CheckGroundingResponse
38
42
  end
@@ -15,7 +15,7 @@ require 'google/rpc/status_pb'
15
15
  require 'google/type/date_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n3google/cloud/discoveryengine/v1/import_config.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1/completion.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x30google/cloud/discoveryengine/v1/user_event.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"9\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x61ta_schema\x18\x02 \x01(\t\"\xbc\x01\n\x0e\x42igQuerySource\x12+\n\x0epartition_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x61ta_schema\x18\x06 \x01(\tB\x0b\n\tpartition\"\x89\x01\n\rSpannerSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11\x65nable_data_boost\x18\x05 \x01(\x08\"\x8d\x07\n\x0f\x42igtableOptions\x12\x16\n\x0ekey_field_name\x18\x01 \x01(\t\x12P\n\x08\x66\x61milies\x18\x02 \x03(\x0b\x32>.google.cloud.discoveryengine.v1.BigtableOptions.FamiliesEntry\x1a\x8e\x02\n\x14\x42igtableColumnFamily\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12K\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1.BigtableOptions.Encoding\x12\x43\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.discoveryengine.v1.BigtableOptions.Type\x12P\n\x07\x63olumns\x18\x04 \x03(\x0b\x32?.google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumn\x1a\xce\x01\n\x0e\x42igtableColumn\x12\x16\n\tqualifier\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12K\n\x08\x65ncoding\x18\x03 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1.BigtableOptions.Encoding\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32\x35.google.cloud.discoveryengine.v1.BigtableOptions.Type\x1av\n\rFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12T\n\x05value\x18\x02 \x01(\x0b\x32\x45.google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumnFamily:\x02\x38\x01\"z\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0f\n\x0bVAR_INTEGER\x10\x04\x12\x0f\n\x0b\x42IG_NUMERIC\x10\x05\x12\x0b\n\x07\x42OOLEAN\x10\x06\x12\x08\n\x04JSON\x10\x07\":\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\n\n\x06\x42INARY\x10\x02\"\xa6\x01\n\x0e\x42igtableSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12O\n\x10\x62igtable_options\x18\x04 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.BigtableOptionsB\x03\xe0\x41\x02\"k\n\x0f\x46hirStoreSource\x12?\n\nfhir_store\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#healthcare.googleapis.com/FhirStore\x12\x17\n\x0fgcs_staging_dir\x18\x02 \x01(\t\"\x99\x01\n\x0e\x43loudSqlSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x05 \x01(\t\x12\x0f\n\x07offload\x18\x06 \x01(\x08\"\xa0\x01\n\rAlloyDbSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0blocation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x06 \x01(\t\"t\n\x0f\x46irestoreSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcollection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\"8\n\x11ImportErrorConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xf3\x03\n\x17ImportUserEventsRequest\x12^\n\rinline_source\x18\x02 \x01(\x0b\x32\x45.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x1aT\n\x0cInlineSource\x12\x44\n\x0buser_events\x18\x01 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.UserEventB\x03\xe0\x41\x02\x42\x08\n\x06source\"\xcb\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12\x1b\n\x13joined_events_count\x18\x03 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x04 \x01(\x03\"\xaa\x01\n\x18ImportUserEventsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"\xbe\x01\n\x17ImportDocumentsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\"\xd3\t\n\x16ImportDocumentsRequest\x12]\n\rinline_source\x18\x02 \x01(\x0b\x32\x44.google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12M\n\x11\x66hir_store_source\x18\n \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.FhirStoreSourceH\x00\x12H\n\x0espanner_source\x18\x0b \x01(\x0b\x32..google.cloud.discoveryengine.v1.SpannerSourceH\x00\x12K\n\x10\x63loud_sql_source\x18\x0c \x01(\x0b\x32/.google.cloud.discoveryengine.v1.CloudSqlSourceH\x00\x12L\n\x10\x66irestore_source\x18\r \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.FirestoreSourceH\x00\x12I\n\x0f\x61lloy_db_source\x18\x0e \x01(\x0b\x32..google.cloud.discoveryengine.v1.AlloyDbSourceH\x00\x12J\n\x0f\x62igtable_source\x18\x0f \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigtableSourceH\x00\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12g\n\x13reconciliation_mode\x18\x06 \x01(\x0e\x32J.google.cloud.discoveryengine.v1.ImportDocumentsRequest.ReconciliationMode\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61uto_generate_ids\x18\x08 \x01(\x08\x12\x10\n\x08id_field\x18\t \x01(\t\x1aQ\n\x0cInlineSource\x12\x41\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x03\xe0\x41\x02\"T\n\x12ReconciliationMode\x12#\n\x1fRECONCILIATION_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINCREMENTAL\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\x08\n\x06source\"\x8e\x01\n\x17ImportDocumentsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\"\x85\x03\n&ImportSuggestionDenyListEntriesRequest\x12m\n\rinline_source\x18\x02 \x01(\x0b\x32T.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x1a^\n\x0cInlineSource\x12N\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.SuggestionDenyListEntryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x92\x01\n\'ImportSuggestionDenyListEntriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16imported_entries_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x66\x61iled_entries_count\x18\x03 \x01(\x03\"\x8b\x01\n\'ImportSuggestionDenyListEntriesMetadata\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\"\x94\x04\n\"ImportCompletionSuggestionsRequest\x12i\n\rinline_source\x18\x02 \x01(\x0b\x32P.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x1a_\n\x0cInlineSource\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32\x35.google.cloud.discoveryengine.v1.CompletionSuggestionB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x9a\x01\n#ImportCompletionSuggestionsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\"\xb5\x01\n#ImportCompletionSuggestionsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x42\x84\x02\n#com.google.cloud.discoveryengine.v1B\x11ImportConfigProtoP\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 = "\n3google/cloud/discoveryengine/v1/import_config.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1/completion.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x30google/cloud/discoveryengine/v1/user_event.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\"9\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x61ta_schema\x18\x02 \x01(\t\"\xbc\x01\n\x0e\x42igQuerySource\x12+\n\x0epartition_date\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x61ta_schema\x18\x06 \x01(\tB\x0b\n\tpartition\"\x89\x01\n\rSpannerSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11\x65nable_data_boost\x18\x05 \x01(\x08\"\x8d\x07\n\x0f\x42igtableOptions\x12\x16\n\x0ekey_field_name\x18\x01 \x01(\t\x12P\n\x08\x66\x61milies\x18\x02 \x03(\x0b\x32>.google.cloud.discoveryengine.v1.BigtableOptions.FamiliesEntry\x1a\x8e\x02\n\x14\x42igtableColumnFamily\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12K\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1.BigtableOptions.Encoding\x12\x43\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.discoveryengine.v1.BigtableOptions.Type\x12P\n\x07\x63olumns\x18\x04 \x03(\x0b\x32?.google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumn\x1a\xce\x01\n\x0e\x42igtableColumn\x12\x16\n\tqualifier\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12K\n\x08\x65ncoding\x18\x03 \x01(\x0e\x32\x39.google.cloud.discoveryengine.v1.BigtableOptions.Encoding\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32\x35.google.cloud.discoveryengine.v1.BigtableOptions.Type\x1av\n\rFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12T\n\x05value\x18\x02 \x01(\x0b\x32\x45.google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumnFamily:\x02\x38\x01\"z\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\n\n\x06NUMBER\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x0f\n\x0bVAR_INTEGER\x10\x04\x12\x0f\n\x0b\x42IG_NUMERIC\x10\x05\x12\x0b\n\x07\x42OOLEAN\x10\x06\x12\x08\n\x04JSON\x10\x07\":\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\n\n\x06\x42INARY\x10\x02\"\xa6\x01\n\x0e\x42igtableSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12O\n\x10\x62igtable_options\x18\x04 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.BigtableOptionsB\x03\xe0\x41\x02\"\x83\x01\n\x0f\x46hirStoreSource\x12?\n\nfhir_store\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#healthcare.googleapis.com/FhirStore\x12\x17\n\x0fgcs_staging_dir\x18\x02 \x01(\t\x12\x16\n\x0eresource_types\x18\x03 \x03(\t\"\x99\x01\n\x0e\x43loudSqlSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x05 \x01(\t\x12\x0f\n\x07offload\x18\x06 \x01(\x08\"\xa0\x01\n\rAlloyDbSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0blocation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x61tabase_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08table_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x06 \x01(\t\"t\n\x0f\x46irestoreSource\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rcollection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fgcs_staging_dir\x18\x04 \x01(\t\"8\n\x11ImportErrorConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xf3\x03\n\x17ImportUserEventsRequest\x12^\n\rinline_source\x18\x02 \x01(\x0b\x32\x45.google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x1aT\n\x0cInlineSource\x12\x44\n\x0buser_events\x18\x01 \x03(\x0b\x32*.google.cloud.discoveryengine.v1.UserEventB\x03\xe0\x41\x02\x42\x08\n\x06source\"\xcb\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12\x1b\n\x13joined_events_count\x18\x03 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x04 \x01(\x03\"\xaa\x01\n\x18ImportUserEventsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"\xbe\x01\n\x17ImportDocumentsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x13\n\x0btotal_count\x18\x05 \x01(\x03\"\xd3\t\n\x16ImportDocumentsRequest\x12]\n\rinline_source\x18\x02 \x01(\x0b\x32\x44.google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12M\n\x11\x66hir_store_source\x18\n \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.FhirStoreSourceH\x00\x12H\n\x0espanner_source\x18\x0b \x01(\x0b\x32..google.cloud.discoveryengine.v1.SpannerSourceH\x00\x12K\n\x10\x63loud_sql_source\x18\x0c \x01(\x0b\x32/.google.cloud.discoveryengine.v1.CloudSqlSourceH\x00\x12L\n\x10\x66irestore_source\x18\r \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.FirestoreSourceH\x00\x12I\n\x0f\x61lloy_db_source\x18\x0e \x01(\x0b\x32..google.cloud.discoveryengine.v1.AlloyDbSourceH\x00\x12J\n\x0f\x62igtable_source\x18\x0f \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigtableSourceH\x00\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12g\n\x13reconciliation_mode\x18\x06 \x01(\x0e\x32J.google.cloud.discoveryengine.v1.ImportDocumentsRequest.ReconciliationMode\x12/\n\x0bupdate_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61uto_generate_ids\x18\x08 \x01(\x08\x12\x10\n\x08id_field\x18\t \x01(\t\x1aQ\n\x0cInlineSource\x12\x41\n\tdocuments\x18\x01 \x03(\x0b\x32).google.cloud.discoveryengine.v1.DocumentB\x03\xe0\x41\x02\"T\n\x12ReconciliationMode\x12#\n\x1fRECONCILIATION_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINCREMENTAL\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\x08\n\x06source\"\x8e\x01\n\x17ImportDocumentsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\"\x85\x03\n&ImportSuggestionDenyListEntriesRequest\x12m\n\rinline_source\x18\x02 \x01(\x0b\x32T.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x1a^\n\x0cInlineSource\x12N\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.SuggestionDenyListEntryB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x92\x01\n\'ImportSuggestionDenyListEntriesResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16imported_entries_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x66\x61iled_entries_count\x18\x03 \x01(\x03\"\x8b\x01\n\'ImportSuggestionDenyListEntriesMetadata\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\"\x94\x04\n\"ImportCompletionSuggestionsRequest\x12i\n\rinline_source\x18\x02 \x01(\x0b\x32P.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSourceH\x00\x12@\n\ngcs_source\x18\x03 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12J\n\x0f\x62igquery_source\x18\x04 \x01(\x0b\x32/.google.cloud.discoveryengine.v1.BigQuerySourceH\x00\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12H\n\x0c\x65rror_config\x18\x05 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x1a_\n\x0cInlineSource\x12O\n\x0bsuggestions\x18\x01 \x03(\x0b\x32\x35.google.cloud.discoveryengine.v1.CompletionSuggestionB\x03\xe0\x41\x02\x42\x08\n\x06source\"\x9a\x01\n#ImportCompletionSuggestionsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\"\xb5\x01\n#ImportCompletionSuggestionsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x42\x84\x02\n#com.google.cloud.discoveryengine.v1B\x11ImportConfigProtoP\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
 
@@ -6,11 +6,12 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
+ require 'google/cloud/discoveryengine/v1/import_config_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
  require 'google/rpc/status_pb'
11
12
 
12
13
 
13
- descriptor_data = "\n2google/cloud/discoveryengine/v1/purge_config.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"z\n\x15PurgeDocumentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"q\n\x16PurgeDocumentsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12\x42\n\x0cpurge_sample\x18\x02 \x03(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\xbf\x01\n\x16PurgeDocumentsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x15\n\rignored_count\x18\x05 \x01(\x03\"i\n%PurgeSuggestionDenyListEntriesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n&PurgeSuggestionDenyListEntriesResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x8a\x01\n&PurgeSuggestionDenyListEntriesMetadata\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\"e\n!PurgeCompletionSuggestionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n\"PurgeCompletionSuggestionsResponse\x12\x17\n\x0fpurge_succeeded\x18\x01 \x01(\x08\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x86\x01\n\"PurgeCompletionSuggestionsMetadata\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.TimestampB\x83\x02\n#com.google.cloud.discoveryengine.v1B\x10PurgeConfigProtoP\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
+ descriptor_data = "\n2google/cloud/discoveryengine/v1/purge_config.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/discoveryengine/v1/import_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"~\n\x16PurgeUserEventsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\".\n\x17PurgeUserEventsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\"\xa9\x01\n\x17PurgeUserEventsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\"7\n\x10PurgeErrorConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xc1\x03\n\x15PurgeDocumentsRequest\x12@\n\ngcs_source\x18\x05 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.GcsSourceH\x00\x12\\\n\rinline_source\x18\x06 \x01(\x0b\x32\x43.google.cloud.discoveryengine.v1.PurgeDocumentsRequest.InlineSourceH\x00\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0c\x65rror_config\x18\x07 \x01(\x0b\x32\x31.google.cloud.discoveryengine.v1.PurgeErrorConfig\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1aR\n\x0cInlineSource\x12\x42\n\tdocuments\x18\x01 \x03(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/DocumentB\x08\n\x06source\"q\n\x16PurgeDocumentsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12\x42\n\x0cpurge_sample\x18\x02 \x03(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\xbf\x01\n\x16PurgeDocumentsMetadata\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\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x15\n\rfailure_count\x18\x04 \x01(\x03\x12\x15\n\rignored_count\x18\x05 \x01(\x03\"i\n%PurgeSuggestionDenyListEntriesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n&PurgeSuggestionDenyListEntriesResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x8a\x01\n&PurgeSuggestionDenyListEntriesMetadata\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\"e\n!PurgeCompletionSuggestionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"h\n\"PurgeCompletionSuggestionsResponse\x12\x17\n\x0fpurge_succeeded\x18\x01 \x01(\x08\x12)\n\rerror_samples\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\x86\x01\n\"PurgeCompletionSuggestionsMetadata\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.TimestampB\x83\x02\n#com.google.cloud.discoveryengine.v1B\x10PurgeConfigProtoP\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
 
15
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
17
 
@@ -26,6 +27,7 @@ rescue TypeError
26
27
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
28
  imports = [
28
29
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.cloud.discoveryengine.v1.GcsSource", "google/cloud/discoveryengine/v1/import_config.proto"],
29
31
  ["google.rpc.Status", "google/rpc/status.proto"],
30
32
  ]
31
33
  imports.each do |type_name, expected_filename|
@@ -42,7 +44,12 @@ module Google
42
44
  module Cloud
43
45
  module DiscoveryEngine
44
46
  module V1
47
+ PurgeUserEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeUserEventsRequest").msgclass
48
+ PurgeUserEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeUserEventsResponse").msgclass
49
+ PurgeUserEventsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeUserEventsMetadata").msgclass
50
+ PurgeErrorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeErrorConfig").msgclass
45
51
  PurgeDocumentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeDocumentsRequest").msgclass
52
+ PurgeDocumentsRequest::InlineSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeDocumentsRequest.InlineSource").msgclass
46
53
  PurgeDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeDocumentsResponse").msgclass
47
54
  PurgeDocumentsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeDocumentsMetadata").msgclass
48
55
  PurgeSuggestionDenyListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesRequest").msgclass
@@ -14,7 +14,7 @@ require 'google/cloud/discoveryengine/v1/document_pb'
14
14
  require 'google/protobuf/struct_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n4google/cloud/discoveryengine/v1/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+google/cloud/discoveryengine/v1/chunk.proto\x1a,google/cloud/discoveryengine/v1/common.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd4\"\n\rSearchRequest\x12L\n\x0eserving_config\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12:\n\x06\x62ranch\x18\x02 \x01(\tB*\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\r\n\x05query\x18\x03 \x01(\t\x12N\n\x0bimage_query\x18\x13 \x01(\x0b\x32\x39.google.cloud.discoveryengine.v1.SearchRequest.ImageQuery\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x0e\n\x06offset\x18\x06 \x01(\x05\x12V\n\x10\x64\x61ta_store_specs\x18 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x18\n\x10\x63\x61nonical_filter\x18\x1d \x01(\t\x12\x10\n\x08order_by\x18\x08 \x01(\t\x12<\n\tuser_info\x18\x15 \x01(\x0b\x32).google.cloud.discoveryengine.v1.UserInfo\x12\x15\n\rlanguage_code\x18# \x01(\t\x12M\n\x0b\x66\x61\x63\x65t_specs\x18\t \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.SearchRequest.FacetSpec\x12L\n\nboost_spec\x18\n \x01(\x0b\x32\x38.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec\x12J\n\x06params\x18\x0b \x03(\x0b\x32:.google.cloud.discoveryengine.v1.SearchRequest.ParamsEntry\x12_\n\x14query_expansion_spec\x18\r \x01(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec\x12\x61\n\x15spell_correction_spec\x18\x0e \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec\x12\x16\n\x0euser_pseudo_id\x18\x0f \x01(\t\x12]\n\x13\x63ontent_search_spec\x18\x18 \x01(\x0b\x32@.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec\x12\x13\n\x0bsafe_search\x18\x14 \x01(\x08\x12S\n\x0buser_labels\x18\x16 \x03(\x0b\x32>.google.cloud.discoveryengine.v1.SearchRequest.UserLabelsEntry\x12\x63\n\x17search_as_you_type_spec\x18\x1f \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec\x12<\n\x07session\x18) \x01(\tB+\xfa\x41(\n&discoveryengine.googleapis.com/Session\x12P\n\x0csession_spec\x18* \x01(\x0b\x32:.google.cloud.discoveryengine.v1.SearchRequest.SessionSpec\x1a,\n\nImageQuery\x12\x15\n\x0bimage_bytes\x18\x01 \x01(\tH\x00\x42\x07\n\x05image\x1aU\n\rDataStoreSpec\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x1a\xfc\x02\n\tFacetSpec\x12Y\n\tfacet_key\x18\x01 \x01(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKeyB\x03\xe0\x41\x02\x12\r\n\x05limit\x18\x02 \x01(\x05\x12\x1c\n\x14\x65xcluded_filter_keys\x18\x03 \x03(\t\x12\x1f\n\x17\x65nable_dynamic_position\x18\x04 \x01(\x08\x1a\xc5\x01\n\x08\x46\x61\x63\x65tKey\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\tintervals\x18\x02 \x03(\x0b\x32).google.cloud.discoveryengine.v1.Interval\x12\x19\n\x11restricted_values\x18\x03 \x03(\t\x12\x10\n\x08prefixes\x18\x04 \x03(\t\x12\x10\n\x08\x63ontains\x18\x05 \x03(\t\x12\x18\n\x10\x63\x61se_insensitive\x18\x06 \x01(\x08\x12\x10\n\x08order_by\x18\x07 \x01(\t\x1a\xaf\x01\n\tBoostSpec\x12j\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32K.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec\x1a\x36\n\x12\x43onditionBoostSpec\x12\x11\n\tcondition\x18\x01 \x01(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\x1a\xd4\x01\n\x12QueryExpansionSpec\x12^\n\tcondition\x18\x01 \x01(\x0e\x32K.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition\x12\x1e\n\x16pin_unexpanded_results\x18\x02 \x01(\x08\">\n\tCondition\x12\x19\n\x15\x43ONDITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x1a\xa9\x01\n\x13SpellCorrectionSpec\x12U\n\x04mode\x18\x01 \x01(\x0e\x32G.google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSUGGESTION_ONLY\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x1a\xd4\x0b\n\x11\x43ontentSearchSpec\x12\x62\n\x0csnippet_spec\x18\x01 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SnippetSpec\x12\x62\n\x0csummary_spec\x18\x02 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec\x12w\n\x17\x65xtractive_content_spec\x18\x03 \x01(\x0b\x32V.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ExtractiveContentSpec\x12m\n\x12search_result_mode\x18\x04 \x01(\x0e\x32Q.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode\x12^\n\nchunk_spec\x18\x05 \x01(\x0b\x32J.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec\x1a`\n\x0bSnippetSpec\x12\x1d\n\x11max_snippet_count\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x1a\n\x0ereference_only\x18\x02 \x01(\x08\x42\x02\x18\x01\x12\x16\n\x0ereturn_snippet\x18\x03 \x01(\x08\x1a\xee\x03\n\x0bSummarySpec\x12\x1c\n\x14summary_result_count\x18\x01 \x01(\x05\x12\x19\n\x11include_citations\x18\x02 \x01(\x08\x12 \n\x18ignore_adversarial_query\x18\x03 \x01(\x08\x12(\n ignore_non_summary_seeking_query\x18\x04 \x01(\x08\x12w\n\x11model_prompt_spec\x18\x05 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec.ModelPromptSpec\x12\x15\n\rlanguage_code\x18\x06 \x01(\t\x12j\n\nmodel_spec\x18\x07 \x01(\x0b\x32V.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec\x12\x1b\n\x13use_semantic_chunks\x18\x08 \x01(\x08\x1a#\n\x0fModelPromptSpec\x12\x10\n\x08preamble\x18\x01 \x01(\t\x1a\x1c\n\tModelSpec\x12\x0f\n\x07version\x18\x01 \x01(\t\x1a\xc5\x01\n\x15\x45xtractiveContentSpec\x12#\n\x1bmax_extractive_answer_count\x18\x01 \x01(\x05\x12$\n\x1cmax_extractive_segment_count\x18\x02 \x01(\x05\x12\'\n\x1freturn_extractive_segment_score\x18\x03 \x01(\x08\x12\x1d\n\x15num_previous_segments\x18\x04 \x01(\x05\x12\x19\n\x11num_next_segments\x18\x05 \x01(\x05\x1a\x41\n\tChunkSpec\x12\x1b\n\x13num_previous_chunks\x18\x01 \x01(\x05\x12\x17\n\x0fnum_next_chunks\x18\x02 \x01(\x05\"Q\n\x10SearchResultMode\x12\"\n\x1eSEARCH_RESULT_MODE_UNSPECIFIED\x10\x00\x12\r\n\tDOCUMENTS\x10\x01\x12\n\n\x06\x43HUNKS\x10\x02\x1a\xb9\x01\n\x13SearchAsYouTypeSpec\x12_\n\tcondition\x18\x01 \x01(\x0e\x32L.google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec.Condition\"A\n\tCondition\x12\x19\n\x15\x43ONDITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x1aq\n\x0bSessionSpec\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12,\n\x1fsearch_result_persistence_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\"\n _search_result_persistence_count\x1a\x45\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb6\x13\n\x0eSearchResponse\x12M\n\x07results\x18\x01 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchResponse.SearchResult\x12\x45\n\x06\x66\x61\x63\x65ts\x18\x02 \x03(\x0b\x32\x35.google.cloud.discoveryengine.v1.SearchResponse.Facet\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x12\x19\n\x11\x61ttribution_token\x18\x04 \x01(\t\x12\x14\n\x0credirect_uri\x18\x0c \x01(\t\x12\x17\n\x0fnext_page_token\x18\x05 \x01(\t\x12\x17\n\x0f\x63orrected_query\x18\x07 \x01(\t\x12H\n\x07summary\x18\t \x01(\x0b\x32\x37.google.cloud.discoveryengine.v1.SearchResponse.Summary\x12`\n\x14query_expansion_info\x18\x0e \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo\x12Q\n\x0csession_info\x18\x13 \x01(\x0b\x32;.google.cloud.discoveryengine.v1.SearchResponse.SessionInfo\x1a\x8e\x01\n\x0cSearchResult\x12\n\n\x02id\x18\x01 \x01(\t\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.Document\x12\x35\n\x05\x63hunk\x18\x12 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.Chunk\x1a\xf9\x01\n\x05\x46\x61\x63\x65t\x12\x0b\n\x03key\x18\x01 \x01(\t\x12P\n\x06values\x18\x02 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.SearchResponse.Facet.FacetValue\x12\x15\n\rdynamic_facet\x18\x03 \x01(\x08\x1az\n\nFacetValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x12=\n\x08interval\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.IntervalH\x00\x12\r\n\x05\x63ount\x18\x03 \x01(\x03\x42\r\n\x0b\x66\x61\x63\x65t_value\x1a\x90\x0b\n\x07Summary\x12\x14\n\x0csummary_text\x18\x01 \x01(\t\x12m\n\x17summary_skipped_reasons\x18\x02 \x03(\x0e\x32L.google.cloud.discoveryengine.v1.SearchResponse.Summary.SummarySkippedReason\x12\x63\n\x11safety_attributes\x18\x03 \x01(\x0b\x32H.google.cloud.discoveryengine.v1.SearchResponse.Summary.SafetyAttributes\x12j\n\x15summary_with_metadata\x18\x04 \x01(\x0b\x32K.google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata\x1a\x36\n\x10SafetyAttributes\x12\x12\n\ncategories\x18\x01 \x03(\t\x12\x0e\n\x06scores\x18\x02 \x03(\x02\x1ag\n\x10\x43itationMetadata\x12S\n\tcitations\x18\x01 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation\x1a\x8b\x01\n\x08\x43itation\x12\x13\n\x0bstart_index\x18\x01 \x01(\x03\x12\x11\n\tend_index\x18\x02 \x01(\x03\x12W\n\x07sources\x18\x03 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource\x1a)\n\x0e\x43itationSource\x12\x17\n\x0freference_index\x18\x04 \x01(\x03\x1a\x8c\x02\n\tReference\x12\r\n\x05title\x18\x01 \x01(\t\x12\x41\n\x08\x64ocument\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x66\n\x0e\x63hunk_contents\x18\x04 \x03(\x0b\x32N.google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent\x1a\x38\n\x0c\x43hunkContent\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x17\n\x0fpage_identifier\x18\x02 \x01(\t\x1a\xe2\x01\n\x13SummaryWithMetadata\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x63\n\x11\x63itation_metadata\x18\x02 \x01(\x0b\x32H.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationMetadata\x12U\n\nreferences\x18\x03 \x03(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference\"\xe0\x01\n\x14SummarySkippedReason\x12&\n\"SUMMARY_SKIPPED_REASON_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41\x44VERSARIAL_QUERY_IGNORED\x10\x01\x12%\n!NON_SUMMARY_SEEKING_QUERY_IGNORED\x10\x02\x12\x1f\n\x1bOUT_OF_DOMAIN_QUERY_IGNORED\x10\x03\x12\x1e\n\x1aPOTENTIAL_POLICY_VIOLATION\x10\x04\x12\x19\n\x15LLM_ADDON_NOT_ENABLED\x10\x05\x1aI\n\x12QueryExpansionInfo\x12\x16\n\x0e\x65xpanded_query\x18\x01 \x01(\x08\x12\x1b\n\x13pinned_result_count\x18\x02 \x01(\x03\x1a-\n\x0bSessionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08query_id\x18\x02 \x01(\t2\xf5\x03\n\rSearchService\x12\x8f\x03\n\x06Search\x12..google.cloud.discoveryengine.v1.SearchRequest\x1a/.google.cloud.discoveryengine.v1.SearchResponse\"\xa3\x02\x82\xd3\xe4\x93\x02\x9c\x02\"P/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search:\x01*Zc\"^/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search:\x01*Z`\"[/v1/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x02\n#com.google.cloud.discoveryengine.v1B\x12SearchServiceProtoP\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 = "\n4google/cloud/discoveryengine/v1/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+google/cloud/discoveryengine/v1/chunk.proto\x1a,google/cloud/discoveryengine/v1/common.proto\x1a.google/cloud/discoveryengine/v1/document.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xdf)\n\rSearchRequest\x12L\n\x0eserving_config\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,discoveryengine.googleapis.com/ServingConfig\x12:\n\x06\x62ranch\x18\x02 \x01(\tB*\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\r\n\x05query\x18\x03 \x01(\t\x12N\n\x0bimage_query\x18\x13 \x01(\x0b\x32\x39.google.cloud.discoveryengine.v1.SearchRequest.ImageQuery\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x0e\n\x06offset\x18\x06 \x01(\x05\x12\x19\n\x11one_box_page_size\x18/ \x01(\x05\x12V\n\x10\x64\x61ta_store_specs\x18 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchRequest.DataStoreSpec\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x18\n\x10\x63\x61nonical_filter\x18\x1d \x01(\t\x12\x10\n\x08order_by\x18\x08 \x01(\t\x12<\n\tuser_info\x18\x15 \x01(\x0b\x32).google.cloud.discoveryengine.v1.UserInfo\x12\x15\n\rlanguage_code\x18# \x01(\t\x12M\n\x0b\x66\x61\x63\x65t_specs\x18\t \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.SearchRequest.FacetSpec\x12L\n\nboost_spec\x18\n \x01(\x0b\x32\x38.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec\x12J\n\x06params\x18\x0b \x03(\x0b\x32:.google.cloud.discoveryengine.v1.SearchRequest.ParamsEntry\x12_\n\x14query_expansion_spec\x18\r \x01(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec\x12\x61\n\x15spell_correction_spec\x18\x0e \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec\x12\x16\n\x0euser_pseudo_id\x18\x0f \x01(\t\x12]\n\x13\x63ontent_search_spec\x18\x18 \x01(\x0b\x32@.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec\x12\x13\n\x0bsafe_search\x18\x14 \x01(\x08\x12S\n\x0buser_labels\x18\x16 \x03(\x0b\x32>.google.cloud.discoveryengine.v1.SearchRequest.UserLabelsEntry\x12\x63\n\x17search_as_you_type_spec\x18\x1f \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec\x12<\n\x07session\x18) \x01(\tB+\xfa\x41(\n&discoveryengine.googleapis.com/Session\x12P\n\x0csession_spec\x18* \x01(\x0b\x32:.google.cloud.discoveryengine.v1.SearchRequest.SessionSpec\x1a,\n\nImageQuery\x12\x15\n\x0bimage_bytes\x18\x01 \x01(\tH\x00\x42\x07\n\x05image\x1aj\n\rDataStoreSpec\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\xfc\x02\n\tFacetSpec\x12Y\n\tfacet_key\x18\x01 \x01(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKeyB\x03\xe0\x41\x02\x12\r\n\x05limit\x18\x02 \x01(\x05\x12\x1c\n\x14\x65xcluded_filter_keys\x18\x03 \x03(\t\x12\x1f\n\x17\x65nable_dynamic_position\x18\x04 \x01(\x08\x1a\xc5\x01\n\x08\x46\x61\x63\x65tKey\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\tintervals\x18\x02 \x03(\x0b\x32).google.cloud.discoveryengine.v1.Interval\x12\x19\n\x11restricted_values\x18\x03 \x03(\t\x12\x10\n\x08prefixes\x18\x04 \x03(\t\x12\x10\n\x08\x63ontains\x18\x05 \x03(\t\x12\x18\n\x10\x63\x61se_insensitive\x18\x06 \x01(\x08\x12\x10\n\x08order_by\x18\x07 \x01(\t\x1a\xbc\x07\n\tBoostSpec\x12j\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32K.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec\x1a\xc2\x06\n\x12\x43onditionBoostSpec\x12\x11\n\tcondition\x18\x01 \x01(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\x12x\n\x12\x62oost_control_spec\x18\x03 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec\x1a\x8f\x05\n\x10\x42oostControlSpec\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x82\x01\n\x0e\x61ttribute_type\x18\x02 \x01(\x0e\x32j.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType\x12\x8a\x01\n\x12interpolation_type\x18\x03 \x01(\x0e\x32n.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType\x12\x81\x01\n\x0e\x63ontrol_points\x18\x04 \x03(\x0b\x32i.google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint\x1a=\n\x0c\x43ontrolPoint\x12\x17\n\x0f\x61ttribute_value\x18\x01 \x01(\t\x12\x14\n\x0c\x62oost_amount\x18\x02 \x01(\x02\"M\n\rAttributeType\x12\x1e\n\x1a\x41TTRIBUTE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tNUMERICAL\x10\x01\x12\r\n\tFRESHNESS\x10\x02\"C\n\x11InterpolationType\x12\"\n\x1eINTERPOLATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06LINEAR\x10\x01\x1a\xd4\x01\n\x12QueryExpansionSpec\x12^\n\tcondition\x18\x01 \x01(\x0e\x32K.google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition\x12\x1e\n\x16pin_unexpanded_results\x18\x02 \x01(\x08\">\n\tCondition\x12\x19\n\x15\x43ONDITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x1a\xa9\x01\n\x13SpellCorrectionSpec\x12U\n\x04mode\x18\x01 \x01(\x0e\x32G.google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec.Mode\";\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSUGGESTION_ONLY\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x1a\xa2\x0c\n\x11\x43ontentSearchSpec\x12\x62\n\x0csnippet_spec\x18\x01 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SnippetSpec\x12\x62\n\x0csummary_spec\x18\x02 \x01(\x0b\x32L.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec\x12w\n\x17\x65xtractive_content_spec\x18\x03 \x01(\x0b\x32V.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ExtractiveContentSpec\x12m\n\x12search_result_mode\x18\x04 \x01(\x0e\x32Q.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode\x12^\n\nchunk_spec\x18\x05 \x01(\x0b\x32J.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.ChunkSpec\x1a`\n\x0bSnippetSpec\x12\x1d\n\x11max_snippet_count\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x1a\n\x0ereference_only\x18\x02 \x01(\x08\x42\x02\x18\x01\x12\x16\n\x0ereturn_snippet\x18\x03 \x01(\x08\x1a\xbc\x04\n\x0bSummarySpec\x12\x1c\n\x14summary_result_count\x18\x01 \x01(\x05\x12\x19\n\x11include_citations\x18\x02 \x01(\x08\x12 \n\x18ignore_adversarial_query\x18\x03 \x01(\x08\x12(\n ignore_non_summary_seeking_query\x18\x04 \x01(\x08\x12#\n\x1bignore_low_relevant_content\x18\t \x01(\x08\x12\'\n\x1aignore_jail_breaking_query\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12w\n\x11model_prompt_spec\x18\x05 \x01(\x0b\x32\\.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec.ModelPromptSpec\x12\x15\n\rlanguage_code\x18\x06 \x01(\t\x12j\n\nmodel_spec\x18\x07 \x01(\x0b\x32V.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec\x12\x1b\n\x13use_semantic_chunks\x18\x08 \x01(\x08\x1a#\n\x0fModelPromptSpec\x12\x10\n\x08preamble\x18\x01 \x01(\t\x1a\x1c\n\tModelSpec\x12\x0f\n\x07version\x18\x01 \x01(\t\x1a\xc5\x01\n\x15\x45xtractiveContentSpec\x12#\n\x1bmax_extractive_answer_count\x18\x01 \x01(\x05\x12$\n\x1cmax_extractive_segment_count\x18\x02 \x01(\x05\x12\'\n\x1freturn_extractive_segment_score\x18\x03 \x01(\x08\x12\x1d\n\x15num_previous_segments\x18\x04 \x01(\x05\x12\x19\n\x11num_next_segments\x18\x05 \x01(\x05\x1a\x41\n\tChunkSpec\x12\x1b\n\x13num_previous_chunks\x18\x01 \x01(\x05\x12\x17\n\x0fnum_next_chunks\x18\x02 \x01(\x05\"Q\n\x10SearchResultMode\x12\"\n\x1eSEARCH_RESULT_MODE_UNSPECIFIED\x10\x00\x12\r\n\tDOCUMENTS\x10\x01\x12\n\n\x06\x43HUNKS\x10\x02\x1a\xb9\x01\n\x13SearchAsYouTypeSpec\x12_\n\tcondition\x18\x01 \x01(\x0e\x32L.google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec.Condition\"A\n\tCondition\x12\x19\n\x15\x43ONDITION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x1aq\n\x0bSessionSpec\x12\x10\n\x08query_id\x18\x01 \x01(\t\x12,\n\x1fsearch_result_persistence_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\"\n _search_result_persistence_count\x1a\x45\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb9\x14\n\x0eSearchResponse\x12M\n\x07results\x18\x01 \x03(\x0b\x32<.google.cloud.discoveryengine.v1.SearchResponse.SearchResult\x12\x45\n\x06\x66\x61\x63\x65ts\x18\x02 \x03(\x0b\x32\x35.google.cloud.discoveryengine.v1.SearchResponse.Facet\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x12\x19\n\x11\x61ttribution_token\x18\x04 \x01(\t\x12\x14\n\x0credirect_uri\x18\x0c \x01(\t\x12\x17\n\x0fnext_page_token\x18\x05 \x01(\t\x12\x17\n\x0f\x63orrected_query\x18\x07 \x01(\t\x12H\n\x07summary\x18\t \x01(\x0b\x32\x37.google.cloud.discoveryengine.v1.SearchResponse.Summary\x12`\n\x14query_expansion_info\x18\x0e \x01(\x0b\x32\x42.google.cloud.discoveryengine.v1.SearchResponse.QueryExpansionInfo\x12Q\n\x0csession_info\x18\x13 \x01(\x0b\x32;.google.cloud.discoveryengine.v1.SearchResponse.SessionInfo\x1a\x8e\x01\n\x0cSearchResult\x12\n\n\x02id\x18\x01 \x01(\t\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.Document\x12\x35\n\x05\x63hunk\x18\x12 \x01(\x0b\x32&.google.cloud.discoveryengine.v1.Chunk\x1a\xf9\x01\n\x05\x46\x61\x63\x65t\x12\x0b\n\x03key\x18\x01 \x01(\t\x12P\n\x06values\x18\x02 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.SearchResponse.Facet.FacetValue\x12\x15\n\rdynamic_facet\x18\x03 \x01(\x08\x1az\n\nFacetValue\x12\x0f\n\x05value\x18\x01 \x01(\tH\x00\x12=\n\x08interval\x18\x02 \x01(\x0b\x32).google.cloud.discoveryengine.v1.IntervalH\x00\x12\r\n\x05\x63ount\x18\x03 \x01(\x03\x42\r\n\x0b\x66\x61\x63\x65t_value\x1a\x93\x0c\n\x07Summary\x12\x14\n\x0csummary_text\x18\x01 \x01(\t\x12m\n\x17summary_skipped_reasons\x18\x02 \x03(\x0e\x32L.google.cloud.discoveryengine.v1.SearchResponse.Summary.SummarySkippedReason\x12\x63\n\x11safety_attributes\x18\x03 \x01(\x0b\x32H.google.cloud.discoveryengine.v1.SearchResponse.Summary.SafetyAttributes\x12j\n\x15summary_with_metadata\x18\x04 \x01(\x0b\x32K.google.cloud.discoveryengine.v1.SearchResponse.Summary.SummaryWithMetadata\x1a\x36\n\x10SafetyAttributes\x12\x12\n\ncategories\x18\x01 \x03(\t\x12\x0e\n\x06scores\x18\x02 \x03(\x02\x1ag\n\x10\x43itationMetadata\x12S\n\tcitations\x18\x01 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation\x1a\x8b\x01\n\x08\x43itation\x12\x13\n\x0bstart_index\x18\x01 \x01(\x03\x12\x11\n\tend_index\x18\x02 \x01(\x03\x12W\n\x07sources\x18\x03 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource\x1a)\n\x0e\x43itationSource\x12\x17\n\x0freference_index\x18\x04 \x01(\x03\x1a\x8c\x02\n\tReference\x12\r\n\x05title\x18\x01 \x01(\t\x12\x41\n\x08\x64ocument\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x66\n\x0e\x63hunk_contents\x18\x04 \x03(\x0b\x32N.google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference.ChunkContent\x1a\x38\n\x0c\x43hunkContent\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x17\n\x0fpage_identifier\x18\x02 \x01(\t\x1a\xe2\x01\n\x13SummaryWithMetadata\x12\x0f\n\x07summary\x18\x01 \x01(\t\x12\x63\n\x11\x63itation_metadata\x18\x02 \x01(\x0b\x32H.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationMetadata\x12U\n\nreferences\x18\x03 \x03(\x0b\x32\x41.google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference\"\xe3\x02\n\x14SummarySkippedReason\x12&\n\"SUMMARY_SKIPPED_REASON_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41\x44VERSARIAL_QUERY_IGNORED\x10\x01\x12%\n!NON_SUMMARY_SEEKING_QUERY_IGNORED\x10\x02\x12\x1f\n\x1bOUT_OF_DOMAIN_QUERY_IGNORED\x10\x03\x12\x1e\n\x1aPOTENTIAL_POLICY_VIOLATION\x10\x04\x12\x19\n\x15LLM_ADDON_NOT_ENABLED\x10\x05\x12\x17\n\x13NO_RELEVANT_CONTENT\x10\x06\x12\x1f\n\x1bJAIL_BREAKING_QUERY_IGNORED\x10\x07\x12\x1d\n\x19\x43USTOMER_POLICY_VIOLATION\x10\x08\x12(\n$NON_SUMMARY_SEEKING_QUERY_IGNORED_V2\x10\t\x1aI\n\x12QueryExpansionInfo\x12\x16\n\x0e\x65xpanded_query\x18\x01 \x01(\x08\x12\x1b\n\x13pinned_result_count\x18\x02 \x01(\x03\x1a-\n\x0bSessionInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08query_id\x18\x02 \x01(\t2\xf5\x03\n\rSearchService\x12\x8f\x03\n\x06Search\x12..google.cloud.discoveryengine.v1.SearchRequest\x1a/.google.cloud.discoveryengine.v1.SearchResponse\"\xa3\x02\x82\xd3\xe4\x93\x02\x9c\x02\"P/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search:\x01*Zc\"^/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search:\x01*Z`\"[/v1/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search:\x01*\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x02\n#com.google.cloud.discoveryengine.v1B\x12SearchServiceProtoP\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
 
@@ -55,6 +55,10 @@ module Google
55
55
  SearchRequest::FacetSpec::FacetKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.FacetSpec.FacetKey").msgclass
56
56
  SearchRequest::BoostSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec").msgclass
57
57
  SearchRequest::BoostSpec::ConditionBoostSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec").msgclass
58
+ SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec").msgclass
59
+ SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint").msgclass
60
+ SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::AttributeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType").enummodule
61
+ SearchRequest::BoostSpec::ConditionBoostSpec::BoostControlSpec::InterpolationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType").enummodule
58
62
  SearchRequest::QueryExpansionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec").msgclass
59
63
  SearchRequest::QueryExpansionSpec::Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition").enummodule
60
64
  SearchRequest::SpellCorrectionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec").msgclass
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/discoveryengine/v1/search_tuning_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/custom_tuning_model_pb'
12
+ require 'google/cloud/discoveryengine/v1/import_config_pb'
13
+ require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+ require 'google/rpc/status_pb'
16
+
17
+
18
+ descriptor_data = "\n;google/cloud/discoveryengine/v1/search_tuning_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\x39google/cloud/discoveryengine/v1/custom_tuning_model.proto\x1a\x33google/cloud/discoveryengine/v1/import_config.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"_\n\x17ListCustomModelsRequest\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\"^\n\x18ListCustomModelsResponse\x12\x42\n\x06models\x18\x01 \x03(\x0b\x32\x32.google.cloud.discoveryengine.v1.CustomTuningModel\"\xc2\x03\n\x17TrainCustomModelRequest\x12g\n\x12gcs_training_input\x18\x02 \x01(\x0b\x32I.google.cloud.discoveryengine.v1.TrainCustomModelRequest.GcsTrainingInputH\x00\x12\x44\n\ndata_store\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x12\n\nmodel_type\x18\x03 \x01(\t\x12H\n\x0c\x65rror_config\x18\x04 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12\x10\n\x08model_id\x18\x05 \x01(\t\x1av\n\x10GcsTrainingInput\x12\x18\n\x10\x63orpus_data_path\x18\x01 \x01(\t\x12\x17\n\x0fquery_data_path\x18\x02 \x01(\t\x12\x17\n\x0ftrain_data_path\x18\x03 \x01(\t\x12\x16\n\x0etest_data_path\x18\x04 \x01(\tB\x10\n\x0etraining_input\"\xc2\x02\n\x18TrainCustomModelResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12H\n\x0c\x65rror_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.discoveryengine.v1.ImportErrorConfig\x12\x14\n\x0cmodel_status\x18\x03 \x01(\t\x12W\n\x07metrics\x18\x04 \x03(\x0b\x32\x46.google.cloud.discoveryengine.v1.TrainCustomModelResponse.MetricsEntry\x12\x12\n\nmodel_name\x18\x05 \x01(\t\x1a.\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"|\n\x18TrainCustomModelMetadata\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\x92\x05\n\x13SearchTuningService\x12\xc3\x02\n\x10TrainCustomModel\x12\x38.google.cloud.discoveryengine.v1.TrainCustomModelRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41t\n8google.cloud.discoveryengine.v1.TrainCustomModelResponse\x12\x38google.cloud.discoveryengine.v1.TrainCustomModelMetadata\x82\xd3\xe4\x93\x02X\"S/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:trainCustomModel:\x01*\x12\xe0\x01\n\x10ListCustomModels\x12\x38.google.cloud.discoveryengine.v1.ListCustomModelsRequest\x1a\x39.google.cloud.discoveryengine.v1.ListCustomModelsResponse\"W\x82\xd3\xe4\x93\x02Q\x12O/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}/customModels\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8b\x02\n#com.google.cloud.discoveryengine.v1B\x18SearchTuningServiceProtoP\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.CustomTuningModel", "google/cloud/discoveryengine/v1/custom_tuning_model.proto"],
34
+ ["google.cloud.discoveryengine.v1.ImportErrorConfig", "google/cloud/discoveryengine/v1/import_config.proto"],
35
+ ["google.rpc.Status", "google/rpc/status.proto"],
36
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
37
+ ]
38
+ imports.each do |type_name, expected_filename|
39
+ import_file = pool.lookup(type_name).file_descriptor
40
+ if import_file.name != expected_filename
41
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
+ end
43
+ end
44
+ warn "Each proto file must use a consistent fully-qualified name."
45
+ warn "This will become an error in the next major version."
46
+ end
47
+
48
+ module Google
49
+ module Cloud
50
+ module DiscoveryEngine
51
+ module V1
52
+ ListCustomModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListCustomModelsRequest").msgclass
53
+ ListCustomModelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListCustomModelsResponse").msgclass
54
+ TrainCustomModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.TrainCustomModelRequest").msgclass
55
+ TrainCustomModelRequest::GcsTrainingInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.TrainCustomModelRequest.GcsTrainingInput").msgclass
56
+ TrainCustomModelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.TrainCustomModelResponse").msgclass
57
+ TrainCustomModelMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.TrainCustomModelMetadata").msgclass
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,47 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/discoveryengine/v1/search_tuning_service.proto for package 'Google.Cloud.DiscoveryEngine.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 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/search_tuning_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module DiscoveryEngine
25
+ module V1
26
+ module SearchTuningService
27
+ # Service for search tuning.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.discoveryengine.v1.SearchTuningService'
35
+
36
+ # Trains a custom model.
37
+ rpc :TrainCustomModel, ::Google::Cloud::DiscoveryEngine::V1::TrainCustomModelRequest, ::Google::Longrunning::Operation
38
+ # Gets a list of all the custom models.
39
+ rpc :ListCustomModels, ::Google::Cloud::DiscoveryEngine::V1::ListCustomModelsRequest, ::Google::Cloud::DiscoveryEngine::V1::ListCustomModelsResponse
40
+ end
41
+
42
+ Stub = Service.rpc_stub_class
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
14
14
  require 'google/protobuf/timestamp_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n@google/cloud/discoveryengine/v1/site_search_engine_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\x38google/cloud/discoveryengine/v1/site_search_engine.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"c\n\x1aGetSiteSearchEngineRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\xa9\x01\n\x17\x43reateTargetSiteRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x45\n\x0btarget_site\x18\x02 \x01(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSiteB\x03\xe0\x41\x02\"|\n\x18\x43reateTargetSiteMetadata\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\"\xb9\x01\n\x1d\x42\x61tchCreateTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12O\n\x08requests\x18\x02 \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.CreateTargetSiteRequestB\x03\xe0\x41\x02\"W\n\x14GetTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"`\n\x17UpdateTargetSiteRequest\x12\x45\n\x0btarget_site\x18\x01 \x01(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSiteB\x03\xe0\x41\x02\"|\n\x18UpdateTargetSiteMetadata\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\"Z\n\x17\x44\x65leteTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"|\n\x18\x44\x65leteTargetSiteMetadata\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\"\x88\x01\n\x16ListTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x89\x01\n\x17ListTargetSitesResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\x81\x01\n\x1d\x42\x61tchCreateTargetSiteMetadata\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\"c\n\x1e\x42\x61tchCreateTargetSitesResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\"v\n\x1f\x45nableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\"\n EnableAdvancedSiteSearchResponse\"\x84\x01\n EnableAdvancedSiteSearchMetadata\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\"w\n DisableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"#\n!DisableAdvancedSiteSearchResponse\"\x85\x01\n!DisableAdvancedSiteSearchMetadata\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\"|\n\x12RecrawlUrisRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\x04uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xe8\x03\n\x13RecrawlUrisResponse\x12Y\n\x0f\x66\x61ilure_samples\x18\x01 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo\x12\x13\n\x0b\x66\x61iled_uris\x18\x02 \x03(\t\x1a\xe0\x02\n\x0b\x46\x61ilureInfo\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12g\n\x0f\x66\x61ilure_reasons\x18\x02 \x03(\x0b\x32N.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason\x1a\xda\x01\n\rFailureReason\x12n\n\x0b\x63orpus_type\x18\x01 \x01(\x0e\x32Y.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType\x12\x15\n\rerror_message\x18\x02 \x01(\t\"B\n\nCorpusType\x12\x1b\n\x17\x43ORPUS_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45SKTOP\x10\x01\x12\n\n\x06MOBILE\x10\x02\"\xf3\x01\n\x13RecrawlUrisMetadata\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\x12\x14\n\x0cinvalid_uris\x18\x03 \x03(\t\x12\x18\n\x10valid_uris_count\x18\x04 \x01(\x05\x12\x15\n\rsuccess_count\x18\x05 \x01(\x05\x12\x15\n\rpending_count\x18\x06 \x01(\x05\x12\x1c\n\x14quota_exceeded_count\x18\x07 \x01(\x05\"h\n\x1d\x42\x61tchVerifyTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\" \n\x1e\x42\x61tchVerifyTargetSitesResponse\"\x82\x01\n\x1e\x42\x61tchVerifyTargetSitesMetadata\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\"\xa2\x01\n$FetchDomainVerificationStatusRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n%FetchDomainVerificationStatusResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\xb5&\n\x17SiteSearchEngineService\x12\xa8\x02\n\x13GetSiteSearchEngine\x12;.google.cloud.discoveryengine.v1.GetSiteSearchEngineRequest\x1a\x31.google.cloud.discoveryengine.v1.SiteSearchEngine\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01\x12?/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}ZO\x12M/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}\x12\xbb\x03\n\x10\x43reateTargetSite\x12\x38.google.cloud.discoveryengine.v1.CreateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x02\xca\x41\x66\n*google.cloud.discoveryengine.v1.TargetSite\x12\x38google.cloud.discoveryengine.v1.CreateTargetSiteMetadata\xda\x41\x12parent,target_site\x82\xd3\xe4\x93\x02\xc8\x01\"M/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_siteZj\"[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_site\x12\xcf\x03\n\x16\x42\x61tchCreateTargetSites\x12>.google.cloud.discoveryengine.v1.BatchCreateTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x02\xca\x41\x7f\n>google.cloud.discoveryengine.v1.BatchCreateTargetSitesResponse\x12=google.cloud.discoveryengine.v1.BatchCreateTargetSiteMetadata\x82\xd3\xe4\x93\x02\xcc\x01\"Y/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*Zl\"g/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*\x12\xb2\x02\n\rGetTargetSite\x12\x35.google.cloud.discoveryengine.v1.GetTargetSiteRequest\x1a+.google.cloud.discoveryengine.v1.TargetSite\"\xbc\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xae\x01\x12M/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Z]\x12[/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xcc\x03\n\x10UpdateTargetSite\x12\x38.google.cloud.discoveryengine.v1.UpdateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xde\x02\xca\x41\x66\n*google.cloud.discoveryengine.v1.TargetSite\x12\x38google.cloud.discoveryengine.v1.UpdateTargetSiteMetadata\xda\x41\x0btarget_site\x82\xd3\xe4\x93\x02\xe0\x01\x32Y/v1/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_siteZv2g/v1/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_site\x12\xfe\x02\n\x10\x44\x65leteTargetSite\x12\x38.google.cloud.discoveryengine.v1.DeleteTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\x90\x02\xca\x41Q\n\x15google.protobuf.Empty\x12\x38google.cloud.discoveryengine.v1.DeleteTargetSiteMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xae\x01*M/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Z]*[/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xc5\x02\n\x0fListTargetSites\x12\x37.google.cloud.discoveryengine.v1.ListTargetSitesRequest\x1a\x38.google.cloud.discoveryengine.v1.ListTargetSitesResponse\"\xbe\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xae\x01\x12M/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSitesZ]\x12[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites\x12\xf3\x03\n\x18\x45nableAdvancedSiteSearch\x12@.google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x02\xca\x41\x84\x01\n@google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchResponse\x12@google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xe6\x01\"f/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*Zy\"t/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*\x12\xf9\x03\n\x19\x44isableAdvancedSiteSearch\x12\x41.google.cloud.discoveryengine.v1.DisableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\xf9\x02\xca\x41\x86\x01\nAgoogle.cloud.discoveryengine.v1.DisableAdvancedSiteSearchResponse\x12\x41google.cloud.discoveryengine.v1.DisableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xe8\x01\"g/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*Zz\"u/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*\x12\xa4\x03\n\x0bRecrawlUris\x12\x33.google.cloud.discoveryengine.v1.RecrawlUrisRequest\x1a\x1d.google.longrunning.Operation\"\xc0\x02\xca\x41j\n3google.cloud.discoveryengine.v1.RecrawlUrisResponse\x12\x33google.cloud.discoveryengine.v1.RecrawlUrisMetadata\x82\xd3\xe4\x93\x02\xcc\x01\"Y/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*Zl\"g/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*\x12\xef\x02\n\x16\x42\x61tchVerifyTargetSites\x12>.google.cloud.discoveryengine.v1.BatchVerifyTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41\x80\x01\n>google.cloud.discoveryengine.v1.BatchVerifyTargetSitesResponse\x12>google.cloud.discoveryengine.v1.BatchVerifyTargetSitesMetadata\x82\xd3\xe4\x93\x02k\"f/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites:\x01*\x12\xb2\x02\n\x1d\x46\x65tchDomainVerificationStatus\x12\x45.google.cloud.discoveryengine.v1.FetchDomainVerificationStatusRequest\x1a\x46.google.cloud.discoveryengine.v1.FetchDomainVerificationStatusResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n#com.google.cloud.discoveryengine.v1B\x1cSiteSearchEngineServiceProtoP\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 = "\n@google/cloud/discoveryengine/v1/site_search_engine_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\x38google/cloud/discoveryengine/v1/site_search_engine.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"c\n\x1aGetSiteSearchEngineRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\xa9\x01\n\x17\x43reateTargetSiteRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x45\n\x0btarget_site\x18\x02 \x01(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSiteB\x03\xe0\x41\x02\"|\n\x18\x43reateTargetSiteMetadata\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\"\xb9\x01\n\x1d\x42\x61tchCreateTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12O\n\x08requests\x18\x02 \x03(\x0b\x32\x38.google.cloud.discoveryengine.v1.CreateTargetSiteRequestB\x03\xe0\x41\x02\"W\n\x14GetTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"`\n\x17UpdateTargetSiteRequest\x12\x45\n\x0btarget_site\x18\x01 \x01(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSiteB\x03\xe0\x41\x02\"|\n\x18UpdateTargetSiteMetadata\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\"Z\n\x17\x44\x65leteTargetSiteRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/TargetSite\"|\n\x18\x44\x65leteTargetSiteMetadata\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\"\x88\x01\n\x16ListTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x89\x01\n\x17ListTargetSitesResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\x81\x01\n\x1d\x42\x61tchCreateTargetSiteMetadata\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\"c\n\x1e\x42\x61tchCreateTargetSitesResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\"v\n\x1f\x45nableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"\"\n EnableAdvancedSiteSearchResponse\"\x84\x01\n EnableAdvancedSiteSearchMetadata\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\"w\n DisableAdvancedSiteSearchRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\"#\n!DisableAdvancedSiteSearchResponse\"\x85\x01\n!DisableAdvancedSiteSearchMetadata\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\"\x9a\x01\n\x12RecrawlUrisRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\x04uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fsite_credential\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xe8\x03\n\x13RecrawlUrisResponse\x12Y\n\x0f\x66\x61ilure_samples\x18\x01 \x03(\x0b\x32@.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo\x12\x13\n\x0b\x66\x61iled_uris\x18\x02 \x03(\t\x1a\xe0\x02\n\x0b\x46\x61ilureInfo\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12g\n\x0f\x66\x61ilure_reasons\x18\x02 \x03(\x0b\x32N.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason\x1a\xda\x01\n\rFailureReason\x12n\n\x0b\x63orpus_type\x18\x01 \x01(\x0e\x32Y.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType\x12\x15\n\rerror_message\x18\x02 \x01(\t\"B\n\nCorpusType\x12\x1b\n\x17\x43ORPUS_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45SKTOP\x10\x01\x12\n\n\x06MOBILE\x10\x02\"\xf3\x01\n\x13RecrawlUrisMetadata\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\x12\x14\n\x0cinvalid_uris\x18\x03 \x03(\t\x12\x18\n\x10valid_uris_count\x18\x04 \x01(\x05\x12\x15\n\rsuccess_count\x18\x05 \x01(\x05\x12\x15\n\rpending_count\x18\x06 \x01(\x05\x12\x1c\n\x14quota_exceeded_count\x18\x07 \x01(\x05\"h\n\x1d\x42\x61tchVerifyTargetSitesRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\" \n\x1e\x42\x61tchVerifyTargetSitesResponse\"\x82\x01\n\x1e\x42\x61tchVerifyTargetSitesMetadata\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\"\xa2\x01\n$FetchDomainVerificationStatusRequest\x12S\n\x12site_search_engine\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/discoveryengine.googleapis.com/SiteSearchEngine\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n%FetchDomainVerificationStatusResponse\x12\x41\n\x0ctarget_sites\x18\x01 \x03(\x0b\x32+.google.cloud.discoveryengine.v1.TargetSite\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x32\xb5&\n\x17SiteSearchEngineService\x12\xa8\x02\n\x13GetSiteSearchEngine\x12;.google.cloud.discoveryengine.v1.GetSiteSearchEngineRequest\x1a\x31.google.cloud.discoveryengine.v1.SiteSearchEngine\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01\x12?/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}ZO\x12M/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}\x12\xbb\x03\n\x10\x43reateTargetSite\x12\x38.google.cloud.discoveryengine.v1.CreateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x02\xca\x41\x66\n*google.cloud.discoveryengine.v1.TargetSite\x12\x38google.cloud.discoveryengine.v1.CreateTargetSiteMetadata\xda\x41\x12parent,target_site\x82\xd3\xe4\x93\x02\xc8\x01\"M/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_siteZj\"[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:\x0btarget_site\x12\xcf\x03\n\x16\x42\x61tchCreateTargetSites\x12>.google.cloud.discoveryengine.v1.BatchCreateTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x02\xca\x41\x7f\n>google.cloud.discoveryengine.v1.BatchCreateTargetSitesResponse\x12=google.cloud.discoveryengine.v1.BatchCreateTargetSiteMetadata\x82\xd3\xe4\x93\x02\xcc\x01\"Y/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*Zl\"g/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate:\x01*\x12\xb2\x02\n\rGetTargetSite\x12\x35.google.cloud.discoveryengine.v1.GetTargetSiteRequest\x1a+.google.cloud.discoveryengine.v1.TargetSite\"\xbc\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xae\x01\x12M/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Z]\x12[/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xcc\x03\n\x10UpdateTargetSite\x12\x38.google.cloud.discoveryengine.v1.UpdateTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\xde\x02\xca\x41\x66\n*google.cloud.discoveryengine.v1.TargetSite\x12\x38google.cloud.discoveryengine.v1.UpdateTargetSiteMetadata\xda\x41\x0btarget_site\x82\xd3\xe4\x93\x02\xe0\x01\x32Y/v1/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_siteZv2g/v1/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}:\x0btarget_site\x12\xfe\x02\n\x10\x44\x65leteTargetSite\x12\x38.google.cloud.discoveryengine.v1.DeleteTargetSiteRequest\x1a\x1d.google.longrunning.Operation\"\x90\x02\xca\x41Q\n\x15google.protobuf.Empty\x12\x38google.cloud.discoveryengine.v1.DeleteTargetSiteMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xae\x01*M/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}Z]*[/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}\x12\xc5\x02\n\x0fListTargetSites\x12\x37.google.cloud.discoveryengine.v1.ListTargetSitesRequest\x1a\x38.google.cloud.discoveryengine.v1.ListTargetSitesResponse\"\xbe\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xae\x01\x12M/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSitesZ]\x12[/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites\x12\xf3\x03\n\x18\x45nableAdvancedSiteSearch\x12@.google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x02\xca\x41\x84\x01\n@google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchResponse\x12@google.cloud.discoveryengine.v1.EnableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xe6\x01\"f/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*Zy\"t/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch:\x01*\x12\xf9\x03\n\x19\x44isableAdvancedSiteSearch\x12\x41.google.cloud.discoveryengine.v1.DisableAdvancedSiteSearchRequest\x1a\x1d.google.longrunning.Operation\"\xf9\x02\xca\x41\x86\x01\nAgoogle.cloud.discoveryengine.v1.DisableAdvancedSiteSearchResponse\x12\x41google.cloud.discoveryengine.v1.DisableAdvancedSiteSearchMetadata\x82\xd3\xe4\x93\x02\xe8\x01\"g/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*Zz\"u/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch:\x01*\x12\xa4\x03\n\x0bRecrawlUris\x12\x33.google.cloud.discoveryengine.v1.RecrawlUrisRequest\x1a\x1d.google.longrunning.Operation\"\xc0\x02\xca\x41j\n3google.cloud.discoveryengine.v1.RecrawlUrisResponse\x12\x33google.cloud.discoveryengine.v1.RecrawlUrisMetadata\x82\xd3\xe4\x93\x02\xcc\x01\"Y/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*Zl\"g/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris:\x01*\x12\xef\x02\n\x16\x42\x61tchVerifyTargetSites\x12>.google.cloud.discoveryengine.v1.BatchVerifyTargetSitesRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41\x80\x01\n>google.cloud.discoveryengine.v1.BatchVerifyTargetSitesResponse\x12>google.cloud.discoveryengine.v1.BatchVerifyTargetSitesMetadata\x82\xd3\xe4\x93\x02k\"f/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites:\x01*\x12\xb2\x02\n\x1d\x46\x65tchDomainVerificationStatus\x12\x45.google.cloud.discoveryengine.v1.FetchDomainVerificationStatusRequest\x1a\x46.google.cloud.discoveryengine.v1.FetchDomainVerificationStatusResponse\"\x81\x01\x82\xd3\xe4\x93\x02{\x12y/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n#com.google.cloud.discoveryengine.v1B\x1cSiteSearchEngineServiceProtoP\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
 
@@ -11,7 +11,7 @@ require 'google/protobuf/duration_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n0google/cloud/discoveryengine/v1/user_event.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\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x08\n\tUserEvent\x12\x17\n\nevent_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0euser_pseudo_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x65ngine\x18\x13 \x01(\tB*\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\x12\x41\n\ndata_store\x18\x14 \x01(\tB-\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12.\n\nevent_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\tuser_info\x18\x04 \x01(\x0b\x32).google.cloud.discoveryengine.v1.UserInfo\x12\x1b\n\x13\x64irect_user_request\x18\x05 \x01(\x08\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12<\n\tpage_info\x18\x07 \x01(\x0b\x32).google.cloud.discoveryengine.v1.PageInfo\x12\x19\n\x11\x61ttribution_token\x18\x08 \x01(\t\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12@\n\tdocuments\x18\n \x03(\x0b\x32-.google.cloud.discoveryengine.v1.DocumentInfo\x12\x39\n\x05panel\x18\x0b \x01(\x0b\x32*.google.cloud.discoveryengine.v1.PanelInfo\x12@\n\x0bsearch_info\x18\x0c \x01(\x0b\x32+.google.cloud.discoveryengine.v1.SearchInfo\x12H\n\x0f\x63ompletion_info\x18\r \x01(\x0b\x32/.google.cloud.discoveryengine.v1.CompletionInfo\x12J\n\x10transaction_info\x18\x0e \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.TransactionInfo\x12\x0f\n\x07tag_ids\x18\x0f \x03(\t\x12\x15\n\rpromotion_ids\x18\x10 \x03(\t\x12N\n\nattributes\x18\x11 \x03(\x0b\x32:.google.cloud.discoveryengine.v1.UserEvent.AttributesEntry\x12>\n\nmedia_info\x18\x12 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.MediaInfo\x1a\x63\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.CustomAttribute:\x02\x38\x01\"Y\n\x08PageInfo\x12\x13\n\x0bpageview_id\x18\x01 \x01(\t\x12\x15\n\rpage_category\x18\x02 \x01(\t\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x14\n\x0creferrer_uri\x18\x04 \x01(\t\"T\n\nSearchInfo\x12\x14\n\x0csearch_query\x18\x01 \x01(\t\x12\x10\n\x08order_by\x18\x02 \x01(\t\x12\x13\n\x06offset\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\t\n\x07_offset\"H\n\x0e\x43ompletionInfo\x12\x1b\n\x13selected_suggestion\x18\x01 \x01(\t\x12\x19\n\x11selected_position\x18\x02 \x01(\x05\"\xc9\x01\n\x0fTransactionInfo\x12\x17\n\x05value\x18\x01 \x01(\x02\x42\x03\xe0\x41\x02H\x00\x88\x01\x01\x12\x15\n\x08\x63urrency\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0etransaction_id\x18\x03 \x01(\t\x12\x10\n\x03tax\x18\x04 \x01(\x02H\x01\x88\x01\x01\x12\x11\n\x04\x63ost\x18\x05 \x01(\x02H\x02\x88\x01\x01\x12\x1b\n\x0e\x64iscount_value\x18\x06 \x01(\x02H\x03\x88\x01\x01\x42\x08\n\x06_valueB\x06\n\x04_taxB\x07\n\x05_costB\x11\n\x0f_discount_value\"\xbb\x01\n\x0c\x44ocumentInfo\x12\x0c\n\x02id\x18\x01 \x01(\tH\x00\x12<\n\x04name\x18\x02 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/DocumentH\x00\x12\r\n\x03uri\x18\x06 \x01(\tH\x00\x12\x15\n\x08quantity\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x15\n\rpromotion_ids\x18\x04 \x03(\tB\x15\n\x13\x64ocument_descriptorB\x0b\n\t_quantity\"\x94\x01\n\tPanelInfo\x12\x15\n\x08panel_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x1b\n\x0epanel_position\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x19\n\x0ctotal_panels\x18\x05 \x01(\x05H\x01\x88\x01\x01\x42\x11\n\x0f_panel_positionB\x0f\n\r_total_panels\"\x8d\x01\n\tMediaInfo\x12:\n\x17media_progress_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x19media_progress_percentage\x18\x02 \x01(\x02H\x00\x88\x01\x01\x42\x1c\n\x1a_media_progress_percentageB\x81\x02\n#com.google.cloud.discoveryengine.v1B\x0eUserEventProtoP\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
+ descriptor_data = "\n0google/cloud/discoveryengine/v1/user_event.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\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x08\n\tUserEvent\x12\x17\n\nevent_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0euser_pseudo_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x65ngine\x18\x13 \x01(\tB*\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\x12\x41\n\ndata_store\x18\x14 \x01(\tB-\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12.\n\nevent_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\tuser_info\x18\x04 \x01(\x0b\x32).google.cloud.discoveryengine.v1.UserInfo\x12\x1b\n\x13\x64irect_user_request\x18\x05 \x01(\x08\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12<\n\tpage_info\x18\x07 \x01(\x0b\x32).google.cloud.discoveryengine.v1.PageInfo\x12\x19\n\x11\x61ttribution_token\x18\x08 \x01(\t\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12@\n\tdocuments\x18\n \x03(\x0b\x32-.google.cloud.discoveryengine.v1.DocumentInfo\x12\x39\n\x05panel\x18\x0b \x01(\x0b\x32*.google.cloud.discoveryengine.v1.PanelInfo\x12@\n\x0bsearch_info\x18\x0c \x01(\x0b\x32+.google.cloud.discoveryengine.v1.SearchInfo\x12H\n\x0f\x63ompletion_info\x18\r \x01(\x0b\x32/.google.cloud.discoveryengine.v1.CompletionInfo\x12J\n\x10transaction_info\x18\x0e \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.TransactionInfo\x12\x0f\n\x07tag_ids\x18\x0f \x03(\t\x12\x15\n\rpromotion_ids\x18\x10 \x03(\t\x12N\n\nattributes\x18\x11 \x03(\x0b\x32:.google.cloud.discoveryengine.v1.UserEvent.AttributesEntry\x12>\n\nmedia_info\x18\x12 \x01(\x0b\x32*.google.cloud.discoveryengine.v1.MediaInfo\x1a\x63\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1.CustomAttribute:\x02\x38\x01\"Y\n\x08PageInfo\x12\x13\n\x0bpageview_id\x18\x01 \x01(\t\x12\x15\n\rpage_category\x18\x02 \x01(\t\x12\x0b\n\x03uri\x18\x03 \x01(\t\x12\x14\n\x0creferrer_uri\x18\x04 \x01(\t\"T\n\nSearchInfo\x12\x14\n\x0csearch_query\x18\x01 \x01(\t\x12\x10\n\x08order_by\x18\x02 \x01(\t\x12\x13\n\x06offset\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\t\n\x07_offset\"H\n\x0e\x43ompletionInfo\x12\x1b\n\x13selected_suggestion\x18\x01 \x01(\t\x12\x19\n\x11selected_position\x18\x02 \x01(\x05\"\xc9\x01\n\x0fTransactionInfo\x12\x17\n\x05value\x18\x01 \x01(\x02\x42\x03\xe0\x41\x02H\x00\x88\x01\x01\x12\x15\n\x08\x63urrency\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0etransaction_id\x18\x03 \x01(\t\x12\x10\n\x03tax\x18\x04 \x01(\x02H\x01\x88\x01\x01\x12\x11\n\x04\x63ost\x18\x05 \x01(\x02H\x02\x88\x01\x01\x12\x1b\n\x0e\x64iscount_value\x18\x06 \x01(\x02H\x03\x88\x01\x01\x42\x08\n\x06_valueB\x06\n\x04_taxB\x07\n\x05_costB\x11\n\x0f_discount_value\"\xd0\x01\n\x0c\x44ocumentInfo\x12\x0c\n\x02id\x18\x01 \x01(\tH\x00\x12<\n\x04name\x18\x02 \x01(\tB,\xfa\x41)\n\'discoveryengine.googleapis.com/DocumentH\x00\x12\r\n\x03uri\x18\x06 \x01(\tH\x00\x12\x15\n\x08quantity\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x15\n\rpromotion_ids\x18\x04 \x03(\t\x12\x13\n\x06joined\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x42\x15\n\x13\x64ocument_descriptorB\x0b\n\t_quantity\"\x94\x01\n\tPanelInfo\x12\x15\n\x08panel_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x1b\n\x0epanel_position\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x19\n\x0ctotal_panels\x18\x05 \x01(\x05H\x01\x88\x01\x01\x42\x11\n\x0f_panel_positionB\x0f\n\r_total_panels\"\x8d\x01\n\tMediaInfo\x12:\n\x17media_progress_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x19media_progress_percentage\x18\x02 \x01(\x02H\x00\x88\x01\x01\x42\x1c\n\x1a_media_progress_percentageB\x81\x02\n#com.google.cloud.discoveryengine.v1B\x0eUserEventProtoP\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"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17