@google-cloud/discoveryengine 1.9.0 → 1.11.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.
- package/CHANGELOG.md +19 -0
- package/README.md +32 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +10 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +67 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
- package/build/protos/protos.d.ts +31310 -20211
- package/build/protos/protos.js +86710 -60571
- package/build/protos/protos.json +7720 -5011
- package/build/src/v1/completion_service_client.d.ts +220 -0
- package/build/src/v1/completion_service_client.js +260 -0
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/control_service_client.d.ts +129 -1
- package/build/src/v1/control_service_client.js +176 -0
- package/build/src/v1/conversational_search_service_client.d.ts +147 -1
- package/build/src/v1/conversational_search_service_client.js +176 -0
- package/build/src/v1/data_store_service_client.d.ts +129 -1
- package/build/src/v1/data_store_service_client.js +176 -0
- package/build/src/v1/document_service_client.d.ts +131 -1
- package/build/src/v1/document_service_client.js +176 -0
- package/build/src/v1/engine_service_client.d.ts +129 -1
- package/build/src/v1/engine_service_client.js +176 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
- package/build/src/v1/grounded_generation_service_client.js +176 -0
- package/build/src/v1/project_service_client.d.ts +129 -0
- package/build/src/v1/project_service_client.js +176 -0
- package/build/src/v1/rank_service_client.d.ts +129 -0
- package/build/src/v1/rank_service_client.js +176 -0
- package/build/src/v1/recommendation_service_client.d.ts +129 -0
- package/build/src/v1/recommendation_service_client.js +176 -0
- package/build/src/v1/schema_service_client.d.ts +129 -1
- package/build/src/v1/schema_service_client.js +176 -0
- package/build/src/v1/search_service_client.d.ts +252 -1
- package/build/src/v1/search_service_client.js +258 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
- package/build/src/v1/site_search_engine_service_client.js +176 -0
- package/build/src/v1/user_event_service_client.d.ts +129 -0
- package/build/src/v1/user_event_service_client.js +176 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
- package/build/src/v1alpha/acl_config_service_client.js +157 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +108 -1
- package/build/src/v1alpha/chunk_service_client.js +157 -0
- package/build/src/v1alpha/completion_service_client.d.ts +108 -0
- package/build/src/v1alpha/completion_service_client.js +157 -0
- package/build/src/v1alpha/control_service_client.d.ts +108 -1
- package/build/src/v1alpha/control_service_client.js +157 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -1
- package/build/src/v1alpha/conversational_search_service_client.js +157 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +108 -1
- package/build/src/v1alpha/data_store_service_client.js +157 -0
- package/build/src/v1alpha/document_service_client.d.ts +108 -1
- package/build/src/v1alpha/document_service_client.js +157 -0
- package/build/src/v1alpha/engine_service_client.d.ts +108 -1
- package/build/src/v1alpha/engine_service_client.js +157 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
- package/build/src/v1alpha/evaluation_service_client.js +3288 -0
- package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/project_service_client.d.ts +108 -0
- package/build/src/v1alpha/project_service_client.js +157 -0
- package/build/src/v1alpha/rank_service_client.d.ts +108 -0
- package/build/src/v1alpha/rank_service_client.js +157 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
- package/build/src/v1alpha/recommendation_service_client.js +157 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
- package/build/src/v1alpha/sample_query_service_client.js +3186 -0
- package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
- package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
- package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1alpha/schema_service_client.d.ts +108 -1
- package/build/src/v1alpha/schema_service_client.js +157 -0
- package/build/src/v1alpha/search_service_client.d.ts +108 -1
- package/build/src/v1alpha/search_service_client.js +157 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
- package/build/src/v1alpha/search_tuning_service_client.js +157 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +108 -1
- package/build/src/v1alpha/serving_config_service_client.js +157 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
- package/build/src/v1alpha/user_event_service_client.js +157 -0
- package/build/src/v1beta/completion_service_client.d.ts +237 -0
- package/build/src/v1beta/completion_service_client.js +339 -0
- package/build/src/v1beta/control_service_client.d.ts +237 -1
- package/build/src/v1beta/control_service_client.js +333 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +237 -1
- package/build/src/v1beta/conversational_search_service_client.js +333 -0
- package/build/src/v1beta/data_store_service_client.d.ts +237 -1
- package/build/src/v1beta/data_store_service_client.js +339 -0
- package/build/src/v1beta/document_service_client.d.ts +237 -1
- package/build/src/v1beta/document_service_client.js +339 -0
- package/build/src/v1beta/engine_service_client.d.ts +237 -1
- package/build/src/v1beta/engine_service_client.js +339 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
- package/build/src/v1beta/evaluation_service_client.js +3252 -0
- package/build/src/v1beta/evaluation_service_client_config.json +58 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
- package/build/src/v1beta/grounded_generation_service_client.js +333 -0
- package/build/src/v1beta/index.d.ts +3 -0
- package/build/src/v1beta/index.js +7 -1
- package/build/src/v1beta/project_service_client.d.ts +237 -0
- package/build/src/v1beta/project_service_client.js +339 -0
- package/build/src/v1beta/rank_service_client.d.ts +237 -0
- package/build/src/v1beta/rank_service_client.js +333 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
- package/build/src/v1beta/recommendation_service_client.js +333 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
- package/build/src/v1beta/sample_query_service_client.js +3150 -0
- package/build/src/v1beta/sample_query_service_client_config.json +68 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
- package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
- package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1beta/schema_service_client.d.ts +237 -1
- package/build/src/v1beta/schema_service_client.js +339 -0
- package/build/src/v1beta/search_service_client.d.ts +267 -13
- package/build/src/v1beta/search_service_client.js +353 -8
- package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
- package/build/src/v1beta/search_tuning_service_client.js +339 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -1
- package/build/src/v1beta/serving_config_service_client.js +333 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -1
- package/build/src/v1beta/site_search_engine_service_client.js +339 -0
- package/build/src/v1beta/user_event_service_client.d.ts +237 -0
- package/build/src/v1beta/user_event_service_client.js +339 -0
- package/package.json +1 -1
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="node" />
|
2
1
|
import type * as gax from 'google-gax';
|
3
2
|
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
|
4
3
|
import { Transform } from 'stream';
|
@@ -967,6 +966,39 @@ export declare class SiteSearchEngineServiceClient {
|
|
967
966
|
* @returns {string} A string representing the engine.
|
968
967
|
*/
|
969
968
|
matchEngineFromEngineName(engineName: string): string | number;
|
969
|
+
/**
|
970
|
+
* Return a fully-qualified evaluation resource name string.
|
971
|
+
*
|
972
|
+
* @param {string} project
|
973
|
+
* @param {string} location
|
974
|
+
* @param {string} evaluation
|
975
|
+
* @returns {string} Resource name string.
|
976
|
+
*/
|
977
|
+
evaluationPath(project: string, location: string, evaluation: string): string;
|
978
|
+
/**
|
979
|
+
* Parse the project from Evaluation resource.
|
980
|
+
*
|
981
|
+
* @param {string} evaluationName
|
982
|
+
* A fully-qualified path representing Evaluation resource.
|
983
|
+
* @returns {string} A string representing the project.
|
984
|
+
*/
|
985
|
+
matchProjectFromEvaluationName(evaluationName: string): string | number;
|
986
|
+
/**
|
987
|
+
* Parse the location from Evaluation resource.
|
988
|
+
*
|
989
|
+
* @param {string} evaluationName
|
990
|
+
* A fully-qualified path representing Evaluation resource.
|
991
|
+
* @returns {string} A string representing the location.
|
992
|
+
*/
|
993
|
+
matchLocationFromEvaluationName(evaluationName: string): string | number;
|
994
|
+
/**
|
995
|
+
* Parse the evaluation from Evaluation resource.
|
996
|
+
*
|
997
|
+
* @param {string} evaluationName
|
998
|
+
* A fully-qualified path representing Evaluation resource.
|
999
|
+
* @returns {string} A string representing the evaluation.
|
1000
|
+
*/
|
1001
|
+
matchEvaluationFromEvaluationName(evaluationName: string): string | number;
|
970
1002
|
/**
|
971
1003
|
* Return a fully-qualified project resource name string.
|
972
1004
|
*
|
@@ -1084,6 +1116,75 @@ export declare class SiteSearchEngineServiceClient {
|
|
1084
1116
|
* @returns {string} A string representing the document.
|
1085
1117
|
*/
|
1086
1118
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
1119
|
+
/**
|
1120
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1121
|
+
*
|
1122
|
+
* @param {string} project
|
1123
|
+
* @param {string} location
|
1124
|
+
* @param {string} collection
|
1125
|
+
* @param {string} data_store
|
1126
|
+
* @param {string} branch
|
1127
|
+
* @param {string} document
|
1128
|
+
* @param {string} chunk
|
1129
|
+
* @returns {string} Resource name string.
|
1130
|
+
*/
|
1131
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1132
|
+
/**
|
1133
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1134
|
+
*
|
1135
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1136
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1137
|
+
* @returns {string} A string representing the project.
|
1138
|
+
*/
|
1139
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1140
|
+
/**
|
1141
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1142
|
+
*
|
1143
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1144
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1145
|
+
* @returns {string} A string representing the location.
|
1146
|
+
*/
|
1147
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1148
|
+
/**
|
1149
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1150
|
+
*
|
1151
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1152
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1153
|
+
* @returns {string} A string representing the collection.
|
1154
|
+
*/
|
1155
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1156
|
+
/**
|
1157
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1158
|
+
*
|
1159
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1160
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1161
|
+
* @returns {string} A string representing the data_store.
|
1162
|
+
*/
|
1163
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1164
|
+
/**
|
1165
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1166
|
+
*
|
1167
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1168
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1169
|
+
* @returns {string} A string representing the branch.
|
1170
|
+
*/
|
1171
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1172
|
+
/**
|
1173
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1174
|
+
*
|
1175
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1176
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1177
|
+
* @returns {string} A string representing the document.
|
1178
|
+
*/
|
1179
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1180
|
+
/**
|
1181
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1182
|
+
*
|
1183
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1184
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1185
|
+
* @returns {string} A string representing the chunk.
|
1186
|
+
*/
|
1187
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1087
1188
|
/**
|
1088
1189
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1089
1190
|
*
|
@@ -1933,6 +2034,66 @@ export declare class SiteSearchEngineServiceClient {
|
|
1933
2034
|
* @returns {string} A string representing the document.
|
1934
2035
|
*/
|
1935
2036
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
2037
|
+
/**
|
2038
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2039
|
+
*
|
2040
|
+
* @param {string} project
|
2041
|
+
* @param {string} location
|
2042
|
+
* @param {string} data_store
|
2043
|
+
* @param {string} branch
|
2044
|
+
* @param {string} document
|
2045
|
+
* @param {string} chunk
|
2046
|
+
* @returns {string} Resource name string.
|
2047
|
+
*/
|
2048
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
2049
|
+
/**
|
2050
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2051
|
+
*
|
2052
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2053
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2054
|
+
* @returns {string} A string representing the project.
|
2055
|
+
*/
|
2056
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2057
|
+
/**
|
2058
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2059
|
+
*
|
2060
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2061
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2062
|
+
* @returns {string} A string representing the location.
|
2063
|
+
*/
|
2064
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2065
|
+
/**
|
2066
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2067
|
+
*
|
2068
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2069
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2070
|
+
* @returns {string} A string representing the data_store.
|
2071
|
+
*/
|
2072
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2073
|
+
/**
|
2074
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2075
|
+
*
|
2076
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2077
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2078
|
+
* @returns {string} A string representing the branch.
|
2079
|
+
*/
|
2080
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2081
|
+
/**
|
2082
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2083
|
+
*
|
2084
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2085
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2086
|
+
* @returns {string} A string representing the document.
|
2087
|
+
*/
|
2088
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2089
|
+
/**
|
2090
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2091
|
+
*
|
2092
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2093
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2094
|
+
* @returns {string} A string representing the chunk.
|
2095
|
+
*/
|
2096
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1936
2097
|
/**
|
1937
2098
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1938
2099
|
*
|
@@ -2344,6 +2505,81 @@ export declare class SiteSearchEngineServiceClient {
|
|
2344
2505
|
* @returns {string} A string representing the target_site.
|
2345
2506
|
*/
|
2346
2507
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
2508
|
+
/**
|
2509
|
+
* Return a fully-qualified sampleQuery resource name string.
|
2510
|
+
*
|
2511
|
+
* @param {string} project
|
2512
|
+
* @param {string} location
|
2513
|
+
* @param {string} sample_query_set
|
2514
|
+
* @param {string} sample_query
|
2515
|
+
* @returns {string} Resource name string.
|
2516
|
+
*/
|
2517
|
+
sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
|
2518
|
+
/**
|
2519
|
+
* Parse the project from SampleQuery resource.
|
2520
|
+
*
|
2521
|
+
* @param {string} sampleQueryName
|
2522
|
+
* A fully-qualified path representing SampleQuery resource.
|
2523
|
+
* @returns {string} A string representing the project.
|
2524
|
+
*/
|
2525
|
+
matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
|
2526
|
+
/**
|
2527
|
+
* Parse the location from SampleQuery resource.
|
2528
|
+
*
|
2529
|
+
* @param {string} sampleQueryName
|
2530
|
+
* A fully-qualified path representing SampleQuery resource.
|
2531
|
+
* @returns {string} A string representing the location.
|
2532
|
+
*/
|
2533
|
+
matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
|
2534
|
+
/**
|
2535
|
+
* Parse the sample_query_set from SampleQuery resource.
|
2536
|
+
*
|
2537
|
+
* @param {string} sampleQueryName
|
2538
|
+
* A fully-qualified path representing SampleQuery resource.
|
2539
|
+
* @returns {string} A string representing the sample_query_set.
|
2540
|
+
*/
|
2541
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
|
2542
|
+
/**
|
2543
|
+
* Parse the sample_query from SampleQuery resource.
|
2544
|
+
*
|
2545
|
+
* @param {string} sampleQueryName
|
2546
|
+
* A fully-qualified path representing SampleQuery resource.
|
2547
|
+
* @returns {string} A string representing the sample_query.
|
2548
|
+
*/
|
2549
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
|
2550
|
+
/**
|
2551
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
2552
|
+
*
|
2553
|
+
* @param {string} project
|
2554
|
+
* @param {string} location
|
2555
|
+
* @param {string} sample_query_set
|
2556
|
+
* @returns {string} Resource name string.
|
2557
|
+
*/
|
2558
|
+
sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
|
2559
|
+
/**
|
2560
|
+
* Parse the project from SampleQuerySet resource.
|
2561
|
+
*
|
2562
|
+
* @param {string} sampleQuerySetName
|
2563
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2564
|
+
* @returns {string} A string representing the project.
|
2565
|
+
*/
|
2566
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2567
|
+
/**
|
2568
|
+
* Parse the location from SampleQuerySet resource.
|
2569
|
+
*
|
2570
|
+
* @param {string} sampleQuerySetName
|
2571
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2572
|
+
* @returns {string} A string representing the location.
|
2573
|
+
*/
|
2574
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2575
|
+
/**
|
2576
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
2577
|
+
*
|
2578
|
+
* @param {string} sampleQuerySetName
|
2579
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2580
|
+
* @returns {string} A string representing the sample_query_set.
|
2581
|
+
*/
|
2582
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2347
2583
|
/**
|
2348
2584
|
* Terminate the gRPC channel and close the client.
|
2349
2585
|
*
|
@@ -151,9 +151,11 @@ class SiteSearchEngineServiceClient {
|
|
151
151
|
// Create useful helper objects for these.
|
152
152
|
this.pathTemplates = {
|
153
153
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
154
|
+
evaluationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/evaluations/{evaluation}'),
|
154
155
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
157
159
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
158
160
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
161
|
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -171,6 +173,7 @@ class SiteSearchEngineServiceClient {
|
|
171
173
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
172
174
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
173
175
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
176
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
174
177
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
175
178
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
176
179
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -181,6 +184,8 @@ class SiteSearchEngineServiceClient {
|
|
181
184
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
185
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
183
186
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
187
|
+
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
188
|
+
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
184
189
|
};
|
185
190
|
// Some of the methods on this service return "paged" results,
|
186
191
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
@@ -248,7 +253,13 @@ class SiteSearchEngineServiceClient {
|
|
248
253
|
{
|
249
254
|
get: '/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
250
255
|
},
|
256
|
+
{
|
257
|
+
get: '/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
258
|
+
},
|
251
259
|
{ get: '/v1beta/{name=projects/*/locations/*/operations/*}' },
|
260
|
+
{
|
261
|
+
get: '/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
262
|
+
},
|
252
263
|
{ get: '/v1beta/{name=projects/*/operations/*}' },
|
253
264
|
],
|
254
265
|
},
|
@@ -1281,6 +1292,54 @@ class SiteSearchEngineServiceClient {
|
|
1281
1292
|
matchEngineFromEngineName(engineName) {
|
1282
1293
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1283
1294
|
}
|
1295
|
+
/**
|
1296
|
+
* Return a fully-qualified evaluation resource name string.
|
1297
|
+
*
|
1298
|
+
* @param {string} project
|
1299
|
+
* @param {string} location
|
1300
|
+
* @param {string} evaluation
|
1301
|
+
* @returns {string} Resource name string.
|
1302
|
+
*/
|
1303
|
+
evaluationPath(project, location, evaluation) {
|
1304
|
+
return this.pathTemplates.evaluationPathTemplate.render({
|
1305
|
+
project: project,
|
1306
|
+
location: location,
|
1307
|
+
evaluation: evaluation,
|
1308
|
+
});
|
1309
|
+
}
|
1310
|
+
/**
|
1311
|
+
* Parse the project from Evaluation resource.
|
1312
|
+
*
|
1313
|
+
* @param {string} evaluationName
|
1314
|
+
* A fully-qualified path representing Evaluation resource.
|
1315
|
+
* @returns {string} A string representing the project.
|
1316
|
+
*/
|
1317
|
+
matchProjectFromEvaluationName(evaluationName) {
|
1318
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1319
|
+
.project;
|
1320
|
+
}
|
1321
|
+
/**
|
1322
|
+
* Parse the location from Evaluation resource.
|
1323
|
+
*
|
1324
|
+
* @param {string} evaluationName
|
1325
|
+
* A fully-qualified path representing Evaluation resource.
|
1326
|
+
* @returns {string} A string representing the location.
|
1327
|
+
*/
|
1328
|
+
matchLocationFromEvaluationName(evaluationName) {
|
1329
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1330
|
+
.location;
|
1331
|
+
}
|
1332
|
+
/**
|
1333
|
+
* Parse the evaluation from Evaluation resource.
|
1334
|
+
*
|
1335
|
+
* @param {string} evaluationName
|
1336
|
+
* A fully-qualified path representing Evaluation resource.
|
1337
|
+
* @returns {string} A string representing the evaluation.
|
1338
|
+
*/
|
1339
|
+
matchEvaluationFromEvaluationName(evaluationName) {
|
1340
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1341
|
+
.evaluation;
|
1342
|
+
}
|
1284
1343
|
/**
|
1285
1344
|
* Return a fully-qualified project resource name string.
|
1286
1345
|
*
|
@@ -1440,6 +1499,99 @@ class SiteSearchEngineServiceClient {
|
|
1440
1499
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1441
1500
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1442
1501
|
}
|
1502
|
+
/**
|
1503
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1504
|
+
*
|
1505
|
+
* @param {string} project
|
1506
|
+
* @param {string} location
|
1507
|
+
* @param {string} collection
|
1508
|
+
* @param {string} data_store
|
1509
|
+
* @param {string} branch
|
1510
|
+
* @param {string} document
|
1511
|
+
* @param {string} chunk
|
1512
|
+
* @returns {string} Resource name string.
|
1513
|
+
*/
|
1514
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1515
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1516
|
+
project: project,
|
1517
|
+
location: location,
|
1518
|
+
collection: collection,
|
1519
|
+
data_store: dataStore,
|
1520
|
+
branch: branch,
|
1521
|
+
document: document,
|
1522
|
+
chunk: chunk,
|
1523
|
+
});
|
1524
|
+
}
|
1525
|
+
/**
|
1526
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1527
|
+
*
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1530
|
+
* @returns {string} A string representing the project.
|
1531
|
+
*/
|
1532
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1534
|
+
}
|
1535
|
+
/**
|
1536
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1537
|
+
*
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1540
|
+
* @returns {string} A string representing the location.
|
1541
|
+
*/
|
1542
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1544
|
+
}
|
1545
|
+
/**
|
1546
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1547
|
+
*
|
1548
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1549
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1550
|
+
* @returns {string} A string representing the collection.
|
1551
|
+
*/
|
1552
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1554
|
+
}
|
1555
|
+
/**
|
1556
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1557
|
+
*
|
1558
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1559
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1560
|
+
* @returns {string} A string representing the data_store.
|
1561
|
+
*/
|
1562
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1564
|
+
}
|
1565
|
+
/**
|
1566
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1567
|
+
*
|
1568
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1569
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1570
|
+
* @returns {string} A string representing the branch.
|
1571
|
+
*/
|
1572
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1574
|
+
}
|
1575
|
+
/**
|
1576
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1577
|
+
*
|
1578
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1579
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1580
|
+
* @returns {string} A string representing the document.
|
1581
|
+
*/
|
1582
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1584
|
+
}
|
1585
|
+
/**
|
1586
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1587
|
+
*
|
1588
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1589
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1590
|
+
* @returns {string} A string representing the chunk.
|
1591
|
+
*/
|
1592
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1593
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1594
|
+
}
|
1443
1595
|
/**
|
1444
1596
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1445
1597
|
*
|
@@ -2589,6 +2741,87 @@ class SiteSearchEngineServiceClient {
|
|
2589
2741
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2590
2742
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2591
2743
|
}
|
2744
|
+
/**
|
2745
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2746
|
+
*
|
2747
|
+
* @param {string} project
|
2748
|
+
* @param {string} location
|
2749
|
+
* @param {string} data_store
|
2750
|
+
* @param {string} branch
|
2751
|
+
* @param {string} document
|
2752
|
+
* @param {string} chunk
|
2753
|
+
* @returns {string} Resource name string.
|
2754
|
+
*/
|
2755
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2756
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2757
|
+
project: project,
|
2758
|
+
location: location,
|
2759
|
+
data_store: dataStore,
|
2760
|
+
branch: branch,
|
2761
|
+
document: document,
|
2762
|
+
chunk: chunk,
|
2763
|
+
});
|
2764
|
+
}
|
2765
|
+
/**
|
2766
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2767
|
+
*
|
2768
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2769
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2770
|
+
* @returns {string} A string representing the project.
|
2771
|
+
*/
|
2772
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2773
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2774
|
+
}
|
2775
|
+
/**
|
2776
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2777
|
+
*
|
2778
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2779
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2780
|
+
* @returns {string} A string representing the location.
|
2781
|
+
*/
|
2782
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2783
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2784
|
+
}
|
2785
|
+
/**
|
2786
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2787
|
+
*
|
2788
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2789
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2790
|
+
* @returns {string} A string representing the data_store.
|
2791
|
+
*/
|
2792
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2793
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2794
|
+
}
|
2795
|
+
/**
|
2796
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2797
|
+
*
|
2798
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2799
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2800
|
+
* @returns {string} A string representing the branch.
|
2801
|
+
*/
|
2802
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2803
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2804
|
+
}
|
2805
|
+
/**
|
2806
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2807
|
+
*
|
2808
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2809
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2810
|
+
* @returns {string} A string representing the document.
|
2811
|
+
*/
|
2812
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2813
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2814
|
+
}
|
2815
|
+
/**
|
2816
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2817
|
+
*
|
2818
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2819
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2820
|
+
* @returns {string} A string representing the chunk.
|
2821
|
+
*/
|
2822
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2823
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2824
|
+
}
|
2592
2825
|
/**
|
2593
2826
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2594
2827
|
*
|
@@ -3147,6 +3380,112 @@ class SiteSearchEngineServiceClient {
|
|
3147
3380
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
3148
3381
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
3149
3382
|
}
|
3383
|
+
/**
|
3384
|
+
* Return a fully-qualified sampleQuery resource name string.
|
3385
|
+
*
|
3386
|
+
* @param {string} project
|
3387
|
+
* @param {string} location
|
3388
|
+
* @param {string} sample_query_set
|
3389
|
+
* @param {string} sample_query
|
3390
|
+
* @returns {string} Resource name string.
|
3391
|
+
*/
|
3392
|
+
sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
|
3393
|
+
return this.pathTemplates.sampleQueryPathTemplate.render({
|
3394
|
+
project: project,
|
3395
|
+
location: location,
|
3396
|
+
sample_query_set: sampleQuerySet,
|
3397
|
+
sample_query: sampleQuery,
|
3398
|
+
});
|
3399
|
+
}
|
3400
|
+
/**
|
3401
|
+
* Parse the project from SampleQuery resource.
|
3402
|
+
*
|
3403
|
+
* @param {string} sampleQueryName
|
3404
|
+
* A fully-qualified path representing SampleQuery resource.
|
3405
|
+
* @returns {string} A string representing the project.
|
3406
|
+
*/
|
3407
|
+
matchProjectFromSampleQueryName(sampleQueryName) {
|
3408
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3409
|
+
.project;
|
3410
|
+
}
|
3411
|
+
/**
|
3412
|
+
* Parse the location from SampleQuery resource.
|
3413
|
+
*
|
3414
|
+
* @param {string} sampleQueryName
|
3415
|
+
* A fully-qualified path representing SampleQuery resource.
|
3416
|
+
* @returns {string} A string representing the location.
|
3417
|
+
*/
|
3418
|
+
matchLocationFromSampleQueryName(sampleQueryName) {
|
3419
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3420
|
+
.location;
|
3421
|
+
}
|
3422
|
+
/**
|
3423
|
+
* Parse the sample_query_set from SampleQuery resource.
|
3424
|
+
*
|
3425
|
+
* @param {string} sampleQueryName
|
3426
|
+
* A fully-qualified path representing SampleQuery resource.
|
3427
|
+
* @returns {string} A string representing the sample_query_set.
|
3428
|
+
*/
|
3429
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
|
3430
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3431
|
+
.sample_query_set;
|
3432
|
+
}
|
3433
|
+
/**
|
3434
|
+
* Parse the sample_query from SampleQuery resource.
|
3435
|
+
*
|
3436
|
+
* @param {string} sampleQueryName
|
3437
|
+
* A fully-qualified path representing SampleQuery resource.
|
3438
|
+
* @returns {string} A string representing the sample_query.
|
3439
|
+
*/
|
3440
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName) {
|
3441
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3442
|
+
.sample_query;
|
3443
|
+
}
|
3444
|
+
/**
|
3445
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
3446
|
+
*
|
3447
|
+
* @param {string} project
|
3448
|
+
* @param {string} location
|
3449
|
+
* @param {string} sample_query_set
|
3450
|
+
* @returns {string} Resource name string.
|
3451
|
+
*/
|
3452
|
+
sampleQuerySetPath(project, location, sampleQuerySet) {
|
3453
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.render({
|
3454
|
+
project: project,
|
3455
|
+
location: location,
|
3456
|
+
sample_query_set: sampleQuerySet,
|
3457
|
+
});
|
3458
|
+
}
|
3459
|
+
/**
|
3460
|
+
* Parse the project from SampleQuerySet resource.
|
3461
|
+
*
|
3462
|
+
* @param {string} sampleQuerySetName
|
3463
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3464
|
+
* @returns {string} A string representing the project.
|
3465
|
+
*/
|
3466
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName) {
|
3467
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
|
3468
|
+
}
|
3469
|
+
/**
|
3470
|
+
* Parse the location from SampleQuerySet resource.
|
3471
|
+
*
|
3472
|
+
* @param {string} sampleQuerySetName
|
3473
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3474
|
+
* @returns {string} A string representing the location.
|
3475
|
+
*/
|
3476
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName) {
|
3477
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
|
3478
|
+
}
|
3479
|
+
/**
|
3480
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
3481
|
+
*
|
3482
|
+
* @param {string} sampleQuerySetName
|
3483
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3484
|
+
* @returns {string} A string representing the sample_query_set.
|
3485
|
+
*/
|
3486
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
|
3487
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
|
3488
|
+
}
|
3150
3489
|
/**
|
3151
3490
|
* Terminate the gRPC channel and close the client.
|
3152
3491
|
*
|