@google-cloud/discoveryengine 1.3.1 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/README.md +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +45 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +41 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +169 -15
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +265 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +148 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
- package/build/protos/protos.d.ts +48530 -23682
- package/build/protos/protos.js +122429 -63306
- package/build/protos/protos.json +13438 -7286
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +10 -1
- package/build/src/v1/completion_service_client.d.ts +489 -7
- package/build/src/v1/completion_service_client.js +715 -11
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1/conversational_search_service_client.js +466 -9
- package/build/src/v1/data_store_service_client.d.ts +1286 -0
- package/build/src/v1/data_store_service_client.js +1768 -0
- package/build/src/v1/data_store_service_client_config.json +46 -0
- package/build/src/v1/document_service_client.d.ts +347 -2
- package/build/src/v1/document_service_client.js +506 -9
- package/build/src/v1/engine_service_client.d.ts +1211 -0
- package/build/src/v1/engine_service_client.js +1731 -0
- package/build/src/v1/engine_service_client_config.json +46 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/schema_service_client.d.ts +272 -2
- package/build/src/v1/schema_service_client.js +402 -9
- package/build/src/v1/search_service_client.d.ts +515 -11
- package/build/src/v1/search_service_client.js +648 -15
- package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
- package/build/src/v1/site_search_engine_service_client.js +2075 -0
- package/build/src/v1/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1/user_event_service_client.d.ts +272 -2
- package/build/src/v1/user_event_service_client.js +402 -9
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +599 -5
- package/build/src/v1alpha/completion_service_client.js +868 -12
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +244 -3
- package/build/src/v1alpha/conversational_search_service_client.js +353 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +462 -5
- package/build/src/v1alpha/data_store_service_client.js +599 -12
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +393 -2
- package/build/src/v1alpha/document_service_client.js +551 -10
- package/build/src/v1alpha/engine_service_client.d.ts +386 -4
- package/build/src/v1alpha/engine_service_client.js +551 -10
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +10 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +242 -3
- package/build/src/v1alpha/recommendation_service_client.js +353 -10
- package/build/src/v1alpha/schema_service_client.d.ts +383 -2
- package/build/src/v1alpha/schema_service_client.js +551 -10
- package/build/src/v1alpha/search_service_client.d.ts +269 -17
- package/build/src/v1alpha/search_service_client.js +373 -20
- package/build/src/v1alpha/search_tuning_service_client.d.ts +384 -3
- package/build/src/v1alpha/search_tuning_service_client.js +551 -10
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +383 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +551 -10
- package/build/src/v1alpha/user_event_service_client.d.ts +383 -2
- package/build/src/v1alpha/user_event_service_client.js +551 -10
- package/build/src/v1beta/completion_service_client.d.ts +708 -7
- package/build/src/v1beta/completion_service_client.js +1015 -11
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +420 -3
- package/build/src/v1beta/conversational_search_service_client.js +570 -9
- package/build/src/v1beta/data_store_service_client.d.ts +1508 -0
- package/build/src/v1beta/data_store_service_client.js +2070 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +566 -2
- package/build/src/v1beta/document_service_client.js +810 -11
- package/build/src/v1beta/engine_service_client.d.ts +1432 -0
- package/build/src/v1beta/engine_service_client.js +2032 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +5 -0
- package/build/src/v1beta/index.js +11 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +495 -5
- package/build/src/v1beta/recommendation_service_client.js +674 -9
- package/build/src/v1beta/schema_service_client.d.ts +491 -2
- package/build/src/v1beta/schema_service_client.js +706 -11
- package/build/src/v1beta/search_service_client.d.ts +620 -29
- package/build/src/v1beta/search_service_client.js +772 -27
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +1217 -0
- package/build/src/v1beta/serving_config_service_client.js +1724 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1787 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2375 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +491 -2
- package/build/src/v1beta/user_event_service_client.js +706 -11
- package/package.json +3 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
import type * as gax from 'google-gax';
|
2
|
-
import type { Callback, CallOptions, Descriptors, ClientOptions, LocationsClient, LocationProtos } from 'google-gax';
|
2
|
+
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, LocationsClient, LocationProtos } from 'google-gax';
|
3
3
|
import * as protos from '../../protos/protos';
|
4
4
|
/**
|
5
5
|
* Service for Auto-Completion.
|
@@ -14,6 +14,8 @@ export declare class CompletionServiceClient {
|
|
14
14
|
private _gaxGrpc;
|
15
15
|
private _protos;
|
16
16
|
private _defaults;
|
17
|
+
private _universeDomain;
|
18
|
+
private _servicePath;
|
17
19
|
auth: gax.GoogleAuth;
|
18
20
|
descriptors: Descriptors;
|
19
21
|
warn: (code: string, message: string, warnType?: string) => void;
|
@@ -24,6 +26,7 @@ export declare class CompletionServiceClient {
|
|
24
26
|
pathTemplates: {
|
25
27
|
[name: string]: gax.PathTemplate;
|
26
28
|
};
|
29
|
+
operationsClient: gax.OperationsClient;
|
27
30
|
completionServiceStub?: Promise<{
|
28
31
|
[name: string]: Function;
|
29
32
|
}>;
|
@@ -83,15 +86,22 @@ export declare class CompletionServiceClient {
|
|
83
86
|
}>;
|
84
87
|
/**
|
85
88
|
* The DNS address for this API service.
|
89
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
86
90
|
* @returns {string} The DNS address for this service.
|
87
91
|
*/
|
88
92
|
static get servicePath(): string;
|
89
93
|
/**
|
90
|
-
* The DNS address for this API service - same as servicePath
|
91
|
-
*
|
94
|
+
* The DNS address for this API service - same as servicePath.
|
95
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
92
96
|
* @returns {string} The DNS address for this service.
|
93
97
|
*/
|
94
98
|
static get apiEndpoint(): string;
|
99
|
+
/**
|
100
|
+
* The DNS address for this API service.
|
101
|
+
* @returns {string} The DNS address for this service.
|
102
|
+
*/
|
103
|
+
get apiEndpoint(): string;
|
104
|
+
get universeDomain(): string;
|
95
105
|
/**
|
96
106
|
* The port for this API service.
|
97
107
|
* @returns {number} The default port for this service.
|
@@ -118,8 +128,9 @@ export declare class CompletionServiceClient {
|
|
118
128
|
* Required. The typeahead input used to fetch suggestions. Maximum length is
|
119
129
|
* 128 characters.
|
120
130
|
* @param {string} request.queryModel
|
121
|
-
*
|
122
|
-
*
|
131
|
+
* Specifies the autocomplete data model. This overrides any model specified
|
132
|
+
* in the Configuration > Autocomplete section of the Cloud console. Currently
|
133
|
+
* supported values:
|
123
134
|
*
|
124
135
|
* * `document` - Using suggestions generated from user-imported documents.
|
125
136
|
* * `search-history` - Using suggestions generated from the past history of
|
@@ -133,8 +144,7 @@ export declare class CompletionServiceClient {
|
|
133
144
|
* Default values:
|
134
145
|
*
|
135
146
|
* * `document` is the default model for regular dataStores.
|
136
|
-
* * `search-history` is the default model for
|
137
|
-
* {@link protos.|IndustryVertical.SITE_SEARCH} dataStores.
|
147
|
+
* * `search-history` is the default model for site search dataStores.
|
138
148
|
* @param {string} request.userPseudoId
|
139
149
|
* A unique identifier for tracking visitors. For example, this could be
|
140
150
|
* implemented with an HTTP cookie, which should be able to uniquely identify
|
@@ -171,6 +181,97 @@ export declare class CompletionServiceClient {
|
|
171
181
|
]>;
|
172
182
|
completeQuery(request: protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
|
173
183
|
completeQuery(request: protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1beta.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
|
184
|
+
/**
|
185
|
+
* Imports all
|
186
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry|SuggestionDenyListEntry}
|
187
|
+
* for a DataStore.
|
188
|
+
*
|
189
|
+
* @param {Object} request
|
190
|
+
* The request object that will be sent.
|
191
|
+
* @param {google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource} request.inlineSource
|
192
|
+
* The Inline source for the input content for suggestion deny list entries.
|
193
|
+
* @param {google.cloud.discoveryengine.v1beta.GcsSource} request.gcsSource
|
194
|
+
* Cloud Storage location for the input content.
|
195
|
+
*
|
196
|
+
* Only 1 file can be specified that contains all entries to import.
|
197
|
+
* Supported values `gcs_source.schema` for autocomplete suggestion deny
|
198
|
+
* list entry imports:
|
199
|
+
*
|
200
|
+
* * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
|
201
|
+
* per line.
|
202
|
+
* @param {string} request.parent
|
203
|
+
* Required. The parent data store resource name for which to import denylist
|
204
|
+
* entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
|
205
|
+
* @param {object} [options]
|
206
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
207
|
+
* @returns {Promise} - The promise which resolves to an array.
|
208
|
+
* The first element of the array is an object representing
|
209
|
+
* a long running operation. Its `promise()` method returns a promise
|
210
|
+
* you can `await` for.
|
211
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
212
|
+
* for more details and examples.
|
213
|
+
* @example <caption>include:samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js</caption>
|
214
|
+
* region_tag:discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async
|
215
|
+
*/
|
216
|
+
importSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
|
217
|
+
LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>,
|
218
|
+
protos.google.longrunning.IOperation | undefined,
|
219
|
+
{} | undefined
|
220
|
+
]>;
|
221
|
+
importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
222
|
+
importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
223
|
+
/**
|
224
|
+
* Check the status of the long running operation returned by `importSuggestionDenyListEntries()`.
|
225
|
+
* @param {String} name
|
226
|
+
* The operation name that will be passed.
|
227
|
+
* @returns {Promise} - The promise which resolves to an object.
|
228
|
+
* The decoded operation object has result and metadata field to get information from.
|
229
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
230
|
+
* for more details and examples.
|
231
|
+
* @example <caption>include:samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js</caption>
|
232
|
+
* region_tag:discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async
|
233
|
+
*/
|
234
|
+
checkImportSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesMetadata>>;
|
235
|
+
/**
|
236
|
+
* Permanently deletes all
|
237
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry|SuggestionDenyListEntry}
|
238
|
+
* for a DataStore.
|
239
|
+
*
|
240
|
+
* @param {Object} request
|
241
|
+
* The request object that will be sent.
|
242
|
+
* @param {string} request.parent
|
243
|
+
* Required. The parent data store resource name for which to import denylist
|
244
|
+
* entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
|
245
|
+
* @param {object} [options]
|
246
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
247
|
+
* @returns {Promise} - The promise which resolves to an array.
|
248
|
+
* The first element of the array is an object representing
|
249
|
+
* a long running operation. Its `promise()` method returns a promise
|
250
|
+
* you can `await` for.
|
251
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
252
|
+
* for more details and examples.
|
253
|
+
* @example <caption>include:samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js</caption>
|
254
|
+
* region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async
|
255
|
+
*/
|
256
|
+
purgeSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
|
257
|
+
LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>,
|
258
|
+
protos.google.longrunning.IOperation | undefined,
|
259
|
+
{} | undefined
|
260
|
+
]>;
|
261
|
+
purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
262
|
+
purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
263
|
+
/**
|
264
|
+
* Check the status of the long running operation returned by `purgeSuggestionDenyListEntries()`.
|
265
|
+
* @param {String} name
|
266
|
+
* The operation name that will be passed.
|
267
|
+
* @returns {Promise} - The promise which resolves to an object.
|
268
|
+
* The decoded operation object has result and metadata field to get information from.
|
269
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
270
|
+
* for more details and examples.
|
271
|
+
* @example <caption>include:samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js</caption>
|
272
|
+
* region_tag:discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async
|
273
|
+
*/
|
274
|
+
checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata>>;
|
174
275
|
/**
|
175
276
|
* Gets information about a location.
|
176
277
|
*
|
@@ -222,6 +323,168 @@ export declare class CompletionServiceClient {
|
|
222
323
|
* ```
|
223
324
|
*/
|
224
325
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
326
|
+
/**
|
327
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
328
|
+
* method to poll the operation result at intervals as recommended by the API
|
329
|
+
* service.
|
330
|
+
*
|
331
|
+
* @param {Object} request - The request object that will be sent.
|
332
|
+
* @param {string} request.name - The name of the operation resource.
|
333
|
+
* @param {Object=} options
|
334
|
+
* Optional parameters. You can override the default settings for this call,
|
335
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
336
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
337
|
+
* for the details.
|
338
|
+
* @param {function(?Error, ?Object)=} callback
|
339
|
+
* The function which will be called with the result of the API call.
|
340
|
+
*
|
341
|
+
* The second parameter to the callback is an object representing
|
342
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
343
|
+
* @return {Promise} - The promise which resolves to an array.
|
344
|
+
* The first element of the array is an object representing
|
345
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
346
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
347
|
+
*
|
348
|
+
* @example
|
349
|
+
* ```
|
350
|
+
* const client = longrunning.operationsClient();
|
351
|
+
* const name = '';
|
352
|
+
* const [response] = await client.getOperation({name});
|
353
|
+
* // doThingsWith(response)
|
354
|
+
* ```
|
355
|
+
*/
|
356
|
+
getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
|
357
|
+
/**
|
358
|
+
* Lists operations that match the specified filter in the request. If the
|
359
|
+
* server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
|
360
|
+
*
|
361
|
+
* For-await-of syntax is used with the iterable to recursively get response element on-demand.
|
362
|
+
*
|
363
|
+
* @param {Object} request - The request object that will be sent.
|
364
|
+
* @param {string} request.name - The name of the operation collection.
|
365
|
+
* @param {string} request.filter - The standard list filter.
|
366
|
+
* @param {number=} request.pageSize -
|
367
|
+
* The maximum number of resources contained in the underlying API
|
368
|
+
* response. If page streaming is performed per-resource, this
|
369
|
+
* parameter does not affect the return value. If page streaming is
|
370
|
+
* performed per-page, this determines the maximum number of
|
371
|
+
* resources in a page.
|
372
|
+
* @param {Object=} options
|
373
|
+
* Optional parameters. You can override the default settings for this call,
|
374
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
375
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
376
|
+
* details.
|
377
|
+
* @returns {Object}
|
378
|
+
* An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
|
379
|
+
*
|
380
|
+
* @example
|
381
|
+
* ```
|
382
|
+
* const client = longrunning.operationsClient();
|
383
|
+
* for await (const response of client.listOperationsAsync(request));
|
384
|
+
* // doThingsWith(response)
|
385
|
+
* ```
|
386
|
+
*/
|
387
|
+
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
|
388
|
+
/**
|
389
|
+
* Starts asynchronous cancellation on a long-running operation. The server
|
390
|
+
* makes a best effort to cancel the operation, but success is not
|
391
|
+
* guaranteed. If the server doesn't support this method, it returns
|
392
|
+
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
393
|
+
* {@link Operations.GetOperation} or
|
394
|
+
* other methods to check whether the cancellation succeeded or whether the
|
395
|
+
* operation completed despite cancellation. On successful cancellation,
|
396
|
+
* the operation is not deleted; instead, it becomes an operation with
|
397
|
+
* an {@link Operation.error} value with a {@link google.rpc.Status.code} of
|
398
|
+
* 1, corresponding to `Code.CANCELLED`.
|
399
|
+
*
|
400
|
+
* @param {Object} request - The request object that will be sent.
|
401
|
+
* @param {string} request.name - The name of the operation resource to be cancelled.
|
402
|
+
* @param {Object=} options
|
403
|
+
* Optional parameters. You can override the default settings for this call,
|
404
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
405
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
406
|
+
* details.
|
407
|
+
* @param {function(?Error)=} callback
|
408
|
+
* The function which will be called with the result of the API call.
|
409
|
+
* @return {Promise} - The promise which resolves when API call finishes.
|
410
|
+
* The promise has a method named "cancel" which cancels the ongoing API
|
411
|
+
* call.
|
412
|
+
*
|
413
|
+
* @example
|
414
|
+
* ```
|
415
|
+
* const client = longrunning.operationsClient();
|
416
|
+
* await client.cancelOperation({name: ''});
|
417
|
+
* ```
|
418
|
+
*/
|
419
|
+
cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
|
420
|
+
/**
|
421
|
+
* Deletes a long-running operation. This method indicates that the client is
|
422
|
+
* no longer interested in the operation result. It does not cancel the
|
423
|
+
* operation. If the server doesn't support this method, it returns
|
424
|
+
* `google.rpc.Code.UNIMPLEMENTED`.
|
425
|
+
*
|
426
|
+
* @param {Object} request - The request object that will be sent.
|
427
|
+
* @param {string} request.name - The name of the operation resource to be deleted.
|
428
|
+
* @param {Object=} options
|
429
|
+
* Optional parameters. You can override the default settings for this call,
|
430
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
431
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
432
|
+
* for the details.
|
433
|
+
* @param {function(?Error)=} callback
|
434
|
+
* The function which will be called with the result of the API call.
|
435
|
+
* @return {Promise} - The promise which resolves when API call finishes.
|
436
|
+
* The promise has a method named "cancel" which cancels the ongoing API
|
437
|
+
* call.
|
438
|
+
*
|
439
|
+
* @example
|
440
|
+
* ```
|
441
|
+
* const client = longrunning.operationsClient();
|
442
|
+
* await client.deleteOperation({name: ''});
|
443
|
+
* ```
|
444
|
+
*/
|
445
|
+
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
|
446
|
+
/**
|
447
|
+
* Return a fully-qualified engine resource name string.
|
448
|
+
*
|
449
|
+
* @param {string} project
|
450
|
+
* @param {string} location
|
451
|
+
* @param {string} collection
|
452
|
+
* @param {string} engine
|
453
|
+
* @returns {string} Resource name string.
|
454
|
+
*/
|
455
|
+
enginePath(project: string, location: string, collection: string, engine: string): string;
|
456
|
+
/**
|
457
|
+
* Parse the project from Engine resource.
|
458
|
+
*
|
459
|
+
* @param {string} engineName
|
460
|
+
* A fully-qualified path representing Engine resource.
|
461
|
+
* @returns {string} A string representing the project.
|
462
|
+
*/
|
463
|
+
matchProjectFromEngineName(engineName: string): string | number;
|
464
|
+
/**
|
465
|
+
* Parse the location from Engine resource.
|
466
|
+
*
|
467
|
+
* @param {string} engineName
|
468
|
+
* A fully-qualified path representing Engine resource.
|
469
|
+
* @returns {string} A string representing the location.
|
470
|
+
*/
|
471
|
+
matchLocationFromEngineName(engineName: string): string | number;
|
472
|
+
/**
|
473
|
+
* Parse the collection from Engine resource.
|
474
|
+
*
|
475
|
+
* @param {string} engineName
|
476
|
+
* A fully-qualified path representing Engine resource.
|
477
|
+
* @returns {string} A string representing the collection.
|
478
|
+
*/
|
479
|
+
matchCollectionFromEngineName(engineName: string): string | number;
|
480
|
+
/**
|
481
|
+
* Parse the engine from Engine resource.
|
482
|
+
*
|
483
|
+
* @param {string} engineName
|
484
|
+
* A fully-qualified path representing Engine resource.
|
485
|
+
* @returns {string} A string representing the engine.
|
486
|
+
*/
|
487
|
+
matchEngineFromEngineName(engineName: string): string | number;
|
225
488
|
/**
|
226
489
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
227
490
|
*
|
@@ -375,6 +638,48 @@ export declare class CompletionServiceClient {
|
|
375
638
|
* @returns {string} A string representing the conversation.
|
376
639
|
*/
|
377
640
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
641
|
+
/**
|
642
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
643
|
+
*
|
644
|
+
* @param {string} project
|
645
|
+
* @param {string} location
|
646
|
+
* @param {string} collection
|
647
|
+
* @param {string} data_store
|
648
|
+
* @returns {string} Resource name string.
|
649
|
+
*/
|
650
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
651
|
+
/**
|
652
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
653
|
+
*
|
654
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
655
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
656
|
+
* @returns {string} A string representing the project.
|
657
|
+
*/
|
658
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
659
|
+
/**
|
660
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
661
|
+
*
|
662
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
663
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
664
|
+
* @returns {string} A string representing the location.
|
665
|
+
*/
|
666
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
667
|
+
/**
|
668
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
669
|
+
*
|
670
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
671
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
672
|
+
* @returns {string} A string representing the collection.
|
673
|
+
*/
|
674
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
675
|
+
/**
|
676
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
677
|
+
*
|
678
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
679
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
680
|
+
* @returns {string} A string representing the data_store.
|
681
|
+
*/
|
682
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
378
683
|
/**
|
379
684
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
380
685
|
*
|
@@ -426,6 +731,252 @@ export declare class CompletionServiceClient {
|
|
426
731
|
* @returns {string} A string representing the schema.
|
427
732
|
*/
|
428
733
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
734
|
+
/**
|
735
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
736
|
+
*
|
737
|
+
* @param {string} project
|
738
|
+
* @param {string} location
|
739
|
+
* @param {string} collection
|
740
|
+
* @param {string} data_store
|
741
|
+
* @param {string} serving_config
|
742
|
+
* @returns {string} Resource name string.
|
743
|
+
*/
|
744
|
+
projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
|
745
|
+
/**
|
746
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
747
|
+
*
|
748
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
749
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
750
|
+
* @returns {string} A string representing the project.
|
751
|
+
*/
|
752
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
753
|
+
/**
|
754
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
755
|
+
*
|
756
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
757
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
758
|
+
* @returns {string} A string representing the location.
|
759
|
+
*/
|
760
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
761
|
+
/**
|
762
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
763
|
+
*
|
764
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
765
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
766
|
+
* @returns {string} A string representing the collection.
|
767
|
+
*/
|
768
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
769
|
+
/**
|
770
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
771
|
+
*
|
772
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
773
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
774
|
+
* @returns {string} A string representing the data_store.
|
775
|
+
*/
|
776
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
777
|
+
/**
|
778
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
779
|
+
*
|
780
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
781
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
782
|
+
* @returns {string} A string representing the serving_config.
|
783
|
+
*/
|
784
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
785
|
+
/**
|
786
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
787
|
+
*
|
788
|
+
* @param {string} project
|
789
|
+
* @param {string} location
|
790
|
+
* @param {string} collection
|
791
|
+
* @param {string} data_store
|
792
|
+
* @returns {string} Resource name string.
|
793
|
+
*/
|
794
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
|
795
|
+
/**
|
796
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
797
|
+
*
|
798
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
799
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
800
|
+
* @returns {string} A string representing the project.
|
801
|
+
*/
|
802
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
803
|
+
/**
|
804
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
805
|
+
*
|
806
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
807
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
808
|
+
* @returns {string} A string representing the location.
|
809
|
+
*/
|
810
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
811
|
+
/**
|
812
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
813
|
+
*
|
814
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
815
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
816
|
+
* @returns {string} A string representing the collection.
|
817
|
+
*/
|
818
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
819
|
+
/**
|
820
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
821
|
+
*
|
822
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
823
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
824
|
+
* @returns {string} A string representing the data_store.
|
825
|
+
*/
|
826
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
827
|
+
/**
|
828
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
829
|
+
*
|
830
|
+
* @param {string} project
|
831
|
+
* @param {string} location
|
832
|
+
* @param {string} collection
|
833
|
+
* @param {string} data_store
|
834
|
+
* @param {string} target_site
|
835
|
+
* @returns {string} Resource name string.
|
836
|
+
*/
|
837
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
|
838
|
+
/**
|
839
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
840
|
+
*
|
841
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
842
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
843
|
+
* @returns {string} A string representing the project.
|
844
|
+
*/
|
845
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
846
|
+
/**
|
847
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
848
|
+
*
|
849
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
850
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
851
|
+
* @returns {string} A string representing the location.
|
852
|
+
*/
|
853
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
854
|
+
/**
|
855
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
856
|
+
*
|
857
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
858
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
859
|
+
* @returns {string} A string representing the collection.
|
860
|
+
*/
|
861
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
862
|
+
/**
|
863
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
864
|
+
*
|
865
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
866
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
867
|
+
* @returns {string} A string representing the data_store.
|
868
|
+
*/
|
869
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
870
|
+
/**
|
871
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
872
|
+
*
|
873
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
874
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
875
|
+
* @returns {string} A string representing the target_site.
|
876
|
+
*/
|
877
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
878
|
+
/**
|
879
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
880
|
+
*
|
881
|
+
* @param {string} project
|
882
|
+
* @param {string} location
|
883
|
+
* @param {string} collection
|
884
|
+
* @param {string} engine
|
885
|
+
* @param {string} conversation
|
886
|
+
* @returns {string} Resource name string.
|
887
|
+
*/
|
888
|
+
projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
|
889
|
+
/**
|
890
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
891
|
+
*
|
892
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
893
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
894
|
+
* @returns {string} A string representing the project.
|
895
|
+
*/
|
896
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
897
|
+
/**
|
898
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
899
|
+
*
|
900
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
901
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
902
|
+
* @returns {string} A string representing the location.
|
903
|
+
*/
|
904
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
905
|
+
/**
|
906
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
907
|
+
*
|
908
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
909
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
910
|
+
* @returns {string} A string representing the collection.
|
911
|
+
*/
|
912
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
913
|
+
/**
|
914
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
915
|
+
*
|
916
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
917
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
918
|
+
* @returns {string} A string representing the engine.
|
919
|
+
*/
|
920
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
921
|
+
/**
|
922
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
923
|
+
*
|
924
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
925
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
926
|
+
* @returns {string} A string representing the conversation.
|
927
|
+
*/
|
928
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
929
|
+
/**
|
930
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
931
|
+
*
|
932
|
+
* @param {string} project
|
933
|
+
* @param {string} location
|
934
|
+
* @param {string} collection
|
935
|
+
* @param {string} engine
|
936
|
+
* @param {string} serving_config
|
937
|
+
* @returns {string} Resource name string.
|
938
|
+
*/
|
939
|
+
projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
|
940
|
+
/**
|
941
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
942
|
+
*
|
943
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
944
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
945
|
+
* @returns {string} A string representing the project.
|
946
|
+
*/
|
947
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
948
|
+
/**
|
949
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
950
|
+
*
|
951
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
952
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
953
|
+
* @returns {string} A string representing the location.
|
954
|
+
*/
|
955
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
956
|
+
/**
|
957
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
958
|
+
*
|
959
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
960
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
961
|
+
* @returns {string} A string representing the collection.
|
962
|
+
*/
|
963
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
964
|
+
/**
|
965
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
966
|
+
*
|
967
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
968
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
969
|
+
* @returns {string} A string representing the engine.
|
970
|
+
*/
|
971
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
972
|
+
/**
|
973
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
974
|
+
*
|
975
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
976
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
977
|
+
* @returns {string} A string representing the serving_config.
|
978
|
+
*/
|
979
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
429
980
|
/**
|
430
981
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
431
982
|
*
|
@@ -552,6 +1103,39 @@ export declare class CompletionServiceClient {
|
|
552
1103
|
* @returns {string} A string representing the conversation.
|
553
1104
|
*/
|
554
1105
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1106
|
+
/**
|
1107
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1108
|
+
*
|
1109
|
+
* @param {string} project
|
1110
|
+
* @param {string} location
|
1111
|
+
* @param {string} data_store
|
1112
|
+
* @returns {string} Resource name string.
|
1113
|
+
*/
|
1114
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1115
|
+
/**
|
1116
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1117
|
+
*
|
1118
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1119
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1120
|
+
* @returns {string} A string representing the project.
|
1121
|
+
*/
|
1122
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1123
|
+
/**
|
1124
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1125
|
+
*
|
1126
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1127
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1128
|
+
* @returns {string} A string representing the location.
|
1129
|
+
*/
|
1130
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1131
|
+
/**
|
1132
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1133
|
+
*
|
1134
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1135
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1136
|
+
* @returns {string} A string representing the data_store.
|
1137
|
+
*/
|
1138
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
555
1139
|
/**
|
556
1140
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
557
1141
|
*
|
@@ -594,6 +1178,123 @@ export declare class CompletionServiceClient {
|
|
594
1178
|
* @returns {string} A string representing the schema.
|
595
1179
|
*/
|
596
1180
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
1181
|
+
/**
|
1182
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
1183
|
+
*
|
1184
|
+
* @param {string} project
|
1185
|
+
* @param {string} location
|
1186
|
+
* @param {string} data_store
|
1187
|
+
* @param {string} serving_config
|
1188
|
+
* @returns {string} Resource name string.
|
1189
|
+
*/
|
1190
|
+
projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
|
1191
|
+
/**
|
1192
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
1193
|
+
*
|
1194
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1195
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1196
|
+
* @returns {string} A string representing the project.
|
1197
|
+
*/
|
1198
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1199
|
+
/**
|
1200
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
1201
|
+
*
|
1202
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1203
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1204
|
+
* @returns {string} A string representing the location.
|
1205
|
+
*/
|
1206
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1207
|
+
/**
|
1208
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
1209
|
+
*
|
1210
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1211
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1212
|
+
* @returns {string} A string representing the data_store.
|
1213
|
+
*/
|
1214
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1215
|
+
/**
|
1216
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
1217
|
+
*
|
1218
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
1219
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
1220
|
+
* @returns {string} A string representing the serving_config.
|
1221
|
+
*/
|
1222
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1223
|
+
/**
|
1224
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1225
|
+
*
|
1226
|
+
* @param {string} project
|
1227
|
+
* @param {string} location
|
1228
|
+
* @param {string} data_store
|
1229
|
+
* @returns {string} Resource name string.
|
1230
|
+
*/
|
1231
|
+
projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
|
1232
|
+
/**
|
1233
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1234
|
+
*
|
1235
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1236
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1237
|
+
* @returns {string} A string representing the project.
|
1238
|
+
*/
|
1239
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1240
|
+
/**
|
1241
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1242
|
+
*
|
1243
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1244
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1245
|
+
* @returns {string} A string representing the location.
|
1246
|
+
*/
|
1247
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1248
|
+
/**
|
1249
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1250
|
+
*
|
1251
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1252
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1253
|
+
* @returns {string} A string representing the data_store.
|
1254
|
+
*/
|
1255
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1256
|
+
/**
|
1257
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1258
|
+
*
|
1259
|
+
* @param {string} project
|
1260
|
+
* @param {string} location
|
1261
|
+
* @param {string} data_store
|
1262
|
+
* @param {string} target_site
|
1263
|
+
* @returns {string} Resource name string.
|
1264
|
+
*/
|
1265
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
|
1266
|
+
/**
|
1267
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1268
|
+
*
|
1269
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1270
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1271
|
+
* @returns {string} A string representing the project.
|
1272
|
+
*/
|
1273
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1274
|
+
/**
|
1275
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1276
|
+
*
|
1277
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1278
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1279
|
+
* @returns {string} A string representing the location.
|
1280
|
+
*/
|
1281
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1282
|
+
/**
|
1283
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1284
|
+
*
|
1285
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1286
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1287
|
+
* @returns {string} A string representing the data_store.
|
1288
|
+
*/
|
1289
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1290
|
+
/**
|
1291
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1292
|
+
*
|
1293
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1294
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1295
|
+
* @returns {string} A string representing the target_site.
|
1296
|
+
*/
|
1297
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
597
1298
|
/**
|
598
1299
|
* Terminate the gRPC channel and close the client.
|
599
1300
|
*
|