@google-cloud/discoveryengine 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +7 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +40 -9
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +116 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +45 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +12 -12
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +26 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +15 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +259 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +546 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +14 -12
- package/build/protos/protos.d.ts +5625 -1874
- package/build/protos/protos.js +1 -30029
- package/build/protos/protos.json +1 -3028
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +10 -1
- package/build/src/v1beta/completion_service_client.d.ts +455 -0
- package/build/src/v1beta/completion_service_client.js +659 -0
- package/build/src/v1beta/completion_service_client_config.json +43 -0
- package/build/src/v1beta/document_service_client.d.ts +111 -18
- package/build/src/v1beta/document_service_client.js +134 -6
- package/build/src/v1beta/index.d.ts +3 -0
- package/build/src/v1beta/index.js +7 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +108 -14
- package/build/src/v1beta/recommendation_service_client.js +128 -0
- package/build/src/v1beta/schema_service_client.d.ts +798 -0
- package/build/src/v1beta/schema_service_client.js +1122 -0
- package/build/src/v1beta/schema_service_client_config.json +63 -0
- package/build/src/v1beta/search_service_client.d.ts +851 -0
- package/build/src/v1beta/search_service_client.js +1070 -0
- package/build/src/v1beta/search_service_client_config.json +43 -0
- package/build/src/v1beta/user_event_service_client.d.ts +93 -0
- package/build/src/v1beta/user_event_service_client.js +128 -0
- package/package.json +5 -4
- package/build/src/index.js.map +0 -1
- package/build/src/v1beta/document_service_client.js.map +0 -1
- package/build/src/v1beta/index.js.map +0 -1
- package/build/src/v1beta/recommendation_service_client.js.map +0 -1
- package/build/src/v1beta/user_event_service_client.js.map +0 -1
@@ -0,0 +1,798 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type * as gax from 'google-gax';
|
3
|
+
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
|
4
|
+
import { Transform } from 'stream';
|
5
|
+
import * as protos from '../../protos/protos';
|
6
|
+
/**
|
7
|
+
* Service for managing {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s.
|
8
|
+
* @class
|
9
|
+
* @memberof v1beta
|
10
|
+
*/
|
11
|
+
export declare class SchemaServiceClient {
|
12
|
+
private _terminated;
|
13
|
+
private _opts;
|
14
|
+
private _providedCustomServicePath;
|
15
|
+
private _gaxModule;
|
16
|
+
private _gaxGrpc;
|
17
|
+
private _protos;
|
18
|
+
private _defaults;
|
19
|
+
auth: gax.GoogleAuth;
|
20
|
+
descriptors: Descriptors;
|
21
|
+
warn: (code: string, message: string, warnType?: string) => void;
|
22
|
+
innerApiCalls: {
|
23
|
+
[name: string]: Function;
|
24
|
+
};
|
25
|
+
pathTemplates: {
|
26
|
+
[name: string]: gax.PathTemplate;
|
27
|
+
};
|
28
|
+
operationsClient: gax.OperationsClient;
|
29
|
+
schemaServiceStub?: Promise<{
|
30
|
+
[name: string]: Function;
|
31
|
+
}>;
|
32
|
+
/**
|
33
|
+
* Construct an instance of SchemaServiceClient.
|
34
|
+
*
|
35
|
+
* @param {object} [options] - The configuration object.
|
36
|
+
* The options accepted by the constructor are described in detail
|
37
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
38
|
+
* The common options are:
|
39
|
+
* @param {object} [options.credentials] - Credentials object.
|
40
|
+
* @param {string} [options.credentials.client_email]
|
41
|
+
* @param {string} [options.credentials.private_key]
|
42
|
+
* @param {string} [options.email] - Account email address. Required when
|
43
|
+
* using a .pem or .p12 keyFilename.
|
44
|
+
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
|
45
|
+
* .p12 key downloaded from the Google Developers Console. If you provide
|
46
|
+
* a path to a JSON file, the projectId option below is not necessary.
|
47
|
+
* NOTE: .pem and .p12 require you to specify options.email as well.
|
48
|
+
* @param {number} [options.port] - The port on which to connect to
|
49
|
+
* the remote host.
|
50
|
+
* @param {string} [options.projectId] - The project ID from the Google
|
51
|
+
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
52
|
+
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
53
|
+
* app is running in an environment which supports
|
54
|
+
* {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
|
55
|
+
* your project ID will be detected automatically.
|
56
|
+
* @param {string} [options.apiEndpoint] - The domain name of the
|
57
|
+
* API remote host.
|
58
|
+
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
59
|
+
* Follows the structure of {@link gapicConfig}.
|
60
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
61
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
62
|
+
* For more information, please check the
|
63
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
64
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
65
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
66
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
67
|
+
* ```
|
68
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
69
|
+
* const client = new SchemaServiceClient({fallback: 'rest'}, gax);
|
70
|
+
* ```
|
71
|
+
*/
|
72
|
+
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
|
73
|
+
/**
|
74
|
+
* Initialize the client.
|
75
|
+
* Performs asynchronous operations (such as authentication) and prepares the client.
|
76
|
+
* This function will be called automatically when any class method is called for the
|
77
|
+
* first time, but if you need to initialize it before calling an actual method,
|
78
|
+
* feel free to call initialize() directly.
|
79
|
+
*
|
80
|
+
* You can await on this method if you want to make sure the client is initialized.
|
81
|
+
*
|
82
|
+
* @returns {Promise} A promise that resolves to an authenticated service stub.
|
83
|
+
*/
|
84
|
+
initialize(): Promise<{
|
85
|
+
[name: string]: Function;
|
86
|
+
}>;
|
87
|
+
/**
|
88
|
+
* The DNS address for this API service.
|
89
|
+
* @returns {string} The DNS address for this service.
|
90
|
+
*/
|
91
|
+
static get servicePath(): string;
|
92
|
+
/**
|
93
|
+
* The DNS address for this API service - same as servicePath(),
|
94
|
+
* exists for compatibility reasons.
|
95
|
+
* @returns {string} The DNS address for this service.
|
96
|
+
*/
|
97
|
+
static get apiEndpoint(): string;
|
98
|
+
/**
|
99
|
+
* The port for this API service.
|
100
|
+
* @returns {number} The default port for this service.
|
101
|
+
*/
|
102
|
+
static get port(): number;
|
103
|
+
/**
|
104
|
+
* The scopes needed to make gRPC calls for every method defined
|
105
|
+
* in this service.
|
106
|
+
* @returns {string[]} List of default scopes.
|
107
|
+
*/
|
108
|
+
static get scopes(): string[];
|
109
|
+
getProjectId(): Promise<string>;
|
110
|
+
getProjectId(callback: Callback<string, undefined, undefined>): void;
|
111
|
+
/**
|
112
|
+
* Gets a {@link google.cloud.discoveryengine.v1beta.Schema|Schema}.
|
113
|
+
*
|
114
|
+
* @param {Object} request
|
115
|
+
* The request object that will be sent.
|
116
|
+
* @param {string} request.name
|
117
|
+
* Required. The full resource name of the schema, in the format of
|
118
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
|
119
|
+
* @param {object} [options]
|
120
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
121
|
+
* @returns {Promise} - The promise which resolves to an array.
|
122
|
+
* The first element of the array is an object representing {@link google.cloud.discoveryengine.v1beta.Schema | Schema}.
|
123
|
+
* Please see the
|
124
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
125
|
+
* for more details and examples.
|
126
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.get_schema.js</caption>
|
127
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_GetSchema_async
|
128
|
+
*/
|
129
|
+
getSchema(request?: protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest, options?: CallOptions): Promise<[
|
130
|
+
protos.google.cloud.discoveryengine.v1beta.ISchema,
|
131
|
+
protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest | undefined,
|
132
|
+
{} | undefined
|
133
|
+
]>;
|
134
|
+
getSchema(request: protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest | null | undefined, {} | null | undefined>): void;
|
135
|
+
getSchema(request: protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest, callback: Callback<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.IGetSchemaRequest | null | undefined, {} | null | undefined>): void;
|
136
|
+
/**
|
137
|
+
* Creates a {@link google.cloud.discoveryengine.v1beta.Schema|Schema}.
|
138
|
+
*
|
139
|
+
* @param {Object} request
|
140
|
+
* The request object that will be sent.
|
141
|
+
* @param {string} request.parent
|
142
|
+
* Required. The parent data store resource name, in the format of
|
143
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
|
144
|
+
* @param {google.cloud.discoveryengine.v1beta.Schema} request.schema
|
145
|
+
* Required. The {@link google.cloud.discoveryengine.v1beta.Schema|Schema} to
|
146
|
+
* create.
|
147
|
+
* @param {string} request.schemaId
|
148
|
+
* Required. The ID to use for the
|
149
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema}, which will become the
|
150
|
+
* final component of the
|
151
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema.name|Schema.name}.
|
152
|
+
*
|
153
|
+
* This field should conform to
|
154
|
+
* [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length
|
155
|
+
* limit of 63 characters.
|
156
|
+
* @param {object} [options]
|
157
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
158
|
+
* @returns {Promise} - The promise which resolves to an array.
|
159
|
+
* The first element of the array is an object representing
|
160
|
+
* a long running operation. Its `promise()` method returns a promise
|
161
|
+
* you can `await` for.
|
162
|
+
* Please see the
|
163
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
164
|
+
* for more details and examples.
|
165
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.create_schema.js</caption>
|
166
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_CreateSchema_async
|
167
|
+
*/
|
168
|
+
createSchema(request?: protos.google.cloud.discoveryengine.v1beta.ICreateSchemaRequest, options?: CallOptions): Promise<[
|
169
|
+
LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.ICreateSchemaMetadata>,
|
170
|
+
protos.google.longrunning.IOperation | undefined,
|
171
|
+
{} | undefined
|
172
|
+
]>;
|
173
|
+
createSchema(request: protos.google.cloud.discoveryengine.v1beta.ICreateSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.ICreateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
174
|
+
createSchema(request: protos.google.cloud.discoveryengine.v1beta.ICreateSchemaRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.ICreateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
175
|
+
/**
|
176
|
+
* Check the status of the long running operation returned by `createSchema()`.
|
177
|
+
* @param {String} name
|
178
|
+
* The operation name that will be passed.
|
179
|
+
* @returns {Promise} - The promise which resolves to an object.
|
180
|
+
* The decoded operation object has result and metadata field to get information from.
|
181
|
+
* Please see the
|
182
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
183
|
+
* for more details and examples.
|
184
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.create_schema.js</caption>
|
185
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_CreateSchema_async
|
186
|
+
*/
|
187
|
+
checkCreateSchemaProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.Schema, protos.google.cloud.discoveryengine.v1beta.CreateSchemaMetadata>>;
|
188
|
+
/**
|
189
|
+
* Updates a {@link google.cloud.discoveryengine.v1beta.Schema|Schema}.
|
190
|
+
*
|
191
|
+
* @param {Object} request
|
192
|
+
* The request object that will be sent.
|
193
|
+
* @param {google.cloud.discoveryengine.v1beta.Schema} request.schema
|
194
|
+
* Required. The {@link google.cloud.discoveryengine.v1beta.Schema|Schema} to
|
195
|
+
* update.
|
196
|
+
* @param {boolean} request.allowMissing
|
197
|
+
* If set to true, and the
|
198
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema} is not found, a new
|
199
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema} will be created. In
|
200
|
+
* this situation, `update_mask` is ignored.
|
201
|
+
* @param {object} [options]
|
202
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
203
|
+
* @returns {Promise} - The promise which resolves to an array.
|
204
|
+
* The first element of the array is an object representing
|
205
|
+
* a long running operation. Its `promise()` method returns a promise
|
206
|
+
* you can `await` for.
|
207
|
+
* Please see the
|
208
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
209
|
+
* for more details and examples.
|
210
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.update_schema.js</caption>
|
211
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async
|
212
|
+
*/
|
213
|
+
updateSchema(request?: protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaRequest, options?: CallOptions): Promise<[
|
214
|
+
LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaMetadata>,
|
215
|
+
protos.google.longrunning.IOperation | undefined,
|
216
|
+
{} | undefined
|
217
|
+
]>;
|
218
|
+
updateSchema(request: protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
219
|
+
updateSchema(request: protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1beta.ISchema, protos.google.cloud.discoveryengine.v1beta.IUpdateSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
220
|
+
/**
|
221
|
+
* Check the status of the long running operation returned by `updateSchema()`.
|
222
|
+
* @param {String} name
|
223
|
+
* The operation name that will be passed.
|
224
|
+
* @returns {Promise} - The promise which resolves to an object.
|
225
|
+
* The decoded operation object has result and metadata field to get information from.
|
226
|
+
* Please see the
|
227
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
228
|
+
* for more details and examples.
|
229
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.update_schema.js</caption>
|
230
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async
|
231
|
+
*/
|
232
|
+
checkUpdateSchemaProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1beta.Schema, protos.google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata>>;
|
233
|
+
/**
|
234
|
+
* Deletes a {@link google.cloud.discoveryengine.v1beta.Schema|Schema}.
|
235
|
+
*
|
236
|
+
* @param {Object} request
|
237
|
+
* The request object that will be sent.
|
238
|
+
* @param {string} request.name
|
239
|
+
* Required. The full resource name of the schema, in the format of
|
240
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.
|
241
|
+
* @param {object} [options]
|
242
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
243
|
+
* @returns {Promise} - The promise which resolves to an array.
|
244
|
+
* The first element of the array is an object representing
|
245
|
+
* a long running operation. Its `promise()` method returns a promise
|
246
|
+
* you can `await` for.
|
247
|
+
* Please see the
|
248
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
249
|
+
* for more details and examples.
|
250
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.delete_schema.js</caption>
|
251
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async
|
252
|
+
*/
|
253
|
+
deleteSchema(request?: protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaRequest, options?: CallOptions): Promise<[
|
254
|
+
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaMetadata>,
|
255
|
+
protos.google.longrunning.IOperation | undefined,
|
256
|
+
{} | undefined
|
257
|
+
]>;
|
258
|
+
deleteSchema(request: protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
259
|
+
deleteSchema(request: protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.discoveryengine.v1beta.IDeleteSchemaMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
260
|
+
/**
|
261
|
+
* Check the status of the long running operation returned by `deleteSchema()`.
|
262
|
+
* @param {String} name
|
263
|
+
* The operation name that will be passed.
|
264
|
+
* @returns {Promise} - The promise which resolves to an object.
|
265
|
+
* The decoded operation object has result and metadata field to get information from.
|
266
|
+
* Please see the
|
267
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
268
|
+
* for more details and examples.
|
269
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.delete_schema.js</caption>
|
270
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async
|
271
|
+
*/
|
272
|
+
checkDeleteSchemaProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata>>;
|
273
|
+
/**
|
274
|
+
* Gets a list of {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s.
|
275
|
+
*
|
276
|
+
* @param {Object} request
|
277
|
+
* The request object that will be sent.
|
278
|
+
* @param {string} request.parent
|
279
|
+
* Required. The parent data store resource name, in the format of
|
280
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
|
281
|
+
* @param {number} request.pageSize
|
282
|
+
* The maximum number of {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s
|
283
|
+
* to return. The service may return fewer than this value.
|
284
|
+
*
|
285
|
+
* If unspecified, at most 100
|
286
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s will be returned.
|
287
|
+
*
|
288
|
+
* The maximum value is 1000; values above 1000 will be coerced to 1000.
|
289
|
+
* @param {string} request.pageToken
|
290
|
+
* A page token, received from a previous
|
291
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
292
|
+
* call. Provide this to retrieve the subsequent page.
|
293
|
+
*
|
294
|
+
* When paginating, all other parameters provided to
|
295
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
296
|
+
* must match the call that provided the page token.
|
297
|
+
* @param {object} [options]
|
298
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
299
|
+
* @returns {Promise} - The promise which resolves to an array.
|
300
|
+
* The first element of the array is Array of {@link google.cloud.discoveryengine.v1beta.Schema | Schema}.
|
301
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
302
|
+
* times as needed and will merge results from all the pages into this array.
|
303
|
+
* Note that it can affect your quota.
|
304
|
+
* We recommend using `listSchemasAsync()`
|
305
|
+
* method described below for async iteration which you can stop as needed.
|
306
|
+
* Please see the
|
307
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
308
|
+
* for more details and examples.
|
309
|
+
*/
|
310
|
+
listSchemas(request?: protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, options?: CallOptions): Promise<[
|
311
|
+
protos.google.cloud.discoveryengine.v1beta.ISchema[],
|
312
|
+
protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest | null,
|
313
|
+
protos.google.cloud.discoveryengine.v1beta.IListSchemasResponse
|
314
|
+
]>;
|
315
|
+
listSchemas(request: protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, protos.google.cloud.discoveryengine.v1beta.IListSchemasResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.ISchema>): void;
|
316
|
+
listSchemas(request: protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, protos.google.cloud.discoveryengine.v1beta.IListSchemasResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.ISchema>): void;
|
317
|
+
/**
|
318
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
319
|
+
* @param {Object} request
|
320
|
+
* The request object that will be sent.
|
321
|
+
* @param {string} request.parent
|
322
|
+
* Required. The parent data store resource name, in the format of
|
323
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
|
324
|
+
* @param {number} request.pageSize
|
325
|
+
* The maximum number of {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s
|
326
|
+
* to return. The service may return fewer than this value.
|
327
|
+
*
|
328
|
+
* If unspecified, at most 100
|
329
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s will be returned.
|
330
|
+
*
|
331
|
+
* The maximum value is 1000; values above 1000 will be coerced to 1000.
|
332
|
+
* @param {string} request.pageToken
|
333
|
+
* A page token, received from a previous
|
334
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
335
|
+
* call. Provide this to retrieve the subsequent page.
|
336
|
+
*
|
337
|
+
* When paginating, all other parameters provided to
|
338
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
339
|
+
* must match the call that provided the page token.
|
340
|
+
* @param {object} [options]
|
341
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
342
|
+
* @returns {Stream}
|
343
|
+
* An object stream which emits an object representing {@link google.cloud.discoveryengine.v1beta.Schema | Schema} on 'data' event.
|
344
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
345
|
+
* times as needed. Note that it can affect your quota.
|
346
|
+
* We recommend using `listSchemasAsync()`
|
347
|
+
* method described below for async iteration which you can stop as needed.
|
348
|
+
* Please see the
|
349
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
350
|
+
* for more details and examples.
|
351
|
+
*/
|
352
|
+
listSchemasStream(request?: protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, options?: CallOptions): Transform;
|
353
|
+
/**
|
354
|
+
* Equivalent to `listSchemas`, but returns an iterable object.
|
355
|
+
*
|
356
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
357
|
+
* @param {Object} request
|
358
|
+
* The request object that will be sent.
|
359
|
+
* @param {string} request.parent
|
360
|
+
* Required. The parent data store resource name, in the format of
|
361
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
|
362
|
+
* @param {number} request.pageSize
|
363
|
+
* The maximum number of {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s
|
364
|
+
* to return. The service may return fewer than this value.
|
365
|
+
*
|
366
|
+
* If unspecified, at most 100
|
367
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema|Schema}s will be returned.
|
368
|
+
*
|
369
|
+
* The maximum value is 1000; values above 1000 will be coerced to 1000.
|
370
|
+
* @param {string} request.pageToken
|
371
|
+
* A page token, received from a previous
|
372
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
373
|
+
* call. Provide this to retrieve the subsequent page.
|
374
|
+
*
|
375
|
+
* When paginating, all other parameters provided to
|
376
|
+
* {@link google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas|SchemaService.ListSchemas}
|
377
|
+
* must match the call that provided the page token.
|
378
|
+
* @param {object} [options]
|
379
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
380
|
+
* @returns {Object}
|
381
|
+
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
382
|
+
* When you iterate the returned iterable, each element will be an object representing
|
383
|
+
* {@link google.cloud.discoveryengine.v1beta.Schema | Schema}. The API will be called under the hood as needed, once per the page,
|
384
|
+
* so you can stop the iteration when you don't need more results.
|
385
|
+
* Please see the
|
386
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
387
|
+
* for more details and examples.
|
388
|
+
* @example <caption>include:samples/generated/v1beta/schema_service.list_schemas.js</caption>
|
389
|
+
* region_tag:discoveryengine_v1beta_generated_SchemaService_ListSchemas_async
|
390
|
+
*/
|
391
|
+
listSchemasAsync(request?: protos.google.cloud.discoveryengine.v1beta.IListSchemasRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1beta.ISchema>;
|
392
|
+
/**
|
393
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
394
|
+
* method to poll the operation result at intervals as recommended by the API
|
395
|
+
* service.
|
396
|
+
*
|
397
|
+
* @param {Object} request - The request object that will be sent.
|
398
|
+
* @param {string} request.name - The name of the operation resource.
|
399
|
+
* @param {Object=} options
|
400
|
+
* Optional parameters. You can override the default settings for this call,
|
401
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
402
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
403
|
+
* for the details.
|
404
|
+
* @param {function(?Error, ?Object)=} callback
|
405
|
+
* The function which will be called with the result of the API call.
|
406
|
+
*
|
407
|
+
* The second parameter to the callback is an object representing
|
408
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
409
|
+
* @return {Promise} - The promise which resolves to an array.
|
410
|
+
* The first element of the array is an object representing
|
411
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
412
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
413
|
+
*
|
414
|
+
* @example
|
415
|
+
* ```
|
416
|
+
* const client = longrunning.operationsClient();
|
417
|
+
* const name = '';
|
418
|
+
* const [response] = await client.getOperation({name});
|
419
|
+
* // doThingsWith(response)
|
420
|
+
* ```
|
421
|
+
*/
|
422
|
+
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]>;
|
423
|
+
/**
|
424
|
+
* Lists operations that match the specified filter in the request. If the
|
425
|
+
* server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
|
426
|
+
*
|
427
|
+
* For-await-of syntax is used with the iterable to recursively get response element on-demand.
|
428
|
+
*
|
429
|
+
* @param {Object} request - The request object that will be sent.
|
430
|
+
* @param {string} request.name - The name of the operation collection.
|
431
|
+
* @param {string} request.filter - The standard list filter.
|
432
|
+
* @param {number=} request.pageSize -
|
433
|
+
* The maximum number of resources contained in the underlying API
|
434
|
+
* response. If page streaming is performed per-resource, this
|
435
|
+
* parameter does not affect the return value. If page streaming is
|
436
|
+
* performed per-page, this determines the maximum number of
|
437
|
+
* resources in a page.
|
438
|
+
* @param {Object=} options
|
439
|
+
* Optional parameters. You can override the default settings for this call,
|
440
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
441
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
442
|
+
* details.
|
443
|
+
* @returns {Object}
|
444
|
+
* An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
|
445
|
+
*
|
446
|
+
* @example
|
447
|
+
* ```
|
448
|
+
* const client = longrunning.operationsClient();
|
449
|
+
* for await (const response of client.listOperationsAsync(request));
|
450
|
+
* // doThingsWith(response)
|
451
|
+
* ```
|
452
|
+
*/
|
453
|
+
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
|
454
|
+
/**
|
455
|
+
* Starts asynchronous cancellation on a long-running operation. The server
|
456
|
+
* makes a best effort to cancel the operation, but success is not
|
457
|
+
* guaranteed. If the server doesn't support this method, it returns
|
458
|
+
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
459
|
+
* {@link Operations.GetOperation} or
|
460
|
+
* other methods to check whether the cancellation succeeded or whether the
|
461
|
+
* operation completed despite cancellation. On successful cancellation,
|
462
|
+
* the operation is not deleted; instead, it becomes an operation with
|
463
|
+
* an {@link Operation.error} value with a {@link google.rpc.Status.code} of
|
464
|
+
* 1, corresponding to `Code.CANCELLED`.
|
465
|
+
*
|
466
|
+
* @param {Object} request - The request object that will be sent.
|
467
|
+
* @param {string} request.name - The name of the operation resource to be cancelled.
|
468
|
+
* @param {Object=} options
|
469
|
+
* Optional parameters. You can override the default settings for this call,
|
470
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
471
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
472
|
+
* details.
|
473
|
+
* @param {function(?Error)=} callback
|
474
|
+
* The function which will be called with the result of the API call.
|
475
|
+
* @return {Promise} - The promise which resolves when API call finishes.
|
476
|
+
* The promise has a method named "cancel" which cancels the ongoing API
|
477
|
+
* call.
|
478
|
+
*
|
479
|
+
* @example
|
480
|
+
* ```
|
481
|
+
* const client = longrunning.operationsClient();
|
482
|
+
* await client.cancelOperation({name: ''});
|
483
|
+
* ```
|
484
|
+
*/
|
485
|
+
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>;
|
486
|
+
/**
|
487
|
+
* Deletes a long-running operation. This method indicates that the client is
|
488
|
+
* no longer interested in the operation result. It does not cancel the
|
489
|
+
* operation. If the server doesn't support this method, it returns
|
490
|
+
* `google.rpc.Code.UNIMPLEMENTED`.
|
491
|
+
*
|
492
|
+
* @param {Object} request - The request object that will be sent.
|
493
|
+
* @param {string} request.name - The name of the operation resource to be deleted.
|
494
|
+
* @param {Object=} options
|
495
|
+
* Optional parameters. You can override the default settings for this call,
|
496
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
497
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
498
|
+
* for the details.
|
499
|
+
* @param {function(?Error)=} callback
|
500
|
+
* The function which will be called with the result of the API call.
|
501
|
+
* @return {Promise} - The promise which resolves when API call finishes.
|
502
|
+
* The promise has a method named "cancel" which cancels the ongoing API
|
503
|
+
* call.
|
504
|
+
*
|
505
|
+
* @example
|
506
|
+
* ```
|
507
|
+
* const client = longrunning.operationsClient();
|
508
|
+
* await client.deleteOperation({name: ''});
|
509
|
+
* ```
|
510
|
+
*/
|
511
|
+
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>;
|
512
|
+
/**
|
513
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
514
|
+
*
|
515
|
+
* @param {string} project
|
516
|
+
* @param {string} location
|
517
|
+
* @param {string} collection
|
518
|
+
* @param {string} data_store
|
519
|
+
* @returns {string} Resource name string.
|
520
|
+
*/
|
521
|
+
projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
|
522
|
+
/**
|
523
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
524
|
+
*
|
525
|
+
* @param {string} projectLocationCollectionDataStoreName
|
526
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
527
|
+
* @returns {string} A string representing the project.
|
528
|
+
*/
|
529
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
530
|
+
/**
|
531
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
532
|
+
*
|
533
|
+
* @param {string} projectLocationCollectionDataStoreName
|
534
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
535
|
+
* @returns {string} A string representing the location.
|
536
|
+
*/
|
537
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
538
|
+
/**
|
539
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
540
|
+
*
|
541
|
+
* @param {string} projectLocationCollectionDataStoreName
|
542
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
543
|
+
* @returns {string} A string representing the collection.
|
544
|
+
*/
|
545
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
546
|
+
/**
|
547
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
548
|
+
*
|
549
|
+
* @param {string} projectLocationCollectionDataStoreName
|
550
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
551
|
+
* @returns {string} A string representing the data_store.
|
552
|
+
*/
|
553
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
554
|
+
/**
|
555
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
|
556
|
+
*
|
557
|
+
* @param {string} project
|
558
|
+
* @param {string} location
|
559
|
+
* @param {string} collection
|
560
|
+
* @param {string} data_store
|
561
|
+
* @param {string} branch
|
562
|
+
* @param {string} document
|
563
|
+
* @returns {string} Resource name string.
|
564
|
+
*/
|
565
|
+
projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
|
566
|
+
/**
|
567
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
|
568
|
+
*
|
569
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
570
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
571
|
+
* @returns {string} A string representing the project.
|
572
|
+
*/
|
573
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
574
|
+
/**
|
575
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
|
576
|
+
*
|
577
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
578
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
579
|
+
* @returns {string} A string representing the location.
|
580
|
+
*/
|
581
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
582
|
+
/**
|
583
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
|
584
|
+
*
|
585
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
586
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
587
|
+
* @returns {string} A string representing the collection.
|
588
|
+
*/
|
589
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
590
|
+
/**
|
591
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
|
592
|
+
*
|
593
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
594
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
595
|
+
* @returns {string} A string representing the data_store.
|
596
|
+
*/
|
597
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
598
|
+
/**
|
599
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
|
600
|
+
*
|
601
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
602
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
603
|
+
* @returns {string} A string representing the branch.
|
604
|
+
*/
|
605
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
606
|
+
/**
|
607
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
|
608
|
+
*
|
609
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentName
|
610
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document resource.
|
611
|
+
* @returns {string} A string representing the document.
|
612
|
+
*/
|
613
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
614
|
+
/**
|
615
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
616
|
+
*
|
617
|
+
* @param {string} project
|
618
|
+
* @param {string} location
|
619
|
+
* @param {string} collection
|
620
|
+
* @param {string} data_store
|
621
|
+
* @param {string} schema
|
622
|
+
* @returns {string} Resource name string.
|
623
|
+
*/
|
624
|
+
projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
|
625
|
+
/**
|
626
|
+
* Parse the project from ProjectLocationCollectionDataStoreSchema resource.
|
627
|
+
*
|
628
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
629
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
630
|
+
* @returns {string} A string representing the project.
|
631
|
+
*/
|
632
|
+
matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
633
|
+
/**
|
634
|
+
* Parse the location from ProjectLocationCollectionDataStoreSchema resource.
|
635
|
+
*
|
636
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
637
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
638
|
+
* @returns {string} A string representing the location.
|
639
|
+
*/
|
640
|
+
matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
641
|
+
/**
|
642
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
|
643
|
+
*
|
644
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
645
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
646
|
+
* @returns {string} A string representing the collection.
|
647
|
+
*/
|
648
|
+
matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
649
|
+
/**
|
650
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
|
651
|
+
*
|
652
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
653
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
654
|
+
* @returns {string} A string representing the data_store.
|
655
|
+
*/
|
656
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
657
|
+
/**
|
658
|
+
* Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
|
659
|
+
*
|
660
|
+
* @param {string} projectLocationCollectionDataStoreSchemaName
|
661
|
+
* A fully-qualified path representing project_location_collection_data_store_schema resource.
|
662
|
+
* @returns {string} A string representing the schema.
|
663
|
+
*/
|
664
|
+
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
|
665
|
+
/**
|
666
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
667
|
+
*
|
668
|
+
* @param {string} project
|
669
|
+
* @param {string} location
|
670
|
+
* @param {string} data_store
|
671
|
+
* @returns {string} Resource name string.
|
672
|
+
*/
|
673
|
+
projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
|
674
|
+
/**
|
675
|
+
* Parse the project from ProjectLocationDataStore resource.
|
676
|
+
*
|
677
|
+
* @param {string} projectLocationDataStoreName
|
678
|
+
* A fully-qualified path representing project_location_data_store resource.
|
679
|
+
* @returns {string} A string representing the project.
|
680
|
+
*/
|
681
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
682
|
+
/**
|
683
|
+
* Parse the location from ProjectLocationDataStore resource.
|
684
|
+
*
|
685
|
+
* @param {string} projectLocationDataStoreName
|
686
|
+
* A fully-qualified path representing project_location_data_store resource.
|
687
|
+
* @returns {string} A string representing the location.
|
688
|
+
*/
|
689
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
690
|
+
/**
|
691
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
692
|
+
*
|
693
|
+
* @param {string} projectLocationDataStoreName
|
694
|
+
* A fully-qualified path representing project_location_data_store resource.
|
695
|
+
* @returns {string} A string representing the data_store.
|
696
|
+
*/
|
697
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
698
|
+
/**
|
699
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
|
700
|
+
*
|
701
|
+
* @param {string} project
|
702
|
+
* @param {string} location
|
703
|
+
* @param {string} data_store
|
704
|
+
* @param {string} branch
|
705
|
+
* @param {string} document
|
706
|
+
* @returns {string} Resource name string.
|
707
|
+
*/
|
708
|
+
projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
|
709
|
+
/**
|
710
|
+
* Parse the project from ProjectLocationDataStoreBranchDocument resource.
|
711
|
+
*
|
712
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
713
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
714
|
+
* @returns {string} A string representing the project.
|
715
|
+
*/
|
716
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
717
|
+
/**
|
718
|
+
* Parse the location from ProjectLocationDataStoreBranchDocument resource.
|
719
|
+
*
|
720
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
721
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
722
|
+
* @returns {string} A string representing the location.
|
723
|
+
*/
|
724
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
725
|
+
/**
|
726
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
|
727
|
+
*
|
728
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
729
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
730
|
+
* @returns {string} A string representing the data_store.
|
731
|
+
*/
|
732
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
733
|
+
/**
|
734
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocument resource.
|
735
|
+
*
|
736
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
737
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
738
|
+
* @returns {string} A string representing the branch.
|
739
|
+
*/
|
740
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
741
|
+
/**
|
742
|
+
* Parse the document from ProjectLocationDataStoreBranchDocument resource.
|
743
|
+
*
|
744
|
+
* @param {string} projectLocationDataStoreBranchDocumentName
|
745
|
+
* A fully-qualified path representing project_location_data_store_branch_document resource.
|
746
|
+
* @returns {string} A string representing the document.
|
747
|
+
*/
|
748
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
749
|
+
/**
|
750
|
+
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
751
|
+
*
|
752
|
+
* @param {string} project
|
753
|
+
* @param {string} location
|
754
|
+
* @param {string} data_store
|
755
|
+
* @param {string} schema
|
756
|
+
* @returns {string} Resource name string.
|
757
|
+
*/
|
758
|
+
projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
|
759
|
+
/**
|
760
|
+
* Parse the project from ProjectLocationDataStoreSchema resource.
|
761
|
+
*
|
762
|
+
* @param {string} projectLocationDataStoreSchemaName
|
763
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
764
|
+
* @returns {string} A string representing the project.
|
765
|
+
*/
|
766
|
+
matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
767
|
+
/**
|
768
|
+
* Parse the location from ProjectLocationDataStoreSchema resource.
|
769
|
+
*
|
770
|
+
* @param {string} projectLocationDataStoreSchemaName
|
771
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
772
|
+
* @returns {string} A string representing the location.
|
773
|
+
*/
|
774
|
+
matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
775
|
+
/**
|
776
|
+
* Parse the data_store from ProjectLocationDataStoreSchema resource.
|
777
|
+
*
|
778
|
+
* @param {string} projectLocationDataStoreSchemaName
|
779
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
780
|
+
* @returns {string} A string representing the data_store.
|
781
|
+
*/
|
782
|
+
matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
783
|
+
/**
|
784
|
+
* Parse the schema from ProjectLocationDataStoreSchema resource.
|
785
|
+
*
|
786
|
+
* @param {string} projectLocationDataStoreSchemaName
|
787
|
+
* A fully-qualified path representing project_location_data_store_schema resource.
|
788
|
+
* @returns {string} A string representing the schema.
|
789
|
+
*/
|
790
|
+
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
|
791
|
+
/**
|
792
|
+
* Terminate the gRPC channel and close the client.
|
793
|
+
*
|
794
|
+
* The client will no longer be usable and all future behavior is undefined.
|
795
|
+
* @returns {Promise} A promise that resolves when the client is closed.
|
796
|
+
*/
|
797
|
+
close(): Promise<void>;
|
798
|
+
}
|