google-cloud-discovery_engine-v1 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +2 -2
  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/rest/operations.rb +2 -2
  8. data/lib/google/cloud/discovery_engine/v1/document_service/paths.rb +25 -0
  9. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +2 -2
  10. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +2 -2
  11. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/client.rb +219 -3
  12. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/paths.rb +85 -0
  13. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/client.rb +126 -3
  14. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/service_stub.rb +60 -0
  15. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +2 -2
  16. data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +1 -1
  17. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +1 -1
  18. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +2 -2
  19. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +5 -1
  20. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +5 -1
  21. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +2 -2
  22. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +5 -1
  23. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +5 -1
  24. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +2 -2
  25. data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +1 -1
  26. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +1 -1
  27. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +2 -2
  28. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  29. data/lib/google/cloud/discoveryengine/v1/answer_pb.rb +1 -1
  30. data/lib/google/cloud/discoveryengine/v1/common_pb.rb +1 -1
  31. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +2 -1
  32. data/lib/google/cloud/discoveryengine/v1/custom_tuning_model_pb.rb +1 -1
  33. data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +4 -1
  34. data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +2 -1
  35. data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +1 -1
  36. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +23 -1
  37. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_services_pb.rb +4 -0
  38. data/lib/google/cloud/discoveryengine/v1/search_service_pb.rb +5 -1
  39. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +1 -1
  40. data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +12 -2
  41. data/proto_docs/google/cloud/discoveryengine/v1/control_service.rb +6 -6
  42. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +59 -15
  43. data/proto_docs/google/cloud/discoveryengine/v1/custom_tuning_model.rb +8 -3
  44. data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +88 -0
  45. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +7 -5
  46. data/proto_docs/google/cloud/discoveryengine/v1/document_service.rb +19 -0
  47. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +5 -1
  48. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +383 -0
  49. data/proto_docs/google/cloud/discoveryengine/v1/project.rb +1 -1
  50. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +1 -1
  51. data/proto_docs/google/cloud/discoveryengine/v1/rank_service.rb +1 -1
  52. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +116 -0
  53. data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine_service.rb +5 -0
  54. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +1 -1
  55. metadata +3 -3
@@ -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\"\xf9\"\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\xf9\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\x93\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\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\"\x8f\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\xe9\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\"\xb9\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\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
@@ -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
 
@@ -348,11 +348,14 @@ module Google
348
348
  # Adversarial query classification type.
349
349
  ADVERSARIAL_QUERY = 1
350
350
 
351
- # Non-answer-seeking query classification type.
351
+ # Non-answer-seeking query classification type, for chit chat.
352
352
  NON_ANSWER_SEEKING_QUERY = 2
353
353
 
354
354
  # Jail-breaking query classification type.
355
355
  JAIL_BREAKING_QUERY = 3
356
+
357
+ # Non-answer-seeking query classification type, for no clear intent.
358
+ NON_ANSWER_SEEKING_QUERY_V2 = 4
356
359
  end
357
360
  end
358
361
  end
@@ -380,7 +383,9 @@ module Google
380
383
  # The adversarial query ignored case.
381
384
  ADVERSARIAL_QUERY_IGNORED = 1
382
385
 
383
- # The non-answer seeking query ignored case.
386
+ # The non-answer seeking query ignored case
387
+ #
388
+ # Google skips the answer if the query is chit chat.
384
389
  NON_ANSWER_SEEKING_QUERY_IGNORED = 2
385
390
 
386
391
  # The out-of-domain query ignored case.
@@ -412,6 +417,11 @@ module Google
412
417
  # Google skips the summary if there is a customer policy violation
413
418
  # detected. The policy is defined by the customer.
414
419
  CUSTOMER_POLICY_VIOLATION = 7
420
+
421
+ # The non-answer seeking query ignored case.
422
+ #
423
+ # Google skips the answer if the query doesn't have clear intent.
424
+ NON_ANSWER_SEEKING_QUERY_IGNORED_V2 = 8
415
425
  end
416
426
  end
417
427
  end
@@ -25,9 +25,9 @@ module Google
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
27
  # Required. Full resource name of parent data store. Format:
28
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`
28
+ # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
29
29
  # or
30
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.
30
+ # `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
31
31
  # @!attribute [rw] control
32
32
  # @return [::Google::Cloud::DiscoveryEngine::V1::Control]
