From ba150f23302f316a1a711970129288c71846aaa5 Mon Sep 17 00:00:00 2001
From: Yoshi Automation
Date: Thu, 25 Jul 2024 14:10:26 +0000
Subject: [PATCH] feat(discoveryengine): update the api
#### discoveryengine:v1
The following keys were added:
- resources.projects.resources.locations.resources.identity_mapping_stores.resources.operations.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.identity_mapping_stores.resources.operations.methods.list (Total Keys: 18)
- schemas.GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaInterval (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1alphaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest (Total Keys: 167)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata (Total Keys: 6)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaUserInfo (Total Keys: 4)
- schemas.GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaInterval (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1betaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequest (Total Keys: 165)
- schemas.GoogleCloudDiscoveryengineV1betaUserInfo (Total Keys: 4)
#### discoveryengine:v1alpha
The following keys were added:
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.siteSearchEngine.methods.getUriPatternDocumentData (Total Keys: 11)
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.siteSearchEngine.methods.setUriPatternDocumentData (Total Keys: 12)
- resources.projects.resources.locations.resources.evaluations.methods.create (Total Keys: 12)
- resources.projects.resources.locations.resources.evaluations.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.evaluations.methods.list (Total Keys: 32)
- resources.projects.resources.locations.resources.identity_mapping_stores.resources.operations.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.identity_mapping_stores.resources.operations.methods.list (Total Keys: 18)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.import (Total Keys: 12)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.patch (Total Keys: 15)
- schemas.GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1alphaSampleQuery (Total Keys: 24)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest.properties.servingConfig.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata (Total Keys: 6)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest (Total Keys: 8)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaInterval (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1betaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequest (Total Keys: 165)
- schemas.GoogleCloudDiscoveryengineV1betaUserInfo (Total Keys: 4)
#### discoveryengine:v1beta
The following keys were added:
- resources.projects.resources.locations.resources.evaluations.methods.create (Total Keys: 12)
- resources.projects.resources.locations.resources.evaluations.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.evaluations.methods.list (Total Keys: 32)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.sampleQuerySets.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.import (Total Keys: 12)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.list (Total Keys: 16)
- resources.projects.resources.locations.resources.sampleQuerySets.resources.sampleQueries.methods.patch (Total Keys: 15)
- schemas.GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaInterval (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1alphaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequest (Total Keys: 167)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata (Total Keys: 6)
- schemas.GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaUserInfo (Total Keys: 4)
- schemas.GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaEvaluation (Total Keys: 26)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata (Total Keys: 12)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest (Total Keys: 10)
- schemas.GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1betaListEvaluationsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaQualityMetrics (Total Keys: 17)
- schemas.GoogleCloudDiscoveryengineV1betaSampleQuery (Total Keys: 24)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequest.properties.servingConfig.type (Total Keys: 1)
---
...collections.dataStores.servingConfigs.html | 8 +-
...llections.dataStores.sessions.answers.html | 2 +-
...ns.collections.engines.servingConfigs.html | 8 +-
....collections.engines.sessions.answers.html | 2 +-
...s.locations.dataStores.servingConfigs.html | 8 +-
...locations.dataStores.sessions.answers.html | 2 +-
...discoveryengine_v1.projects.locations.html | 5 +
...cts.locations.identity_mapping_stores.html | 91 +
...collections.dataStores.servingConfigs.html | 19 +-
...llections.dataStores.sessions.answers.html | 2 +-
...llections.dataStores.siteSearchEngine.html | 79 +
...ns.collections.engines.servingConfigs.html | 19 +-
....collections.engines.sessions.answers.html | 2 +-
...s.locations.dataStores.servingConfigs.html | 19 +-
...locations.dataStores.sessions.answers.html | 2 +-
...1alpha.projects.locations.evaluations.html | 842 ++
...veryengine_v1alpha.projects.locations.html | 5 +
...cts.locations.identity_mapping_stores.html | 91 +
...ha.projects.locations.sampleQuerySets.html | 172 +
...cations.sampleQuerySets.sampleQueries.html | 398 +
...collections.dataStores.servingConfigs.html | 19 +-
...llections.dataStores.sessions.answers.html | 2 +-
...ns.collections.engines.servingConfigs.html | 19 +-
....collections.engines.sessions.answers.html | 2 +-
...s.locations.dataStores.servingConfigs.html | 19 +-
...locations.dataStores.sessions.answers.html | 2 +-
...v1beta.projects.locations.evaluations.html | 830 ++
...ta.projects.locations.sampleQuerySets.html | 172 +
...cations.sampleQuerySets.sampleQueries.html | 398 +
.../documents/discoveryengine.v1.json | 3858 ++++++---
.../documents/discoveryengine.v1alpha.json | 2483 +++++-
.../documents/discoveryengine.v1beta.json | 6941 +++++++++++------
32 files changed, 12664 insertions(+), 3857 deletions(-)
create mode 100644 docs/dyn/discoveryengine_v1.projects.locations.identity_mapping_stores.html
create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.identity_mapping_stores.html
create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.sampleQuerySets.sampleQueries.html
create mode 100644 docs/dyn/discoveryengine_v1beta.projects.locations.sampleQuerySets.sampleQueries.html
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html
index 1902cb81a80..c6a82e54163 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html
@@ -153,7 +153,7 @@ Method Details
"filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
"maxReturnResults": 42, # Number of search results to return. The default value is 10.
"orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
},
"searchResultList": { # Search result list. # Search result list.
"searchResults": [ # Search results.
@@ -205,7 +205,7 @@ Method Details
An object of the form:
{ # Response message for ConversationalSearchService.AnswerQuery method.
- "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
+ "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
"answerSkippedReasons": [ # Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
"A String",
],
@@ -289,7 +289,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
@@ -505,7 +505,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html
index dee378f44c7..a89732a9410 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.answers.html
@@ -184,7 +184,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html
index c1e3772091c..dc6f44acd26 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html
@@ -153,7 +153,7 @@ Method Details
"filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
"maxReturnResults": 42, # Number of search results to return. The default value is 10.
"orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
},
"searchResultList": { # Search result list. # Search result list.
"searchResults": [ # Search results.
@@ -205,7 +205,7 @@ Method Details
An object of the form:
{ # Response message for ConversationalSearchService.AnswerQuery method.
- "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
+ "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
"answerSkippedReasons": [ # Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
"A String",
],
@@ -289,7 +289,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
@@ -505,7 +505,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html
index ed3327f930e..3759f97e32e 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.answers.html
@@ -184,7 +184,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html
index 26cdb02fa76..170838df867 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html
@@ -153,7 +153,7 @@ Method Details
"filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
"maxReturnResults": 42, # Number of search results to return. The default value is 10.
"orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
},
"searchResultList": { # Search result list. # Search result list.
"searchResults": [ # Search results.
@@ -205,7 +205,7 @@ Method Details
An object of the form:
{ # Response message for ConversationalSearchService.AnswerQuery method.
- "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
+ "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
"answerSkippedReasons": [ # Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
"A String",
],
@@ -289,7 +289,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
@@ -505,7 +505,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html
index 1a446a88b92..0e4661a208d 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.answers.html
@@ -184,7 +184,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.html b/docs/dyn/discoveryengine_v1.projects.locations.html
index 8396d5bdb2a..4631def3024 100644
--- a/docs/dyn/discoveryengine_v1.projects.locations.html
+++ b/docs/dyn/discoveryengine_v1.projects.locations.html
@@ -89,6 +89,11 @@ Instance Methods
Returns the groundingConfigs Resource.
+
+ identity_mapping_stores()
+
+Returns the identity_mapping_stores Resource.
+
operations()
diff --git a/docs/dyn/discoveryengine_v1.projects.locations.identity_mapping_stores.html b/docs/dyn/discoveryengine_v1.projects.locations.identity_mapping_stores.html
new file mode 100644
index 00000000000..2aebaab5a22
--- /dev/null
+++ b/docs/dyn/discoveryengine_v1.projects.locations.identity_mapping_stores.html
@@ -0,0 +1,91 @@
+
+
+
+
+Instance Methods
+
+ operations()
+
+Returns the operations Resource.
+
+
+ close()
+Close httplib2 connections.
+Method Details
+
+
close()
+
Close httplib2 connections.
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
index cf6235dad8b..07787261a60 100644
--- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
+++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.servingConfigs.html
@@ -179,7 +179,7 @@ Method Details
"filter": "A String", # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. This will be used to filter search results which may affect the Answer response. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customers might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY("king kong")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
"maxReturnResults": 42, # Number of search results to return. The default value is 10.
"orderBy": "A String", # The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
},
"searchResultList": { # Search result list. # Search result list.
"searchResults": [ # Search results.
@@ -231,7 +231,7 @@ Method Details
An object of the form:
{ # Response message for ConversationalSearchService.AnswerQuery method.
- "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
+ "answer": { # Defines an answer. # Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.
"answerSkippedReasons": [ # Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
"A String",
],
@@ -315,7 +315,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
@@ -405,7 +405,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
@@ -512,7 +512,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
@@ -625,7 +625,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
@@ -721,7 +721,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
@@ -972,7 +972,7 @@ Method Details
"numPreviousSegments": 42, # Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.
"returnExtractiveSegmentScore": True or False, # Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.
},
- "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.
+ "searchResultMode": "A String", # Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.
"snippetSpec": { # A specification for configuring snippets in a search response. # If `snippetSpec` is not specified, snippets are not included in the search response.
"maxSnippetCount": 42, # [DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.
"referenceOnly": True or False, # [DEPRECATED] This field is deprecated and will have no affect on the snippet.
@@ -1049,7 +1049,7 @@ Method Details
"languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.
"naturalLanguageQueryUnderstandingSpec": { # Specification to enable natural language understanding capabilities for search requests. # If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.
"filterExtractionCondition": "A String", # The condition under which filter extraction should occur. Default to Condition.DISABLED.
- "geoSearchQueryDetectionFieldNames": [ # Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in Servingconfig.geo_search_query_detection_field_names.
+ "geoSearchQueryDetectionFieldNames": [ # Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.
"A String",
],
},
@@ -1072,6 +1072,7 @@ Method Details
"searchAsYouTypeSpec": { # Specification for search as you type in search requests. # Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
"condition": "A String", # The condition under which search as you type should occur. Default to Condition.DISABLED.
},
+ "servingConfig": "A String", # Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
"session": "A String", # The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.
"sessionSpec": { # Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. # Session specification. Can be used only when `session` is set.
"queryId": "A String", # If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How about bar then?" query_id: ".../questions/zzz" } } } The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html
index 9c715ecdad6..cb0e428c6c8 100644
--- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html
+++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.sessions.answers.html
@@ -184,7 +184,7 @@ Method Details
"snippetStatus": "A String", # Status of the snippet defined by the search team.
},
],
- "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).
+ "structData": { # Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .
"a_key": "", # Properties of the object.
},
"title": "A String", # Title.
diff --git a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html
index 92717248ea3..e19dee476ac 100644
--- a/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html
+++ b/docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html
@@ -102,9 +102,15 @@ Instance Methods
fetchDomainVerificationStatus_next()
Retrieves the next page of results.
+
+ getUriPatternDocumentData(siteSearchEngine, x__xgafv=None)
+Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.
recrawlUris(siteSearchEngine, body=None, x__xgafv=None)
Request on-demand recrawl for a list of URIs.
+
+ setUriPatternDocumentData(siteSearchEngine, body=None, x__xgafv=None)
+Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.
Method Details
batchVerifyTargetSites(parent, body=None, x__xgafv=None)
@@ -291,6 +297,29 @@
Method Details
+
+
getUriPatternDocumentData(siteSearchEngine, x__xgafv=None)
+
Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.
+
+Args:
+ siteSearchEngine: string, Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for SiteSearchEngineService.GetUriPatternDocumentData method.
+ "documentDataMap": { # Document data keyed by URI pattern. For example: document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } }
+ "a_key": {
+ "a_key": "", # Properties of the object.
+ },
+ },
+}
+
+
recrawlUris(siteSearchEngine, body=None, x__xgafv=None)
Request on-demand recrawl for a list of URIs.
@@ -335,4 +364,54 @@ Method Details
}
+
+
setUriPatternDocumentData(siteSearchEngine, body=None, x__xgafv=None)
+
Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.
+
+Args:
+ siteSearchEngine: string, Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for SiteSearchEngineService.SetUriPatternDocumentData method.
+ "documentDataMap": { # Document data keyed by URI pattern. Each entry must be consistent with the Schema. For example: Schema = { "type": "object", "properties": { "Categories": { "type": "array", "items": { "retrievable": true, "type": "string" } } } document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } }
+ "a_key": {
+ "a_key": "", # Properties of the object.
+ },
+ },
+ "emptyDocumentDataMap": True or False, # If true, clears the document data map. If true, SetUriPatternDocumentDataRequest.document_data_map must be empty.
+ "schema": { # Optional. If not provided, the current Schema is used. If provided, validates and updates the Schema. If validation fails, an error is returned.
+ "a_key": "", # Properties of the object.
+ },
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # This resource represents a long-running operation that is the result of a network API call.
+ "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
+ "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+}
+
+