@google-cloud/discoveryengine 1.4.0 → 1.5.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 +14 -0
- package/README.md +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +106 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +97 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +70 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +376 -21
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +221 -30
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +27 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +148 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
- package/build/protos/protos.d.ts +18160 -8292
- package/build/protos/protos.js +50325 -25400
- package/build/protos/protos.json +4864 -2447
- package/build/src/v1/completion_service_client.js +10 -7
- package/build/src/v1/conversational_search_service_client.js +10 -7
- package/build/src/v1/data_store_service_client.js +10 -7
- package/build/src/v1/document_service_client.js +10 -7
- package/build/src/v1/engine_service_client.js +10 -7
- package/build/src/v1/schema_service_client.js +10 -7
- package/build/src/v1/search_service_client.js +10 -7
- package/build/src/v1/site_search_engine_service_client.js +10 -7
- package/build/src/v1/user_event_service_client.js +10 -7
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1768 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1889 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +588 -3
- package/build/src/v1alpha/completion_service_client.js +844 -9
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
- package/build/src/v1alpha/conversational_search_service_client.js +326 -7
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +575 -9
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +462 -21
- package/build/src/v1alpha/document_service_client.js +549 -7
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +527 -7
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2034 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +5 -0
- package/build/src/v1alpha/index.js +11 -1
- package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
- package/build/src/v1alpha/rank_service_client.js +1796 -0
- package/build/src/v1alpha/rank_service_client_config.json +30 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +326 -7
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +527 -7
- package/build/src/v1alpha/search_service_client.d.ts +288 -30
- package/build/src/v1alpha/search_service_client.js +366 -27
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +527 -7
- package/build/src/v1alpha/serving_config_service_client.d.ts +1370 -0
- package/build/src/v1alpha/serving_config_service_client.js +1939 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +527 -7
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +527 -7
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +114 -7
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +114 -7
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +114 -7
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +114 -7
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +114 -7
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
- package/build/src/v1beta/recommendation_service_client.js +114 -7
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +114 -7
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +118 -7
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1784 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
- package/build/src/v1beta/serving_config_service_client.js +176 -12
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +114 -7
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +114 -7
- package/package.json +3 -3
@@ -72,7 +72,7 @@ class UserEventServiceClient {
|
|
72
72
|
* ```
|
73
73
|
*/
|
74
74
|
constructor(opts, gaxInstance) {
|
75
|
-
var _a, _b, _c, _d;
|
75
|
+
var _a, _b, _c, _d, _e;
|
76
76
|
this._terminated = false;
|
77
77
|
this.descriptors = {
|
78
78
|
page: {},
|
@@ -87,14 +87,17 @@ class UserEventServiceClient {
|
|
87
87
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
88
88
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
89
89
|
}
|
90
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
91
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
92
|
+
: undefined;
|
90
93
|
this._universeDomain =
|
91
|
-
(_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
|
94
|
+
(_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
|
92
95
|
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
93
96
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
94
97
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
95
98
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
96
|
-
const clientConfig = (
|
97
|
-
const fallback = (
|
99
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
100
|
+
const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
|
98
101
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
99
102
|
// Request numeric enum values if REST transport is used.
|
100
103
|
opts.numericEnums = true;
|
@@ -125,7 +128,7 @@ class UserEventServiceClient {
|
|
125
128
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
126
129
|
// Determine the client header string.
|
127
130
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
128
|
-
if (typeof process
|
131
|
+
if (typeof process === 'object' && 'versions' in process) {
|
129
132
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
130
133
|
}
|
131
134
|
else {
|
@@ -146,18 +149,26 @@ class UserEventServiceClient {
|
|
146
149
|
// identifiers to uniquely identify resources within the API.
|
147
150
|
// Create useful helper objects for these.
|
148
151
|
this.pathTemplates = {
|
152
|
+
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
149
153
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
150
154
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
151
155
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
156
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
152
157
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
158
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
153
159
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
160
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
154
161
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
155
162
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
156
163
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
164
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
157
165
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
158
166
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
167
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
159
168
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
169
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
160
170
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
171
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
161
172
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
162
173
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
163
174
|
};
|
@@ -209,6 +220,9 @@ class UserEventServiceClient {
|
|
209
220
|
{
|
210
221
|
get: '/v1alpha/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
211
222
|
},
|
223
|
+
{
|
224
|
+
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
225
|
+
},
|
212
226
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
213
227
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
214
228
|
],
|
@@ -329,7 +343,7 @@ class UserEventServiceClient {
|
|
329
343
|
* @returns {string} The DNS address for this service.
|
330
344
|
*/
|
331
345
|
static get servicePath() {
|
332
|
-
if (typeof process
|
346
|
+
if (typeof process === 'object' &&
|
333
347
|
typeof process.emitWarning === 'function') {
|
334
348
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
335
349
|
}
|
@@ -341,7 +355,7 @@ class UserEventServiceClient {
|
|
341
355
|
* @returns {string} The DNS address for this service.
|
342
356
|
*/
|
343
357
|
static get apiEndpoint() {
|
344
|
-
if (typeof process
|
358
|
+
if (typeof process === 'object' &&
|
345
359
|
typeof process.emitWarning === 'function') {
|
346
360
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
347
361
|
}
|
@@ -687,6 +701,41 @@ class UserEventServiceClient {
|
|
687
701
|
// --------------------
|
688
702
|
// -- Path templates --
|
689
703
|
// --------------------
|
704
|
+
/**
|
705
|
+
* Return a fully-qualified aclConfig resource name string.
|
706
|
+
*
|
707
|
+
* @param {string} project
|
708
|
+
* @param {string} location
|
709
|
+
* @returns {string} Resource name string.
|
710
|
+
*/
|
711
|
+
aclConfigPath(project, location) {
|
712
|
+
return this.pathTemplates.aclConfigPathTemplate.render({
|
713
|
+
project: project,
|
714
|
+
location: location,
|
715
|
+
});
|
716
|
+
}
|
717
|
+
/**
|
718
|
+
* Parse the project from AclConfig resource.
|
719
|
+
*
|
720
|
+
* @param {string} aclConfigName
|
721
|
+
* A fully-qualified path representing AclConfig resource.
|
722
|
+
* @returns {string} A string representing the project.
|
723
|
+
*/
|
724
|
+
matchProjectFromAclConfigName(aclConfigName) {
|
725
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
726
|
+
.project;
|
727
|
+
}
|
728
|
+
/**
|
729
|
+
* Parse the location from AclConfig resource.
|
730
|
+
*
|
731
|
+
* @param {string} aclConfigName
|
732
|
+
* A fully-qualified path representing AclConfig resource.
|
733
|
+
* @returns {string} A string representing the location.
|
734
|
+
*/
|
735
|
+
matchLocationFromAclConfigName(aclConfigName) {
|
736
|
+
return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
|
737
|
+
.location;
|
738
|
+
}
|
690
739
|
/**
|
691
740
|
* Return a fully-qualified engine resource name string.
|
692
741
|
*
|
@@ -882,6 +931,99 @@ class UserEventServiceClient {
|
|
882
931
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
883
932
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
884
933
|
}
|
934
|
+
/**
|
935
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
936
|
+
*
|
937
|
+
* @param {string} project
|
938
|
+
* @param {string} location
|
939
|
+
* @param {string} collection
|
940
|
+
* @param {string} data_store
|
941
|
+
* @param {string} branch
|
942
|
+
* @param {string} document
|
943
|
+
* @param {string} chunk
|
944
|
+
* @returns {string} Resource name string.
|
945
|
+
*/
|
946
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
947
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
948
|
+
project: project,
|
949
|
+
location: location,
|
950
|
+
collection: collection,
|
951
|
+
data_store: dataStore,
|
952
|
+
branch: branch,
|
953
|
+
document: document,
|
954
|
+
chunk: chunk,
|
955
|
+
});
|
956
|
+
}
|
957
|
+
/**
|
958
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
959
|
+
*
|
960
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
961
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
962
|
+
* @returns {string} A string representing the project.
|
963
|
+
*/
|
964
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
965
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
966
|
+
}
|
967
|
+
/**
|
968
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
969
|
+
*
|
970
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
971
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
972
|
+
* @returns {string} A string representing the location.
|
973
|
+
*/
|
974
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
975
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
976
|
+
}
|
977
|
+
/**
|
978
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
979
|
+
*
|
980
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
981
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
982
|
+
* @returns {string} A string representing the collection.
|
983
|
+
*/
|
984
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
985
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
986
|
+
}
|
987
|
+
/**
|
988
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
989
|
+
*
|
990
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
991
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
992
|
+
* @returns {string} A string representing the data_store.
|
993
|
+
*/
|
994
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
995
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
996
|
+
}
|
997
|
+
/**
|
998
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
999
|
+
*
|
1000
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1001
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1002
|
+
* @returns {string} A string representing the branch.
|
1003
|
+
*/
|
1004
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1005
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1006
|
+
}
|
1007
|
+
/**
|
1008
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1009
|
+
*
|
1010
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1011
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1012
|
+
* @returns {string} A string representing the document.
|
1013
|
+
*/
|
1014
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1015
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1016
|
+
}
|
1017
|
+
/**
|
1018
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1019
|
+
*
|
1020
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1021
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1022
|
+
* @returns {string} A string representing the chunk.
|
1023
|
+
*/
|
1024
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1025
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1026
|
+
}
|
885
1027
|
/**
|
886
1028
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
887
1029
|
*
|
@@ -951,6 +1093,63 @@ class UserEventServiceClient {
|
|
951
1093
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
952
1094
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
953
1095
|
}
|
1096
|
+
/**
|
1097
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1098
|
+
*
|
1099
|
+
* @param {string} project
|
1100
|
+
* @param {string} location
|
1101
|
+
* @param {string} collection
|
1102
|
+
* @param {string} data_store
|
1103
|
+
* @returns {string} Resource name string.
|
1104
|
+
*/
|
1105
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1106
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1107
|
+
project: project,
|
1108
|
+
location: location,
|
1109
|
+
collection: collection,
|
1110
|
+
data_store: dataStore,
|
1111
|
+
});
|
1112
|
+
}
|
1113
|
+
/**
|
1114
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1115
|
+
*
|
1116
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1117
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1118
|
+
* @returns {string} A string representing the project.
|
1119
|
+
*/
|
1120
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1121
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1122
|
+
}
|
1123
|
+
/**
|
1124
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1125
|
+
*
|
1126
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1127
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1128
|
+
* @returns {string} A string representing the location.
|
1129
|
+
*/
|
1130
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1131
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1132
|
+
}
|
1133
|
+
/**
|
1134
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1135
|
+
*
|
1136
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1137
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1138
|
+
* @returns {string} A string representing the collection.
|
1139
|
+
*/
|
1140
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1141
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1142
|
+
}
|
1143
|
+
/**
|
1144
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1145
|
+
*
|
1146
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1147
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1148
|
+
* @returns {string} A string representing the data_store.
|
1149
|
+
*/
|
1150
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1151
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1152
|
+
}
|
954
1153
|
/**
|
955
1154
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
956
1155
|
*
|
@@ -1020,6 +1219,75 @@ class UserEventServiceClient {
|
|
1020
1219
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1021
1220
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1022
1221
|
}
|
1222
|
+
/**
|
1223
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1224
|
+
*
|
1225
|
+
* @param {string} project
|
1226
|
+
* @param {string} location
|
1227
|
+
* @param {string} collection
|
1228
|
+
* @param {string} data_store
|
1229
|
+
* @param {string} serving_config
|
1230
|
+
* @returns {string} Resource name string.
|
1231
|
+
*/
|
1232
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1233
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1234
|
+
project: project,
|
1235
|
+
location: location,
|
1236
|
+
collection: collection,
|
1237
|
+
data_store: dataStore,
|
1238
|
+
serving_config: servingConfig,
|
1239
|
+
});
|
1240
|
+
}
|
1241
|
+
/**
|
1242
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1243
|
+
*
|
1244
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1245
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1246
|
+
* @returns {string} A string representing the project.
|
1247
|
+
*/
|
1248
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1249
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1250
|
+
}
|
1251
|
+
/**
|
1252
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1253
|
+
*
|
1254
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1255
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1256
|
+
* @returns {string} A string representing the location.
|
1257
|
+
*/
|
1258
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1259
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1260
|
+
}
|
1261
|
+
/**
|
1262
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1263
|
+
*
|
1264
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1265
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1266
|
+
* @returns {string} A string representing the collection.
|
1267
|
+
*/
|
1268
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1269
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1270
|
+
}
|
1271
|
+
/**
|
1272
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1273
|
+
*
|
1274
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1275
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1276
|
+
* @returns {string} A string representing the data_store.
|
1277
|
+
*/
|
1278
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1279
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1280
|
+
}
|
1281
|
+
/**
|
1282
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1283
|
+
*
|
1284
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1285
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1286
|
+
* @returns {string} A string representing the serving_config.
|
1287
|
+
*/
|
1288
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1289
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1290
|
+
}
|
1023
1291
|
/**
|
1024
1292
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1025
1293
|
*
|
@@ -1215,6 +1483,75 @@ class UserEventServiceClient {
|
|
1215
1483
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1216
1484
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
1217
1485
|
}
|
1486
|
+
/**
|
1487
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
1488
|
+
*
|
1489
|
+
* @param {string} project
|
1490
|
+
* @param {string} location
|
1491
|
+
* @param {string} collection
|
1492
|
+
* @param {string} engine
|
1493
|
+
* @param {string} serving_config
|
1494
|
+
* @returns {string} Resource name string.
|
1495
|
+
*/
|
1496
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
1497
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
1498
|
+
project: project,
|
1499
|
+
location: location,
|
1500
|
+
collection: collection,
|
1501
|
+
engine: engine,
|
1502
|
+
serving_config: servingConfig,
|
1503
|
+
});
|
1504
|
+
}
|
1505
|
+
/**
|
1506
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
1507
|
+
*
|
1508
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1509
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1510
|
+
* @returns {string} A string representing the project.
|
1511
|
+
*/
|
1512
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1513
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
1514
|
+
}
|
1515
|
+
/**
|
1516
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
1517
|
+
*
|
1518
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1519
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1520
|
+
* @returns {string} A string representing the location.
|
1521
|
+
*/
|
1522
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1523
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
1524
|
+
}
|
1525
|
+
/**
|
1526
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
1527
|
+
*
|
1528
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1529
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1530
|
+
* @returns {string} A string representing the collection.
|
1531
|
+
*/
|
1532
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
1534
|
+
}
|
1535
|
+
/**
|
1536
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
1537
|
+
*
|
1538
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1539
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1540
|
+
* @returns {string} A string representing the engine.
|
1541
|
+
*/
|
1542
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
1544
|
+
}
|
1545
|
+
/**
|
1546
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
1547
|
+
*
|
1548
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1549
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1550
|
+
* @returns {string} A string representing the serving_config.
|
1551
|
+
*/
|
1552
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1554
|
+
}
|
1218
1555
|
/**
|
1219
1556
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1220
1557
|
*
|
@@ -1329,6 +1666,87 @@ class UserEventServiceClient {
|
|
1329
1666
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1330
1667
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1331
1668
|
}
|
1669
|
+
/**
|
1670
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1671
|
+
*
|
1672
|
+
* @param {string} project
|
1673
|
+
* @param {string} location
|
1674
|
+
* @param {string} data_store
|
1675
|
+
* @param {string} branch
|
1676
|
+
* @param {string} document
|
1677
|
+
* @param {string} chunk
|
1678
|
+
* @returns {string} Resource name string.
|
1679
|
+
*/
|
1680
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1681
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1682
|
+
project: project,
|
1683
|
+
location: location,
|
1684
|
+
data_store: dataStore,
|
1685
|
+
branch: branch,
|
1686
|
+
document: document,
|
1687
|
+
chunk: chunk,
|
1688
|
+
});
|
1689
|
+
}
|
1690
|
+
/**
|
1691
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1692
|
+
*
|
1693
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1694
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1695
|
+
* @returns {string} A string representing the project.
|
1696
|
+
*/
|
1697
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1698
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1699
|
+
}
|
1700
|
+
/**
|
1701
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1702
|
+
*
|
1703
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1704
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1705
|
+
* @returns {string} A string representing the location.
|
1706
|
+
*/
|
1707
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1708
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1709
|
+
}
|
1710
|
+
/**
|
1711
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1712
|
+
*
|
1713
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1714
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1715
|
+
* @returns {string} A string representing the data_store.
|
1716
|
+
*/
|
1717
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1718
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1719
|
+
}
|
1720
|
+
/**
|
1721
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1722
|
+
*
|
1723
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1724
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1725
|
+
* @returns {string} A string representing the branch.
|
1726
|
+
*/
|
1727
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1728
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1729
|
+
}
|
1730
|
+
/**
|
1731
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1732
|
+
*
|
1733
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1734
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1735
|
+
* @returns {string} A string representing the document.
|
1736
|
+
*/
|
1737
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1738
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
1739
|
+
}
|
1740
|
+
/**
|
1741
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1742
|
+
*
|
1743
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1744
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1745
|
+
* @returns {string} A string representing the chunk.
|
1746
|
+
*/
|
1747
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1748
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1749
|
+
}
|
1332
1750
|
/**
|
1333
1751
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1334
1752
|
*
|
@@ -1386,6 +1804,51 @@ class UserEventServiceClient {
|
|
1386
1804
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1387
1805
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1388
1806
|
}
|
1807
|
+
/**
|
1808
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1809
|
+
*
|
1810
|
+
* @param {string} project
|
1811
|
+
* @param {string} location
|
1812
|
+
* @param {string} data_store
|
1813
|
+
* @returns {string} Resource name string.
|
1814
|
+
*/
|
1815
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1816
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1817
|
+
project: project,
|
1818
|
+
location: location,
|
1819
|
+
data_store: dataStore,
|
1820
|
+
});
|
1821
|
+
}
|
1822
|
+
/**
|
1823
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1824
|
+
*
|
1825
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1826
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1827
|
+
* @returns {string} A string representing the project.
|
1828
|
+
*/
|
1829
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1830
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1831
|
+
}
|
1832
|
+
/**
|
1833
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1834
|
+
*
|
1835
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1836
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1837
|
+
* @returns {string} A string representing the location.
|
1838
|
+
*/
|
1839
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1840
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1841
|
+
}
|
1842
|
+
/**
|
1843
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1844
|
+
*
|
1845
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1846
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1847
|
+
* @returns {string} A string representing the data_store.
|
1848
|
+
*/
|
1849
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1850
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1851
|
+
}
|
1389
1852
|
/**
|
1390
1853
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1391
1854
|
*
|
@@ -1443,6 +1906,63 @@ class UserEventServiceClient {
|
|
1443
1906
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
1444
1907
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
1445
1908
|
}
|
1909
|
+
/**
|
1910
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
1911
|
+
*
|
1912
|
+
* @param {string} project
|
1913
|
+
* @param {string} location
|
1914
|
+
* @param {string} data_store
|
1915
|
+
* @param {string} serving_config
|
1916
|
+
* @returns {string} Resource name string.
|
1917
|
+
*/
|
1918
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
1919
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
1920
|
+
project: project,
|
1921
|
+
location: location,
|
1922
|
+
data_store: dataStore,
|
1923
|
+
serving_config: servingConfig,
|
1924
|
+
});
|
1925
|
+
}
|
1926
|
+
/**
|
1927
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
1928
|
+
*
|
1929
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1930
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1931
|
+
* @returns {string} A string representing the project.
|
1932
|
+
*/
|
1933
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1934
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
1935
|
+
}
|
1936
|
+
/**
|
1937
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
1938
|
+
*
|
1939
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1940
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1941
|
+
* @returns {string} A string representing the location.
|
1942
|
+
*/
|
1943
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1944
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
1945
|
+
}
|
1946
|
+
/**
|
1947
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
1948
|
+
*
|
1949
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1950
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1951
|
+
* @returns {string} A string representing the data_store.
|
1952
|
+
*/
|
1953
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1954
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
1955
|
+
}
|
1956
|
+
/**
|
1957
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
1958
|
+
*
|
1959
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1960
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1961
|
+
* @returns {string} A string representing the serving_config.
|
1962
|
+
*/
|
1963
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1964
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1965
|
+
}
|
1446
1966
|
/**
|
1447
1967
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1448
1968
|
*
|