33
33
  # Required. The Control to create.
@@ -66,7 +66,7 @@ module Google
66
66
  # @!attribute [rw] name
67
67
  # @return [::String]
68
68
  # Required. The resource name of the Control to delete. Format:
69
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`
69
+ # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`
70
70
  class DeleteControlRequest
71
71
  include ::Google::Protobuf::MessageExts
72
72
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -76,7 +76,7 @@ module Google
76
76
  # @!attribute [rw] name
77
77
  # @return [::String]
78
78
  # Required. The resource name of the Control to get. Format:
79
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`
79
+ # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`
80
80
  class GetControlRequest
81
81
  include ::Google::Protobuf::MessageExts
82
82
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -86,9 +86,9 @@ module Google
86
86
  # @!attribute [rw] parent
87
87
  # @return [::String]
88
88
  # Required. The data store resource name. Format:
89
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}`
89
+ # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
90
90
  # or
91
- # `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`.
91
+ # `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
92
92
  # @!attribute [rw] page_size
93
93
  # @return [::Integer]
94
94
  # Optional. Maximum number of results to return. If unspecified, defaults
@@ -27,9 +27,9 @@ module Google
27
27
  # @!attribute [rw] name
28
28
  # @return [::String]
29
29
  # Required. The resource name of the Conversation to get. Format:
30
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
30
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`.
31
31
  # Use
32
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
32
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-`
33
33
  # to activate auto session mode, which automatically creates a new
34
34
  # conversation inside a ConverseConversation session.
35
35
  # @!attribute [rw] query
@@ -38,7 +38,7 @@ module Google
38
38
  # @!attribute [rw] serving_config
39
39
  # @return [::String]
40
40
  # The resource name of the Serving Config to use. Format:
41
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
41
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}`
42
42
  # If this is not set, the default serving config will be used.
43
43
  # @!attribute [rw] conversation
44
44
  # @return [::Google::Cloud::DiscoveryEngine::V1::Conversation]
@@ -128,7 +128,7 @@ module Google
128
128
  # @!attribute [rw] parent
129
129
  # @return [::String]
130
130
  # Required. Full resource name of parent data store. Format:
131
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
131
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
132
132
  # @!attribute [rw] conversation
133
133
  # @return [::Google::Cloud::DiscoveryEngine::V1::Conversation]
134
134
  # Required. The conversation to create.
@@ -159,7 +159,7 @@ module Google
159
159
  # @!attribute [rw] name
160
160
  # @return [::String]
161
161
  # Required. The resource name of the Conversation to delete. Format:
162
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
162
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
163
163
  class DeleteConversationRequest
164
164
  include ::Google::Protobuf::MessageExts
165
165
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -169,7 +169,7 @@ module Google
169
169
  # @!attribute [rw] name
170
170
  # @return [::String]
171
171
  # Required. The resource name of the Conversation to get. Format:
172
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
172
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`
173
173
  class GetConversationRequest
174
174
  include ::Google::Protobuf::MessageExts
175
175
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -179,7 +179,7 @@ module Google
179
179
  # @!attribute [rw] parent
180
180
  # @return [::String]
181
181
  # Required. The data store resource name. Format:
182
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
182
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
183
183
  # @!attribute [rw] page_size
184
184
  # @return [::Integer]
185
185
  # Maximum number of results to return. If unspecified, defaults
@@ -262,7 +262,11 @@ module Google
262
262
  # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::QueryUnderstandingSpec]
263
263
  # Query understanding specification.
264
264
  # @!attribute [rw] asynchronous_mode
265
+ # @deprecated This field is deprecated and may be removed in the next major version update.
265
266
  # @return [::Boolean]
267
+ # Deprecated: This field is deprecated. Streaming Answer API will be
268
+ # supported.
269
+ #
266
270
  # Asynchronous mode control.
267
271
  #
268
272
  # If enabled, the response will be returned with answer/session resource
@@ -370,6 +374,19 @@ module Google
370
374
  # If this field is set to `false`, all search results are used regardless
371
375
  # of relevance to generate answers. If set to `true` or unset, the behavior
372
376
  # will be determined automatically by the service.
