@google-cloud/discoveryengine 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/README.md +51 -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/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 +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- 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 +38 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -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 +41157 -23655
- package/build/protos/protos.js +103188 -62466
- package/build/protos/protos.json +10400 -6075
- 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/completion_service_client.d.ts +11 -2
- package/build/src/v1alpha/completion_service_client.js +37 -10
- package/build/src/v1alpha/conversational_search_service_client.d.ts +11 -2
- package/build/src/v1alpha/conversational_search_service_client.js +37 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +11 -2
- package/build/src/v1alpha/data_store_service_client.js +37 -10
- package/build/src/v1alpha/document_service_client.d.ts +11 -2
- package/build/src/v1alpha/document_service_client.js +37 -10
- package/build/src/v1alpha/engine_service_client.d.ts +11 -2
- package/build/src/v1alpha/engine_service_client.js +37 -10
- package/build/src/v1alpha/index.js +1 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +11 -2
- package/build/src/v1alpha/recommendation_service_client.js +37 -10
- package/build/src/v1alpha/schema_service_client.d.ts +11 -2
- package/build/src/v1alpha/schema_service_client.js +37 -10
- package/build/src/v1alpha/search_service_client.d.ts +11 -2
- package/build/src/v1alpha/search_service_client.js +37 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +11 -2
- package/build/src/v1alpha/search_tuning_service_client.js +37 -10
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +11 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +37 -10
- package/build/src/v1alpha/user_event_service_client.d.ts +11 -2
- package/build/src/v1alpha/user_event_service_client.js +37 -10
- package/build/src/v1beta/completion_service_client.d.ts +633 -7
- package/build/src/v1beta/completion_service_client.js +911 -11
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1beta/conversational_search_service_client.js +466 -9
- package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
- package/build/src/v1beta/data_store_service_client.js +1966 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +491 -2
- package/build/src/v1beta/document_service_client.js +706 -11
- package/build/src/v1beta/engine_service_client.d.ts +1357 -0
- package/build/src/v1beta/engine_service_client.js +1928 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +4 -0
- package/build/src/v1beta/index.js +9 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
- package/build/src/v1beta/recommendation_service_client.js +570 -9
- package/build/src/v1beta/schema_service_client.d.ts +416 -2
- package/build/src/v1beta/schema_service_client.js +602 -11
- package/build/src/v1beta/search_service_client.d.ts +539 -29
- package/build/src/v1beta/search_service_client.js +664 -27
- package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
- package/build/src/v1beta/serving_config_service_client.js +1563 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +416 -2
- package/build/src/v1beta/user_event_service_client.js +602 -11
- package/package.json +2 -2
package/build/src/index.d.ts
CHANGED
@@ -5,24 +5,33 @@ declare const CompletionServiceClient: typeof v1.CompletionServiceClient;
|
|
5
5
|
type CompletionServiceClient = v1.CompletionServiceClient;
|
6
6
|
declare const ConversationalSearchServiceClient: typeof v1.ConversationalSearchServiceClient;
|
7
7
|
type ConversationalSearchServiceClient = v1.ConversationalSearchServiceClient;
|
8
|
+
declare const DataStoreServiceClient: typeof v1.DataStoreServiceClient;
|
9
|
+
type DataStoreServiceClient = v1.DataStoreServiceClient;
|
8
10
|
declare const DocumentServiceClient: typeof v1.DocumentServiceClient;
|
9
11
|
type DocumentServiceClient = v1.DocumentServiceClient;
|
12
|
+
declare const EngineServiceClient: typeof v1.EngineServiceClient;
|
13
|
+
type EngineServiceClient = v1.EngineServiceClient;
|
10
14
|
declare const SchemaServiceClient: typeof v1.SchemaServiceClient;
|
11
15
|
type SchemaServiceClient = v1.SchemaServiceClient;
|
12
16
|
declare const SearchServiceClient: typeof v1.SearchServiceClient;
|
13
17
|
type SearchServiceClient = v1.SearchServiceClient;
|
18
|
+
declare const SiteSearchEngineServiceClient: typeof v1.SiteSearchEngineServiceClient;
|
19
|
+
type SiteSearchEngineServiceClient = v1.SiteSearchEngineServiceClient;
|
14
20
|
declare const UserEventServiceClient: typeof v1.UserEventServiceClient;
|
15
21
|
type UserEventServiceClient = v1.UserEventServiceClient;
|
16
|
-
export { v1, v1alpha, v1beta, CompletionServiceClient, ConversationalSearchServiceClient, DocumentServiceClient, SchemaServiceClient, SearchServiceClient, UserEventServiceClient, };
|
22
|
+
export { v1, v1alpha, v1beta, CompletionServiceClient, ConversationalSearchServiceClient, DataStoreServiceClient, DocumentServiceClient, EngineServiceClient, SchemaServiceClient, SearchServiceClient, SiteSearchEngineServiceClient, UserEventServiceClient, };
|
17
23
|
declare const _default: {
|
18
24
|
v1: typeof v1;
|
19
25
|
v1alpha: typeof v1alpha;
|
20
26
|
v1beta: typeof v1beta;
|
21
27
|
CompletionServiceClient: typeof v1.CompletionServiceClient;
|
22
28
|
ConversationalSearchServiceClient: typeof v1.ConversationalSearchServiceClient;
|
29
|
+
DataStoreServiceClient: typeof v1.DataStoreServiceClient;
|
23
30
|
DocumentServiceClient: typeof v1.DocumentServiceClient;
|
31
|
+
EngineServiceClient: typeof v1.EngineServiceClient;
|
24
32
|
SchemaServiceClient: typeof v1.SchemaServiceClient;
|
25
33
|
SearchServiceClient: typeof v1.SearchServiceClient;
|
34
|
+
SiteSearchEngineServiceClient: typeof v1.SiteSearchEngineServiceClient;
|
26
35
|
UserEventServiceClient: typeof v1.UserEventServiceClient;
|
27
36
|
};
|
28
37
|
export default _default;
|
package/build/src/index.js
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
// ** https://github.com/googleapis/synthtool **
|
18
18
|
// ** All changes to this file may be overwritten. **
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
20
|
-
exports.protos = exports.UserEventServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.DocumentServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = exports.v1beta = exports.v1alpha = exports.v1 = void 0;
|
20
|
+
exports.protos = exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = exports.v1beta = exports.v1alpha = exports.v1 = void 0;
|
21
21
|
const v1 = require("./v1");
|
22
22
|
exports.v1 = v1;
|
23
23
|
const v1alpha = require("./v1alpha");
|
@@ -28,12 +28,18 @@ const CompletionServiceClient = v1.CompletionServiceClient;
|
|
28
28
|
exports.CompletionServiceClient = CompletionServiceClient;
|
29
29
|
const ConversationalSearchServiceClient = v1.ConversationalSearchServiceClient;
|
30
30
|
exports.ConversationalSearchServiceClient = ConversationalSearchServiceClient;
|
31
|
+
const DataStoreServiceClient = v1.DataStoreServiceClient;
|
32
|
+
exports.DataStoreServiceClient = DataStoreServiceClient;
|
31
33
|
const DocumentServiceClient = v1.DocumentServiceClient;
|
32
34
|
exports.DocumentServiceClient = DocumentServiceClient;
|
35
|
+
const EngineServiceClient = v1.EngineServiceClient;
|
36
|
+
exports.EngineServiceClient = EngineServiceClient;
|
33
37
|
const SchemaServiceClient = v1.SchemaServiceClient;
|
34
38
|
exports.SchemaServiceClient = SchemaServiceClient;
|
35
39
|
const SearchServiceClient = v1.SearchServiceClient;
|
36
40
|
exports.SearchServiceClient = SearchServiceClient;
|
41
|
+
const SiteSearchEngineServiceClient = v1.SiteSearchEngineServiceClient;
|
42
|
+
exports.SiteSearchEngineServiceClient = SiteSearchEngineServiceClient;
|
37
43
|
const UserEventServiceClient = v1.UserEventServiceClient;
|
38
44
|
exports.UserEventServiceClient = UserEventServiceClient;
|
39
45
|
exports.default = {
|
@@ -42,9 +48,12 @@ exports.default = {
|
|
42
48
|
v1beta,
|
43
49
|
CompletionServiceClient,
|
44
50
|
ConversationalSearchServiceClient,
|
51
|
+
DataStoreServiceClient,
|
45
52
|
DocumentServiceClient,
|
53
|
+
EngineServiceClient,
|
46
54
|
SchemaServiceClient,
|
47
55
|
SearchServiceClient,
|
56
|
+
SiteSearchEngineServiceClient,
|
48
57
|
UserEventServiceClient,
|
49
58
|
};
|
50
59
|
const protos = require("../protos/protos");
|
@@ -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.v1.ICompleteQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
|
173
183
|
completeQuery(request: protos.google.cloud.discoveryengine.v1.ICompleteQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
|
184
|
+
/**
|
185
|
+
* Imports all
|
186
|
+
* {@link protos.google.cloud.discoveryengine.v1.SuggestionDenyListEntry|SuggestionDenyListEntry}
|
187
|
+
* for a DataStore.
|
188
|
+
*
|
189
|
+
* @param {Object} request
|
190
|
+
* The request object that will be sent.
|
191
|
+
* @param {google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.InlineSource} request.inlineSource
|
192
|
+
* The Inline source for the input content for suggestion deny list entries.
|
193
|
+
* @param {google.cloud.discoveryengine.v1.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/v1/completion_service.import_suggestion_deny_list_entries.js</caption>
|
214
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_async
|
215
|
+
*/
|
216
|
+
importSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
|
217
|
+
LROperation<protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesMetadata>,
|
218
|
+
protos.google.longrunning.IOperation | undefined,
|
219
|
+
{} | undefined
|
220
|
+
]>;
|
221
|
+
importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
222
|
+
importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.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/v1/completion_service.import_suggestion_deny_list_entries.js</caption>
|
232
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_async
|
233
|
+
*/
|
234
|
+
checkImportSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesMetadata>>;
|
235
|
+
/**
|
236
|
+
* Permanently deletes all
|
237
|
+
* {@link protos.google.cloud.discoveryengine.v1.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/v1/completion_service.purge_suggestion_deny_list_entries.js</caption>
|
254
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_async
|
255
|
+
*/
|
256
|
+
purgeSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
|
257
|
+
LROperation<protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesMetadata>,
|
258
|
+
protos.google.longrunning.IOperation | undefined,
|
259
|
+
{} | undefined
|
260
|
+
]>;
|
261
|
+
purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
262
|
+
purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.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/v1/completion_service.purge_suggestion_deny_list_entries.js</caption>
|
272
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_async
|
273
|
+
*/
|
274
|
+
checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.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
|
*
|
@@ -426,6 +689,150 @@ export declare class CompletionServiceClient {
|
|
426
689
|
* @returns {string} A string representing the schema.
|
427
690
|
*/
|
428
691
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
692
|
+
/**
|
693
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
694
|
+
*
|
695
|
+
* @param {string} project
|
696
|
+
* @param {string} location
|
697
|
+
* @param {string} collection
|
698
|
+
* @param {string} data_store
|
699
|
+
* @returns {string} Resource name string.
|
700
|
+
*/
|
701
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
|
702
|
+
/**
|
703
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
704
|
+
*
|
705
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
706
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
707
|
+
* @returns {string} A string representing the project.
|
708
|
+
*/
|
709
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
710
|
+
/**
|
711
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
712
|
+
*
|
713
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
714
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
715
|
+
* @returns {string} A string representing the location.
|
716
|
+
*/
|
717
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
718
|
+
/**
|
719
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
720
|
+
*
|
721
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
722
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
723
|
+
* @returns {string} A string representing the collection.
|
724
|
+
*/
|
725
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
726
|
+
/**
|
727
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
728
|
+
*
|
729
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
730
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
731
|
+
* @returns {string} A string representing the data_store.
|
732
|
+
*/
|
733
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
734
|
+
/**
|
735
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
736
|
+
*
|
737
|
+
* @param {string} project
|
738
|
+
* @param {string} location
|
739
|
+
* @param {string} collection
|
740
|
+
* @param {string} data_store
|
741
|
+
* @param {string} target_site
|
742
|
+
* @returns {string} Resource name string.
|
743
|
+
*/
|
744
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
|
745
|
+
/**
|
746
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
747
|
+
*
|
748
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
749
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
750
|
+
* @returns {string} A string representing the project.
|
751
|
+
*/
|
752
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
753
|
+
/**
|
754
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
755
|
+
*
|
756
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
757
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
758
|
+
* @returns {string} A string representing the location.
|
759
|
+
*/
|
760
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
761
|
+
/**
|
762
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
763
|
+
*
|
764
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
765
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
766
|
+
* @returns {string} A string representing the collection.
|
767
|
+
*/
|
768
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
769
|
+
/**
|
770
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
771
|
+
*
|
772
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
773
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
774
|
+
* @returns {string} A string representing the data_store.
|
775
|
+
*/
|
776
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
777
|
+
/**
|
778
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
779
|
+
*
|
780
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
781
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
782
|
+
* @returns {string} A string representing the target_site.
|
783
|
+
*/
|
784
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
785
|
+
/**
|
786
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
787
|
+
*
|
788
|
+
* @param {string} project
|
789
|
+
* @param {string} location
|
790
|
+
* @param {string} collection
|
791
|
+
* @param {string} engine
|
792
|
+
* @param {string} conversation
|
793
|
+
* @returns {string} Resource name string.
|
794
|
+
*/
|
795
|
+
projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
|
796
|
+
/**
|
797
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
798
|
+
*
|
799
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
800
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
801
|
+
* @returns {string} A string representing the project.
|
802
|
+
*/
|
803
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
804
|
+
/**
|
805
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
806
|
+
*
|
807
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
808
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
809
|
+
* @returns {string} A string representing the location.
|
810
|
+
*/
|
811
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
812
|
+
/**
|
813
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
814
|
+
*
|
815
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
816
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
817
|
+
* @returns {string} A string representing the collection.
|
818
|
+
*/
|
819
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
820
|
+
/**
|
821
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
822
|
+
*
|
823
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
824
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
825
|
+
* @returns {string} A string representing the engine.
|
826
|
+
*/
|
827
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
828
|
+
/**
|
829
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
830
|
+
*
|
831
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
832
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
833
|
+
* @returns {string} A string representing the conversation.
|
834
|
+
*/
|
835
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
429
836
|
/**
|
430
837
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
431
838
|
*
|
@@ -594,6 +1001,81 @@ export declare class CompletionServiceClient {
|
|
594
1001
|
* @returns {string} A string representing the schema.
|
595
1002
|
*/
|
596
1003
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
1004
|
+
/**
|
1005
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1006
|
+
*
|
1007
|
+
* @param {string} project
|
1008
|
+
* @param {string} location
|
1009
|
+
* @param {string} data_store
|
1010
|
+
* @returns {string} Resource name string.
|
1011
|
+
*/
|
1012
|
+
projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
|
1013
|
+
/**
|
1014
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1015
|
+
*
|
1016
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1017
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1018
|
+
* @returns {string} A string representing the project.
|
1019
|
+
*/
|
1020
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1021
|
+
/**
|
1022
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1023
|
+
*
|
1024
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1025
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1026
|
+
* @returns {string} A string representing the location.
|
1027
|
+
*/
|
1028
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1029
|
+
/**
|
1030
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1031
|
+
*
|
1032
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1033
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1034
|
+
* @returns {string} A string representing the data_store.
|
1035
|
+
*/
|
1036
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1037
|
+
/**
|
1038
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1039
|
+
*
|
1040
|
+
* @param {string} project
|
1041
|
+
* @param {string} location
|
1042
|
+
* @param {string} data_store
|
1043
|
+
* @param {string} target_site
|
1044
|
+
* @returns {string} Resource name string.
|
1045
|
+
*/
|
1046
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
|
1047
|
+
/**
|
1048
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1049
|
+
*
|
1050
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1051
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1052
|
+
* @returns {string} A string representing the project.
|
1053
|
+
*/
|
1054
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1055
|
+
/**
|
1056
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1057
|
+
*
|
1058
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1059
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1060
|
+
* @returns {string} A string representing the location.
|
1061
|
+
*/
|
1062
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1063
|
+
/**
|
1064
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1065
|
+
*
|
1066
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1067
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1068
|
+
* @returns {string} A string representing the data_store.
|
1069
|
+
*/
|
1070
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1071
|
+
/**
|
1072
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1073
|
+
*
|
1074
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1075
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1076
|
+
* @returns {string} A string representing the target_site.
|
1077
|
+
*/
|
1078
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
597
1079
|
/**
|
598
1080
|
* Terminate the gRPC channel and close the client.
|
599
1081
|
*
|