@google-cloud/discoveryengine 2.0.0 → 2.1.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 +7 -2
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +35 -6
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +113 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +168 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +23 -4
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +7 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +16 -3
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +70 -9
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +9 -5
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/safety.proto +107 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +96 -8
- package/build/protos/google/cloud/discoveryengine/v1/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1/serving_config_service.proto +75 -0
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +27 -3
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +184 -5
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +34 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +16 -4
- package/build/protos/protos.d.ts +5356 -981
- package/build/protos/protos.js +32266 -20956
- package/build/protos/protos.json +1391 -74
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/completion_service_client.d.ts +238 -1
- package/build/src/v1/completion_service_client.js +341 -5
- package/build/src/v1/completion_service_proto_list.json +3 -0
- package/build/src/v1/control_service_client.d.ts +237 -0
- package/build/src/v1/control_service_client.js +347 -7
- package/build/src/v1/control_service_proto_list.json +3 -0
- package/build/src/v1/conversational_search_service_client.d.ts +213 -6
- package/build/src/v1/conversational_search_service_client.js +316 -22
- package/build/src/v1/conversational_search_service_client_config.json +5 -0
- package/build/src/v1/conversational_search_service_proto_list.json +3 -0
- package/build/src/v1/data_store_service_client.d.ts +238 -1
- package/build/src/v1/data_store_service_client.js +347 -7
- package/build/src/v1/data_store_service_proto_list.json +3 -0
- package/build/src/v1/document_service_client.d.ts +245 -2
- package/build/src/v1/document_service_client.js +356 -10
- package/build/src/v1/document_service_proto_list.json +3 -0
- package/build/src/v1/engine_service_client.d.ts +238 -1
- package/build/src/v1/engine_service_client.js +347 -7
- package/build/src/v1/engine_service_proto_list.json +3 -0
- package/build/src/v1/gapic_metadata.json +59 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +238 -3
- package/build/src/v1/grounded_generation_service_client.js +335 -3
- package/build/src/v1/grounded_generation_service_proto_list.json +3 -0
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/project_service_client.d.ts +238 -1
- package/build/src/v1/project_service_client.js +329 -1
- package/build/src/v1/project_service_proto_list.json +3 -0
- package/build/src/v1/rank_service_client.d.ts +238 -1
- package/build/src/v1/rank_service_client.js +329 -1
- package/build/src/v1/rank_service_proto_list.json +3 -0
- package/build/src/v1/recommendation_service_client.d.ts +95 -2
- package/build/src/v1/recommendation_service_client.js +131 -1
- package/build/src/v1/recommendation_service_proto_list.json +3 -0
- package/build/src/v1/schema_service_client.d.ts +238 -1
- package/build/src/v1/schema_service_client.js +347 -7
- package/build/src/v1/schema_service_proto_list.json +3 -0
- package/build/src/v1/search_service_client.d.ts +219 -30
- package/build/src/v1/search_service_client.js +230 -26
- package/build/src/v1/search_service_proto_list.json +3 -0
- package/build/src/v1/search_tuning_service_client.d.ts +238 -1
- package/build/src/v1/search_tuning_service_client.js +332 -2
- package/build/src/v1/search_tuning_service_proto_list.json +3 -0
- package/build/src/v1/serving_config_service_client.d.ts +1851 -0
- package/build/src/v1/serving_config_service_client.js +2653 -0
- package/build/src/v1/serving_config_service_client_config.json +30 -0
- package/build/src/v1/serving_config_service_proto_list.json +39 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +357 -4
- package/build/src/v1/site_search_engine_service_client.js +521 -16
- package/build/src/v1/site_search_engine_service_client_config.json +12 -0
- package/build/src/v1/site_search_engine_service_proto_list.json +3 -0
- package/build/src/v1/user_event_service_client.d.ts +259 -10
- package/build/src/v1/user_event_service_client.js +338 -4
- package/build/src/v1/user_event_service_proto_list.json +3 -0
- package/build/src/v1alpha/acl_config_service_client.js +6 -2
- package/build/src/v1alpha/chunk_service_client.js +12 -4
- package/build/src/v1alpha/completion_service_client.d.ts +1 -1
- package/build/src/v1alpha/completion_service_client.js +15 -5
- package/build/src/v1alpha/control_service_client.js +21 -7
- package/build/src/v1alpha/conversational_search_service_client.js +51 -17
- package/build/src/v1alpha/data_store_service_client.d.ts +1 -1
- package/build/src/v1alpha/data_store_service_client.js +27 -9
- package/build/src/v1alpha/document_service_client.d.ts +1 -1
- package/build/src/v1alpha/document_service_client.js +33 -11
- package/build/src/v1alpha/engine_service_client.d.ts +1 -1
- package/build/src/v1alpha/engine_service_client.js +30 -10
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1 -1
- package/build/src/v1alpha/estimate_billing_service_client.js +3 -1
- package/build/src/v1alpha/evaluation_service_client.d.ts +1 -1
- package/build/src/v1alpha/evaluation_service_client.js +24 -8
- package/build/src/v1alpha/grounded_generation_service_client.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +1 -1
- package/build/src/v1alpha/project_service_client.js +9 -3
- package/build/src/v1alpha/rank_service_client.js +3 -1
- package/build/src/v1alpha/recommendation_service_client.js +3 -1
- package/build/src/v1alpha/sample_query_service_client.d.ts +1 -1
- package/build/src/v1alpha/sample_query_service_client.js +24 -8
- package/build/src/v1alpha/sample_query_set_service_client.js +21 -7
- package/build/src/v1alpha/schema_service_client.d.ts +1 -1
- package/build/src/v1alpha/schema_service_client.js +21 -7
- package/build/src/v1alpha/search_service_client.js +9 -3
- package/build/src/v1alpha/search_tuning_service_client.d.ts +1 -1
- package/build/src/v1alpha/search_tuning_service_client.js +6 -2
- package/build/src/v1alpha/serving_config_service_client.js +15 -5
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +1 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +54 -18
- package/build/src/v1alpha/user_event_service_client.d.ts +1 -1
- package/build/src/v1alpha/user_event_service_client.js +12 -4
- package/build/src/v1beta/completion_service_client.d.ts +1 -1
- package/build/src/v1beta/completion_service_client.js +18 -6
- package/build/src/v1beta/control_service_client.js +21 -7
- package/build/src/v1beta/conversational_search_service_client.js +51 -17
- package/build/src/v1beta/data_store_service_client.d.ts +1 -1
- package/build/src/v1beta/data_store_service_client.js +21 -7
- package/build/src/v1beta/document_service_client.d.ts +1 -1
- package/build/src/v1beta/document_service_client.js +30 -10
- package/build/src/v1beta/engine_service_client.d.ts +1 -1
- package/build/src/v1beta/engine_service_client.js +30 -10
- package/build/src/v1beta/evaluation_service_client.d.ts +1 -1
- package/build/src/v1beta/evaluation_service_client.js +24 -8
- package/build/src/v1beta/grounded_generation_service_client.js +9 -3
- package/build/src/v1beta/project_service_client.d.ts +1 -1
- package/build/src/v1beta/project_service_client.js +3 -1
- package/build/src/v1beta/rank_service_client.js +3 -1
- package/build/src/v1beta/recommendation_service_client.js +3 -1
- package/build/src/v1beta/sample_query_service_client.d.ts +1 -1
- package/build/src/v1beta/sample_query_service_client.js +24 -8
- package/build/src/v1beta/sample_query_set_service_client.js +21 -7
- package/build/src/v1beta/schema_service_client.d.ts +1 -1
- package/build/src/v1beta/schema_service_client.js +21 -7
- package/build/src/v1beta/search_service_client.js +18 -6
- package/build/src/v1beta/search_tuning_service_client.d.ts +1 -1
- package/build/src/v1beta/search_tuning_service_client.js +6 -2
- package/build/src/v1beta/serving_config_service_client.js +15 -5
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1 -1
- package/build/src/v1beta/site_search_engine_service_client.js +57 -19
- package/build/src/v1beta/user_event_service_client.d.ts +1 -1
- package/build/src/v1beta/user_event_service_client.js +12 -4
- package/package.json +5 -5
@@ -0,0 +1,2653 @@
|
|
1
|
+
"use strict";
|
2
|
+
// Copyright 2025 Google LLC
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
|
+
// ** This file is automatically generated by gapic-generator-typescript. **
|
17
|
+
// ** https://github.com/googleapis/gapic-generator-typescript **
|
18
|
+
// ** All changes to this file may be overwritten. **
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
20
|
+
exports.ServingConfigServiceClient = void 0;
|
21
|
+
const jsonProtos = require("../../protos/protos.json");
|
22
|
+
const google_gax_1 = require("google-gax");
|
23
|
+
/**
|
24
|
+
* Client JSON configuration object, loaded from
|
25
|
+
* `src/v1/serving_config_service_client_config.json`.
|
26
|
+
* This file defines retry strategy and timeouts for all API methods in this library.
|
27
|
+
*/
|
28
|
+
const gapicConfig = require("./serving_config_service_client_config.json");
|
29
|
+
const version = require('../../../package.json').version;
|
30
|
+
/**
|
31
|
+
* Service for operations related to
|
32
|
+
* {@link protos.google.cloud.discoveryengine.v1.ServingConfig|ServingConfig}.
|
33
|
+
* @class
|
34
|
+
* @memberof v1
|
35
|
+
*/
|
36
|
+
class ServingConfigServiceClient {
|
37
|
+
_terminated = false;
|
38
|
+
_opts;
|
39
|
+
_providedCustomServicePath;
|
40
|
+
_gaxModule;
|
41
|
+
_gaxGrpc;
|
42
|
+
_protos;
|
43
|
+
_defaults;
|
44
|
+
_universeDomain;
|
45
|
+
_servicePath;
|
46
|
+
_log = google_gax_1.loggingUtils.log('discoveryengine');
|
47
|
+
auth;
|
48
|
+
descriptors = {
|
49
|
+
page: {},
|
50
|
+
stream: {},
|
51
|
+
longrunning: {},
|
52
|
+
batching: {},
|
53
|
+
};
|
54
|
+
warn;
|
55
|
+
innerApiCalls;
|
56
|
+
locationsClient;
|
57
|
+
pathTemplates;
|
58
|
+
servingConfigServiceStub;
|
59
|
+
/**
|
60
|
+
* Construct an instance of ServingConfigServiceClient.
|
61
|
+
*
|
62
|
+
* @param {object} [options] - The configuration object.
|
63
|
+
* The options accepted by the constructor are described in detail
|
64
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
65
|
+
* The common options are:
|
66
|
+
* @param {object} [options.credentials] - Credentials object.
|
67
|
+
* @param {string} [options.credentials.client_email]
|
68
|
+
* @param {string} [options.credentials.private_key]
|
69
|
+
* @param {string} [options.email] - Account email address. Required when
|
70
|
+
* using a .pem or .p12 keyFilename.
|
71
|
+
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
|
72
|
+
* .p12 key downloaded from the Google Developers Console. If you provide
|
73
|
+
* a path to a JSON file, the projectId option below is not necessary.
|
74
|
+
* NOTE: .pem and .p12 require you to specify options.email as well.
|
75
|
+
* @param {number} [options.port] - The port on which to connect to
|
76
|
+
* the remote host.
|
77
|
+
* @param {string} [options.projectId] - The project ID from the Google
|
78
|
+
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
79
|
+
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
80
|
+
* app is running in an environment which supports
|
81
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
82
|
+
* your project ID will be detected automatically.
|
83
|
+
* @param {string} [options.apiEndpoint] - The domain name of the
|
84
|
+
* API remote host.
|
85
|
+
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
86
|
+
* Follows the structure of {@link gapicConfig}.
|
87
|
+
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
|
88
|
+
* For more information, please check the
|
89
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
90
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
91
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
92
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
93
|
+
* ```
|
94
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
95
|
+
* const client = new ServingConfigServiceClient({fallback: true}, gax);
|
96
|
+
* ```
|
97
|
+
*/
|
98
|
+
constructor(opts, gaxInstance) {
|
99
|
+
// Ensure that options include all the required fields.
|
100
|
+
const staticMembers = this.constructor;
|
101
|
+
if (opts?.universe_domain &&
|
102
|
+
opts?.universeDomain &&
|
103
|
+
opts?.universe_domain !== opts?.universeDomain) {
|
104
|
+
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
105
|
+
}
|
106
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
107
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
108
|
+
: undefined;
|
109
|
+
this._universeDomain =
|
110
|
+
opts?.universeDomain ??
|
111
|
+
opts?.universe_domain ??
|
112
|
+
universeDomainEnvVar ??
|
113
|
+
'googleapis.com';
|
114
|
+
this._servicePath = 'discoveryengine.' + this._universeDomain;
|
115
|
+
const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath;
|
116
|
+
this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint);
|
117
|
+
const port = opts?.port || staticMembers.port;
|
118
|
+
const clientConfig = opts?.clientConfig ?? {};
|
119
|
+
const fallback = opts?.fallback ??
|
120
|
+
(typeof window !== 'undefined' && typeof window?.fetch === 'function');
|
121
|
+
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
122
|
+
// Request numeric enum values if REST transport is used.
|
123
|
+
opts.numericEnums = true;
|
124
|
+
// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
|
125
|
+
if (servicePath !== this._servicePath && !('scopes' in opts)) {
|
126
|
+
opts['scopes'] = staticMembers.scopes;
|
127
|
+
}
|
128
|
+
// Load google-gax module synchronously if needed
|
129
|
+
if (!gaxInstance) {
|
130
|
+
gaxInstance = require('google-gax');
|
131
|
+
}
|
132
|
+
// Choose either gRPC or proto-over-HTTP implementation of google-gax.
|
133
|
+
this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance;
|
134
|
+
// Create a `gaxGrpc` object, with any grpc-specific options sent to the client.
|
135
|
+
this._gaxGrpc = new this._gaxModule.GrpcClient(opts);
|
136
|
+
// Save options to use in initialize() method.
|
137
|
+
this._opts = opts;
|
138
|
+
// Save the auth object to the client, for use by other methods.
|
139
|
+
this.auth = this._gaxGrpc.auth;
|
140
|
+
// Set useJWTAccessWithScope on the auth object.
|
141
|
+
this.auth.useJWTAccessWithScope = true;
|
142
|
+
// Set defaultServicePath on the auth object.
|
143
|
+
this.auth.defaultServicePath = this._servicePath;
|
144
|
+
// Set the default scopes in auth client if needed.
|
145
|
+
if (servicePath === this._servicePath) {
|
146
|
+
this.auth.defaultScopes = staticMembers.scopes;
|
147
|
+
}
|
148
|
+
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
149
|
+
// Determine the client header string.
|
150
|
+
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
151
|
+
if (typeof process === 'object' && 'versions' in process) {
|
152
|
+
clientHeader.push(`gl-node/${process.versions.node}`);
|
153
|
+
}
|
154
|
+
else {
|
155
|
+
clientHeader.push(`gl-web/${this._gaxModule.version}`);
|
156
|
+
}
|
157
|
+
if (!opts.fallback) {
|
158
|
+
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
|
159
|
+
}
|
160
|
+
else {
|
161
|
+
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
|
162
|
+
}
|
163
|
+
if (opts.libName && opts.libVersion) {
|
164
|
+
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
|
165
|
+
}
|
166
|
+
// Load the applicable protos.
|
167
|
+
this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
|
168
|
+
// This API contains "path templates"; forward-slash-separated
|
169
|
+
// identifiers to uniquely identify resources within the API.
|
170
|
+
// Create useful helper objects for these.
|
171
|
+
this.pathTemplates = {
|
172
|
+
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
173
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
174
|
+
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
175
|
+
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
176
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
177
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
178
|
+
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
179
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
180
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
181
|
+
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
182
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
183
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
185
|
+
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
186
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
187
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
188
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
189
|
+
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
190
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
191
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
193
|
+
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
194
|
+
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
195
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
196
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
197
|
+
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
198
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
199
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
|
+
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
202
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
204
|
+
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
|
+
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
206
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
207
|
+
};
|
208
|
+
// Put together the default options sent with requests.
|
209
|
+
this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1.ServingConfigService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
210
|
+
// Set up a dictionary of "inner API calls"; the core implementation
|
211
|
+
// of calling the API is handled in `google-gax`, with this code
|
212
|
+
// merely providing the destination and request information.
|
213
|
+
this.innerApiCalls = {};
|
214
|
+
// Add a warn function to the client constructor so it can be easily tested.
|
215
|
+
this.warn = this._gaxModule.warn;
|
216
|
+
}
|
217
|
+
/**
|
218
|
+
* Initialize the client.
|
219
|
+
* Performs asynchronous operations (such as authentication) and prepares the client.
|
220
|
+
* This function will be called automatically when any class method is called for the
|
221
|
+
* first time, but if you need to initialize it before calling an actual method,
|
222
|
+
* feel free to call initialize() directly.
|
223
|
+
*
|
224
|
+
* You can await on this method if you want to make sure the client is initialized.
|
225
|
+
*
|
226
|
+
* @returns {Promise} A promise that resolves to an authenticated service stub.
|
227
|
+
*/
|
228
|
+
initialize() {
|
229
|
+
// If the client stub promise is already initialized, return immediately.
|
230
|
+
if (this.servingConfigServiceStub) {
|
231
|
+
return this.servingConfigServiceStub;
|
232
|
+
}
|
233
|
+
// Put together the "service stub" for
|
234
|
+
// google.cloud.discoveryengine.v1.ServingConfigService.
|
235
|
+
this.servingConfigServiceStub = this._gaxGrpc.createStub(this._opts.fallback
|
236
|
+
? this._protos.lookupService('google.cloud.discoveryengine.v1.ServingConfigService')
|
237
|
+
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
238
|
+
this._protos.google.cloud.discoveryengine.v1
|
239
|
+
.ServingConfigService, this._opts, this._providedCustomServicePath);
|
240
|
+
// Iterate over each of the methods that the service provides
|
241
|
+
// and create an API call method for each.
|
242
|
+
const servingConfigServiceStubMethods = ['updateServingConfig'];
|
243
|
+
for (const methodName of servingConfigServiceStubMethods) {
|
244
|
+
const callPromise = this.servingConfigServiceStub.then(stub => (...args) => {
|
245
|
+
if (this._terminated) {
|
246
|
+
return Promise.reject('The client has already been closed.');
|
247
|
+
}
|
248
|
+
const func = stub[methodName];
|
249
|
+
return func.apply(stub, args);
|
250
|
+
}, (err) => () => {
|
251
|
+
throw err;
|
252
|
+
});
|
253
|
+
const descriptor = undefined;
|
254
|
+
const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
|
255
|
+
this.innerApiCalls[methodName] = apiCall;
|
256
|
+
}
|
257
|
+
return this.servingConfigServiceStub;
|
258
|
+
}
|
259
|
+
/**
|
260
|
+
* The DNS address for this API service.
|
261
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
262
|
+
* @returns {string} The DNS address for this service.
|
263
|
+
*/
|
264
|
+
static get servicePath() {
|
265
|
+
if (typeof process === 'object' &&
|
266
|
+
typeof process.emitWarning === 'function') {
|
267
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
268
|
+
}
|
269
|
+
return 'discoveryengine.googleapis.com';
|
270
|
+
}
|
271
|
+
/**
|
272
|
+
* The DNS address for this API service - same as servicePath.
|
273
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
274
|
+
* @returns {string} The DNS address for this service.
|
275
|
+
*/
|
276
|
+
static get apiEndpoint() {
|
277
|
+
if (typeof process === 'object' &&
|
278
|
+
typeof process.emitWarning === 'function') {
|
279
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
280
|
+
}
|
281
|
+
return 'discoveryengine.googleapis.com';
|
282
|
+
}
|
283
|
+
/**
|
284
|
+
* The DNS address for this API service.
|
285
|
+
* @returns {string} The DNS address for this service.
|
286
|
+
*/
|
287
|
+
get apiEndpoint() {
|
288
|
+
return this._servicePath;
|
289
|
+
}
|
290
|
+
get universeDomain() {
|
291
|
+
return this._universeDomain;
|
292
|
+
}
|
293
|
+
/**
|
294
|
+
* The port for this API service.
|
295
|
+
* @returns {number} The default port for this service.
|
296
|
+
*/
|
297
|
+
static get port() {
|
298
|
+
return 443;
|
299
|
+
}
|
300
|
+
/**
|
301
|
+
* The scopes needed to make gRPC calls for every method defined
|
302
|
+
* in this service.
|
303
|
+
* @returns {string[]} List of default scopes.
|
304
|
+
*/
|
305
|
+
static get scopes() {
|
306
|
+
return ['https://www.googleapis.com/auth/cloud-platform'];
|
307
|
+
}
|
308
|
+
/**
|
309
|
+
* Return the project ID used by this class.
|
310
|
+
* @returns {Promise} A promise that resolves to string containing the project ID.
|
311
|
+
*/
|
312
|
+
getProjectId(callback) {
|
313
|
+
if (callback) {
|
314
|
+
this.auth.getProjectId(callback);
|
315
|
+
return;
|
316
|
+
}
|
317
|
+
return this.auth.getProjectId();
|
318
|
+
}
|
319
|
+
updateServingConfig(request, optionsOrCallback, callback) {
|
320
|
+
request = request || {};
|
321
|
+
let options;
|
322
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
323
|
+
callback = optionsOrCallback;
|
324
|
+
options = {};
|
325
|
+
}
|
326
|
+
else {
|
327
|
+
options = optionsOrCallback;
|
328
|
+
}
|
329
|
+
options = options || {};
|
330
|
+
options.otherArgs = options.otherArgs || {};
|
331
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
332
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
333
|
+
this._gaxModule.routingHeader.fromParams({
|
334
|
+
'serving_config.name': request.servingConfig.name ?? '',
|
335
|
+
});
|
336
|
+
this.initialize().catch(err => {
|
337
|
+
throw err;
|
338
|
+
});
|
339
|
+
this._log.info('updateServingConfig request %j', request);
|
340
|
+
const wrappedCallback = callback
|
341
|
+
? (error, response, options, rawResponse) => {
|
342
|
+
this._log.info('updateServingConfig response %j', response);
|
343
|
+
callback(error, response, options, rawResponse); // We verified callback above.
|
344
|
+
}
|
345
|
+
: undefined;
|
346
|
+
return this.innerApiCalls
|
347
|
+
.updateServingConfig(request, options, wrappedCallback)
|
348
|
+
?.then(([response, options, rawResponse]) => {
|
349
|
+
this._log.info('updateServingConfig response %j', response);
|
350
|
+
return [response, options, rawResponse];
|
351
|
+
});
|
352
|
+
}
|
353
|
+
/**
|
354
|
+
* Gets information about a location.
|
355
|
+
*
|
356
|
+
* @param {Object} request
|
357
|
+
* The request object that will be sent.
|
358
|
+
* @param {string} request.name
|
359
|
+
* Resource name for the location.
|
360
|
+
* @param {object} [options]
|
361
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
362
|
+
* @returns {Promise} - The promise which resolves to an array.
|
363
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
364
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
365
|
+
* for more details and examples.
|
366
|
+
* @example
|
367
|
+
* ```
|
368
|
+
* const [response] = await client.getLocation(request);
|
369
|
+
* ```
|
370
|
+
*/
|
371
|
+
getLocation(request, options, callback) {
|
372
|
+
return this.locationsClient.getLocation(request, options, callback);
|
373
|
+
}
|
374
|
+
/**
|
375
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
376
|
+
*
|
377
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
378
|
+
* @param {Object} request
|
379
|
+
* The request object that will be sent.
|
380
|
+
* @param {string} request.name
|
381
|
+
* The resource that owns the locations collection, if applicable.
|
382
|
+
* @param {string} request.filter
|
383
|
+
* The standard list filter.
|
384
|
+
* @param {number} request.pageSize
|
385
|
+
* The standard list page size.
|
386
|
+
* @param {string} request.pageToken
|
387
|
+
* The standard list page token.
|
388
|
+
* @param {object} [options]
|
389
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
390
|
+
* @returns {Object}
|
391
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
392
|
+
* When you iterate the returned iterable, each element will be an object representing
|
393
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
394
|
+
* so you can stop the iteration when you don't need more results.
|
395
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
396
|
+
* for more details and examples.
|
397
|
+
* @example
|
398
|
+
* ```
|
399
|
+
* const iterable = client.listLocationsAsync(request);
|
400
|
+
* for await (const response of iterable) {
|
401
|
+
* // process response
|
402
|
+
* }
|
403
|
+
* ```
|
404
|
+
*/
|
405
|
+
listLocationsAsync(request, options) {
|
406
|
+
return this.locationsClient.listLocationsAsync(request, options);
|
407
|
+
}
|
408
|
+
// --------------------
|
409
|
+
// -- Path templates --
|
410
|
+
// --------------------
|
411
|
+
/**
|
412
|
+
* Return a fully-qualified engine resource name string.
|
413
|
+
*
|
414
|
+
* @param {string} project
|
415
|
+
* @param {string} location
|
416
|
+
* @param {string} collection
|
417
|
+
* @param {string} engine
|
418
|
+
* @returns {string} Resource name string.
|
419
|
+
*/
|
420
|
+
enginePath(project, location, collection, engine) {
|
421
|
+
return this.pathTemplates.enginePathTemplate.render({
|
422
|
+
project: project,
|
423
|
+
location: location,
|
424
|
+
collection: collection,
|
425
|
+
engine: engine,
|
426
|
+
});
|
427
|
+
}
|
428
|
+
/**
|
429
|
+
* Parse the project from Engine resource.
|
430
|
+
*
|
431
|
+
* @param {string} engineName
|
432
|
+
* A fully-qualified path representing Engine resource.
|
433
|
+
* @returns {string} A string representing the project.
|
434
|
+
*/
|
435
|
+
matchProjectFromEngineName(engineName) {
|
436
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).project;
|
437
|
+
}
|
438
|
+
/**
|
439
|
+
* Parse the location from Engine resource.
|
440
|
+
*
|
441
|
+
* @param {string} engineName
|
442
|
+
* A fully-qualified path representing Engine resource.
|
443
|
+
* @returns {string} A string representing the location.
|
444
|
+
*/
|
445
|
+
matchLocationFromEngineName(engineName) {
|
446
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).location;
|
447
|
+
}
|
448
|
+
/**
|
449
|
+
* Parse the collection from Engine resource.
|
450
|
+
*
|
451
|
+
* @param {string} engineName
|
452
|
+
* A fully-qualified path representing Engine resource.
|
453
|
+
* @returns {string} A string representing the collection.
|
454
|
+
*/
|
455
|
+
matchCollectionFromEngineName(engineName) {
|
456
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).collection;
|
457
|
+
}
|
458
|
+
/**
|
459
|
+
* Parse the engine from Engine resource.
|
460
|
+
*
|
461
|
+
* @param {string} engineName
|
462
|
+
* A fully-qualified path representing Engine resource.
|
463
|
+
* @returns {string} A string representing the engine.
|
464
|
+
*/
|
465
|
+
matchEngineFromEngineName(engineName) {
|
466
|
+
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
467
|
+
}
|
468
|
+
/**
|
469
|
+
* Return a fully-qualified project resource name string.
|
470
|
+
*
|
471
|
+
* @param {string} project
|
472
|
+
* @returns {string} Resource name string.
|
473
|
+
*/
|
474
|
+
projectPath(project) {
|
475
|
+
return this.pathTemplates.projectPathTemplate.render({
|
476
|
+
project: project,
|
477
|
+
});
|
478
|
+
}
|
479
|
+
/**
|
480
|
+
* Parse the project from Project resource.
|
481
|
+
*
|
482
|
+
* @param {string} projectName
|
483
|
+
* A fully-qualified path representing Project resource.
|
484
|
+
* @returns {string} A string representing the project.
|
485
|
+
*/
|
486
|
+
matchProjectFromProjectName(projectName) {
|
487
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
488
|
+
}
|
489
|
+
/**
|
490
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
491
|
+
*
|
492
|
+
* @param {string} project
|
493
|
+
* @param {string} location
|
494
|
+
* @param {string} collection
|
495
|
+
* @param {string} data_store
|
496
|
+
* @returns {string} Resource name string.
|
497
|
+
*/
|
498
|
+
projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
|
499
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
|
500
|
+
project: project,
|
501
|
+
location: location,
|
502
|
+
collection: collection,
|
503
|
+
data_store: dataStore,
|
504
|
+
});
|
505
|
+
}
|
506
|
+
/**
|
507
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
508
|
+
*
|
509
|
+
* @param {string} projectLocationCollectionDataStoreName
|
510
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
511
|
+
* @returns {string} A string representing the project.
|
512
|
+
*/
|
513
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
514
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
|
515
|
+
}
|
516
|
+
/**
|
517
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
518
|
+
*
|
519
|
+
* @param {string} projectLocationCollectionDataStoreName
|
520
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
521
|
+
* @returns {string} A string representing the location.
|
522
|
+
*/
|
523
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
524
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
|
525
|
+
}
|
526
|
+
/**
|
527
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
528
|
+
*
|
529
|
+
* @param {string} projectLocationCollectionDataStoreName
|
530
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
531
|
+
* @returns {string} A string representing the collection.
|
532
|
+
*/
|
533
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
534
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
|
535
|
+
}
|
536
|
+
/**
|
537
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
538
|
+
*
|
539
|
+
* @param {string} projectLocationCollectionDataStoreName
|
540
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
541
|
+
* @returns {string} A string representing the data_store.
|
542
|
+
*/
|
543
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
|
544
|
+
return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
|
545
|
+
}
|
546
|
+
/**
|
547
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
|
548
|
+
*
|
549
|
+
* @param {string} project
|
550
|
+
* @param {string} location
|
551
|
+
* @param {string} collection
|
552
|
+
* @param {string} data_store
|
553
|
+
* @param {string} branch
|
554
|
+
* @param {string} document
|
555
|
+
* @returns {string} Resource name string.
|
556
|
+
*/
|
557
|
+
projectLocationCollectionDataStoreBranchDocumentPath(project, location, collection, dataStore, branch, document) {
|
558
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.render({
|
559
|
+
project: project,
|
560
|
+
location: location,
|
561
|
+
collection: collection,
|
562
|
+
data_store: dataStore,
|
563
|
+
branch: branch,
|
564
|
+
document: document,
|
565
|
+
});
|
566
|
+
}
|
567
|
+
/**
|
568
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
|
569
|
+
*
|
570
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
571
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
572
|
+
* @returns {string} A string representing the project.
|
573
|
+
*/
|
574
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
575
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).project;
|
576
|
+
}
|
577
|
+
/**
|
578
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
|
579
|
+
*
|
580
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
581
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
582
|
+
* @returns {string} A string representing the location.
|
583
|
+
*/
|
584
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
585
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).location;
|
586
|
+
}
|
587
|
+
/**
|
588
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
|
589
|
+
*
|
590
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
591
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
592
|
+
* @returns {string} A string representing the collection.
|
593
|
+
*/
|
594
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
595
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).collection;
|
596
|
+
}
|
597
|
+
/**
|
598
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
|
599
|
+
*
|
600
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
601
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
602
|
+
* @returns {string} A string representing the data_store.
|
603
|
+
*/
|
604
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
605
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).data_store;
|
606
|
+
}
|
607
|
+
/**
|
608
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
|
609
|
+
*
|
610
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
611
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
612
|
+
* @returns {string} A string representing the branch.
|
613
|
+
*/
|
614
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
615
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).branch;
|
616
|
+
}
|
617
|
+
/**
|
618
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
|
619
|
+
*
|
620
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
621
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
622
|
+
* @returns {string} A string representing the document.
|
623
|
+
*/
|
624
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
625
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
626
|
+
}
|
627
|
+
/**
|
628
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
629
|
+
*
|
630
|
+
* @param {string} project
|
631
|
+
* @param {string} location
|
632
|
+
* @param {string} collection
|
633
|
+
* @param {string} data_store
|
634
|
+
* @param {string} branch
|
635
|
+
* @param {string} document
|
636
|
+
* @param {string} chunk
|
637
|
+
* @returns {string} Resource name string.
|
638
|
+
*/
|
639
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
640
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
641
|
+
project: project,
|
642
|
+
location: location,
|
643
|
+
collection: collection,
|
644
|
+
data_store: dataStore,
|
645
|
+
branch: branch,
|
646
|
+
document: document,
|
647
|
+
chunk: chunk,
|
648
|
+
});
|
649
|
+
}
|
650
|
+
/**
|
651
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
652
|
+
*
|
653
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
654
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
655
|
+
* @returns {string} A string representing the project.
|
656
|
+
*/
|
657
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
658
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
659
|
+
}
|
660
|
+
/**
|
661
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
662
|
+
*
|
663
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
664
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
665
|
+
* @returns {string} A string representing the location.
|
666
|
+
*/
|
667
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
668
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
669
|
+
}
|
670
|
+
/**
|
671
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
672
|
+
*
|
673
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
674
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
675
|
+
* @returns {string} A string representing the collection.
|
676
|
+
*/
|
677
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
678
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
679
|
+
}
|
680
|
+
/**
|
681
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
682
|
+
*
|
683
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
684
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
685
|
+
* @returns {string} A string representing the data_store.
|
686
|
+
*/
|
687
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
688
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
689
|
+
}
|
690
|
+
/**
|
691
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
692
|
+
*
|
693
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
694
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
695
|
+
* @returns {string} A string representing the branch.
|
696
|
+
*/
|
697
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
698
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
699
|
+
}
|
700
|
+
/**
|
701
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
702
|
+
*
|
703
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
704
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
705
|
+
* @returns {string} A string representing the document.
|
706
|
+
*/
|
707
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
708
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
709
|
+
}
|
710
|
+
/**
|
711
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
712
|
+
*
|
713
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
714
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
715
|
+
* @returns {string} A string representing the chunk.
|
716
|
+
*/
|
717
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
718
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
719
|
+
}
|
720
|
+
/**
|
721
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
722
|
+
*
|
723
|
+
* @param {string} project
|
724
|
+
* @param {string} location
|
725
|
+
* @param {string} collection
|
726
|
+
* @param {string} data_store
|
727
|
+
* @param {string} control
|
728
|
+
* @returns {string} Resource name string.
|
729
|
+
*/
|
730
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
731
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
732
|
+
project: project,
|
733
|
+
location: location,
|
734
|
+
collection: collection,
|
735
|
+
data_store: dataStore,
|
736
|
+
control: control,
|
737
|
+
});
|
738
|
+
}
|
739
|
+
/**
|
740
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
741
|
+
*
|
742
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
743
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
744
|
+
* @returns {string} A string representing the project.
|
745
|
+
*/
|
746
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
747
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
748
|
+
}
|
749
|
+
/**
|
750
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
751
|
+
*
|
752
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
753
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
754
|
+
* @returns {string} A string representing the location.
|
755
|
+
*/
|
756
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
757
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
758
|
+
}
|
759
|
+
/**
|
760
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
761
|
+
*
|
762
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
763
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
764
|
+
* @returns {string} A string representing the collection.
|
765
|
+
*/
|
766
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
767
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
768
|
+
}
|
769
|
+
/**
|
770
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
771
|
+
*
|
772
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
773
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
774
|
+
* @returns {string} A string representing the data_store.
|
775
|
+
*/
|
776
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
777
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
778
|
+
}
|
779
|
+
/**
|
780
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
781
|
+
*
|
782
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
783
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
784
|
+
* @returns {string} A string representing the control.
|
785
|
+
*/
|
786
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
787
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
788
|
+
}
|
789
|
+
/**
|
790
|
+
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
791
|
+
*
|
792
|
+
* @param {string} project
|
793
|
+
* @param {string} location
|
794
|
+
* @param {string} collection
|
795
|
+
* @param {string} data_store
|
796
|
+
* @param {string} conversation
|
797
|
+
* @returns {string} Resource name string.
|
798
|
+
*/
|
799
|
+
projectLocationCollectionDataStoreConversationPath(project, location, collection, dataStore, conversation) {
|
800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.render({
|
801
|
+
project: project,
|
802
|
+
location: location,
|
803
|
+
collection: collection,
|
804
|
+
data_store: dataStore,
|
805
|
+
conversation: conversation,
|
806
|
+
});
|
807
|
+
}
|
808
|
+
/**
|
809
|
+
* Parse the project from ProjectLocationCollectionDataStoreConversation resource.
|
810
|
+
*
|
811
|
+
* @param {string} projectLocationCollectionDataStoreConversationName
|
812
|
+
* A fully-qualified path representing project_location_collection_data_store_conversation resource.
|
813
|
+
* @returns {string} A string representing the project.
|
814
|
+
*/
|
815
|
+
matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
816
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).project;
|
817
|
+
}
|
818
|
+
/**
|
819
|
+
* Parse the location from ProjectLocationCollectionDataStoreConversation resource.
|
820
|
+
*
|
821
|
+
* @param {string} projectLocationCollectionDataStoreConversationName
|
822
|
+
* A fully-qualified path representing project_location_collection_data_store_conversation resource.
|
823
|
+
* @returns {string} A string representing the location.
|
824
|
+
*/
|
825
|
+
matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
826
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).location;
|
827
|
+
}
|
828
|
+
/**
|
829
|
+
* Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
|
830
|
+
*
|
831
|
+
* @param {string} projectLocationCollectionDataStoreConversationName
|
832
|
+
* A fully-qualified path representing project_location_collection_data_store_conversation resource.
|
833
|
+
* @returns {string} A string representing the collection.
|
834
|
+
*/
|
835
|
+
matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
836
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).collection;
|
837
|
+
}
|
838
|
+
/**
|
839
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
|
840
|
+
*
|
841
|
+
* @param {string} projectLocationCollectionDataStoreConversationName
|
842
|
+
* A fully-qualified path representing project_location_collection_data_store_conversation resource.
|
843
|
+
* @returns {string} A string representing the data_store.
|
844
|
+
*/
|
845
|
+
matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
846
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).data_store;
|
847
|
+
}
|
848
|
+
/**
|
849
|
+
* Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
|
850
|
+
*
|
851
|
+
* @param {string} projectLocationCollectionDataStoreConversationName
|
852
|
+
* A fully-qualified path representing project_location_collection_data_store_conversation resource.
|
853
|
+
* @returns {string} A string representing the conversation.
|
854
|
+
*/
|
855
|
+
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
856
|
+
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
857
|
+
}
|
858
|
+
/**
|
859
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
860
|
+
*
|
861
|
+
* @param {string} project
|
862
|
+
* @param {string} location
|
863
|
+
* @param {string} collection
|
864
|
+
* @param {string} data_store
|
865
|
+
* @param {string} custom_tuning_model
|
866
|
+
* @returns {string} Resource name string.
|
867
|
+
*/
|
868
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
869
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
870
|
+
project: project,
|
871
|
+
location: location,
|
872
|
+
collection: collection,
|
873
|
+
data_store: dataStore,
|
874
|
+
custom_tuning_model: customTuningModel,
|
875
|
+
});
|
876
|
+
}
|
877
|
+
/**
|
878
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
879
|
+
*
|
880
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
881
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
882
|
+
* @returns {string} A string representing the project.
|
883
|
+
*/
|
884
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
885
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
886
|
+
}
|
887
|
+
/**
|
888
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
889
|
+
*
|
890
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
891
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
892
|
+
* @returns {string} A string representing the location.
|
893
|
+
*/
|
894
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
895
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
896
|
+
}
|
897
|
+
/**
|
898
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
899
|
+
*
|
900
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
901
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
902
|
+
* @returns {string} A string representing the collection.
|
903
|
+
*/
|
904
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
905
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
906
|
+
}
|
907
|
+
/**
|
908
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
909
|
+
*
|
910
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
911
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
912
|
+
* @returns {string} A string representing the data_store.
|
913
|
+
*/
|
914
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
915
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
916
|
+
}
|
917
|
+
/**
|
918
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
919
|
+
*
|
920
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
921
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
922
|
+
* @returns {string} A string representing the custom_tuning_model.
|
923
|
+
*/
|
924
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
925
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
926
|
+
}
|
927
|
+
/**
|
928
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
929
|
+
*
|
930
|
+
* @param {string} project
|
931
|
+
* @param {string} location
|
932
|
+
* @param {string} collection
|
933
|
+
* @param {string} data_store
|
934
|
+
* @returns {string} Resource name string.
|
935
|
+
*/
|
936
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
937
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
938
|
+
project: project,
|
939
|
+
location: location,
|
940
|
+
collection: collection,
|
941
|
+
data_store: dataStore,
|
942
|
+
});
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
946
|
+
*
|
947
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
948
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
949
|
+
* @returns {string} A string representing the project.
|
950
|
+
*/
|
951
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
952
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
953
|
+
}
|
954
|
+
/**
|
955
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
956
|
+
*
|
957
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
958
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
959
|
+
* @returns {string} A string representing the location.
|
960
|
+
*/
|
961
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
962
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
963
|
+
}
|
964
|
+
/**
|
965
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
966
|
+
*
|
967
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
968
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
969
|
+
* @returns {string} A string representing the collection.
|
970
|
+
*/
|
971
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
972
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
973
|
+
}
|
974
|
+
/**
|
975
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
976
|
+
*
|
977
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
978
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
979
|
+
* @returns {string} A string representing the data_store.
|
980
|
+
*/
|
981
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
982
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
983
|
+
}
|
984
|
+
/**
|
985
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
986
|
+
*
|
987
|
+
* @param {string} project
|
988
|
+
* @param {string} location
|
989
|
+
* @param {string} collection
|
990
|
+
* @param {string} data_store
|
991
|
+
* @param {string} schema
|
992
|
+
* @returns {string} Resource name string.
|
993
|
+
*/
|
994
|
+
projectLocationCollectionDataStoreSchemaPath(project, location, collection, dataStore, schema) {
|
995
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.render({
|
996
|
+
project: project,
|
997
|
+
location: location,
|
998
|
+
collection: collection,
|
999
|
+
data_store: dataStore,
|
1000
|
+
schema: schema,
|
1001
|
+
});
|
1002
|
+
}
|
1003
|
+
/**
|
1004
|
+
* Parse the project from ProjectLocationCollectionDataStoreSchema resource.
|
1005
|
+
*
|
1006
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
1007
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
1008
|
+
* @returns {string} A string representing the project.
|
1009
|
+
*/
|
1010
|
+
matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1011
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).project;
|
1012
|
+
}
|
1013
|
+
/**
|
1014
|
+
* Parse the location from ProjectLocationCollectionDataStoreSchema resource.
|
1015
|
+
*
|
1016
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
1017
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
1018
|
+
* @returns {string} A string representing the location.
|
1019
|
+
*/
|
1020
|
+
matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1021
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).location;
|
1022
|
+
}
|
1023
|
+
/**
|
1024
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
|
1025
|
+
*
|
1026
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
1027
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
1028
|
+
* @returns {string} A string representing the collection.
|
1029
|
+
*/
|
1030
|
+
matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1031
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).collection;
|
1032
|
+
}
|
1033
|
+
/**
|
1034
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
|
1035
|
+
*
|
1036
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
1037
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
1038
|
+
* @returns {string} A string representing the data_store.
|
1039
|
+
*/
|
1040
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1041
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).data_store;
|
1042
|
+
}
|
1043
|
+
/**
|
1044
|
+
* Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
|
1045
|
+
*
|
1046
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
1047
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
1048
|
+
* @returns {string} A string representing the schema.
|
1049
|
+
*/
|
1050
|
+
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1051
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1052
|
+
}
|
1053
|
+
/**
|
1054
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1055
|
+
*
|
1056
|
+
* @param {string} project
|
1057
|
+
* @param {string} location
|
1058
|
+
* @param {string} collection
|
1059
|
+
* @param {string} data_store
|
1060
|
+
* @param {string} serving_config
|
1061
|
+
* @returns {string} Resource name string.
|
1062
|
+
*/
|
1063
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1064
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1065
|
+
project: project,
|
1066
|
+
location: location,
|
1067
|
+
collection: collection,
|
1068
|
+
data_store: dataStore,
|
1069
|
+
serving_config: servingConfig,
|
1070
|
+
});
|
1071
|
+
}
|
1072
|
+
/**
|
1073
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1074
|
+
*
|
1075
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1076
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1077
|
+
* @returns {string} A string representing the project.
|
1078
|
+
*/
|
1079
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1080
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1081
|
+
}
|
1082
|
+
/**
|
1083
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1084
|
+
*
|
1085
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1086
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1087
|
+
* @returns {string} A string representing the location.
|
1088
|
+
*/
|
1089
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1090
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1091
|
+
}
|
1092
|
+
/**
|
1093
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1094
|
+
*
|
1095
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1096
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1097
|
+
* @returns {string} A string representing the collection.
|
1098
|
+
*/
|
1099
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1100
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1101
|
+
}
|
1102
|
+
/**
|
1103
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1104
|
+
*
|
1105
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1106
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1107
|
+
* @returns {string} A string representing the data_store.
|
1108
|
+
*/
|
1109
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1110
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1111
|
+
}
|
1112
|
+
/**
|
1113
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1114
|
+
*
|
1115
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1116
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1117
|
+
* @returns {string} A string representing the serving_config.
|
1118
|
+
*/
|
1119
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1120
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1121
|
+
}
|
1122
|
+
/**
|
1123
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1124
|
+
*
|
1125
|
+
* @param {string} project
|
1126
|
+
* @param {string} location
|
1127
|
+
* @param {string} collection
|
1128
|
+
* @param {string} data_store
|
1129
|
+
* @param {string} session
|
1130
|
+
* @returns {string} Resource name string.
|
1131
|
+
*/
|
1132
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1133
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1134
|
+
project: project,
|
1135
|
+
location: location,
|
1136
|
+
collection: collection,
|
1137
|
+
data_store: dataStore,
|
1138
|
+
session: session,
|
1139
|
+
});
|
1140
|
+
}
|
1141
|
+
/**
|
1142
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1143
|
+
*
|
1144
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1145
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1146
|
+
* @returns {string} A string representing the project.
|
1147
|
+
*/
|
1148
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1149
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1150
|
+
}
|
1151
|
+
/**
|
1152
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1153
|
+
*
|
1154
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1155
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1156
|
+
* @returns {string} A string representing the location.
|
1157
|
+
*/
|
1158
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1159
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1160
|
+
}
|
1161
|
+
/**
|
1162
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1163
|
+
*
|
1164
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1165
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1166
|
+
* @returns {string} A string representing the collection.
|
1167
|
+
*/
|
1168
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1169
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1170
|
+
}
|
1171
|
+
/**
|
1172
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1173
|
+
*
|
1174
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1175
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1176
|
+
* @returns {string} A string representing the data_store.
|
1177
|
+
*/
|
1178
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1179
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1180
|
+
}
|
1181
|
+
/**
|
1182
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1183
|
+
*
|
1184
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1185
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1186
|
+
* @returns {string} A string representing the session.
|
1187
|
+
*/
|
1188
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1189
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1190
|
+
}
|
1191
|
+
/**
|
1192
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1193
|
+
*
|
1194
|
+
* @param {string} project
|
1195
|
+
* @param {string} location
|
1196
|
+
* @param {string} collection
|
1197
|
+
* @param {string} data_store
|
1198
|
+
* @param {string} session
|
1199
|
+
* @param {string} answer
|
1200
|
+
* @returns {string} Resource name string.
|
1201
|
+
*/
|
1202
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1203
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1204
|
+
project: project,
|
1205
|
+
location: location,
|
1206
|
+
collection: collection,
|
1207
|
+
data_store: dataStore,
|
1208
|
+
session: session,
|
1209
|
+
answer: answer,
|
1210
|
+
});
|
1211
|
+
}
|
1212
|
+
/**
|
1213
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1214
|
+
*
|
1215
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1216
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1217
|
+
* @returns {string} A string representing the project.
|
1218
|
+
*/
|
1219
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1220
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1221
|
+
}
|
1222
|
+
/**
|
1223
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1224
|
+
*
|
1225
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1226
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1227
|
+
* @returns {string} A string representing the location.
|
1228
|
+
*/
|
1229
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1230
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1231
|
+
}
|
1232
|
+
/**
|
1233
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1234
|
+
*
|
1235
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1236
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1237
|
+
* @returns {string} A string representing the collection.
|
1238
|
+
*/
|
1239
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1240
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1241
|
+
}
|
1242
|
+
/**
|
1243
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1244
|
+
*
|
1245
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1246
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1247
|
+
* @returns {string} A string representing the data_store.
|
1248
|
+
*/
|
1249
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1250
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1251
|
+
}
|
1252
|
+
/**
|
1253
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1254
|
+
*
|
1255
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1256
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1257
|
+
* @returns {string} A string representing the session.
|
1258
|
+
*/
|
1259
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1260
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1261
|
+
}
|
1262
|
+
/**
|
1263
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1264
|
+
*
|
1265
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1266
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1267
|
+
* @returns {string} A string representing the answer.
|
1268
|
+
*/
|
1269
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1271
|
+
}
|
1272
|
+
/**
|
1273
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1274
|
+
*
|
1275
|
+
* @param {string} project
|
1276
|
+
* @param {string} location
|
1277
|
+
* @param {string} collection
|
1278
|
+
* @param {string} data_store
|
1279
|
+
* @returns {string} Resource name string.
|
1280
|
+
*/
|
1281
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
1282
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
1283
|
+
project: project,
|
1284
|
+
location: location,
|
1285
|
+
collection: collection,
|
1286
|
+
data_store: dataStore,
|
1287
|
+
});
|
1288
|
+
}
|
1289
|
+
/**
|
1290
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1291
|
+
*
|
1292
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1293
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1294
|
+
* @returns {string} A string representing the project.
|
1295
|
+
*/
|
1296
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
1298
|
+
}
|
1299
|
+
/**
|
1300
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1301
|
+
*
|
1302
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1303
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1304
|
+
* @returns {string} A string representing the location.
|
1305
|
+
*/
|
1306
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1307
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
1308
|
+
}
|
1309
|
+
/**
|
1310
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1311
|
+
*
|
1312
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1313
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1314
|
+
* @returns {string} A string representing the collection.
|
1315
|
+
*/
|
1316
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1317
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
1318
|
+
}
|
1319
|
+
/**
|
1320
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1321
|
+
*
|
1322
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1323
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1324
|
+
* @returns {string} A string representing the data_store.
|
1325
|
+
*/
|
1326
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1327
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
1328
|
+
}
|
1329
|
+
/**
|
1330
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
|
1331
|
+
*
|
1332
|
+
* @param {string} project
|
1333
|
+
* @param {string} location
|
1334
|
+
* @param {string} collection
|
1335
|
+
* @param {string} data_store
|
1336
|
+
* @param {string} sitemap
|
1337
|
+
* @returns {string} Resource name string.
|
1338
|
+
*/
|
1339
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project, location, collection, dataStore, sitemap) {
|
1340
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
1341
|
+
project: project,
|
1342
|
+
location: location,
|
1343
|
+
collection: collection,
|
1344
|
+
data_store: dataStore,
|
1345
|
+
sitemap: sitemap,
|
1346
|
+
});
|
1347
|
+
}
|
1348
|
+
/**
|
1349
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1350
|
+
*
|
1351
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1352
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1353
|
+
* @returns {string} A string representing the project.
|
1354
|
+
*/
|
1355
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1356
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).project;
|
1357
|
+
}
|
1358
|
+
/**
|
1359
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1360
|
+
*
|
1361
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1362
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1363
|
+
* @returns {string} A string representing the location.
|
1364
|
+
*/
|
1365
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).location;
|
1367
|
+
}
|
1368
|
+
/**
|
1369
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1370
|
+
*
|
1371
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1372
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1373
|
+
* @returns {string} A string representing the collection.
|
1374
|
+
*/
|
1375
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).collection;
|
1377
|
+
}
|
1378
|
+
/**
|
1379
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1380
|
+
*
|
1381
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1382
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1383
|
+
* @returns {string} A string representing the data_store.
|
1384
|
+
*/
|
1385
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).data_store;
|
1387
|
+
}
|
1388
|
+
/**
|
1389
|
+
* Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1390
|
+
*
|
1391
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1392
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1393
|
+
* @returns {string} A string representing the sitemap.
|
1394
|
+
*/
|
1395
|
+
matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1396
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).sitemap;
|
1397
|
+
}
|
1398
|
+
/**
|
1399
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
1400
|
+
*
|
1401
|
+
* @param {string} project
|
1402
|
+
* @param {string} location
|
1403
|
+
* @param {string} collection
|
1404
|
+
* @param {string} data_store
|
1405
|
+
* @param {string} target_site
|
1406
|
+
* @returns {string} Resource name string.
|
1407
|
+
*/
|
1408
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
1409
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
1410
|
+
project: project,
|
1411
|
+
location: location,
|
1412
|
+
collection: collection,
|
1413
|
+
data_store: dataStore,
|
1414
|
+
target_site: targetSite,
|
1415
|
+
});
|
1416
|
+
}
|
1417
|
+
/**
|
1418
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1419
|
+
*
|
1420
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1421
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1422
|
+
* @returns {string} A string representing the project.
|
1423
|
+
*/
|
1424
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1425
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
1426
|
+
}
|
1427
|
+
/**
|
1428
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1429
|
+
*
|
1430
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1431
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1432
|
+
* @returns {string} A string representing the location.
|
1433
|
+
*/
|
1434
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1435
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
1436
|
+
}
|
1437
|
+
/**
|
1438
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1439
|
+
*
|
1440
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1441
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1442
|
+
* @returns {string} A string representing the collection.
|
1443
|
+
*/
|
1444
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1445
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
1446
|
+
}
|
1447
|
+
/**
|
1448
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1449
|
+
*
|
1450
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1451
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1452
|
+
* @returns {string} A string representing the data_store.
|
1453
|
+
*/
|
1454
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1455
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
1456
|
+
}
|
1457
|
+
/**
|
1458
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1459
|
+
*
|
1460
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1461
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1462
|
+
* @returns {string} A string representing the target_site.
|
1463
|
+
*/
|
1464
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1465
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1466
|
+
}
|
1467
|
+
/**
|
1468
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1469
|
+
*
|
1470
|
+
* @param {string} project
|
1471
|
+
* @param {string} location
|
1472
|
+
* @param {string} collection
|
1473
|
+
* @param {string} engine
|
1474
|
+
* @param {string} control
|
1475
|
+
* @returns {string} Resource name string.
|
1476
|
+
*/
|
1477
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1478
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1479
|
+
project: project,
|
1480
|
+
location: location,
|
1481
|
+
collection: collection,
|
1482
|
+
engine: engine,
|
1483
|
+
control: control,
|
1484
|
+
});
|
1485
|
+
}
|
1486
|
+
/**
|
1487
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1488
|
+
*
|
1489
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1490
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1491
|
+
* @returns {string} A string representing the project.
|
1492
|
+
*/
|
1493
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1494
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1495
|
+
}
|
1496
|
+
/**
|
1497
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1498
|
+
*
|
1499
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1500
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1501
|
+
* @returns {string} A string representing the location.
|
1502
|
+
*/
|
1503
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1504
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1505
|
+
}
|
1506
|
+
/**
|
1507
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1508
|
+
*
|
1509
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1510
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1511
|
+
* @returns {string} A string representing the collection.
|
1512
|
+
*/
|
1513
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1514
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1515
|
+
}
|
1516
|
+
/**
|
1517
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1518
|
+
*
|
1519
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1520
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1521
|
+
* @returns {string} A string representing the engine.
|
1522
|
+
*/
|
1523
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1524
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1525
|
+
}
|
1526
|
+
/**
|
1527
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1528
|
+
*
|
1529
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1530
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1531
|
+
* @returns {string} A string representing the control.
|
1532
|
+
*/
|
1533
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1534
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1535
|
+
}
|
1536
|
+
/**
|
1537
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1538
|
+
*
|
1539
|
+
* @param {string} project
|
1540
|
+
* @param {string} location
|
1541
|
+
* @param {string} collection
|
1542
|
+
* @param {string} engine
|
1543
|
+
* @param {string} conversation
|
1544
|
+
* @returns {string} Resource name string.
|
1545
|
+
*/
|
1546
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
1547
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
1548
|
+
project: project,
|
1549
|
+
location: location,
|
1550
|
+
collection: collection,
|
1551
|
+
engine: engine,
|
1552
|
+
conversation: conversation,
|
1553
|
+
});
|
1554
|
+
}
|
1555
|
+
/**
|
1556
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
1557
|
+
*
|
1558
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1559
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1560
|
+
* @returns {string} A string representing the project.
|
1561
|
+
*/
|
1562
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
1564
|
+
}
|
1565
|
+
/**
|
1566
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
1567
|
+
*
|
1568
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1569
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1570
|
+
* @returns {string} A string representing the location.
|
1571
|
+
*/
|
1572
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
1574
|
+
}
|
1575
|
+
/**
|
1576
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
1577
|
+
*
|
1578
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1579
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1580
|
+
* @returns {string} A string representing the collection.
|
1581
|
+
*/
|
1582
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
1584
|
+
}
|
1585
|
+
/**
|
1586
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
1587
|
+
*
|
1588
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1589
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1590
|
+
* @returns {string} A string representing the engine.
|
1591
|
+
*/
|
1592
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1593
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
1594
|
+
}
|
1595
|
+
/**
|
1596
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
1597
|
+
*
|
1598
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1599
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1600
|
+
* @returns {string} A string representing the conversation.
|
1601
|
+
*/
|
1602
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
1603
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
1604
|
+
}
|
1605
|
+
/**
|
1606
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
1607
|
+
*
|
1608
|
+
* @param {string} project
|
1609
|
+
* @param {string} location
|
1610
|
+
* @param {string} collection
|
1611
|
+
* @param {string} engine
|
1612
|
+
* @param {string} serving_config
|
1613
|
+
* @returns {string} Resource name string.
|
1614
|
+
*/
|
1615
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
1616
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
1617
|
+
project: project,
|
1618
|
+
location: location,
|
1619
|
+
collection: collection,
|
1620
|
+
engine: engine,
|
1621
|
+
serving_config: servingConfig,
|
1622
|
+
});
|
1623
|
+
}
|
1624
|
+
/**
|
1625
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
1626
|
+
*
|
1627
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1628
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1629
|
+
* @returns {string} A string representing the project.
|
1630
|
+
*/
|
1631
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1632
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
1633
|
+
}
|
1634
|
+
/**
|
1635
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
1636
|
+
*
|
1637
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1638
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1639
|
+
* @returns {string} A string representing the location.
|
1640
|
+
*/
|
1641
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1642
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
1643
|
+
}
|
1644
|
+
/**
|
1645
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
1646
|
+
*
|
1647
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1648
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1649
|
+
* @returns {string} A string representing the collection.
|
1650
|
+
*/
|
1651
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1652
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
1653
|
+
}
|
1654
|
+
/**
|
1655
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
1656
|
+
*
|
1657
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1658
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1659
|
+
* @returns {string} A string representing the engine.
|
1660
|
+
*/
|
1661
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1662
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
1663
|
+
}
|
1664
|
+
/**
|
1665
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
1666
|
+
*
|
1667
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1668
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1669
|
+
* @returns {string} A string representing the serving_config.
|
1670
|
+
*/
|
1671
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1672
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1673
|
+
}
|
1674
|
+
/**
|
1675
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1676
|
+
*
|
1677
|
+
* @param {string} project
|
1678
|
+
* @param {string} location
|
1679
|
+
* @param {string} collection
|
1680
|
+
* @param {string} engine
|
1681
|
+
* @param {string} session
|
1682
|
+
* @returns {string} Resource name string.
|
1683
|
+
*/
|
1684
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1685
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1686
|
+
project: project,
|
1687
|
+
location: location,
|
1688
|
+
collection: collection,
|
1689
|
+
engine: engine,
|
1690
|
+
session: session,
|
1691
|
+
});
|
1692
|
+
}
|
1693
|
+
/**
|
1694
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1695
|
+
*
|
1696
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1697
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1698
|
+
* @returns {string} A string representing the project.
|
1699
|
+
*/
|
1700
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1701
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1702
|
+
}
|
1703
|
+
/**
|
1704
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1705
|
+
*
|
1706
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1707
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1708
|
+
* @returns {string} A string representing the location.
|
1709
|
+
*/
|
1710
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1711
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1712
|
+
}
|
1713
|
+
/**
|
1714
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1715
|
+
*
|
1716
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1717
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1718
|
+
* @returns {string} A string representing the collection.
|
1719
|
+
*/
|
1720
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1721
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1722
|
+
}
|
1723
|
+
/**
|
1724
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1725
|
+
*
|
1726
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1727
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1728
|
+
* @returns {string} A string representing the engine.
|
1729
|
+
*/
|
1730
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1731
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1732
|
+
}
|
1733
|
+
/**
|
1734
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1735
|
+
*
|
1736
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1737
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1738
|
+
* @returns {string} A string representing the session.
|
1739
|
+
*/
|
1740
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1741
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1742
|
+
}
|
1743
|
+
/**
|
1744
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1745
|
+
*
|
1746
|
+
* @param {string} project
|
1747
|
+
* @param {string} location
|
1748
|
+
* @param {string} collection
|
1749
|
+
* @param {string} engine
|
1750
|
+
* @param {string} session
|
1751
|
+
* @param {string} answer
|
1752
|
+
* @returns {string} Resource name string.
|
1753
|
+
*/
|
1754
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1755
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1756
|
+
project: project,
|
1757
|
+
location: location,
|
1758
|
+
collection: collection,
|
1759
|
+
engine: engine,
|
1760
|
+
session: session,
|
1761
|
+
answer: answer,
|
1762
|
+
});
|
1763
|
+
}
|
1764
|
+
/**
|
1765
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1766
|
+
*
|
1767
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1768
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1769
|
+
* @returns {string} A string representing the project.
|
1770
|
+
*/
|
1771
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1772
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1773
|
+
}
|
1774
|
+
/**
|
1775
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1776
|
+
*
|
1777
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1778
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1779
|
+
* @returns {string} A string representing the location.
|
1780
|
+
*/
|
1781
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1782
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1783
|
+
}
|
1784
|
+
/**
|
1785
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1786
|
+
*
|
1787
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1788
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1789
|
+
* @returns {string} A string representing the collection.
|
1790
|
+
*/
|
1791
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1792
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1793
|
+
}
|
1794
|
+
/**
|
1795
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1796
|
+
*
|
1797
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1798
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1799
|
+
* @returns {string} A string representing the engine.
|
1800
|
+
*/
|
1801
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1802
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1803
|
+
}
|
1804
|
+
/**
|
1805
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1806
|
+
*
|
1807
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1808
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1809
|
+
* @returns {string} A string representing the session.
|
1810
|
+
*/
|
1811
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1812
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1813
|
+
}
|
1814
|
+
/**
|
1815
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1816
|
+
*
|
1817
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1818
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1819
|
+
* @returns {string} A string representing the answer.
|
1820
|
+
*/
|
1821
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1822
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1823
|
+
}
|
1824
|
+
/**
|
1825
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
1826
|
+
*
|
1827
|
+
* @param {string} project
|
1828
|
+
* @param {string} location
|
1829
|
+
* @param {string} data_store
|
1830
|
+
* @returns {string} Resource name string.
|
1831
|
+
*/
|
1832
|
+
projectLocationDataStorePath(project, location, dataStore) {
|
1833
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.render({
|
1834
|
+
project: project,
|
1835
|
+
location: location,
|
1836
|
+
data_store: dataStore,
|
1837
|
+
});
|
1838
|
+
}
|
1839
|
+
/**
|
1840
|
+
* Parse the project from ProjectLocationDataStore resource.
|
1841
|
+
*
|
1842
|
+
* @param {string} projectLocationDataStoreName
|
1843
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1844
|
+
* @returns {string} A string representing the project.
|
1845
|
+
*/
|
1846
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1847
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
|
1848
|
+
}
|
1849
|
+
/**
|
1850
|
+
* Parse the location from ProjectLocationDataStore resource.
|
1851
|
+
*
|
1852
|
+
* @param {string} projectLocationDataStoreName
|
1853
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1854
|
+
* @returns {string} A string representing the location.
|
1855
|
+
*/
|
1856
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1857
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
|
1858
|
+
}
|
1859
|
+
/**
|
1860
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
1861
|
+
*
|
1862
|
+
* @param {string} projectLocationDataStoreName
|
1863
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1864
|
+
* @returns {string} A string representing the data_store.
|
1865
|
+
*/
|
1866
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
|
1867
|
+
return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
|
1868
|
+
}
|
1869
|
+
/**
|
1870
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
|
1871
|
+
*
|
1872
|
+
* @param {string} project
|
1873
|
+
* @param {string} location
|
1874
|
+
* @param {string} data_store
|
1875
|
+
* @param {string} branch
|
1876
|
+
* @param {string} document
|
1877
|
+
* @returns {string} Resource name string.
|
1878
|
+
*/
|
1879
|
+
projectLocationDataStoreBranchDocumentPath(project, location, dataStore, branch, document) {
|
1880
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.render({
|
1881
|
+
project: project,
|
1882
|
+
location: location,
|
1883
|
+
data_store: dataStore,
|
1884
|
+
branch: branch,
|
1885
|
+
document: document,
|
1886
|
+
});
|
1887
|
+
}
|
1888
|
+
/**
|
1889
|
+
* Parse the project from ProjectLocationDataStoreBranchDocument resource.
|
1890
|
+
*
|
1891
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
1892
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
1893
|
+
* @returns {string} A string representing the project.
|
1894
|
+
*/
|
1895
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1896
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).project;
|
1897
|
+
}
|
1898
|
+
/**
|
1899
|
+
* Parse the location from ProjectLocationDataStoreBranchDocument resource.
|
1900
|
+
*
|
1901
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
1902
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
1903
|
+
* @returns {string} A string representing the location.
|
1904
|
+
*/
|
1905
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1906
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).location;
|
1907
|
+
}
|
1908
|
+
/**
|
1909
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
|
1910
|
+
*
|
1911
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
1912
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
1913
|
+
* @returns {string} A string representing the data_store.
|
1914
|
+
*/
|
1915
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1916
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).data_store;
|
1917
|
+
}
|
1918
|
+
/**
|
1919
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocument resource.
|
1920
|
+
*
|
1921
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
1922
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
1923
|
+
* @returns {string} A string representing the branch.
|
1924
|
+
*/
|
1925
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1926
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).branch;
|
1927
|
+
}
|
1928
|
+
/**
|
1929
|
+
* Parse the document from ProjectLocationDataStoreBranchDocument resource.
|
1930
|
+
*
|
1931
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
1932
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
1933
|
+
* @returns {string} A string representing the document.
|
1934
|
+
*/
|
1935
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1936
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1937
|
+
}
|
1938
|
+
/**
|
1939
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1940
|
+
*
|
1941
|
+
* @param {string} project
|
1942
|
+
* @param {string} location
|
1943
|
+
* @param {string} data_store
|
1944
|
+
* @param {string} branch
|
1945
|
+
* @param {string} document
|
1946
|
+
* @param {string} chunk
|
1947
|
+
* @returns {string} Resource name string.
|
1948
|
+
*/
|
1949
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1950
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1951
|
+
project: project,
|
1952
|
+
location: location,
|
1953
|
+
data_store: dataStore,
|
1954
|
+
branch: branch,
|
1955
|
+
document: document,
|
1956
|
+
chunk: chunk,
|
1957
|
+
});
|
1958
|
+
}
|
1959
|
+
/**
|
1960
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1961
|
+
*
|
1962
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1963
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1964
|
+
* @returns {string} A string representing the project.
|
1965
|
+
*/
|
1966
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1967
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1968
|
+
}
|
1969
|
+
/**
|
1970
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1971
|
+
*
|
1972
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1973
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1974
|
+
* @returns {string} A string representing the location.
|
1975
|
+
*/
|
1976
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1977
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1978
|
+
}
|
1979
|
+
/**
|
1980
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1981
|
+
*
|
1982
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1983
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1984
|
+
* @returns {string} A string representing the data_store.
|
1985
|
+
*/
|
1986
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1987
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1988
|
+
}
|
1989
|
+
/**
|
1990
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1991
|
+
*
|
1992
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1993
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1994
|
+
* @returns {string} A string representing the branch.
|
1995
|
+
*/
|
1996
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1997
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1998
|
+
}
|
1999
|
+
/**
|
2000
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2001
|
+
*
|
2002
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2003
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2004
|
+
* @returns {string} A string representing the document.
|
2005
|
+
*/
|
2006
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2007
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2008
|
+
}
|
2009
|
+
/**
|
2010
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2011
|
+
*
|
2012
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2013
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2014
|
+
* @returns {string} A string representing the chunk.
|
2015
|
+
*/
|
2016
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2017
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2018
|
+
}
|
2019
|
+
/**
|
2020
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2021
|
+
*
|
2022
|
+
* @param {string} project
|
2023
|
+
* @param {string} location
|
2024
|
+
* @param {string} data_store
|
2025
|
+
* @param {string} control
|
2026
|
+
* @returns {string} Resource name string.
|
2027
|
+
*/
|
2028
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2029
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2030
|
+
project: project,
|
2031
|
+
location: location,
|
2032
|
+
data_store: dataStore,
|
2033
|
+
control: control,
|
2034
|
+
});
|
2035
|
+
}
|
2036
|
+
/**
|
2037
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2038
|
+
*
|
2039
|
+
* @param {string} projectLocationDataStoreControlName
|
2040
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2041
|
+
* @returns {string} A string representing the project.
|
2042
|
+
*/
|
2043
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2044
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2045
|
+
}
|
2046
|
+
/**
|
2047
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2048
|
+
*
|
2049
|
+
* @param {string} projectLocationDataStoreControlName
|
2050
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2051
|
+
* @returns {string} A string representing the location.
|
2052
|
+
*/
|
2053
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2054
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2055
|
+
}
|
2056
|
+
/**
|
2057
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2058
|
+
*
|
2059
|
+
* @param {string} projectLocationDataStoreControlName
|
2060
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2061
|
+
* @returns {string} A string representing the data_store.
|
2062
|
+
*/
|
2063
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2064
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2065
|
+
}
|
2066
|
+
/**
|
2067
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2068
|
+
*
|
2069
|
+
* @param {string} projectLocationDataStoreControlName
|
2070
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2071
|
+
* @returns {string} A string representing the control.
|
2072
|
+
*/
|
2073
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2074
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2075
|
+
}
|
2076
|
+
/**
|
2077
|
+
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2078
|
+
*
|
2079
|
+
* @param {string} project
|
2080
|
+
* @param {string} location
|
2081
|
+
* @param {string} data_store
|
2082
|
+
* @param {string} conversation
|
2083
|
+
* @returns {string} Resource name string.
|
2084
|
+
*/
|
2085
|
+
projectLocationDataStoreConversationPath(project, location, dataStore, conversation) {
|
2086
|
+
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.render({
|
2087
|
+
project: project,
|
2088
|
+
location: location,
|
2089
|
+
data_store: dataStore,
|
2090
|
+
conversation: conversation,
|
2091
|
+
});
|
2092
|
+
}
|
2093
|
+
/**
|
2094
|
+
* Parse the project from ProjectLocationDataStoreConversation resource.
|
2095
|
+
*
|
2096
|
+
* @param {string} projectLocationDataStoreConversationName
|
2097
|
+
* A fully-qualified path representing project_location_data_store_conversation resource.
|
2098
|
+
* @returns {string} A string representing the project.
|
2099
|
+
*/
|
2100
|
+
matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2101
|
+
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).project;
|
2102
|
+
}
|
2103
|
+
/**
|
2104
|
+
* Parse the location from ProjectLocationDataStoreConversation resource.
|
2105
|
+
*
|
2106
|
+
* @param {string} projectLocationDataStoreConversationName
|
2107
|
+
* A fully-qualified path representing project_location_data_store_conversation resource.
|
2108
|
+
* @returns {string} A string representing the location.
|
2109
|
+
*/
|
2110
|
+
matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2111
|
+
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).location;
|
2112
|
+
}
|
2113
|
+
/**
|
2114
|
+
* Parse the data_store from ProjectLocationDataStoreConversation resource.
|
2115
|
+
*
|
2116
|
+
* @param {string} projectLocationDataStoreConversationName
|
2117
|
+
* A fully-qualified path representing project_location_data_store_conversation resource.
|
2118
|
+
* @returns {string} A string representing the data_store.
|
2119
|
+
*/
|
2120
|
+
matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2121
|
+
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).data_store;
|
2122
|
+
}
|
2123
|
+
/**
|
2124
|
+
* Parse the conversation from ProjectLocationDataStoreConversation resource.
|
2125
|
+
*
|
2126
|
+
* @param {string} projectLocationDataStoreConversationName
|
2127
|
+
* A fully-qualified path representing project_location_data_store_conversation resource.
|
2128
|
+
* @returns {string} A string representing the conversation.
|
2129
|
+
*/
|
2130
|
+
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2131
|
+
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2132
|
+
}
|
2133
|
+
/**
|
2134
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2135
|
+
*
|
2136
|
+
* @param {string} project
|
2137
|
+
* @param {string} location
|
2138
|
+
* @param {string} data_store
|
2139
|
+
* @param {string} custom_tuning_model
|
2140
|
+
* @returns {string} Resource name string.
|
2141
|
+
*/
|
2142
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2143
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2144
|
+
project: project,
|
2145
|
+
location: location,
|
2146
|
+
data_store: dataStore,
|
2147
|
+
custom_tuning_model: customTuningModel,
|
2148
|
+
});
|
2149
|
+
}
|
2150
|
+
/**
|
2151
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2152
|
+
*
|
2153
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2154
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2155
|
+
* @returns {string} A string representing the project.
|
2156
|
+
*/
|
2157
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2158
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2159
|
+
}
|
2160
|
+
/**
|
2161
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2162
|
+
*
|
2163
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2164
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2165
|
+
* @returns {string} A string representing the location.
|
2166
|
+
*/
|
2167
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2168
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2169
|
+
}
|
2170
|
+
/**
|
2171
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2172
|
+
*
|
2173
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2174
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2175
|
+
* @returns {string} A string representing the data_store.
|
2176
|
+
*/
|
2177
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2178
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2179
|
+
}
|
2180
|
+
/**
|
2181
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2182
|
+
*
|
2183
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2184
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2185
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2186
|
+
*/
|
2187
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2188
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2189
|
+
}
|
2190
|
+
/**
|
2191
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2192
|
+
*
|
2193
|
+
* @param {string} project
|
2194
|
+
* @param {string} location
|
2195
|
+
* @param {string} data_store
|
2196
|
+
* @returns {string} Resource name string.
|
2197
|
+
*/
|
2198
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
2199
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
2200
|
+
project: project,
|
2201
|
+
location: location,
|
2202
|
+
data_store: dataStore,
|
2203
|
+
});
|
2204
|
+
}
|
2205
|
+
/**
|
2206
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2207
|
+
*
|
2208
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2209
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2210
|
+
* @returns {string} A string representing the project.
|
2211
|
+
*/
|
2212
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2213
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
2214
|
+
}
|
2215
|
+
/**
|
2216
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2217
|
+
*
|
2218
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2219
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2220
|
+
* @returns {string} A string representing the location.
|
2221
|
+
*/
|
2222
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2223
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
2224
|
+
}
|
2225
|
+
/**
|
2226
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2227
|
+
*
|
2228
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2229
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2230
|
+
* @returns {string} A string representing the data_store.
|
2231
|
+
*/
|
2232
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2233
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
2234
|
+
}
|
2235
|
+
/**
|
2236
|
+
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
2237
|
+
*
|
2238
|
+
* @param {string} project
|
2239
|
+
* @param {string} location
|
2240
|
+
* @param {string} data_store
|
2241
|
+
* @param {string} schema
|
2242
|
+
* @returns {string} Resource name string.
|
2243
|
+
*/
|
2244
|
+
projectLocationDataStoreSchemaPath(project, location, dataStore, schema) {
|
2245
|
+
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.render({
|
2246
|
+
project: project,
|
2247
|
+
location: location,
|
2248
|
+
data_store: dataStore,
|
2249
|
+
schema: schema,
|
2250
|
+
});
|
2251
|
+
}
|
2252
|
+
/**
|
2253
|
+
* Parse the project from ProjectLocationDataStoreSchema resource.
|
2254
|
+
*
|
2255
|
+
* @param {string} projectLocationDataStoreSchemaName
|
2256
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
2257
|
+
* @returns {string} A string representing the project.
|
2258
|
+
*/
|
2259
|
+
matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2260
|
+
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).project;
|
2261
|
+
}
|
2262
|
+
/**
|
2263
|
+
* Parse the location from ProjectLocationDataStoreSchema resource.
|
2264
|
+
*
|
2265
|
+
* @param {string} projectLocationDataStoreSchemaName
|
2266
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
2267
|
+
* @returns {string} A string representing the location.
|
2268
|
+
*/
|
2269
|
+
matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2270
|
+
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).location;
|
2271
|
+
}
|
2272
|
+
/**
|
2273
|
+
* Parse the data_store from ProjectLocationDataStoreSchema resource.
|
2274
|
+
*
|
2275
|
+
* @param {string} projectLocationDataStoreSchemaName
|
2276
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
2277
|
+
* @returns {string} A string representing the data_store.
|
2278
|
+
*/
|
2279
|
+
matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2280
|
+
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).data_store;
|
2281
|
+
}
|
2282
|
+
/**
|
2283
|
+
* Parse the schema from ProjectLocationDataStoreSchema resource.
|
2284
|
+
*
|
2285
|
+
* @param {string} projectLocationDataStoreSchemaName
|
2286
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
2287
|
+
* @returns {string} A string representing the schema.
|
2288
|
+
*/
|
2289
|
+
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2290
|
+
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
2291
|
+
}
|
2292
|
+
/**
|
2293
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
2294
|
+
*
|
2295
|
+
* @param {string} project
|
2296
|
+
* @param {string} location
|
2297
|
+
* @param {string} data_store
|
2298
|
+
* @param {string} serving_config
|
2299
|
+
* @returns {string} Resource name string.
|
2300
|
+
*/
|
2301
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
2302
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
2303
|
+
project: project,
|
2304
|
+
location: location,
|
2305
|
+
data_store: dataStore,
|
2306
|
+
serving_config: servingConfig,
|
2307
|
+
});
|
2308
|
+
}
|
2309
|
+
/**
|
2310
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
2311
|
+
*
|
2312
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2313
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2314
|
+
* @returns {string} A string representing the project.
|
2315
|
+
*/
|
2316
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2317
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
2318
|
+
}
|
2319
|
+
/**
|
2320
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
2321
|
+
*
|
2322
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2323
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2324
|
+
* @returns {string} A string representing the location.
|
2325
|
+
*/
|
2326
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2327
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
2328
|
+
}
|
2329
|
+
/**
|
2330
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
2331
|
+
*
|
2332
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2333
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2334
|
+
* @returns {string} A string representing the data_store.
|
2335
|
+
*/
|
2336
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2337
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
2338
|
+
}
|
2339
|
+
/**
|
2340
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
2341
|
+
*
|
2342
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2343
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2344
|
+
* @returns {string} A string representing the serving_config.
|
2345
|
+
*/
|
2346
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2347
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2348
|
+
}
|
2349
|
+
/**
|
2350
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2351
|
+
*
|
2352
|
+
* @param {string} project
|
2353
|
+
* @param {string} location
|
2354
|
+
* @param {string} data_store
|
2355
|
+
* @param {string} session
|
2356
|
+
* @returns {string} Resource name string.
|
2357
|
+
*/
|
2358
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2359
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2360
|
+
project: project,
|
2361
|
+
location: location,
|
2362
|
+
data_store: dataStore,
|
2363
|
+
session: session,
|
2364
|
+
});
|
2365
|
+
}
|
2366
|
+
/**
|
2367
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2368
|
+
*
|
2369
|
+
* @param {string} projectLocationDataStoreSessionName
|
2370
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2371
|
+
* @returns {string} A string representing the project.
|
2372
|
+
*/
|
2373
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2374
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2375
|
+
}
|
2376
|
+
/**
|
2377
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2378
|
+
*
|
2379
|
+
* @param {string} projectLocationDataStoreSessionName
|
2380
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2381
|
+
* @returns {string} A string representing the location.
|
2382
|
+
*/
|
2383
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2384
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2385
|
+
}
|
2386
|
+
/**
|
2387
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2388
|
+
*
|
2389
|
+
* @param {string} projectLocationDataStoreSessionName
|
2390
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2391
|
+
* @returns {string} A string representing the data_store.
|
2392
|
+
*/
|
2393
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2394
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2395
|
+
}
|
2396
|
+
/**
|
2397
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2398
|
+
*
|
2399
|
+
* @param {string} projectLocationDataStoreSessionName
|
2400
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2401
|
+
* @returns {string} A string representing the session.
|
2402
|
+
*/
|
2403
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2404
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2405
|
+
}
|
2406
|
+
/**
|
2407
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2408
|
+
*
|
2409
|
+
* @param {string} project
|
2410
|
+
* @param {string} location
|
2411
|
+
* @param {string} data_store
|
2412
|
+
* @param {string} session
|
2413
|
+
* @param {string} answer
|
2414
|
+
* @returns {string} Resource name string.
|
2415
|
+
*/
|
2416
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2417
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2418
|
+
project: project,
|
2419
|
+
location: location,
|
2420
|
+
data_store: dataStore,
|
2421
|
+
session: session,
|
2422
|
+
answer: answer,
|
2423
|
+
});
|
2424
|
+
}
|
2425
|
+
/**
|
2426
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2427
|
+
*
|
2428
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2429
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2430
|
+
* @returns {string} A string representing the project.
|
2431
|
+
*/
|
2432
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2433
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2434
|
+
}
|
2435
|
+
/**
|
2436
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2437
|
+
*
|
2438
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2439
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2440
|
+
* @returns {string} A string representing the location.
|
2441
|
+
*/
|
2442
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2443
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2444
|
+
}
|
2445
|
+
/**
|
2446
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2447
|
+
*
|
2448
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2449
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2450
|
+
* @returns {string} A string representing the data_store.
|
2451
|
+
*/
|
2452
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2453
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2454
|
+
}
|
2455
|
+
/**
|
2456
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2457
|
+
*
|
2458
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2459
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2460
|
+
* @returns {string} A string representing the session.
|
2461
|
+
*/
|
2462
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2463
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2464
|
+
}
|
2465
|
+
/**
|
2466
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2467
|
+
*
|
2468
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2469
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2470
|
+
* @returns {string} A string representing the answer.
|
2471
|
+
*/
|
2472
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2473
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2474
|
+
}
|
2475
|
+
/**
|
2476
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2477
|
+
*
|
2478
|
+
* @param {string} project
|
2479
|
+
* @param {string} location
|
2480
|
+
* @param {string} data_store
|
2481
|
+
* @returns {string} Resource name string.
|
2482
|
+
*/
|
2483
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
2484
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
2485
|
+
project: project,
|
2486
|
+
location: location,
|
2487
|
+
data_store: dataStore,
|
2488
|
+
});
|
2489
|
+
}
|
2490
|
+
/**
|
2491
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
2492
|
+
*
|
2493
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
2494
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
2495
|
+
* @returns {string} A string representing the project.
|
2496
|
+
*/
|
2497
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
2498
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
2499
|
+
}
|
2500
|
+
/**
|
2501
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
2502
|
+
*
|
2503
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
2504
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
2505
|
+
* @returns {string} A string representing the location.
|
2506
|
+
*/
|
2507
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
2508
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
2509
|
+
}
|
2510
|
+
/**
|
2511
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
2512
|
+
*
|
2513
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
2514
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
2515
|
+
* @returns {string} A string representing the data_store.
|
2516
|
+
*/
|
2517
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
2518
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
2519
|
+
}
|
2520
|
+
/**
|
2521
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
|
2522
|
+
*
|
2523
|
+
* @param {string} project
|
2524
|
+
* @param {string} location
|
2525
|
+
* @param {string} data_store
|
2526
|
+
* @param {string} sitemap
|
2527
|
+
* @returns {string} Resource name string.
|
2528
|
+
*/
|
2529
|
+
projectLocationDataStoreSiteSearchEngineSitemapPath(project, location, dataStore, sitemap) {
|
2530
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
2531
|
+
project: project,
|
2532
|
+
location: location,
|
2533
|
+
data_store: dataStore,
|
2534
|
+
sitemap: sitemap,
|
2535
|
+
});
|
2536
|
+
}
|
2537
|
+
/**
|
2538
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
2539
|
+
*
|
2540
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
2541
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
2542
|
+
* @returns {string} A string representing the project.
|
2543
|
+
*/
|
2544
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
2545
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).project;
|
2546
|
+
}
|
2547
|
+
/**
|
2548
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
2549
|
+
*
|
2550
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
2551
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
2552
|
+
* @returns {string} A string representing the location.
|
2553
|
+
*/
|
2554
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
2555
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).location;
|
2556
|
+
}
|
2557
|
+
/**
|
2558
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
2559
|
+
*
|
2560
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
2561
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
2562
|
+
* @returns {string} A string representing the data_store.
|
2563
|
+
*/
|
2564
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
2565
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).data_store;
|
2566
|
+
}
|
2567
|
+
/**
|
2568
|
+
* Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
2569
|
+
*
|
2570
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
2571
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
2572
|
+
* @returns {string} A string representing the sitemap.
|
2573
|
+
*/
|
2574
|
+
matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
2575
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).sitemap;
|
2576
|
+
}
|
2577
|
+
/**
|
2578
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
2579
|
+
*
|
2580
|
+
* @param {string} project
|
2581
|
+
* @param {string} location
|
2582
|
+
* @param {string} data_store
|
2583
|
+
* @param {string} target_site
|
2584
|
+
* @returns {string} Resource name string.
|
2585
|
+
*/
|
2586
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
2587
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
2588
|
+
project: project,
|
2589
|
+
location: location,
|
2590
|
+
data_store: dataStore,
|
2591
|
+
target_site: targetSite,
|
2592
|
+
});
|
2593
|
+
}
|
2594
|
+
/**
|
2595
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
2596
|
+
*
|
2597
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
2598
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
2599
|
+
* @returns {string} A string representing the project.
|
2600
|
+
*/
|
2601
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2602
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
2603
|
+
}
|
2604
|
+
/**
|
2605
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
2606
|
+
*
|
2607
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
2608
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
2609
|
+
* @returns {string} A string representing the location.
|
2610
|
+
*/
|
2611
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2612
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
2613
|
+
}
|
2614
|
+
/**
|
2615
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
2616
|
+
*
|
2617
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
2618
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
2619
|
+
* @returns {string} A string representing the data_store.
|
2620
|
+
*/
|
2621
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2622
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
2623
|
+
}
|
2624
|
+
/**
|
2625
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
2626
|
+
*
|
2627
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
2628
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
2629
|
+
* @returns {string} A string representing the target_site.
|
2630
|
+
*/
|
2631
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
2632
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
2633
|
+
}
|
2634
|
+
/**
|
2635
|
+
* Terminate the gRPC channel and close the client.
|
2636
|
+
*
|
2637
|
+
* The client will no longer be usable and all future behavior is undefined.
|
2638
|
+
* @returns {Promise} A promise that resolves when the client is closed.
|
2639
|
+
*/
|
2640
|
+
close() {
|
2641
|
+
if (this.servingConfigServiceStub && !this._terminated) {
|
2642
|
+
return this.servingConfigServiceStub.then(stub => {
|
2643
|
+
this._log.info('ending gRPC channel');
|
2644
|
+
this._terminated = true;
|
2645
|
+
stub.close();
|
2646
|
+
this.locationsClient.close();
|
2647
|
+
});
|
2648
|
+
}
|
2649
|
+
return Promise.resolve();
|
2650
|
+
}
|
2651
|
+
}
|
2652
|
+
exports.ServingConfigServiceClient = ServingConfigServiceClient;
|
2653
|
+
//# sourceMappingURL=serving_config_service_client.js.map
|