377
+ # @!attribute [rw] ignore_jail_breaking_query
378
+ # @return [::Boolean]
379
+ # Optional. Specifies whether to filter out jail-breaking queries. The
380
+ # default value is `false`.
381
+ #
382
+ # Google employs search-query classification to detect jail-breaking
383
+ # queries. No summary is returned if the search query is classified as a
384
+ # jail-breaking query. A user might add instructions to the query to
385
+ # change the tone, style, language, content of the answer, or ask the
386
+ # model to act as a different entity, e.g. "Reply in the tone of a
387
+ # competing company's CEO". If this field is set to `true`, we skip
388
+ # generating summaries for jail-breaking queries and return fallback
389
+ # messages instead.
373
390
  class AnswerGenerationSpec
374
391
  include ::Google::Protobuf::MessageExts
375
392
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -491,12 +508,18 @@ module Google
491
508
  # Title.
492
509
  # @!attribute [rw] document_contexts
493
510
  # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::DocumentContext>]
494
- # List of document contexts.
511
+ # List of document contexts. The content will be used for Answer
512
+ # Generation. This is supposed to be the main content of the document
513
+ # that can be long and comprehensive.
495
514
  # @!attribute [rw] extractive_segments
496
515
  # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveSegment>]
497
516
  # List of extractive segments.
498
517
  # @!attribute [rw] extractive_answers
518
+ # @deprecated This field is deprecated and may be removed in the next major version update.
499
519
  # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveAnswer>]
520
+ # Deprecated: This field is deprecated and will have no effect on
521
+ # the Answer generation.
522
+ # Please use document_contexts and extractive_segments fields.
500
523
  # List of extractive answers.
501
524
  class UnstructuredDocumentInfo
502
525
  include ::Google::Protobuf::MessageExts
@@ -508,7 +531,7 @@ module Google
508
531
  # Page identifier.
509
532
  # @!attribute [rw] content
510
533
  # @return [::String]
511
- # Document content.
534
+ # Document content to be used for answer generation.
512
535
  class DocumentContext
513
536
  include ::Google::Protobuf::MessageExts
514
537
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -516,6 +539,8 @@ module Google
516
539
 
517
540
  # Extractive segment.
518
541
  # [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments)
542
+ # Answer generation will only use it if document_contexts is empty.
543
+ # This is supposed to be shorter snippets.
519
544
  # @!attribute [rw] page_identifier
520
545
  # @return [::String]
521
546
  # Page identifier.
@@ -548,9 +573,25 @@ module Google
548
573
  # @!attribute [rw] content
549
574
  # @return [::String]
550
575
  # Chunk textual content.
576
+ # @!attribute [rw] document_metadata
577
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata]
578
+ # Metadata of the document from the current chunk.
551
579
  class ChunkInfo
552
580
  include ::Google::Protobuf::MessageExts
553
581
  extend ::Google::Protobuf::MessageExts::ClassMethods
582
+
583
+ # Document metadata contains the information of the document of the
584
+ # current chunk.
585
+ # @!attribute [rw] uri
586
+ # @return [::String]
587
+ # Uri of the document.
588
+ # @!attribute [rw] title
589
+ # @return [::String]
590
+ # Title of the document.
591
+ class DocumentMetadata
592
+ include ::Google::Protobuf::MessageExts
593
+ extend ::Google::Protobuf::MessageExts::ClassMethods
594
+ end
554
595
  end
555
596
  end
556
597
  end
@@ -583,11 +624,14 @@ module Google
583
624
  # Adversarial query classification type.
584
625
  ADVERSARIAL_QUERY = 1
585
626
 
586
- # Non-answer-seeking query classification type.
627
+ # Non-answer-seeking query classification type, for chit chat.
587
628
  NON_ANSWER_SEEKING_QUERY = 2
588
629
 
589
630
  # Jail-breaking query classification type.
590
631
  JAIL_BREAKING_QUERY = 3
632
+
633
+ # Non-answer-seeking query classification type, for no clear intent.
634
+ NON_ANSWER_SEEKING_QUERY_V2 = 4
591
635
  end
592
636
  end
593
637
 
@@ -647,7 +691,7 @@ module Google
647
691
  # @!attribute [rw] name
648
692
  # @return [::String]
649
693
  # Required. The resource name of the Answer to get. Format:
