@google-cloud/discoveryengine 1.4.0 → 1.4.1
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 +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,18 +146,26 @@ class SearchTuningServiceClient {
|
|
|
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
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
153
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
152
154
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
155
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
|
153
156
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
157
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
154
158
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
155
159
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
156
160
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
|
161
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
|
157
162
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
158
163
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
164
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
|
159
165
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
166
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
|
160
167
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
168
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
161
169
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
162
170
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
|
163
171
|
};
|
|
@@ -599,6 +607,41 @@ class SearchTuningServiceClient {
|
|
|
599
607
|
// --------------------
|
|
600
608
|
// -- Path templates --
|
|
601
609
|
// --------------------
|
|
610
|
+
/**
|
|
611
|
+
* Return a fully-qualified aclConfig resource name string.
|
|
612
|
+
*
|
|
613
|
+
* @param {string} project
|
|
614
|
+
* @param {string} location
|
|
615
|
+
* @returns {string} Resource name string.
|
|
616
|
+
*/
|
|
617
|
+
aclConfigPath(project, location) {
|
|
618
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
|
619
|
+
project: project,
|
|
620
|
+
location: location,
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Parse the project from AclConfig resource.
|
|
625
|
+
*
|
|
626
|
+
* @param {string} aclConfigName
|
|
627
|
+
* A fully-qualified path representing AclConfig resource.
|
|
628
|
+
* @returns {string} A string representing the project.
|
|
629
|
+
*/
|
|
630
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
|
631
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
632
|
+
.project;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Parse the location from AclConfig resource.
|
|
636
|
+
*
|
|
637
|
+
* @param {string} aclConfigName
|
|
638
|
+
* A fully-qualified path representing AclConfig resource.
|
|
639
|
+
* @returns {string} A string representing the location.
|
|
640
|
+
*/
|
|
641
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
|
642
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
|
643
|
+
.location;
|
|
644
|
+
}
|
|
602
645
|
/**
|
|
603
646
|
* Return a fully-qualified engine resource name string.
|
|
604
647
|
*
|
|
@@ -794,6 +837,99 @@ class SearchTuningServiceClient {
|
|
|
794
837
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
|
795
838
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
|
796
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
|
842
|
+
*
|
|
843
|
+
* @param {string} project
|
|
844
|
+
* @param {string} location
|
|
845
|
+
* @param {string} collection
|
|
846
|
+
* @param {string} data_store
|
|
847
|
+
* @param {string} branch
|
|
848
|
+
* @param {string} document
|
|
849
|
+
* @param {string} chunk
|
|
850
|
+
* @returns {string} Resource name string.
|
|
851
|
+
*/
|
|
852
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
|
853
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
|
854
|
+
project: project,
|
|
855
|
+
location: location,
|
|
856
|
+
collection: collection,
|
|
857
|
+
data_store: dataStore,
|
|
858
|
+
branch: branch,
|
|
859
|
+
document: document,
|
|
860
|
+
chunk: chunk,
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
865
|
+
*
|
|
866
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
867
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
868
|
+
* @returns {string} A string representing the project.
|
|
869
|
+
*/
|
|
870
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
871
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
875
|
+
*
|
|
876
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
877
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
878
|
+
* @returns {string} A string representing the location.
|
|
879
|
+
*/
|
|
880
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
881
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
885
|
+
*
|
|
886
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
887
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
888
|
+
* @returns {string} A string representing the collection.
|
|
889
|
+
*/
|
|
890
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
891
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
895
|
+
*
|
|
896
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
897
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
898
|
+
* @returns {string} A string representing the data_store.
|
|
899
|
+
*/
|
|
900
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
901
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
905
|
+
*
|
|
906
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
907
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
908
|
+
* @returns {string} A string representing the branch.
|
|
909
|
+
*/
|
|
910
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
911
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
915
|
+
*
|
|
916
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
917
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
918
|
+
* @returns {string} A string representing the document.
|
|
919
|
+
*/
|
|
920
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
921
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
|
925
|
+
*
|
|
926
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
|
927
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
|
928
|
+
* @returns {string} A string representing the chunk.
|
|
929
|
+
*/
|
|
930
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
|
931
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
|
932
|
+
}
|
|
797
933
|
/**
|
|
798
934
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
|
799
935
|
*
|
|
@@ -863,6 +999,63 @@ class SearchTuningServiceClient {
|
|
|
863
999
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
864
1000
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
865
1001
|
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
1004
|
+
*
|
|
1005
|
+
* @param {string} project
|
|
1006
|
+
* @param {string} location
|
|
1007
|
+
* @param {string} collection
|
|
1008
|
+
* @param {string} data_store
|
|
1009
|
+
* @returns {string} Resource name string.
|
|
1010
|
+
*/
|
|
1011
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
1012
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1013
|
+
project: project,
|
|
1014
|
+
location: location,
|
|
1015
|
+
collection: collection,
|
|
1016
|
+
data_store: dataStore,
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1021
|
+
*
|
|
1022
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1023
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1024
|
+
* @returns {string} A string representing the project.
|
|
1025
|
+
*/
|
|
1026
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1027
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1031
|
+
*
|
|
1032
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1033
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1034
|
+
* @returns {string} A string representing the location.
|
|
1035
|
+
*/
|
|
1036
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1037
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1041
|
+
*
|
|
1042
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1043
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1044
|
+
* @returns {string} A string representing the collection.
|
|
1045
|
+
*/
|
|
1046
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1047
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1051
|
+
*
|
|
1052
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1053
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1054
|
+
* @returns {string} A string representing the data_store.
|
|
1055
|
+
*/
|
|
1056
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
1057
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
1058
|
+
}
|
|
866
1059
|
/**
|
|
867
1060
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
868
1061
|
*
|
|
@@ -932,6 +1125,75 @@ class SearchTuningServiceClient {
|
|
|
932
1125
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
|
933
1126
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
|
934
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
|
1130
|
+
*
|
|
1131
|
+
* @param {string} project
|
|
1132
|
+
* @param {string} location
|
|
1133
|
+
* @param {string} collection
|
|
1134
|
+
* @param {string} data_store
|
|
1135
|
+
* @param {string} serving_config
|
|
1136
|
+
* @returns {string} Resource name string.
|
|
1137
|
+
*/
|
|
1138
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
|
1139
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
|
1140
|
+
project: project,
|
|
1141
|
+
location: location,
|
|
1142
|
+
collection: collection,
|
|
1143
|
+
data_store: dataStore,
|
|
1144
|
+
serving_config: servingConfig,
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1149
|
+
*
|
|
1150
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1151
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1152
|
+
* @returns {string} A string representing the project.
|
|
1153
|
+
*/
|
|
1154
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1155
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1159
|
+
*
|
|
1160
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1161
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1162
|
+
* @returns {string} A string representing the location.
|
|
1163
|
+
*/
|
|
1164
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1165
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1169
|
+
*
|
|
1170
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1171
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1172
|
+
* @returns {string} A string representing the collection.
|
|
1173
|
+
*/
|
|
1174
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1175
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
|
1176
|
+
}
|
|
1177
|
+
/**
|
|
1178
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1179
|
+
*
|
|
1180
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1181
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1182
|
+
* @returns {string} A string representing the data_store.
|
|
1183
|
+
*/
|
|
1184
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1185
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
|
1189
|
+
*
|
|
1190
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
|
1191
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
|
1192
|
+
* @returns {string} A string representing the serving_config.
|
|
1193
|
+
*/
|
|
1194
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
|
1195
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
|
1196
|
+
}
|
|
935
1197
|
/**
|
|
936
1198
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
|
937
1199
|
*
|
|
@@ -1127,6 +1389,75 @@ class SearchTuningServiceClient {
|
|
|
1127
1389
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
|
1128
1390
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
|
1129
1391
|
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
|
1394
|
+
*
|
|
1395
|
+
* @param {string} project
|
|
1396
|
+
* @param {string} location
|
|
1397
|
+
* @param {string} collection
|
|
1398
|
+
* @param {string} engine
|
|
1399
|
+
* @param {string} serving_config
|
|
1400
|
+
* @returns {string} Resource name string.
|
|
1401
|
+
*/
|
|
1402
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
|
1403
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
|
1404
|
+
project: project,
|
|
1405
|
+
location: location,
|
|
1406
|
+
collection: collection,
|
|
1407
|
+
engine: engine,
|
|
1408
|
+
serving_config: servingConfig,
|
|
1409
|
+
});
|
|
1410
|
+
}
|
|
1411
|
+
/**
|
|
1412
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
|
1413
|
+
*
|
|
1414
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1415
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1416
|
+
* @returns {string} A string representing the project.
|
|
1417
|
+
*/
|
|
1418
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1419
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
|
1423
|
+
*
|
|
1424
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1425
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1426
|
+
* @returns {string} A string representing the location.
|
|
1427
|
+
*/
|
|
1428
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1429
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
|
1433
|
+
*
|
|
1434
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1435
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1436
|
+
* @returns {string} A string representing the collection.
|
|
1437
|
+
*/
|
|
1438
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1439
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
|
1443
|
+
*
|
|
1444
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1445
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1446
|
+
* @returns {string} A string representing the engine.
|
|
1447
|
+
*/
|
|
1448
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1449
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
|
1453
|
+
*
|
|
1454
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
|
1455
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
|
1456
|
+
* @returns {string} A string representing the serving_config.
|
|
1457
|
+
*/
|
|
1458
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
|
1459
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
|
1460
|
+
}
|
|
1130
1461
|
/**
|
|
1131
1462
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
|
1132
1463
|
*
|
|
@@ -1241,6 +1572,87 @@ class SearchTuningServiceClient {
|
|
|
1241
1572
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
|
1242
1573
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
|
1243
1574
|
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
|
1577
|
+
*
|
|
1578
|
+
* @param {string} project
|
|
1579
|
+
* @param {string} location
|
|
1580
|
+
* @param {string} data_store
|
|
1581
|
+
* @param {string} branch
|
|
1582
|
+
* @param {string} document
|
|
1583
|
+
* @param {string} chunk
|
|
1584
|
+
* @returns {string} Resource name string.
|
|
1585
|
+
*/
|
|
1586
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
|
1587
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
|
1588
|
+
project: project,
|
|
1589
|
+
location: location,
|
|
1590
|
+
data_store: dataStore,
|
|
1591
|
+
branch: branch,
|
|
1592
|
+
document: document,
|
|
1593
|
+
chunk: chunk,
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1598
|
+
*
|
|
1599
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1600
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1601
|
+
* @returns {string} A string representing the project.
|
|
1602
|
+
*/
|
|
1603
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1604
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1608
|
+
*
|
|
1609
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1610
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1611
|
+
* @returns {string} A string representing the location.
|
|
1612
|
+
*/
|
|
1613
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1614
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
|
1615
|
+
}
|
|
1616
|
+
/**
|
|
1617
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1618
|
+
*
|
|
1619
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1620
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1621
|
+
* @returns {string} A string representing the data_store.
|
|
1622
|
+
*/
|
|
1623
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1624
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1628
|
+
*
|
|
1629
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1630
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1631
|
+
* @returns {string} A string representing the branch.
|
|
1632
|
+
*/
|
|
1633
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1634
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1638
|
+
*
|
|
1639
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1640
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1641
|
+
* @returns {string} A string representing the document.
|
|
1642
|
+
*/
|
|
1643
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1644
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
|
1648
|
+
*
|
|
1649
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
|
1650
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
|
1651
|
+
* @returns {string} A string representing the chunk.
|
|
1652
|
+
*/
|
|
1653
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
|
1654
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
|
1655
|
+
}
|
|
1244
1656
|
/**
|
|
1245
1657
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
|
1246
1658
|
*
|
|
@@ -1298,6 +1710,51 @@ class SearchTuningServiceClient {
|
|
|
1298
1710
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1299
1711
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1300
1712
|
}
|
|
1713
|
+
/**
|
|
1714
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1715
|
+
*
|
|
1716
|
+
* @param {string} project
|
|
1717
|
+
* @param {string} location
|
|
1718
|
+
* @param {string} data_store
|
|
1719
|
+
* @returns {string} Resource name string.
|
|
1720
|
+
*/
|
|
1721
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
1722
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1723
|
+
project: project,
|
|
1724
|
+
location: location,
|
|
1725
|
+
data_store: dataStore,
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
/**
|
|
1729
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1730
|
+
*
|
|
1731
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1732
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1733
|
+
* @returns {string} A string representing the project.
|
|
1734
|
+
*/
|
|
1735
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1736
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
1737
|
+
}
|
|
1738
|
+
/**
|
|
1739
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1740
|
+
*
|
|
1741
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1742
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1743
|
+
* @returns {string} A string representing the location.
|
|
1744
|
+
*/
|
|
1745
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1746
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1750
|
+
*
|
|
1751
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1752
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1753
|
+
* @returns {string} A string representing the data_store.
|
|
1754
|
+
*/
|
|
1755
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1756
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
1757
|
+
}
|
|
1301
1758
|
/**
|
|
1302
1759
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1303
1760
|
*
|
|
@@ -1355,6 +1812,63 @@ class SearchTuningServiceClient {
|
|
|
1355
1812
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
|
1356
1813
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
|
1357
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
|
1817
|
+
*
|
|
1818
|
+
* @param {string} project
|
|
1819
|
+
* @param {string} location
|
|
1820
|
+
* @param {string} data_store
|
|
1821
|
+
* @param {string} serving_config
|
|
1822
|
+
* @returns {string} Resource name string.
|
|
1823
|
+
*/
|
|
1824
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
|
1825
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
|
1826
|
+
project: project,
|
|
1827
|
+
location: location,
|
|
1828
|
+
data_store: dataStore,
|
|
1829
|
+
serving_config: servingConfig,
|
|
1830
|
+
});
|
|
1831
|
+
}
|
|
1832
|
+
/**
|
|
1833
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
|
1834
|
+
*
|
|
1835
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1836
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1837
|
+
* @returns {string} A string representing the project.
|
|
1838
|
+
*/
|
|
1839
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1840
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
|
1844
|
+
*
|
|
1845
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1846
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1847
|
+
* @returns {string} A string representing the location.
|
|
1848
|
+
*/
|
|
1849
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1850
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
|
1851
|
+
}
|
|
1852
|
+
/**
|
|
1853
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
|
1854
|
+
*
|
|
1855
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1856
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1857
|
+
* @returns {string} A string representing the data_store.
|
|
1858
|
+
*/
|
|
1859
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1860
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
|
1864
|
+
*
|
|
1865
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
|
1866
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
|
1867
|
+
* @returns {string} A string representing the serving_config.
|
|
1868
|
+
*/
|
|
1869
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
|
1870
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
|
1871
|
+
}
|
|
1358
1872
|
/**
|
|
1359
1873
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
|
1360
1874
|
*
|