@google-cloud/discoveryengine 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/README.md +13 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
- package/build/protos/protos.d.ts +15133 -7787
- package/build/protos/protos.js +50444 -32043
- package/build/protos/protos.json +4132 -2305
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +588 -3
- package/build/src/v1alpha/completion_service_client.js +831 -2
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
- package/build/src/v1alpha/conversational_search_service_client.js +316 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +562 -2
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +382 -0
- package/build/src/v1alpha/document_service_client.js +514 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +514 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +9 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +316 -0
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +514 -0
- package/build/src/v1alpha/search_service_client.d.ts +258 -15
- package/build/src/v1alpha/search_service_client.js +336 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +514 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +514 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +514 -0
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +104 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +104 -0
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +104 -0
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +104 -0
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +104 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
- package/build/src/v1beta/recommendation_service_client.js +104 -0
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +104 -0
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +108 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
- package/build/src/v1beta/serving_config_service_client.js +166 -5
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +104 -0
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +104 -0
- package/package.json +3 -3
@@ -146,11 +146,14 @@ class SearchServiceClient {
|
|
146
146
|
// identifiers to uniquely identify resources within the API.
|
147
147
|
// Create useful helper objects for these.
|
148
148
|
this.pathTemplates = {
|
149
|
+
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
149
150
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
150
151
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
151
152
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
152
153
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
154
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
153
155
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
156
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
154
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
155
158
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
156
159
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -160,7 +163,9 @@ class SearchServiceClient {
|
|
160
163
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
161
164
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
162
165
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
166
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
163
167
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
168
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
164
169
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
165
170
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
166
171
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -350,6 +355,8 @@ class SearchServiceClient {
|
|
350
355
|
* is unset.
|
351
356
|
*
|
352
357
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
358
|
+
* @param {number[]} request.dataStoreSpecs
|
359
|
+
* A list of data store specs to apply on a search call.
|
353
360
|
* @param {string} request.filter
|
354
361
|
* The filter syntax consists of an expression language for constructing a
|
355
362
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -445,12 +452,13 @@ class SearchServiceClient {
|
|
445
452
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec} request.embeddingSpec
|
446
453
|
* Uses the provided embedding to do additional semantic document retrieval.
|
447
454
|
* The retrieval is based on the dot product of
|
448
|
-
* {@link protos
|
449
|
-
* embedding that is provided in
|
450
|
-
* {@link protos
|
455
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.vector|SearchRequest.EmbeddingSpec.EmbeddingVector.vector}
|
456
|
+
* and the document embedding that is provided in
|
457
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}.
|
451
458
|
*
|
452
|
-
* If
|
453
|
-
*
|
459
|
+
* If
|
460
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
|
461
|
+
* is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
|
454
462
|
* @param {string} request.rankingExpression
|
455
463
|
* The ranking expression controls the customized ranking on retrieval
|
456
464
|
* documents. This overrides
|
@@ -493,6 +501,8 @@ class SearchServiceClient {
|
|
493
501
|
* See [Google Cloud
|
494
502
|
* Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
|
495
503
|
* for more details.
|
504
|
+
* @param {google.cloud.discoveryengine.v1alpha.CustomFineTuningSpec} request.customFineTuningSpec
|
505
|
+
* Custom fine tuning configs.
|
496
506
|
* @param {object} [options]
|
497
507
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
498
508
|
* @returns {Stream}
|
@@ -567,6 +577,8 @@ class SearchServiceClient {
|
|
567
577
|
* is unset.
|
568
578
|
*
|
569
579
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
580
|
+
* @param {number[]} request.dataStoreSpecs
|
581
|
+
* A list of data store specs to apply on a search call.
|
570
582
|
* @param {string} request.filter
|
571
583
|
* The filter syntax consists of an expression language for constructing a
|
572
584
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -662,12 +674,13 @@ class SearchServiceClient {
|
|
662
674
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec} request.embeddingSpec
|
663
675
|
* Uses the provided embedding to do additional semantic document retrieval.
|
664
676
|
* The retrieval is based on the dot product of
|
665
|
-
* {@link protos
|
666
|
-
* embedding that is provided in
|
667
|
-
* {@link protos
|
677
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.vector|SearchRequest.EmbeddingSpec.EmbeddingVector.vector}
|
678
|
+
* and the document embedding that is provided in
|
679
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}.
|
668
680
|
*
|
669
|
-
* If
|
670
|
-
*
|
681
|
+
* If
|
682
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
|
683
|
+
* is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
|
671
684
|
* @param {string} request.rankingExpression
|
672
685
|
* The ranking expression controls the customized ranking on retrieval
|
673
686
|
* documents. This overrides
|
@@ -710,6 +723,8 @@ class SearchServiceClient {
|
|
710
723
|
* See [Google Cloud
|
711
724
|
* Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
|
712
725
|
* for more details.
|
726
|
+
* @param {google.cloud.discoveryengine.v1alpha.CustomFineTuningSpec} request.customFineTuningSpec
|
727
|
+
* Custom fine tuning configs.
|
713
728
|
* @param {object} [options]
|
714
729
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
715
730
|
* @returns {Object}
|
@@ -795,6 +810,41 @@ class SearchServiceClient {
|
|
795
810
|
// --------------------
|
796
811
|
// -- Path templates --
|
797
812
|
// --------------------
|
813
|
+
/**
|
814
|
+
* Return a fully-qualified aclConfig resource name string.
|
815
|
+
*
|
816
|
+
* @param {string} project
|
817
|
+
* @param {string} location
|
818
|
+
* @returns {string} Resource name string.
|
819
|
+
*/
|
820
|
+
aclConfigPath(project, location) {
|
821
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
822
|
+
project: project,
|
823
|
+
location: location,
|
824
|
+
});
|
825
|
+
}
|
826
|
+
/**
|
827
|
+
* Parse the project from AclConfig resource.
|
828
|
+
*
|
829
|
+
* @param {string} aclConfigName
|
830
|
+
* A fully-qualified path representing AclConfig resource.
|
831
|
+
* @returns {string} A string representing the project.
|
832
|
+
*/
|
833
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
834
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
835
|
+
.project;
|
836
|
+
}
|
837
|
+
/**
|
838
|
+
* Parse the location from AclConfig resource.
|
839
|
+
*
|
840
|
+
* @param {string} aclConfigName
|
841
|
+
* A fully-qualified path representing AclConfig resource.
|
842
|
+
* @returns {string} A string representing the location.
|
843
|
+
*/
|
844
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
845
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
846
|
+
.location;
|
847
|
+
}
|
798
848
|
/**
|
799
849
|
* Return a fully-qualified engine resource name string.
|
800
850
|
*
|
@@ -1059,6 +1109,99 @@ class SearchServiceClient {
|
|
1059
1109
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1060
1110
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1061
1111
|
}
|
1112
|
+
/**
|
1113
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1114
|
+
*
|
1115
|
+
* @param {string} project
|
1116
|
+
* @param {string} location
|
1117
|
+
* @param {string} collection
|
1118
|
+
* @param {string} data_store
|
1119
|
+
* @param {string} branch
|
1120
|
+
* @param {string} document
|
1121
|
+
* @param {string} chunk
|
1122
|
+
* @returns {string} Resource name string.
|
1123
|
+
*/
|
1124
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1125
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1126
|
+
project: project,
|
1127
|
+
location: location,
|
1128
|
+
collection: collection,
|
1129
|
+
data_store: dataStore,
|
1130
|
+
branch: branch,
|
1131
|
+
document: document,
|
1132
|
+
chunk: chunk,
|
1133
|
+
});
|
1134
|
+
}
|
1135
|
+
/**
|
1136
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1137
|
+
*
|
1138
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1139
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1140
|
+
* @returns {string} A string representing the project.
|
1141
|
+
*/
|
1142
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1143
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1144
|
+
}
|
1145
|
+
/**
|
1146
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1147
|
+
*
|
1148
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1149
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1150
|
+
* @returns {string} A string representing the location.
|
1151
|
+
*/
|
1152
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1153
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1154
|
+
}
|
1155
|
+
/**
|
1156
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1157
|
+
*
|
1158
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1159
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1160
|
+
* @returns {string} A string representing the collection.
|
1161
|
+
*/
|
1162
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1163
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1164
|
+
}
|
1165
|
+
/**
|
1166
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1167
|
+
*
|
1168
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1169
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1170
|
+
* @returns {string} A string representing the data_store.
|
1171
|
+
*/
|
1172
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1173
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1174
|
+
}
|
1175
|
+
/**
|
1176
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1177
|
+
*
|
1178
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1179
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1180
|
+
* @returns {string} A string representing the branch.
|
1181
|
+
*/
|
1182
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1183
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1184
|
+
}
|
1185
|
+
/**
|
1186
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1187
|
+
*
|
1188
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1189
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1190
|
+
* @returns {string} A string representing the document.
|
1191
|
+
*/
|
1192
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1193
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1194
|
+
}
|
1195
|
+
/**
|
1196
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1197
|
+
*
|
1198
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1199
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1200
|
+
* @returns {string} A string representing the chunk.
|
1201
|
+
*/
|
1202
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1203
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1204
|
+
}
|
1062
1205
|
/**
|
1063
1206
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1064
1207
|
*
|
@@ -1128,6 +1271,63 @@ class SearchServiceClient {
|
|
1128
1271
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1129
1272
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1130
1273
|
}
|
1274
|
+
/**
|
1275
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1276
|
+
*
|
1277
|
+
* @param {string} project
|
1278
|
+
* @param {string} location
|
1279
|
+
* @param {string} collection
|
1280
|
+
* @param {string} data_store
|
1281
|
+
* @returns {string} Resource name string.
|
1282
|
+
*/
|
1283
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1284
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1285
|
+
project: project,
|
1286
|
+
location: location,
|
1287
|
+
collection: collection,
|
1288
|
+
data_store: dataStore,
|
1289
|
+
});
|
1290
|
+
}
|
1291
|
+
/**
|
1292
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1293
|
+
*
|
1294
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1295
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1296
|
+
* @returns {string} A string representing the project.
|
1297
|
+
*/
|
1298
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1299
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1300
|
+
}
|
1301
|
+
/**
|
1302
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1303
|
+
*
|
1304
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1305
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1306
|
+
* @returns {string} A string representing the location.
|
1307
|
+
*/
|
1308
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1309
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1310
|
+
}
|
1311
|
+
/**
|
1312
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1313
|
+
*
|
1314
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1315
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1316
|
+
* @returns {string} A string representing the collection.
|
1317
|
+
*/
|
1318
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1319
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1320
|
+
}
|
1321
|
+
/**
|
1322
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1323
|
+
*
|
1324
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1325
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1326
|
+
* @returns {string} A string representing the data_store.
|
1327
|
+
*/
|
1328
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1329
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1330
|
+
}
|
1131
1331
|
/**
|
1132
1332
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1133
1333
|
*
|
@@ -1701,6 +1901,87 @@ class SearchServiceClient {
|
|
1701
1901
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1702
1902
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1703
1903
|
}
|
1904
|
+
/**
|
1905
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1906
|
+
*
|
1907
|
+
* @param {string} project
|
1908
|
+
* @param {string} location
|
1909
|
+
* @param {string} data_store
|
1910
|
+
* @param {string} branch
|
1911
|
+
* @param {string} document
|
1912
|
+
* @param {string} chunk
|
1913
|
+
* @returns {string} Resource name string.
|
1914
|
+
*/
|
1915
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1916
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1917
|
+
project: project,
|
1918
|
+
location: location,
|
1919
|
+
data_store: dataStore,
|
1920
|
+
branch: branch,
|
1921
|
+
document: document,
|
1922
|
+
chunk: chunk,
|
1923
|
+
});
|
1924
|
+
}
|
1925
|
+
/**
|
1926
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1927
|
+
*
|
1928
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1929
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1930
|
+
* @returns {string} A string representing the project.
|
1931
|
+
*/
|
1932
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1933
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1934
|
+
}
|
1935
|
+
/**
|
1936
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1937
|
+
*
|
1938
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1939
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1940
|
+
* @returns {string} A string representing the location.
|
1941
|
+
*/
|
1942
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1943
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1944
|
+
}
|
1945
|
+
/**
|
1946
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1947
|
+
*
|
1948
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1949
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1950
|
+
* @returns {string} A string representing the data_store.
|
1951
|
+
*/
|
1952
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1953
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1954
|
+
}
|
1955
|
+
/**
|
1956
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1957
|
+
*
|
1958
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1959
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1960
|
+
* @returns {string} A string representing the branch.
|
1961
|
+
*/
|
1962
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1963
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1964
|
+
}
|
1965
|
+
/**
|
1966
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1967
|
+
*
|
1968
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1969
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1970
|
+
* @returns {string} A string representing the document.
|
1971
|
+
*/
|
1972
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1973
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
1974
|
+
}
|
1975
|
+
/**
|
1976
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1977
|
+
*
|
1978
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1979
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1980
|
+
* @returns {string} A string representing the chunk.
|
1981
|
+
*/
|
1982
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1983
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1984
|
+
}
|
1704
1985
|
/**
|
1705
1986
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1706
1987
|
*
|
@@ -1758,6 +2039,51 @@ class SearchServiceClient {
|
|
1758
2039
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1759
2040
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1760
2041
|
}
|
2042
|
+
/**
|
2043
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2044
|
+
*
|
2045
|
+
* @param {string} project
|
2046
|
+
* @param {string} location
|
2047
|
+
* @param {string} data_store
|
2048
|
+
* @returns {string} Resource name string.
|
2049
|
+
*/
|
2050
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
2051
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
2052
|
+
project: project,
|
2053
|
+
location: location,
|
2054
|
+
data_store: dataStore,
|
2055
|
+
});
|
2056
|
+
}
|
2057
|
+
/**
|
2058
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2059
|
+
*
|
2060
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2061
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2062
|
+
* @returns {string} A string representing the project.
|
2063
|
+
*/
|
2064
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2065
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
2066
|
+
}
|
2067
|
+
/**
|
2068
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2069
|
+
*
|
2070
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2071
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2072
|
+
* @returns {string} A string representing the location.
|
2073
|
+
*/
|
2074
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2075
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
2076
|
+
}
|
2077
|
+
/**
|
2078
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2079
|
+
*
|
2080
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2081
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2082
|
+
* @returns {string} A string representing the data_store.
|
2083
|
+
*/
|
2084
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2085
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
2086
|
+
}
|
1761
2087
|
/**
|
1762
2088
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1763
2089
|
*
|