650
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`
694
+ # `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}`
651
695
  class GetAnswerRequest
652
696
  include ::Google::Protobuf::MessageExts
653
697
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -657,7 +701,7 @@ module Google
657
701
  # @!attribute [rw] parent
658
702
  # @return [::String]
659
703
  # Required. Full resource name of parent data store. Format:
660
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
704
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
661
705
  # @!attribute [rw] session
662
706
  # @return [::Google::Cloud::DiscoveryEngine::V1::Session]
663
707
  # Required. The session to create.
@@ -688,7 +732,7 @@ module Google
688
732
  # @!attribute [rw] name
689
733
  # @return [::String]
690
734
  # Required. The resource name of the Session to delete. Format:
691
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
735
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
692
736
  class DeleteSessionRequest
693
737
  include ::Google::Protobuf::MessageExts
694
738
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -698,7 +742,7 @@ module Google
698
742
  # @!attribute [rw] name
699
743
  # @return [::String]
700
744
  # Required. The resource name of the Session to get. Format:
701
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
745
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`
702
746
  class GetSessionRequest
703
747
  include ::Google::Protobuf::MessageExts
704
748
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -708,7 +752,7 @@ module Google
708
752
  # @!attribute [rw] parent
709
753
  # @return [::String]
710
754
  # Required. The data store resource name. Format:
711
- # `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
755
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
712
756
  # @!attribute [rw] page_size
713
757
  # @return [::Integer]
714
758
  # Maximum number of results to return. If unspecified, defaults
@@ -27,8 +27,9 @@ module Google
27
27
  # Required. The fully qualified resource name of the model.
28
28
  #
29
29
  # Format:
