@google-cloud/discoveryengine 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation.proto +232 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/sample_query_set_service.proto +258 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +10 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation.proto +231 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/evaluation_service.proto +252 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query.proto +86 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_service.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/sample_query_set_service.proto +256 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +67 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +11 -5
- package/build/protos/protos.d.ts +28997 -20222
- package/build/protos/protos.js +74749 -54453
- package/build/protos/protos.json +6933 -4764
- package/build/src/v1alpha/acl_config_service_client.d.ts +108 -0
- package/build/src/v1alpha/acl_config_service_client.js +157 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +108 -0
- package/build/src/v1alpha/chunk_service_client.js +157 -0
- package/build/src/v1alpha/completion_service_client.d.ts +108 -0
- package/build/src/v1alpha/completion_service_client.js +157 -0
- package/build/src/v1alpha/control_service_client.d.ts +108 -0
- package/build/src/v1alpha/control_service_client.js +157 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +108 -0
- package/build/src/v1alpha/conversational_search_service_client.js +157 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +108 -0
- package/build/src/v1alpha/data_store_service_client.js +157 -0
- package/build/src/v1alpha/document_service_client.d.ts +108 -0
- package/build/src/v1alpha/document_service_client.js +157 -0
- package/build/src/v1alpha/engine_service_client.d.ts +108 -0
- package/build/src/v1alpha/engine_service_client.js +157 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +108 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +157 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +2349 -0
- package/build/src/v1alpha/evaluation_service_client.js +3288 -0
- package/build/src/v1alpha/evaluation_service_client_config.json +58 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +108 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +157 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/project_service_client.d.ts +108 -0
- package/build/src/v1alpha/project_service_client.js +157 -0
- package/build/src/v1alpha/rank_service_client.d.ts +108 -0
- package/build/src/v1alpha/rank_service_client.js +157 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +108 -0
- package/build/src/v1alpha/recommendation_service_client.js +157 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +2317 -0
- package/build/src/v1alpha/sample_query_service_client.js +3186 -0
- package/build/src/v1alpha/sample_query_service_client_config.json +68 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +2176 -0
- package/build/src/v1alpha/sample_query_set_service_client.js +2931 -0
- package/build/src/v1alpha/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1alpha/schema_service_client.d.ts +108 -0
- package/build/src/v1alpha/schema_service_client.js +157 -0
- package/build/src/v1alpha/search_service_client.d.ts +108 -0
- package/build/src/v1alpha/search_service_client.js +157 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +108 -0
- package/build/src/v1alpha/search_tuning_service_client.js +157 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +108 -0
- package/build/src/v1alpha/serving_config_service_client.js +157 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +108 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +157 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +108 -0
- package/build/src/v1alpha/user_event_service_client.js +157 -0
- package/build/src/v1beta/completion_service_client.d.ts +237 -0
- package/build/src/v1beta/completion_service_client.js +339 -0
- package/build/src/v1beta/control_service_client.d.ts +237 -0
- package/build/src/v1beta/control_service_client.js +333 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +237 -0
- package/build/src/v1beta/conversational_search_service_client.js +333 -0
- package/build/src/v1beta/data_store_service_client.d.ts +237 -0
- package/build/src/v1beta/data_store_service_client.js +339 -0
- package/build/src/v1beta/document_service_client.d.ts +237 -0
- package/build/src/v1beta/document_service_client.js +339 -0
- package/build/src/v1beta/engine_service_client.d.ts +237 -0
- package/build/src/v1beta/engine_service_client.js +339 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +2325 -0
- package/build/src/v1beta/evaluation_service_client.js +3252 -0
- package/build/src/v1beta/evaluation_service_client_config.json +58 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +237 -0
- package/build/src/v1beta/grounded_generation_service_client.js +333 -0
- package/build/src/v1beta/index.d.ts +3 -0
- package/build/src/v1beta/index.js +7 -1
- package/build/src/v1beta/project_service_client.d.ts +237 -0
- package/build/src/v1beta/project_service_client.js +339 -0
- package/build/src/v1beta/rank_service_client.d.ts +237 -0
- package/build/src/v1beta/rank_service_client.js +333 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +237 -0
- package/build/src/v1beta/recommendation_service_client.js +333 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +2293 -0
- package/build/src/v1beta/sample_query_service_client.js +3150 -0
- package/build/src/v1beta/sample_query_service_client_config.json +68 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +2150 -0
- package/build/src/v1beta/sample_query_set_service_client.js +2895 -0
- package/build/src/v1beta/sample_query_set_service_client_config.json +63 -0
- package/build/src/v1beta/schema_service_client.d.ts +237 -0
- package/build/src/v1beta/schema_service_client.js +339 -0
- package/build/src/v1beta/search_service_client.d.ts +267 -12
- package/build/src/v1beta/search_service_client.js +353 -8
- package/build/src/v1beta/search_tuning_service_client.d.ts +237 -0
- package/build/src/v1beta/search_tuning_service_client.js +339 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +333 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1beta/site_search_engine_service_client.js +339 -0
- package/build/src/v1beta/user_event_service_client.d.ts +237 -0
- package/build/src/v1beta/user_event_service_client.js +339 -0
- package/package.json +1 -1
@@ -687,6 +687,39 @@ export declare class DataStoreServiceClient {
|
|
687
687
|
* @returns {string} A string representing the engine.
|
688
688
|
*/
|
689
689
|
matchEngineFromEngineName(engineName: string): string | number;
|
690
|
+
/**
|
691
|
+
* Return a fully-qualified evaluation resource name string.
|
692
|
+
*
|
693
|
+
* @param {string} project
|
694
|
+
* @param {string} location
|
695
|
+
* @param {string} evaluation
|
696
|
+
* @returns {string} Resource name string.
|
697
|
+
*/
|
698
|
+
evaluationPath(project: string, location: string, evaluation: string): string;
|
699
|
+
/**
|
700
|
+
* Parse the project from Evaluation resource.
|
701
|
+
*
|
702
|
+
* @param {string} evaluationName
|
703
|
+
* A fully-qualified path representing Evaluation resource.
|
704
|
+
* @returns {string} A string representing the project.
|
705
|
+
*/
|
706
|
+
matchProjectFromEvaluationName(evaluationName: string): string | number;
|
707
|
+
/**
|
708
|
+
* Parse the location from Evaluation resource.
|
709
|
+
*
|
710
|
+
* @param {string} evaluationName
|
711
|
+
* A fully-qualified path representing Evaluation resource.
|
712
|
+
* @returns {string} A string representing the location.
|
713
|
+
*/
|
714
|
+
matchLocationFromEvaluationName(evaluationName: string): string | number;
|
715
|
+
/**
|
716
|
+
* Parse the evaluation from Evaluation resource.
|
717
|
+
*
|
718
|
+
* @param {string} evaluationName
|
719
|
+
* A fully-qualified path representing Evaluation resource.
|
720
|
+
* @returns {string} A string representing the evaluation.
|
721
|
+
*/
|
722
|
+
matchEvaluationFromEvaluationName(evaluationName: string): string | number;
|
690
723
|
/**
|
691
724
|
* Return a fully-qualified project resource name string.
|
692
725
|
*
|
@@ -804,6 +837,75 @@ export declare class DataStoreServiceClient {
|
|
804
837
|
* @returns {string} A string representing the document.
|
805
838
|
*/
|
806
839
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
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: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
853
|
+
/**
|
854
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
855
|
+
*
|
856
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
857
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
858
|
+
* @returns {string} A string representing the project.
|
859
|
+
*/
|
860
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
861
|
+
/**
|
862
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
863
|
+
*
|
864
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
865
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
866
|
+
* @returns {string} A string representing the location.
|
867
|
+
*/
|
868
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
869
|
+
/**
|
870
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
871
|
+
*
|
872
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
873
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
874
|
+
* @returns {string} A string representing the collection.
|
875
|
+
*/
|
876
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
877
|
+
/**
|
878
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
879
|
+
*
|
880
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
881
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
882
|
+
* @returns {string} A string representing the data_store.
|
883
|
+
*/
|
884
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
885
|
+
/**
|
886
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
887
|
+
*
|
888
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
889
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
890
|
+
* @returns {string} A string representing the branch.
|
891
|
+
*/
|
892
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
893
|
+
/**
|
894
|
+
* Parse the document 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 document.
|
899
|
+
*/
|
900
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
901
|
+
/**
|
902
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
903
|
+
*
|
904
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
905
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
906
|
+
* @returns {string} A string representing the chunk.
|
907
|
+
*/
|
908
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
807
909
|
/**
|
808
910
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
809
911
|
*
|
@@ -1653,6 +1755,66 @@ export declare class DataStoreServiceClient {
|
|
1653
1755
|
* @returns {string} A string representing the document.
|
1654
1756
|
*/
|
1655
1757
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1758
|
+
/**
|
1759
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1760
|
+
*
|
1761
|
+
* @param {string} project
|
1762
|
+
* @param {string} location
|
1763
|
+
* @param {string} data_store
|
1764
|
+
* @param {string} branch
|
1765
|
+
* @param {string} document
|
1766
|
+
* @param {string} chunk
|
1767
|
+
* @returns {string} Resource name string.
|
1768
|
+
*/
|
1769
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1770
|
+
/**
|
1771
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1772
|
+
*
|
1773
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1774
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1775
|
+
* @returns {string} A string representing the project.
|
1776
|
+
*/
|
1777
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1778
|
+
/**
|
1779
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1780
|
+
*
|
1781
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1782
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1783
|
+
* @returns {string} A string representing the location.
|
1784
|
+
*/
|
1785
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1786
|
+
/**
|
1787
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1788
|
+
*
|
1789
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1790
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1791
|
+
* @returns {string} A string representing the data_store.
|
1792
|
+
*/
|
1793
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1794
|
+
/**
|
1795
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1796
|
+
*
|
1797
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1798
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1799
|
+
* @returns {string} A string representing the branch.
|
1800
|
+
*/
|
1801
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1802
|
+
/**
|
1803
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1804
|
+
*
|
1805
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1806
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1807
|
+
* @returns {string} A string representing the document.
|
1808
|
+
*/
|
1809
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1810
|
+
/**
|
1811
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1812
|
+
*
|
1813
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1814
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1815
|
+
* @returns {string} A string representing the chunk.
|
1816
|
+
*/
|
1817
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1656
1818
|
/**
|
1657
1819
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1658
1820
|
*
|
@@ -2064,6 +2226,81 @@ export declare class DataStoreServiceClient {
|
|
2064
2226
|
* @returns {string} A string representing the target_site.
|
2065
2227
|
*/
|
2066
2228
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
2229
|
+
/**
|
2230
|
+
* Return a fully-qualified sampleQuery resource name string.
|
2231
|
+
*
|
2232
|
+
* @param {string} project
|
2233
|
+
* @param {string} location
|
2234
|
+
* @param {string} sample_query_set
|
2235
|
+
* @param {string} sample_query
|
2236
|
+
* @returns {string} Resource name string.
|
2237
|
+
*/
|
2238
|
+
sampleQueryPath(project: string, location: string, sampleQuerySet: string, sampleQuery: string): string;
|
2239
|
+
/**
|
2240
|
+
* Parse the project from SampleQuery resource.
|
2241
|
+
*
|
2242
|
+
* @param {string} sampleQueryName
|
2243
|
+
* A fully-qualified path representing SampleQuery resource.
|
2244
|
+
* @returns {string} A string representing the project.
|
2245
|
+
*/
|
2246
|
+
matchProjectFromSampleQueryName(sampleQueryName: string): string | number;
|
2247
|
+
/**
|
2248
|
+
* Parse the location from SampleQuery resource.
|
2249
|
+
*
|
2250
|
+
* @param {string} sampleQueryName
|
2251
|
+
* A fully-qualified path representing SampleQuery resource.
|
2252
|
+
* @returns {string} A string representing the location.
|
2253
|
+
*/
|
2254
|
+
matchLocationFromSampleQueryName(sampleQueryName: string): string | number;
|
2255
|
+
/**
|
2256
|
+
* Parse the sample_query_set from SampleQuery resource.
|
2257
|
+
*
|
2258
|
+
* @param {string} sampleQueryName
|
2259
|
+
* A fully-qualified path representing SampleQuery resource.
|
2260
|
+
* @returns {string} A string representing the sample_query_set.
|
2261
|
+
*/
|
2262
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName: string): string | number;
|
2263
|
+
/**
|
2264
|
+
* Parse the sample_query from SampleQuery resource.
|
2265
|
+
*
|
2266
|
+
* @param {string} sampleQueryName
|
2267
|
+
* A fully-qualified path representing SampleQuery resource.
|
2268
|
+
* @returns {string} A string representing the sample_query.
|
2269
|
+
*/
|
2270
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName: string): string | number;
|
2271
|
+
/**
|
2272
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
2273
|
+
*
|
2274
|
+
* @param {string} project
|
2275
|
+
* @param {string} location
|
2276
|
+
* @param {string} sample_query_set
|
2277
|
+
* @returns {string} Resource name string.
|
2278
|
+
*/
|
2279
|
+
sampleQuerySetPath(project: string, location: string, sampleQuerySet: string): string;
|
2280
|
+
/**
|
2281
|
+
* Parse the project from SampleQuerySet resource.
|
2282
|
+
*
|
2283
|
+
* @param {string} sampleQuerySetName
|
2284
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2285
|
+
* @returns {string} A string representing the project.
|
2286
|
+
*/
|
2287
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2288
|
+
/**
|
2289
|
+
* Parse the location from SampleQuerySet resource.
|
2290
|
+
*
|
2291
|
+
* @param {string} sampleQuerySetName
|
2292
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2293
|
+
* @returns {string} A string representing the location.
|
2294
|
+
*/
|
2295
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2296
|
+
/**
|
2297
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
2298
|
+
*
|
2299
|
+
* @param {string} sampleQuerySetName
|
2300
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
2301
|
+
* @returns {string} A string representing the sample_query_set.
|
2302
|
+
*/
|
2303
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName: string): string | number;
|
2067
2304
|
/**
|
2068
2305
|
* Terminate the gRPC channel and close the client.
|
2069
2306
|
*
|
@@ -152,9 +152,11 @@ class DataStoreServiceClient {
|
|
152
152
|
this.pathTemplates = {
|
153
153
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
evaluationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/evaluations/{evaluation}'),
|
155
156
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
156
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
159
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
158
160
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
159
161
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
160
162
|
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -172,6 +174,7 @@ class DataStoreServiceClient {
|
|
172
174
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
173
175
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
174
176
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
177
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
175
178
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
176
179
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
177
180
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
@@ -182,6 +185,8 @@ class DataStoreServiceClient {
|
|
182
185
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
186
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
184
187
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
188
|
+
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
189
|
+
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
185
190
|
};
|
186
191
|
// Some of the methods on this service return "paged" results,
|
187
192
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
@@ -248,7 +253,13 @@ class DataStoreServiceClient {
|
|
248
253
|
{
|
249
254
|
get: '/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
250
255
|
},
|
256
|
+
{
|
257
|
+
get: '/v1beta/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
258
|
+
},
|
251
259
|
{ get: '/v1beta/{name=projects/*/locations/*/operations/*}' },
|
260
|
+
{
|
261
|
+
get: '/v1beta/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
262
|
+
},
|
252
263
|
{ get: '/v1beta/{name=projects/*/operations/*}' },
|
253
264
|
],
|
254
265
|
},
|
@@ -976,6 +987,54 @@ class DataStoreServiceClient {
|
|
976
987
|
matchEngineFromEngineName(engineName) {
|
977
988
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
978
989
|
}
|
990
|
+
/**
|
991
|
+
* Return a fully-qualified evaluation resource name string.
|
992
|
+
*
|
993
|
+
* @param {string} project
|
994
|
+
* @param {string} location
|
995
|
+
* @param {string} evaluation
|
996
|
+
* @returns {string} Resource name string.
|
997
|
+
*/
|
998
|
+
evaluationPath(project, location, evaluation) {
|
999
|
+
return this.pathTemplates.evaluationPathTemplate.render({
|
1000
|
+
project: project,
|
1001
|
+
location: location,
|
1002
|
+
evaluation: evaluation,
|
1003
|
+
});
|
1004
|
+
}
|
1005
|
+
/**
|
1006
|
+
* Parse the project from Evaluation resource.
|
1007
|
+
*
|
1008
|
+
* @param {string} evaluationName
|
1009
|
+
* A fully-qualified path representing Evaluation resource.
|
1010
|
+
* @returns {string} A string representing the project.
|
1011
|
+
*/
|
1012
|
+
matchProjectFromEvaluationName(evaluationName) {
|
1013
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1014
|
+
.project;
|
1015
|
+
}
|
1016
|
+
/**
|
1017
|
+
* Parse the location from Evaluation resource.
|
1018
|
+
*
|
1019
|
+
* @param {string} evaluationName
|
1020
|
+
* A fully-qualified path representing Evaluation resource.
|
1021
|
+
* @returns {string} A string representing the location.
|
1022
|
+
*/
|
1023
|
+
matchLocationFromEvaluationName(evaluationName) {
|
1024
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1025
|
+
.location;
|
1026
|
+
}
|
1027
|
+
/**
|
1028
|
+
* Parse the evaluation from Evaluation resource.
|
1029
|
+
*
|
1030
|
+
* @param {string} evaluationName
|
1031
|
+
* A fully-qualified path representing Evaluation resource.
|
1032
|
+
* @returns {string} A string representing the evaluation.
|
1033
|
+
*/
|
1034
|
+
matchEvaluationFromEvaluationName(evaluationName) {
|
1035
|
+
return this.pathTemplates.evaluationPathTemplate.match(evaluationName)
|
1036
|
+
.evaluation;
|
1037
|
+
}
|
979
1038
|
/**
|
980
1039
|
* Return a fully-qualified project resource name string.
|
981
1040
|
*
|
@@ -1135,6 +1194,99 @@ class DataStoreServiceClient {
|
|
1135
1194
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1136
1195
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1137
1196
|
}
|
1197
|
+
/**
|
1198
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1199
|
+
*
|
1200
|
+
* @param {string} project
|
1201
|
+
* @param {string} location
|
1202
|
+
* @param {string} collection
|
1203
|
+
* @param {string} data_store
|
1204
|
+
* @param {string} branch
|
1205
|
+
* @param {string} document
|
1206
|
+
* @param {string} chunk
|
1207
|
+
* @returns {string} Resource name string.
|
1208
|
+
*/
|
1209
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1210
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1211
|
+
project: project,
|
1212
|
+
location: location,
|
1213
|
+
collection: collection,
|
1214
|
+
data_store: dataStore,
|
1215
|
+
branch: branch,
|
1216
|
+
document: document,
|
1217
|
+
chunk: chunk,
|
1218
|
+
});
|
1219
|
+
}
|
1220
|
+
/**
|
1221
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1222
|
+
*
|
1223
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1224
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1225
|
+
* @returns {string} A string representing the project.
|
1226
|
+
*/
|
1227
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1228
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1229
|
+
}
|
1230
|
+
/**
|
1231
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1232
|
+
*
|
1233
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1234
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1235
|
+
* @returns {string} A string representing the location.
|
1236
|
+
*/
|
1237
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1238
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1239
|
+
}
|
1240
|
+
/**
|
1241
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1242
|
+
*
|
1243
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1244
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1245
|
+
* @returns {string} A string representing the collection.
|
1246
|
+
*/
|
1247
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1248
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1249
|
+
}
|
1250
|
+
/**
|
1251
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1252
|
+
*
|
1253
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1254
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1255
|
+
* @returns {string} A string representing the data_store.
|
1256
|
+
*/
|
1257
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1258
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1259
|
+
}
|
1260
|
+
/**
|
1261
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1262
|
+
*
|
1263
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1264
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1265
|
+
* @returns {string} A string representing the branch.
|
1266
|
+
*/
|
1267
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1268
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1269
|
+
}
|
1270
|
+
/**
|
1271
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1272
|
+
*
|
1273
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1274
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1275
|
+
* @returns {string} A string representing the document.
|
1276
|
+
*/
|
1277
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1278
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1279
|
+
}
|
1280
|
+
/**
|
1281
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1282
|
+
*
|
1283
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1284
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1285
|
+
* @returns {string} A string representing the chunk.
|
1286
|
+
*/
|
1287
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1288
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1289
|
+
}
|
1138
1290
|
/**
|
1139
1291
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1140
1292
|
*
|
@@ -2284,6 +2436,87 @@ class DataStoreServiceClient {
|
|
2284
2436
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2285
2437
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2286
2438
|
}
|
2439
|
+
/**
|
2440
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2441
|
+
*
|
2442
|
+
* @param {string} project
|
2443
|
+
* @param {string} location
|
2444
|
+
* @param {string} data_store
|
2445
|
+
* @param {string} branch
|
2446
|
+
* @param {string} document
|
2447
|
+
* @param {string} chunk
|
2448
|
+
* @returns {string} Resource name string.
|
2449
|
+
*/
|
2450
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2451
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2452
|
+
project: project,
|
2453
|
+
location: location,
|
2454
|
+
data_store: dataStore,
|
2455
|
+
branch: branch,
|
2456
|
+
document: document,
|
2457
|
+
chunk: chunk,
|
2458
|
+
});
|
2459
|
+
}
|
2460
|
+
/**
|
2461
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2464
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2465
|
+
* @returns {string} A string representing the project.
|
2466
|
+
*/
|
2467
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2468
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2472
|
+
*
|
2473
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2474
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2475
|
+
* @returns {string} A string representing the location.
|
2476
|
+
*/
|
2477
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2478
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2479
|
+
}
|
2480
|
+
/**
|
2481
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2482
|
+
*
|
2483
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2484
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2485
|
+
* @returns {string} A string representing the data_store.
|
2486
|
+
*/
|
2487
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2488
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2489
|
+
}
|
2490
|
+
/**
|
2491
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2492
|
+
*
|
2493
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2494
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2495
|
+
* @returns {string} A string representing the branch.
|
2496
|
+
*/
|
2497
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2498
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2499
|
+
}
|
2500
|
+
/**
|
2501
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2502
|
+
*
|
2503
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2504
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2505
|
+
* @returns {string} A string representing the document.
|
2506
|
+
*/
|
2507
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2508
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2509
|
+
}
|
2510
|
+
/**
|
2511
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2512
|
+
*
|
2513
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2514
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2515
|
+
* @returns {string} A string representing the chunk.
|
2516
|
+
*/
|
2517
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2518
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2519
|
+
}
|
2287
2520
|
/**
|
2288
2521
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2289
2522
|
*
|
@@ -2842,6 +3075,112 @@ class DataStoreServiceClient {
|
|
2842
3075
|
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2843
3076
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
2844
3077
|
}
|
3078
|
+
/**
|
3079
|
+
* Return a fully-qualified sampleQuery resource name string.
|
3080
|
+
*
|
3081
|
+
* @param {string} project
|
3082
|
+
* @param {string} location
|
3083
|
+
* @param {string} sample_query_set
|
3084
|
+
* @param {string} sample_query
|
3085
|
+
* @returns {string} Resource name string.
|
3086
|
+
*/
|
3087
|
+
sampleQueryPath(project, location, sampleQuerySet, sampleQuery) {
|
3088
|
+
return this.pathTemplates.sampleQueryPathTemplate.render({
|
3089
|
+
project: project,
|
3090
|
+
location: location,
|
3091
|
+
sample_query_set: sampleQuerySet,
|
3092
|
+
sample_query: sampleQuery,
|
3093
|
+
});
|
3094
|
+
}
|
3095
|
+
/**
|
3096
|
+
* Parse the project from SampleQuery resource.
|
3097
|
+
*
|
3098
|
+
* @param {string} sampleQueryName
|
3099
|
+
* A fully-qualified path representing SampleQuery resource.
|
3100
|
+
* @returns {string} A string representing the project.
|
3101
|
+
*/
|
3102
|
+
matchProjectFromSampleQueryName(sampleQueryName) {
|
3103
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3104
|
+
.project;
|
3105
|
+
}
|
3106
|
+
/**
|
3107
|
+
* Parse the location from SampleQuery resource.
|
3108
|
+
*
|
3109
|
+
* @param {string} sampleQueryName
|
3110
|
+
* A fully-qualified path representing SampleQuery resource.
|
3111
|
+
* @returns {string} A string representing the location.
|
3112
|
+
*/
|
3113
|
+
matchLocationFromSampleQueryName(sampleQueryName) {
|
3114
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3115
|
+
.location;
|
3116
|
+
}
|
3117
|
+
/**
|
3118
|
+
* Parse the sample_query_set from SampleQuery resource.
|
3119
|
+
*
|
3120
|
+
* @param {string} sampleQueryName
|
3121
|
+
* A fully-qualified path representing SampleQuery resource.
|
3122
|
+
* @returns {string} A string representing the sample_query_set.
|
3123
|
+
*/
|
3124
|
+
matchSampleQuerySetFromSampleQueryName(sampleQueryName) {
|
3125
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3126
|
+
.sample_query_set;
|
3127
|
+
}
|
3128
|
+
/**
|
3129
|
+
* Parse the sample_query from SampleQuery resource.
|
3130
|
+
*
|
3131
|
+
* @param {string} sampleQueryName
|
3132
|
+
* A fully-qualified path representing SampleQuery resource.
|
3133
|
+
* @returns {string} A string representing the sample_query.
|
3134
|
+
*/
|
3135
|
+
matchSampleQueryFromSampleQueryName(sampleQueryName) {
|
3136
|
+
return this.pathTemplates.sampleQueryPathTemplate.match(sampleQueryName)
|
3137
|
+
.sample_query;
|
3138
|
+
}
|
3139
|
+
/**
|
3140
|
+
* Return a fully-qualified sampleQuerySet resource name string.
|
3141
|
+
*
|
3142
|
+
* @param {string} project
|
3143
|
+
* @param {string} location
|
3144
|
+
* @param {string} sample_query_set
|
3145
|
+
* @returns {string} Resource name string.
|
3146
|
+
*/
|
3147
|
+
sampleQuerySetPath(project, location, sampleQuerySet) {
|
3148
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.render({
|
3149
|
+
project: project,
|
3150
|
+
location: location,
|
3151
|
+
sample_query_set: sampleQuerySet,
|
3152
|
+
});
|
3153
|
+
}
|
3154
|
+
/**
|
3155
|
+
* Parse the project from SampleQuerySet resource.
|
3156
|
+
*
|
3157
|
+
* @param {string} sampleQuerySetName
|
3158
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3159
|
+
* @returns {string} A string representing the project.
|
3160
|
+
*/
|
3161
|
+
matchProjectFromSampleQuerySetName(sampleQuerySetName) {
|
3162
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).project;
|
3163
|
+
}
|
3164
|
+
/**
|
3165
|
+
* Parse the location from SampleQuerySet resource.
|
3166
|
+
*
|
3167
|
+
* @param {string} sampleQuerySetName
|
3168
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3169
|
+
* @returns {string} A string representing the location.
|
3170
|
+
*/
|
3171
|
+
matchLocationFromSampleQuerySetName(sampleQuerySetName) {
|
3172
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).location;
|
3173
|
+
}
|
3174
|
+
/**
|
3175
|
+
* Parse the sample_query_set from SampleQuerySet resource.
|
3176
|
+
*
|
3177
|
+
* @param {string} sampleQuerySetName
|
3178
|
+
* A fully-qualified path representing SampleQuerySet resource.
|
3179
|
+
* @returns {string} A string representing the sample_query_set.
|
3180
|
+
*/
|
3181
|
+
matchSampleQuerySetFromSampleQuerySetName(sampleQuerySetName) {
|
3182
|
+
return this.pathTemplates.sampleQuerySetPathTemplate.match(sampleQuerySetName).sample_query_set;
|
3183
|
+
}
|
2845
3184
|
/**
|
2846
3185
|
* Terminate the gRPC channel and close the client.
|
2847
3186
|
*
|