@google-cloud/discoveryengine 1.8.0 → 1.9.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 +8 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -592,6 +592,57 @@ export declare class ServingConfigServiceClient {
|
|
592
592
|
* @returns {string} A string representing the chunk.
|
593
593
|
*/
|
594
594
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
595
|
+
/**
|
596
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
597
|
+
*
|
598
|
+
* @param {string} project
|
599
|
+
* @param {string} location
|
600
|
+
* @param {string} collection
|
601
|
+
* @param {string} data_store
|
602
|
+
* @param {string} control
|
603
|
+
* @returns {string} Resource name string.
|
604
|
+
*/
|
605
|
+
projectLocationCollectionDataStoreControlPath(project: string, location: string, collection: string, dataStore: string, control: string): string;
|
606
|
+
/**
|
607
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
608
|
+
*
|
609
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
610
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
611
|
+
* @returns {string} A string representing the project.
|
612
|
+
*/
|
613
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
614
|
+
/**
|
615
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
616
|
+
*
|
617
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
618
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
619
|
+
* @returns {string} A string representing the location.
|
620
|
+
*/
|
621
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
622
|
+
/**
|
623
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
624
|
+
*
|
625
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
626
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
627
|
+
* @returns {string} A string representing the collection.
|
628
|
+
*/
|
629
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
630
|
+
/**
|
631
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
632
|
+
*
|
633
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
634
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
635
|
+
* @returns {string} A string representing the data_store.
|
636
|
+
*/
|
637
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
638
|
+
/**
|
639
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
640
|
+
*
|
641
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
642
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
643
|
+
* @returns {string} A string representing the control.
|
644
|
+
*/
|
645
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
595
646
|
/**
|
596
647
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
597
648
|
*
|
@@ -643,6 +694,57 @@ export declare class ServingConfigServiceClient {
|
|
643
694
|
* @returns {string} A string representing the conversation.
|
644
695
|
*/
|
645
696
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
697
|
+
/**
|
698
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
699
|
+
*
|
700
|
+
* @param {string} project
|
701
|
+
* @param {string} location
|
702
|
+
* @param {string} collection
|
703
|
+
* @param {string} data_store
|
704
|
+
* @param {string} custom_tuning_model
|
705
|
+
* @returns {string} Resource name string.
|
706
|
+
*/
|
707
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
|
708
|
+
/**
|
709
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
710
|
+
*
|
711
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
712
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
713
|
+
* @returns {string} A string representing the project.
|
714
|
+
*/
|
715
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
716
|
+
/**
|
717
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
718
|
+
*
|
719
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
720
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
721
|
+
* @returns {string} A string representing the location.
|
722
|
+
*/
|
723
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
724
|
+
/**
|
725
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
726
|
+
*
|
727
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
728
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
729
|
+
* @returns {string} A string representing the collection.
|
730
|
+
*/
|
731
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
732
|
+
/**
|
733
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
734
|
+
*
|
735
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
736
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
737
|
+
* @returns {string} A string representing the data_store.
|
738
|
+
*/
|
739
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
740
|
+
/**
|
741
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
742
|
+
*
|
743
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
744
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
745
|
+
* @returns {string} A string representing the custom_tuning_model.
|
746
|
+
*/
|
747
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
646
748
|
/**
|
647
749
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
648
750
|
*
|
@@ -991,6 +1093,57 @@ export declare class ServingConfigServiceClient {
|
|
991
1093
|
* @returns {string} A string representing the target_site.
|
992
1094
|
*/
|
993
1095
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1096
|
+
/**
|
1097
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1098
|
+
*
|
1099
|
+
* @param {string} project
|
1100
|
+
* @param {string} location
|
1101
|
+
* @param {string} collection
|
1102
|
+
* @param {string} engine
|
1103
|
+
* @param {string} control
|
1104
|
+
* @returns {string} Resource name string.
|
1105
|
+
*/
|
1106
|
+
projectLocationCollectionEngineControlPath(project: string, location: string, collection: string, engine: string, control: string): string;
|
1107
|
+
/**
|
1108
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1109
|
+
*
|
1110
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1111
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1112
|
+
* @returns {string} A string representing the project.
|
1113
|
+
*/
|
1114
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1115
|
+
/**
|
1116
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1117
|
+
*
|
1118
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1119
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1120
|
+
* @returns {string} A string representing the location.
|
1121
|
+
*/
|
1122
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1123
|
+
/**
|
1124
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1125
|
+
*
|
1126
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1127
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1128
|
+
* @returns {string} A string representing the collection.
|
1129
|
+
*/
|
1130
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1131
|
+
/**
|
1132
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1133
|
+
*
|
1134
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1135
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1136
|
+
* @returns {string} A string representing the engine.
|
1137
|
+
*/
|
1138
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1139
|
+
/**
|
1140
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1141
|
+
*
|
1142
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1143
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1144
|
+
* @returns {string} A string representing the control.
|
1145
|
+
*/
|
1146
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
994
1147
|
/**
|
995
1148
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
996
1149
|
*
|
@@ -1348,6 +1501,48 @@ export declare class ServingConfigServiceClient {
|
|
1348
1501
|
* @returns {string} A string representing the chunk.
|
1349
1502
|
*/
|
1350
1503
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1504
|
+
/**
|
1505
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1506
|
+
*
|
1507
|
+
* @param {string} project
|
1508
|
+
* @param {string} location
|
1509
|
+
* @param {string} data_store
|
1510
|
+
* @param {string} control
|
1511
|
+
* @returns {string} Resource name string.
|
1512
|
+
*/
|
1513
|
+
projectLocationDataStoreControlPath(project: string, location: string, dataStore: string, control: string): string;
|
1514
|
+
/**
|
1515
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
1516
|
+
*
|
1517
|
+
* @param {string} projectLocationDataStoreControlName
|
1518
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1519
|
+
* @returns {string} A string representing the project.
|
1520
|
+
*/
|
1521
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1522
|
+
/**
|
1523
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
1524
|
+
*
|
1525
|
+
* @param {string} projectLocationDataStoreControlName
|
1526
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1527
|
+
* @returns {string} A string representing the location.
|
1528
|
+
*/
|
1529
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1530
|
+
/**
|
1531
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
1532
|
+
*
|
1533
|
+
* @param {string} projectLocationDataStoreControlName
|
1534
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1535
|
+
* @returns {string} A string representing the data_store.
|
1536
|
+
*/
|
1537
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1538
|
+
/**
|
1539
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
1540
|
+
*
|
1541
|
+
* @param {string} projectLocationDataStoreControlName
|
1542
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1543
|
+
* @returns {string} A string representing the control.
|
1544
|
+
*/
|
1545
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1351
1546
|
/**
|
1352
1547
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1353
1548
|
*
|
@@ -1390,6 +1585,48 @@ export declare class ServingConfigServiceClient {
|
|
1390
1585
|
* @returns {string} A string representing the conversation.
|
1391
1586
|
*/
|
1392
1587
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1588
|
+
/**
|
1589
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
1590
|
+
*
|
1591
|
+
* @param {string} project
|
1592
|
+
* @param {string} location
|
1593
|
+
* @param {string} data_store
|
1594
|
+
* @param {string} custom_tuning_model
|
1595
|
+
* @returns {string} Resource name string.
|
1596
|
+
*/
|
1597
|
+
projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
|
1598
|
+
/**
|
1599
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
1600
|
+
*
|
1601
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1602
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1603
|
+
* @returns {string} A string representing the project.
|
1604
|
+
*/
|
1605
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1606
|
+
/**
|
1607
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
1608
|
+
*
|
1609
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1610
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1611
|
+
* @returns {string} A string representing the location.
|
1612
|
+
*/
|
1613
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1614
|
+
/**
|
1615
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
1616
|
+
*
|
1617
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1618
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1619
|
+
* @returns {string} A string representing the data_store.
|
1620
|
+
*/
|
1621
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1622
|
+
/**
|
1623
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
1624
|
+
*
|
1625
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1626
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1627
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1628
|
+
*/
|
1629
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1393
1630
|
/**
|
1394
1631
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1395
1632
|
*
|
@@ -157,7 +157,9 @@ class ServingConfigServiceClient {
|
|
157
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
159
159
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
160
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
160
161
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
162
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
161
163
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
162
164
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
163
165
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -165,6 +167,7 @@ class ServingConfigServiceClient {
|
|
165
167
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
166
168
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
167
169
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
170
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
168
171
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
169
172
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
173
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -172,7 +175,9 @@ class ServingConfigServiceClient {
|
|
172
175
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
173
176
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
177
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
178
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
175
179
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
180
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
176
181
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
177
182
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
178
183
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -883,6 +888,75 @@ class ServingConfigServiceClient {
|
|
883
888
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
884
889
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
885
890
|
}
|
891
|
+
/**
|
892
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
893
|
+
*
|
894
|
+
* @param {string} project
|
895
|
+
* @param {string} location
|
896
|
+
* @param {string} collection
|
897
|
+
* @param {string} data_store
|
898
|
+
* @param {string} control
|
899
|
+
* @returns {string} Resource name string.
|
900
|
+
*/
|
901
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
903
|
+
project: project,
|
904
|
+
location: location,
|
905
|
+
collection: collection,
|
906
|
+
data_store: dataStore,
|
907
|
+
control: control,
|
908
|
+
});
|
909
|
+
}
|
910
|
+
/**
|
911
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
912
|
+
*
|
913
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
914
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
915
|
+
* @returns {string} A string representing the project.
|
916
|
+
*/
|
917
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
918
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
919
|
+
}
|
920
|
+
/**
|
921
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
922
|
+
*
|
923
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
924
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
925
|
+
* @returns {string} A string representing the location.
|
926
|
+
*/
|
927
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
928
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
929
|
+
}
|
930
|
+
/**
|
931
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
932
|
+
*
|
933
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
934
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
935
|
+
* @returns {string} A string representing the collection.
|
936
|
+
*/
|
937
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
938
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
939
|
+
}
|
940
|
+
/**
|
941
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
942
|
+
*
|
943
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
944
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
945
|
+
* @returns {string} A string representing the data_store.
|
946
|
+
*/
|
947
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
948
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
949
|
+
}
|
950
|
+
/**
|
951
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
952
|
+
*
|
953
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
954
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
955
|
+
* @returns {string} A string representing the control.
|
956
|
+
*/
|
957
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
958
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
959
|
+
}
|
886
960
|
/**
|
887
961
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
888
962
|
*
|
@@ -952,6 +1026,75 @@ class ServingConfigServiceClient {
|
|
952
1026
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
953
1027
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
954
1028
|
}
|
1029
|
+
/**
|
1030
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1031
|
+
*
|
1032
|
+
* @param {string} project
|
1033
|
+
* @param {string} location
|
1034
|
+
* @param {string} collection
|
1035
|
+
* @param {string} data_store
|
1036
|
+
* @param {string} custom_tuning_model
|
1037
|
+
* @returns {string} Resource name string.
|
1038
|
+
*/
|
1039
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1040
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1041
|
+
project: project,
|
1042
|
+
location: location,
|
1043
|
+
collection: collection,
|
1044
|
+
data_store: dataStore,
|
1045
|
+
custom_tuning_model: customTuningModel,
|
1046
|
+
});
|
1047
|
+
}
|
1048
|
+
/**
|
1049
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1050
|
+
*
|
1051
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1052
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1053
|
+
* @returns {string} A string representing the project.
|
1054
|
+
*/
|
1055
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1056
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1057
|
+
}
|
1058
|
+
/**
|
1059
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1060
|
+
*
|
1061
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1062
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1063
|
+
* @returns {string} A string representing the location.
|
1064
|
+
*/
|
1065
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1066
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1067
|
+
}
|
1068
|
+
/**
|
1069
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1070
|
+
*
|
1071
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1072
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1073
|
+
* @returns {string} A string representing the collection.
|
1074
|
+
*/
|
1075
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1076
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1077
|
+
}
|
1078
|
+
/**
|
1079
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1080
|
+
*
|
1081
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1082
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1083
|
+
* @returns {string} A string representing the data_store.
|
1084
|
+
*/
|
1085
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1086
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1087
|
+
}
|
1088
|
+
/**
|
1089
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1090
|
+
*
|
1091
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1092
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1093
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1094
|
+
*/
|
1095
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1096
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1097
|
+
}
|
955
1098
|
/**
|
956
1099
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
957
1100
|
*
|
@@ -1423,6 +1566,75 @@ class ServingConfigServiceClient {
|
|
1423
1566
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1424
1567
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1425
1568
|
}
|
1569
|
+
/**
|
1570
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1571
|
+
*
|
1572
|
+
* @param {string} project
|
1573
|
+
* @param {string} location
|
1574
|
+
* @param {string} collection
|
1575
|
+
* @param {string} engine
|
1576
|
+
* @param {string} control
|
1577
|
+
* @returns {string} Resource name string.
|
1578
|
+
*/
|
1579
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1580
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1581
|
+
project: project,
|
1582
|
+
location: location,
|
1583
|
+
collection: collection,
|
1584
|
+
engine: engine,
|
1585
|
+
control: control,
|
1586
|
+
});
|
1587
|
+
}
|
1588
|
+
/**
|
1589
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1590
|
+
*
|
1591
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1592
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1593
|
+
* @returns {string} A string representing the project.
|
1594
|
+
*/
|
1595
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1596
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1597
|
+
}
|
1598
|
+
/**
|
1599
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1600
|
+
*
|
1601
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1602
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1603
|
+
* @returns {string} A string representing the location.
|
1604
|
+
*/
|
1605
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1606
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1607
|
+
}
|
1608
|
+
/**
|
1609
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1610
|
+
*
|
1611
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1612
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1613
|
+
* @returns {string} A string representing the collection.
|
1614
|
+
*/
|
1615
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1616
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1617
|
+
}
|
1618
|
+
/**
|
1619
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1620
|
+
*
|
1621
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1622
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1623
|
+
* @returns {string} A string representing the engine.
|
1624
|
+
*/
|
1625
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1626
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1627
|
+
}
|
1628
|
+
/**
|
1629
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1630
|
+
*
|
1631
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1632
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1633
|
+
* @returns {string} A string representing the control.
|
1634
|
+
*/
|
1635
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1636
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1637
|
+
}
|
1426
1638
|
/**
|
1427
1639
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1428
1640
|
*
|
@@ -1906,6 +2118,63 @@ class ServingConfigServiceClient {
|
|
1906
2118
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1907
2119
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1908
2120
|
}
|
2121
|
+
/**
|
2122
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2123
|
+
*
|
2124
|
+
* @param {string} project
|
2125
|
+
* @param {string} location
|
2126
|
+
* @param {string} data_store
|
2127
|
+
* @param {string} control
|
2128
|
+
* @returns {string} Resource name string.
|
2129
|
+
*/
|
2130
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2131
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2132
|
+
project: project,
|
2133
|
+
location: location,
|
2134
|
+
data_store: dataStore,
|
2135
|
+
control: control,
|
2136
|
+
});
|
2137
|
+
}
|
2138
|
+
/**
|
2139
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2140
|
+
*
|
2141
|
+
* @param {string} projectLocationDataStoreControlName
|
2142
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2143
|
+
* @returns {string} A string representing the project.
|
2144
|
+
*/
|
2145
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2146
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2147
|
+
}
|
2148
|
+
/**
|
2149
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2150
|
+
*
|
2151
|
+
* @param {string} projectLocationDataStoreControlName
|
2152
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2153
|
+
* @returns {string} A string representing the location.
|
2154
|
+
*/
|
2155
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2156
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2157
|
+
}
|
2158
|
+
/**
|
2159
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2160
|
+
*
|
2161
|
+
* @param {string} projectLocationDataStoreControlName
|
2162
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2163
|
+
* @returns {string} A string representing the data_store.
|
2164
|
+
*/
|
2165
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2166
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2167
|
+
}
|
2168
|
+
/**
|
2169
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2170
|
+
*
|
2171
|
+
* @param {string} projectLocationDataStoreControlName
|
2172
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2173
|
+
* @returns {string} A string representing the control.
|
2174
|
+
*/
|
2175
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2176
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2177
|
+
}
|
1909
2178
|
/**
|
1910
2179
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1911
2180
|
*
|
@@ -1963,6 +2232,63 @@ class ServingConfigServiceClient {
|
|
1963
2232
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1964
2233
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1965
2234
|
}
|
2235
|
+
/**
|
2236
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2237
|
+
*
|
2238
|
+
* @param {string} project
|
2239
|
+
* @param {string} location
|
2240
|
+
* @param {string} data_store
|
2241
|
+
* @param {string} custom_tuning_model
|
2242
|
+
* @returns {string} Resource name string.
|
2243
|
+
*/
|
2244
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2245
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2246
|
+
project: project,
|
2247
|
+
location: location,
|
2248
|
+
data_store: dataStore,
|
2249
|
+
custom_tuning_model: customTuningModel,
|
2250
|
+
});
|
2251
|
+
}
|
2252
|
+
/**
|
2253
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2254
|
+
*
|
2255
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2256
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2257
|
+
* @returns {string} A string representing the project.
|
2258
|
+
*/
|
2259
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2260
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2261
|
+
}
|
2262
|
+
/**
|
2263
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2264
|
+
*
|
2265
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2266
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2267
|
+
* @returns {string} A string representing the location.
|
2268
|
+
*/
|
2269
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2270
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2271
|
+
}
|
2272
|
+
/**
|
2273
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2274
|
+
*
|
2275
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2276
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2277
|
+
* @returns {string} A string representing the data_store.
|
2278
|
+
*/
|
2279
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2280
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2281
|
+
}
|
2282
|
+
/**
|
2283
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2284
|
+
*
|
2285
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2286
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2287
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2288
|
+
*/
|
2289
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2290
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2291
|
+
}
|
1966
2292
|
/**
|
1967
2293
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1968
2294
|
*
|