30
- # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`
31
- # model must be an alpha-numerical string with limit of 40 characters.
30
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`.
31
+ #
32
+ # Model must be an alpha-numerical string with limit of 40 characters.
32
33
  # @!attribute [rw] display_name
33
34
  # @return [::String]
34
35
  # The display name of the model.
@@ -41,13 +42,17 @@ module Google
41
42
  # @!attribute [rw] create_time
42
43
  # @deprecated This field is deprecated and may be removed in the next major version update.
43
44
  # @return [::Google::Protobuf::Timestamp]
44
- # Deprecated: timestamp the Model was created at.
45
+ # Deprecated: Timestamp the Model was created at.
45
46
  # @!attribute [rw] training_start_time
46
47
  # @return [::Google::Protobuf::Timestamp]
47
48
  # Timestamp the model training was initiated.
48
49
  # @!attribute [rw] metrics
49
50
  # @return [::Google::Protobuf::Map{::String => ::Float}]
50
51
  # The metrics of the trained model.
52
+ # @!attribute [rw] error_message
53
+ # @return [::String]
54
+ # Currently this is only populated if the model state is
55
+ # `INPUT_VALIDATION_FAILED`.
51
56
  class CustomTuningModel
52
57
  include ::Google::Protobuf::MessageExts
53
58
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -61,6 +61,16 @@ module Google
61
61
  # @return [::Google::Protobuf::Timestamp]
62
62
  # Output only. Timestamp the
63
63
  # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} was created at.
64
+ # @!attribute [r] billing_estimation
65
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataStore::BillingEstimation]
66
+ # Output only. Data size estimation for billing.
67
+ # @!attribute [rw] workspace_config
68
+ # @return [::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig]
69
+ # Config to store data store type configuration for workspace data. This
70
+ # must be set when
71
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore#content_config DataStore.content_config}
72
+ # is set as
73
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig::GOOGLE_WORKSPACE DataStore.ContentConfig.GOOGLE_WORKSPACE}.
64
74
  # @!attribute [rw] document_processing_config
65
75
  # @return [::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig]
66
76
  # Configuration for Document understanding and enrichment.
@@ -84,6 +94,30 @@ module Google
84
94
  include ::Google::Protobuf::MessageExts
85
95
  extend ::Google::Protobuf::MessageExts::ClassMethods
86
96
 
97
+ # Estimation of data size per data store.
98
+ # @!attribute [rw] structured_data_size
99
+ # @return [::Integer]
100
+ # Data size for structured data in terms of bytes.
101
+ # @!attribute [rw] unstructured_data_size
102
+ # @return [::Integer]
103
+ # Data size for unstructured data in terms of bytes.
104
+ # @!attribute [rw] website_data_size
105
+ # @return [::Integer]
106
+ # Data size for websites in terms of bytes.
107
+ # @!attribute [rw] structured_data_update_time
108
+ # @return [::Google::Protobuf::Timestamp]
109
+ # Last updated timestamp for structured data.
110
+ # @!attribute [rw] unstructured_data_update_time
111
+ # @return [::Google::Protobuf::Timestamp]
112
+ # Last updated timestamp for unstructured data.
113
+ # @!attribute [rw] website_data_update_time
114
+ # @return [::Google::Protobuf::Timestamp]
115
+ # Last updated timestamp for websites.
116
+ class BillingEstimation
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
87
121
  # Content config of the data store.
88
122
  module ContentConfig
89
123
  # Default value.
@@ -99,6 +133,60 @@ module Google
99
133
 
100
134
  # The data store is used for public website search.
101
135
  PUBLIC_WEBSITE = 3
136
+
137
+ # The data store is used for workspace search. Details of workspace
138
+ # data store are specified in the
139
+ # {::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig WorkspaceConfig}.
140
+ GOOGLE_WORKSPACE = 4
141
+ end
142
+ end
143
+
144
+ # Config to store data store type configuration for workspace data
145
+ # @!attribute [rw] type
146
+ # @return [::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig::Type]
147
+ # The Google Workspace data source.
148
+ # @!attribute [rw] dasher_customer_id
149
+ # @return [::String]
150
+ # Obfuscated Dasher customer ID.
151
+ # @!attribute [rw] super_admin_service_account
152
+ # @return [::String]
153
+ # Optional. The super admin service account for the workspace that will be
154
+ # used for access token generation. For now we only use it for Native Google
155
+ # Drive connector data ingestion.
156
+ # @!attribute [rw] super_admin_email_address
157
+ # @return [::String]
158
+ # Optional. The super admin email address for the workspace that will be used
159
+ # for access token generation. For now we only use it for Native Google Drive
160
+ # connector data ingestion.
161
+ class WorkspaceConfig
162
+ include ::Google::Protobuf::MessageExts
163
+ extend ::Google::Protobuf::MessageExts::ClassMethods
164
+
165
+ # Specifies the type of Workspace App supported by this DataStore
166
+ module Type
167
+ # Defaults to an unspecified Workspace type.
168
+ TYPE_UNSPECIFIED = 0
169
+
170
+ # Workspace Data Store contains Drive data
171
+ GOOGLE_DRIVE = 1
172
+
173
+ # Workspace Data Store contains Mail data
174
+ GOOGLE_MAIL = 2
175
+
176
+ # Workspace Data Store contains Sites data
177
+ GOOGLE_SITES = 3
178
+
179
+ # Workspace Data Store contains Calendar data
180
+ GOOGLE_CALENDAR = 4
181
+
182
+ # Workspace Data Store contains Chat data
183
+ GOOGLE_CHAT = 5
184
+
185
+ # Workspace Data Store contains Groups data
186
+ GOOGLE_GROUPS = 6
187
+
188
+ # Workspace Data Store contains Keep data
189
+ GOOGLE_KEEP = 7
102
190
  end
103
191
  end
104
192
  end
@@ -22,11 +22,11 @@ module Google
22
22
  module DiscoveryEngine
23
23
  module V1
24
24
  # A singleton resource of
25
- # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}. It's empty when
26
- # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is created, which
27
- # defaults to digital parser. The first call to
28
- # [DataStoreService.UpdateDocumentProcessingConfig][] method will initialize
29
- # the config.
25
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}. If it's empty when
26
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is created and
27
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is set to
28
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig::CONTENT_REQUIRED DataStore.ContentConfig.CONTENT_REQUIRED},
29
+ # the default parser will default to digital parser.
30
30
  # @!attribute [rw] name
31
31
  # @return [::String]
32
32
  # The full resource name of the Document Processing Config.
@@ -54,6 +54,8 @@ module Google
54
54
  # layout parsing are supported.
55
55
  # * `pptx`: Override parsing config for PPTX files, only digital parsing and
56
56
  # layout parsing are supported.
57
+ # * `xlsm`: Override parsing config for XLSM files, only digital parsing and
58
+ # layout parsing are supported.
57
59
  # * `xlsx`: Override parsing config for XLSX files, only digital parsing and
58
60
  # layout parsing are supported.
59
61
  class DocumentProcessingConfig