@google-cloud/logging-api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +111 -0
  2. package/build/protos/google/logging/type/http_request.proto +95 -0
  3. package/build/protos/google/logging/type/log_severity.proto +71 -0
  4. package/build/protos/google/logging/v2/log_entry.proto +280 -0
  5. package/build/protos/google/logging/v2/logging.proto +483 -0
  6. package/build/protos/google/logging/v2/logging_config.proto +2317 -0
  7. package/build/protos/google/logging/v2/logging_metrics.proto +339 -0
  8. package/build/protos/protos.d.ts +19677 -0
  9. package/build/protos/protos.js +1 -0
  10. package/build/protos/protos.json +1 -0
  11. package/build/src/index.d.ts +17 -0
  12. package/build/src/index.js +32 -0
  13. package/build/src/index.js.map +1 -0
  14. package/build/src/v2/config_service_v2_client.d.ts +2879 -0
  15. package/build/src/v2/config_service_v2_client.js +3801 -0
  16. package/build/src/v2/config_service_v2_client.js.map +1 -0
  17. package/build/src/v2/config_service_v2_client_config.json +169 -0
  18. package/build/src/v2/config_service_v2_proto_list.json +8 -0
  19. package/build/src/v2/gapic_metadata.json +512 -0
  20. package/build/src/v2/index.d.ts +3 -0
  21. package/build/src/v2/index.js +27 -0
  22. package/build/src/v2/index.js.map +1 -0
  23. package/build/src/v2/logging_service_v2_client.d.ts +1617 -0
  24. package/build/src/v2/logging_service_v2_client.js +2177 -0
  25. package/build/src/v2/logging_service_v2_client.js.map +1 -0
  26. package/build/src/v2/logging_service_v2_client_config.json +61 -0
  27. package/build/src/v2/logging_service_v2_proto_list.json +8 -0
  28. package/build/src/v2/metrics_service_v2_client.d.ts +1249 -0
  29. package/build/src/v2/metrics_service_v2_client.js +1911 -0
  30. package/build/src/v2/metrics_service_v2_client.js.map +1 -0
  31. package/build/src/v2/metrics_service_v2_client_config.json +56 -0
  32. package/build/src/v2/metrics_service_v2_proto_list.json +8 -0
  33. package/package.json +67 -0
@@ -0,0 +1,2879 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Service for configuring sinks used to route log entries.
7
+ * @class
8
+ * @memberof v2
9
+ */
10
+ export declare class ConfigServiceV2Client {
11
+ private _terminated;
12
+ private _opts;
13
+ private _providedCustomServicePath;
14
+ private _gaxModule;
15
+ private _gaxGrpc;
16
+ private _protos;
17
+ private _defaults;
18
+ private _universeDomain;
19
+ private _servicePath;
20
+ private _log;
21
+ auth: gax.GoogleAuth;
22
+ descriptors: Descriptors;
23
+ warn: (code: string, message: string, warnType?: string) => void;
24
+ innerApiCalls: {
25
+ [name: string]: Function;
26
+ };
27
+ pathTemplates: {
28
+ [name: string]: gax.PathTemplate;
29
+ };
30
+ operationsClient: gax.OperationsClient;
31
+ configServiceV2Stub?: Promise<{
32
+ [name: string]: Function;
33
+ }>;
34
+ /**
35
+ * Construct an instance of ConfigServiceV2Client.
36
+ *
37
+ * @param {object} [options] - The configuration object.
38
+ * The options accepted by the constructor are described in detail
39
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
40
+ * The common options are:
41
+ * @param {object} [options.credentials] - Credentials object.
42
+ * @param {string} [options.credentials.client_email]
43
+ * @param {string} [options.credentials.private_key]
44
+ * @param {string} [options.email] - Account email address. Required when
45
+ * using a .pem or .p12 keyFilename.
46
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
47
+ * .p12 key downloaded from the Google Developers Console. If you provide
48
+ * a path to a JSON file, the projectId option below is not necessary.
49
+ * NOTE: .pem and .p12 require you to specify options.email as well.
50
+ * @param {number} [options.port] - The port on which to connect to
51
+ * the remote host.
52
+ * @param {string} [options.projectId] - The project ID from the Google
53
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
54
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
55
+ * app is running in an environment which supports
56
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
57
+ * your project ID will be detected automatically.
58
+ * @param {string} [options.apiEndpoint] - The domain name of the
59
+ * API remote host.
60
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
61
+ * Follows the structure of {@link gapicConfig}.
62
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
63
+ * For more information, please check the
64
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
65
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
66
+ * need to avoid loading the default gRPC version and want to use the fallback
67
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
68
+ * ```
69
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
70
+ * const client = new ConfigServiceV2Client({fallback: true}, gax);
71
+ * ```
72
+ */
73
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
74
+ /**
75
+ * Initialize the client.
76
+ * Performs asynchronous operations (such as authentication) and prepares the client.
77
+ * This function will be called automatically when any class method is called for the
78
+ * first time, but if you need to initialize it before calling an actual method,
79
+ * feel free to call initialize() directly.
80
+ *
81
+ * You can await on this method if you want to make sure the client is initialized.
82
+ *
83
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
84
+ */
85
+ initialize(): Promise<{
86
+ [name: string]: Function;
87
+ }>;
88
+ /**
89
+ * The DNS address for this API service.
90
+ * @deprecated Use the apiEndpoint method of the client instance.
91
+ * @returns {string} The DNS address for this service.
92
+ */
93
+ static get servicePath(): string;
94
+ /**
95
+ * The DNS address for this API service - same as servicePath.
96
+ * @deprecated Use the apiEndpoint method of the client instance.
97
+ * @returns {string} The DNS address for this service.
98
+ */
99
+ static get apiEndpoint(): string;
100
+ /**
101
+ * The DNS address for this API service.
102
+ * @returns {string} The DNS address for this service.
103
+ */
104
+ get apiEndpoint(): string;
105
+ get universeDomain(): string;
106
+ /**
107
+ * The port for this API service.
108
+ * @returns {number} The default port for this service.
109
+ */
110
+ static get port(): number;
111
+ /**
112
+ * The scopes needed to make gRPC calls for every method defined
113
+ * in this service.
114
+ * @returns {string[]} List of default scopes.
115
+ */
116
+ static get scopes(): string[];
117
+ getProjectId(): Promise<string>;
118
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
119
+ /**
120
+ * Gets a log bucket.
121
+ *
122
+ * @param {Object} request
123
+ * The request object that will be sent.
124
+ * @param {string} request.name
125
+ * Required. The resource name of the bucket:
126
+ *
127
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
128
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
129
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
130
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
131
+ *
132
+ * For example:
133
+ *
134
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
135
+ * @param {object} [options]
136
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
137
+ * @returns {Promise} - The promise which resolves to an array.
138
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogBucket|LogBucket}.
139
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
140
+ * for more details and examples.
141
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_bucket.js</caption>
142
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetBucket_async
143
+ */
144
+ getBucket(request?: protos.google.logging.v2.IGetBucketRequest, options?: CallOptions): Promise<[
145
+ protos.google.logging.v2.ILogBucket,
146
+ protos.google.logging.v2.IGetBucketRequest | undefined,
147
+ {} | undefined
148
+ ]>;
149
+ getBucket(request: protos.google.logging.v2.IGetBucketRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IGetBucketRequest | null | undefined, {} | null | undefined>): void;
150
+ getBucket(request: protos.google.logging.v2.IGetBucketRequest, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IGetBucketRequest | null | undefined, {} | null | undefined>): void;
151
+ /**
152
+ * Creates a log bucket that can be used to store log entries. After a bucket
153
+ * has been created, the bucket's location cannot be changed.
154
+ *
155
+ * @param {Object} request
156
+ * The request object that will be sent.
157
+ * @param {string} request.parent
158
+ * Required. The resource in which to create the log bucket:
159
+ *
160
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
161
+ *
162
+ * For example:
163
+ *
164
+ * `"projects/my-project/locations/global"`
165
+ * @param {string} request.bucketId
166
+ * Required. A client-assigned identifier such as `"my-bucket"`. Identifiers
167
+ * are limited to 100 characters and can include only letters, digits,
168
+ * underscores, hyphens, and periods.
169
+ * @param {google.logging.v2.LogBucket} request.bucket
170
+ * Required. The new bucket. The region specified in the new bucket must be
171
+ * compliant with any Location Restriction Org Policy. The name field in the
172
+ * bucket is ignored.
173
+ * @param {object} [options]
174
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
175
+ * @returns {Promise} - The promise which resolves to an array.
176
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogBucket|LogBucket}.
177
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
178
+ * for more details and examples.
179
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_bucket.js</caption>
180
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateBucket_async
181
+ */
182
+ createBucket(request?: protos.google.logging.v2.ICreateBucketRequest, options?: CallOptions): Promise<[
183
+ protos.google.logging.v2.ILogBucket,
184
+ protos.google.logging.v2.ICreateBucketRequest | undefined,
185
+ {} | undefined
186
+ ]>;
187
+ createBucket(request: protos.google.logging.v2.ICreateBucketRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.ICreateBucketRequest | null | undefined, {} | null | undefined>): void;
188
+ createBucket(request: protos.google.logging.v2.ICreateBucketRequest, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.ICreateBucketRequest | null | undefined, {} | null | undefined>): void;
189
+ /**
190
+ * Updates a log bucket.
191
+ *
192
+ * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then
193
+ * `FAILED_PRECONDITION` will be returned.
194
+ *
195
+ * After a bucket has been created, the bucket's location cannot be changed.
196
+ *
197
+ * @param {Object} request
198
+ * The request object that will be sent.
199
+ * @param {string} request.name
200
+ * Required. The full resource name of the bucket to update.
201
+ *
202
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
203
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
204
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
205
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
206
+ *
207
+ * For example:
208
+ *
209
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
210
+ * @param {google.logging.v2.LogBucket} request.bucket
211
+ * Required. The updated bucket.
212
+ * @param {google.protobuf.FieldMask} request.updateMask
213
+ * Required. Field mask that specifies the fields in `bucket` that need an
214
+ * update. A bucket field will be overwritten if, and only if, it is in the
215
+ * update mask. `name` and output only fields cannot be updated.
216
+ *
217
+ * For a detailed `FieldMask` definition, see:
218
+ * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
219
+ *
220
+ * For example: `updateMask=retention_days`
221
+ * @param {object} [options]
222
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
223
+ * @returns {Promise} - The promise which resolves to an array.
224
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogBucket|LogBucket}.
225
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
226
+ * for more details and examples.
227
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_bucket.js</caption>
228
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateBucket_async
229
+ */
230
+ updateBucket(request?: protos.google.logging.v2.IUpdateBucketRequest, options?: CallOptions): Promise<[
231
+ protos.google.logging.v2.ILogBucket,
232
+ protos.google.logging.v2.IUpdateBucketRequest | undefined,
233
+ {} | undefined
234
+ ]>;
235
+ updateBucket(request: protos.google.logging.v2.IUpdateBucketRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IUpdateBucketRequest | null | undefined, {} | null | undefined>): void;
236
+ updateBucket(request: protos.google.logging.v2.IUpdateBucketRequest, callback: Callback<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IUpdateBucketRequest | null | undefined, {} | null | undefined>): void;
237
+ /**
238
+ * Deletes a log bucket.
239
+ *
240
+ * Changes the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state.
241
+ * After 7 days, the bucket will be purged and all log entries in the bucket
242
+ * will be permanently deleted.
243
+ *
244
+ * @param {Object} request
245
+ * The request object that will be sent.
246
+ * @param {string} request.name
247
+ * Required. The full resource name of the bucket to delete.
248
+ *
249
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
250
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
251
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
252
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
253
+ *
254
+ * For example:
255
+ *
256
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
257
+ * @param {object} [options]
258
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
259
+ * @returns {Promise} - The promise which resolves to an array.
260
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
261
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
262
+ * for more details and examples.
263
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_bucket.js</caption>
264
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteBucket_async
265
+ */
266
+ deleteBucket(request?: protos.google.logging.v2.IDeleteBucketRequest, options?: CallOptions): Promise<[
267
+ protos.google.protobuf.IEmpty,
268
+ protos.google.logging.v2.IDeleteBucketRequest | undefined,
269
+ {} | undefined
270
+ ]>;
271
+ deleteBucket(request: protos.google.logging.v2.IDeleteBucketRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteBucketRequest | null | undefined, {} | null | undefined>): void;
272
+ deleteBucket(request: protos.google.logging.v2.IDeleteBucketRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteBucketRequest | null | undefined, {} | null | undefined>): void;
273
+ /**
274
+ * Undeletes a log bucket. A bucket that has been deleted can be undeleted
275
+ * within the grace period of 7 days.
276
+ *
277
+ * @param {Object} request
278
+ * The request object that will be sent.
279
+ * @param {string} request.name
280
+ * Required. The full resource name of the bucket to undelete.
281
+ *
282
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
283
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
284
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
285
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
286
+ *
287
+ * For example:
288
+ *
289
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
290
+ * @param {object} [options]
291
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
292
+ * @returns {Promise} - The promise which resolves to an array.
293
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
294
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
295
+ * for more details and examples.
296
+ * @example <caption>include:samples/generated/v2/config_service_v2.undelete_bucket.js</caption>
297
+ * region_tag:logging_v2_generated_ConfigServiceV2_UndeleteBucket_async
298
+ */
299
+ undeleteBucket(request?: protos.google.logging.v2.IUndeleteBucketRequest, options?: CallOptions): Promise<[
300
+ protos.google.protobuf.IEmpty,
301
+ protos.google.logging.v2.IUndeleteBucketRequest | undefined,
302
+ {} | undefined
303
+ ]>;
304
+ undeleteBucket(request: protos.google.logging.v2.IUndeleteBucketRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IUndeleteBucketRequest | null | undefined, {} | null | undefined>): void;
305
+ undeleteBucket(request: protos.google.logging.v2.IUndeleteBucketRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IUndeleteBucketRequest | null | undefined, {} | null | undefined>): void;
306
+ /**
307
+ * Gets a view on a log bucket..
308
+ *
309
+ * @param {Object} request
310
+ * The request object that will be sent.
311
+ * @param {string} request.name
312
+ * Required. The resource name of the policy:
313
+ *
314
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
315
+ *
316
+ * For example:
317
+ *
318
+ * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
319
+ * @param {object} [options]
320
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
321
+ * @returns {Promise} - The promise which resolves to an array.
322
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogView|LogView}.
323
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
324
+ * for more details and examples.
325
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_view.js</caption>
326
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetView_async
327
+ */
328
+ getView(request?: protos.google.logging.v2.IGetViewRequest, options?: CallOptions): Promise<[
329
+ protos.google.logging.v2.ILogView,
330
+ protos.google.logging.v2.IGetViewRequest | undefined,
331
+ {} | undefined
332
+ ]>;
333
+ getView(request: protos.google.logging.v2.IGetViewRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.IGetViewRequest | null | undefined, {} | null | undefined>): void;
334
+ getView(request: protos.google.logging.v2.IGetViewRequest, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.IGetViewRequest | null | undefined, {} | null | undefined>): void;
335
+ /**
336
+ * Creates a view over log entries in a log bucket. A bucket may contain a
337
+ * maximum of 30 views.
338
+ *
339
+ * @param {Object} request
340
+ * The request object that will be sent.
341
+ * @param {string} request.parent
342
+ * Required. The bucket in which to create the view
343
+ *
344
+ * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
345
+ *
346
+ * For example:
347
+ *
348
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
349
+ * @param {string} request.viewId
350
+ * Required. A client-assigned identifier such as `"my-view"`. Identifiers are
351
+ * limited to 100 characters and can include only letters, digits,
352
+ * underscores, hyphens, and periods.
353
+ * @param {google.logging.v2.LogView} request.view
354
+ * Required. The new view.
355
+ * @param {object} [options]
356
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
357
+ * @returns {Promise} - The promise which resolves to an array.
358
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogView|LogView}.
359
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
360
+ * for more details and examples.
361
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_view.js</caption>
362
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateView_async
363
+ */
364
+ createView(request?: protos.google.logging.v2.ICreateViewRequest, options?: CallOptions): Promise<[
365
+ protos.google.logging.v2.ILogView,
366
+ protos.google.logging.v2.ICreateViewRequest | undefined,
367
+ {} | undefined
368
+ ]>;
369
+ createView(request: protos.google.logging.v2.ICreateViewRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.ICreateViewRequest | null | undefined, {} | null | undefined>): void;
370
+ createView(request: protos.google.logging.v2.ICreateViewRequest, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.ICreateViewRequest | null | undefined, {} | null | undefined>): void;
371
+ /**
372
+ * Updates a view on a log bucket. This method replaces the following fields
373
+ * in the existing view with values from the new view: `filter`.
374
+ * If an `UNAVAILABLE` error is returned, this indicates that system is not in
375
+ * a state where it can update the view. If this occurs, please try again in a
376
+ * few minutes.
377
+ *
378
+ * @param {Object} request
379
+ * The request object that will be sent.
380
+ * @param {string} request.name
381
+ * Required. The full resource name of the view to update
382
+ *
383
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
384
+ *
385
+ * For example:
386
+ *
387
+ * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
388
+ * @param {google.logging.v2.LogView} request.view
389
+ * Required. The updated view.
390
+ * @param {google.protobuf.FieldMask} [request.updateMask]
391
+ * Optional. Field mask that specifies the fields in `view` that need
392
+ * an update. A field will be overwritten if, and only if, it is
393
+ * in the update mask. `name` and output only fields cannot be updated.
394
+ *
395
+ * For a detailed `FieldMask` definition, see
396
+ * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
397
+ *
398
+ * For example: `updateMask=filter`
399
+ * @param {object} [options]
400
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
401
+ * @returns {Promise} - The promise which resolves to an array.
402
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogView|LogView}.
403
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
404
+ * for more details and examples.
405
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_view.js</caption>
406
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateView_async
407
+ */
408
+ updateView(request?: protos.google.logging.v2.IUpdateViewRequest, options?: CallOptions): Promise<[
409
+ protos.google.logging.v2.ILogView,
410
+ protos.google.logging.v2.IUpdateViewRequest | undefined,
411
+ {} | undefined
412
+ ]>;
413
+ updateView(request: protos.google.logging.v2.IUpdateViewRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.IUpdateViewRequest | null | undefined, {} | null | undefined>): void;
414
+ updateView(request: protos.google.logging.v2.IUpdateViewRequest, callback: Callback<protos.google.logging.v2.ILogView, protos.google.logging.v2.IUpdateViewRequest | null | undefined, {} | null | undefined>): void;
415
+ /**
416
+ * Deletes a view on a log bucket.
417
+ * If an `UNAVAILABLE` error is returned, this indicates that system is not in
418
+ * a state where it can delete the view. If this occurs, please try again in a
419
+ * few minutes.
420
+ *
421
+ * @param {Object} request
422
+ * The request object that will be sent.
423
+ * @param {string} request.name
424
+ * Required. The full resource name of the view to delete:
425
+ *
426
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
427
+ *
428
+ * For example:
429
+ *
430
+ * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
431
+ * @param {object} [options]
432
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
433
+ * @returns {Promise} - The promise which resolves to an array.
434
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
435
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
436
+ * for more details and examples.
437
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_view.js</caption>
438
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteView_async
439
+ */
440
+ deleteView(request?: protos.google.logging.v2.IDeleteViewRequest, options?: CallOptions): Promise<[
441
+ protos.google.protobuf.IEmpty,
442
+ protos.google.logging.v2.IDeleteViewRequest | undefined,
443
+ {} | undefined
444
+ ]>;
445
+ deleteView(request: protos.google.logging.v2.IDeleteViewRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteViewRequest | null | undefined, {} | null | undefined>): void;
446
+ deleteView(request: protos.google.logging.v2.IDeleteViewRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteViewRequest | null | undefined, {} | null | undefined>): void;
447
+ /**
448
+ * Gets a sink.
449
+ *
450
+ * @param {Object} request
451
+ * The request object that will be sent.
452
+ * @param {string} request.sinkName
453
+ * Required. The resource name of the sink:
454
+ *
455
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
456
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
457
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
458
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
459
+ *
460
+ * For example:
461
+ *
462
+ * `"projects/my-project/sinks/my-sink"`
463
+ * @param {object} [options]
464
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
465
+ * @returns {Promise} - The promise which resolves to an array.
466
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogSink|LogSink}.
467
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
468
+ * for more details and examples.
469
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_sink.js</caption>
470
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetSink_async
471
+ */
472
+ getSink(request?: protos.google.logging.v2.IGetSinkRequest, options?: CallOptions): Promise<[
473
+ protos.google.logging.v2.ILogSink,
474
+ protos.google.logging.v2.IGetSinkRequest | undefined,
475
+ {} | undefined
476
+ ]>;
477
+ getSink(request: protos.google.logging.v2.IGetSinkRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.IGetSinkRequest | null | undefined, {} | null | undefined>): void;
478
+ getSink(request: protos.google.logging.v2.IGetSinkRequest, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.IGetSinkRequest | null | undefined, {} | null | undefined>): void;
479
+ /**
480
+ * Creates a sink that exports specified log entries to a destination. The
481
+ * export of newly-ingested log entries begins immediately, unless the sink's
482
+ * `writer_identity` is not permitted to write to the destination. A sink can
483
+ * export log entries only from the resource owning the sink.
484
+ *
485
+ * @param {Object} request
486
+ * The request object that will be sent.
487
+ * @param {string} request.parent
488
+ * Required. The resource in which to create the sink:
489
+ *
490
+ * "projects/[PROJECT_ID]"
491
+ * "organizations/[ORGANIZATION_ID]"
492
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
493
+ * "folders/[FOLDER_ID]"
494
+ *
495
+ * For examples:
496
+ *
497
+ * `"projects/my-project"`
498
+ * `"organizations/123456789"`
499
+ * @param {google.logging.v2.LogSink} request.sink
500
+ * Required. The new sink, whose `name` parameter is a sink identifier that
501
+ * is not already in use.
502
+ * @param {boolean} [request.uniqueWriterIdentity]
503
+ * Optional. Determines the kind of IAM identity returned as `writer_identity`
504
+ * in the new sink. If this value is omitted or set to false, and if the
505
+ * sink's parent is a project, then the value returned as `writer_identity` is
506
+ * the same group or service account used by Cloud Logging before the addition
507
+ * of writer identities to this API. The sink's destination must be in the
508
+ * same project as the sink itself.
509
+ *
510
+ * If this field is set to true, or if the sink is owned by a non-project
511
+ * resource such as an organization, then the value of `writer_identity` will
512
+ * be a unique service account used only for exports from the new sink. For
513
+ * more information, see `writer_identity` in
514
+ * {@link protos.google.logging.v2.LogSink|LogSink}.
515
+ * @param {object} [options]
516
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
517
+ * @returns {Promise} - The promise which resolves to an array.
518
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogSink|LogSink}.
519
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
520
+ * for more details and examples.
521
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_sink.js</caption>
522
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateSink_async
523
+ */
524
+ createSink(request?: protos.google.logging.v2.ICreateSinkRequest, options?: CallOptions): Promise<[
525
+ protos.google.logging.v2.ILogSink,
526
+ protos.google.logging.v2.ICreateSinkRequest | undefined,
527
+ {} | undefined
528
+ ]>;
529
+ createSink(request: protos.google.logging.v2.ICreateSinkRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.ICreateSinkRequest | null | undefined, {} | null | undefined>): void;
530
+ createSink(request: protos.google.logging.v2.ICreateSinkRequest, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.ICreateSinkRequest | null | undefined, {} | null | undefined>): void;
531
+ /**
532
+ * Updates a sink. This method replaces the following fields in the existing
533
+ * sink with values from the new sink: `destination`, and `filter`.
534
+ *
535
+ * The updated sink might also have a new `writer_identity`; see the
536
+ * `unique_writer_identity` field.
537
+ *
538
+ * @param {Object} request
539
+ * The request object that will be sent.
540
+ * @param {string} request.sinkName
541
+ * Required. The full resource name of the sink to update, including the
542
+ * parent resource and the sink identifier:
543
+ *
544
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
545
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
546
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
547
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
548
+ *
549
+ * For example:
550
+ *
551
+ * `"projects/my-project/sinks/my-sink"`
552
+ * @param {google.logging.v2.LogSink} request.sink
553
+ * Required. The updated sink, whose name is the same identifier that appears
554
+ * as part of `sink_name`.
555
+ * @param {boolean} [request.uniqueWriterIdentity]
556
+ * Optional. See {@link protos.google.logging.v2.ConfigServiceV2.CreateSink|sinks.create}
557
+ * for a description of this field. When updating a sink, the effect of this
558
+ * field on the value of `writer_identity` in the updated sink depends on both
559
+ * the old and new values of this field:
560
+ *
561
+ * + If the old and new values of this field are both false or both true,
562
+ * then there is no change to the sink's `writer_identity`.
563
+ * + If the old value is false and the new value is true, then
564
+ * `writer_identity` is changed to a unique service account.
565
+ * + It is an error if the old value is true and the new value is
566
+ * set to false or defaulted to false.
567
+ * @param {google.protobuf.FieldMask} [request.updateMask]
568
+ * Optional. Field mask that specifies the fields in `sink` that need
569
+ * an update. A sink field will be overwritten if, and only if, it is
570
+ * in the update mask. `name` and output only fields cannot be updated.
571
+ *
572
+ * An empty `updateMask` is temporarily treated as using the following mask
573
+ * for backwards compatibility purposes:
574
+ *
575
+ * `destination,filter,includeChildren`
576
+ *
577
+ * At some point in the future, behavior will be removed and specifying an
578
+ * empty `updateMask` will be an error.
579
+ *
580
+ * For a detailed `FieldMask` definition, see
581
+ * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
582
+ *
583
+ * For example: `updateMask=filter`
584
+ * @param {object} [options]
585
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
586
+ * @returns {Promise} - The promise which resolves to an array.
587
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogSink|LogSink}.
588
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
589
+ * for more details and examples.
590
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_sink.js</caption>
591
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateSink_async
592
+ */
593
+ updateSink(request?: protos.google.logging.v2.IUpdateSinkRequest, options?: CallOptions): Promise<[
594
+ protos.google.logging.v2.ILogSink,
595
+ protos.google.logging.v2.IUpdateSinkRequest | undefined,
596
+ {} | undefined
597
+ ]>;
598
+ updateSink(request: protos.google.logging.v2.IUpdateSinkRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.IUpdateSinkRequest | null | undefined, {} | null | undefined>): void;
599
+ updateSink(request: protos.google.logging.v2.IUpdateSinkRequest, callback: Callback<protos.google.logging.v2.ILogSink, protos.google.logging.v2.IUpdateSinkRequest | null | undefined, {} | null | undefined>): void;
600
+ /**
601
+ * Deletes a sink. If the sink has a unique `writer_identity`, then that
602
+ * service account is also deleted.
603
+ *
604
+ * @param {Object} request
605
+ * The request object that will be sent.
606
+ * @param {string} request.sinkName
607
+ * Required. The full resource name of the sink to delete, including the
608
+ * parent resource and the sink identifier:
609
+ *
610
+ * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
611
+ * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
612
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
613
+ * "folders/[FOLDER_ID]/sinks/[SINK_ID]"
614
+ *
615
+ * For example:
616
+ *
617
+ * `"projects/my-project/sinks/my-sink"`
618
+ * @param {object} [options]
619
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
620
+ * @returns {Promise} - The promise which resolves to an array.
621
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
622
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
623
+ * for more details and examples.
624
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_sink.js</caption>
625
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteSink_async
626
+ */
627
+ deleteSink(request?: protos.google.logging.v2.IDeleteSinkRequest, options?: CallOptions): Promise<[
628
+ protos.google.protobuf.IEmpty,
629
+ protos.google.logging.v2.IDeleteSinkRequest | undefined,
630
+ {} | undefined
631
+ ]>;
632
+ deleteSink(request: protos.google.logging.v2.IDeleteSinkRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteSinkRequest | null | undefined, {} | null | undefined>): void;
633
+ deleteSink(request: protos.google.logging.v2.IDeleteSinkRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteSinkRequest | null | undefined, {} | null | undefined>): void;
634
+ /**
635
+ * Gets a link.
636
+ *
637
+ * @param {Object} request
638
+ * The request object that will be sent.
639
+ * @param {string} request.name
640
+ * Required. The resource name of the link:
641
+ *
642
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
643
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
644
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
645
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
646
+ * @param {object} [options]
647
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
648
+ * @returns {Promise} - The promise which resolves to an array.
649
+ * The first element of the array is an object representing {@link protos.google.logging.v2.Link|Link}.
650
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
651
+ * for more details and examples.
652
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_link.js</caption>
653
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetLink_async
654
+ */
655
+ getLink(request?: protos.google.logging.v2.IGetLinkRequest, options?: CallOptions): Promise<[
656
+ protos.google.logging.v2.ILink,
657
+ protos.google.logging.v2.IGetLinkRequest | undefined,
658
+ {} | undefined
659
+ ]>;
660
+ getLink(request: protos.google.logging.v2.IGetLinkRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILink, protos.google.logging.v2.IGetLinkRequest | null | undefined, {} | null | undefined>): void;
661
+ getLink(request: protos.google.logging.v2.IGetLinkRequest, callback: Callback<protos.google.logging.v2.ILink, protos.google.logging.v2.IGetLinkRequest | null | undefined, {} | null | undefined>): void;
662
+ /**
663
+ * Gets the description of an exclusion in the _Default sink.
664
+ *
665
+ * @param {Object} request
666
+ * The request object that will be sent.
667
+ * @param {string} request.name
668
+ * Required. The resource name of an existing exclusion:
669
+ *
670
+ * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
671
+ * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
672
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
673
+ * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
674
+ *
675
+ * For example:
676
+ *
677
+ * `"projects/my-project/exclusions/my-exclusion"`
678
+ * @param {object} [options]
679
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
680
+ * @returns {Promise} - The promise which resolves to an array.
681
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogExclusion|LogExclusion}.
682
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
683
+ * for more details and examples.
684
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_exclusion.js</caption>
685
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetExclusion_async
686
+ */
687
+ getExclusion(request?: protos.google.logging.v2.IGetExclusionRequest, options?: CallOptions): Promise<[
688
+ protos.google.logging.v2.ILogExclusion,
689
+ protos.google.logging.v2.IGetExclusionRequest | undefined,
690
+ {} | undefined
691
+ ]>;
692
+ getExclusion(request: protos.google.logging.v2.IGetExclusionRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.IGetExclusionRequest | null | undefined, {} | null | undefined>): void;
693
+ getExclusion(request: protos.google.logging.v2.IGetExclusionRequest, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.IGetExclusionRequest | null | undefined, {} | null | undefined>): void;
694
+ /**
695
+ * Creates a new exclusion in the _Default sink in a specified parent
696
+ * resource. Only log entries belonging to that resource can be excluded. You
697
+ * can have up to 10 exclusions in a resource.
698
+ *
699
+ * @param {Object} request
700
+ * The request object that will be sent.
701
+ * @param {string} request.parent
702
+ * Required. The parent resource in which to create the exclusion:
703
+ *
704
+ * "projects/[PROJECT_ID]"
705
+ * "organizations/[ORGANIZATION_ID]"
706
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
707
+ * "folders/[FOLDER_ID]"
708
+ *
709
+ * For examples:
710
+ *
711
+ * `"projects/my-logging-project"`
712
+ * `"organizations/123456789"`
713
+ * @param {google.logging.v2.LogExclusion} request.exclusion
714
+ * Required. The new exclusion, whose `name` parameter is an exclusion name
715
+ * that is not already used in the parent resource.
716
+ * @param {object} [options]
717
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
718
+ * @returns {Promise} - The promise which resolves to an array.
719
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogExclusion|LogExclusion}.
720
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
721
+ * for more details and examples.
722
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_exclusion.js</caption>
723
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateExclusion_async
724
+ */
725
+ createExclusion(request?: protos.google.logging.v2.ICreateExclusionRequest, options?: CallOptions): Promise<[
726
+ protos.google.logging.v2.ILogExclusion,
727
+ protos.google.logging.v2.ICreateExclusionRequest | undefined,
728
+ {} | undefined
729
+ ]>;
730
+ createExclusion(request: protos.google.logging.v2.ICreateExclusionRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.ICreateExclusionRequest | null | undefined, {} | null | undefined>): void;
731
+ createExclusion(request: protos.google.logging.v2.ICreateExclusionRequest, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.ICreateExclusionRequest | null | undefined, {} | null | undefined>): void;
732
+ /**
733
+ * Changes one or more properties of an existing exclusion in the _Default
734
+ * sink.
735
+ *
736
+ * @param {Object} request
737
+ * The request object that will be sent.
738
+ * @param {string} request.name
739
+ * Required. The resource name of the exclusion to update:
740
+ *
741
+ * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
742
+ * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
743
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
744
+ * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
745
+ *
746
+ * For example:
747
+ *
748
+ * `"projects/my-project/exclusions/my-exclusion"`
749
+ * @param {google.logging.v2.LogExclusion} request.exclusion
750
+ * Required. New values for the existing exclusion. Only the fields specified
751
+ * in `update_mask` are relevant.
752
+ * @param {google.protobuf.FieldMask} request.updateMask
753
+ * Required. A non-empty list of fields to change in the existing exclusion.
754
+ * New values for the fields are taken from the corresponding fields in the
755
+ * {@link protos.google.logging.v2.LogExclusion|LogExclusion} included in this request.
756
+ * Fields not mentioned in `update_mask` are not changed and are ignored in
757
+ * the request.
758
+ *
759
+ * For example, to change the filter and description of an exclusion,
760
+ * specify an `update_mask` of `"filter,description"`.
761
+ * @param {object} [options]
762
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
763
+ * @returns {Promise} - The promise which resolves to an array.
764
+ * The first element of the array is an object representing {@link protos.google.logging.v2.LogExclusion|LogExclusion}.
765
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
766
+ * for more details and examples.
767
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_exclusion.js</caption>
768
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateExclusion_async
769
+ */
770
+ updateExclusion(request?: protos.google.logging.v2.IUpdateExclusionRequest, options?: CallOptions): Promise<[
771
+ protos.google.logging.v2.ILogExclusion,
772
+ protos.google.logging.v2.IUpdateExclusionRequest | undefined,
773
+ {} | undefined
774
+ ]>;
775
+ updateExclusion(request: protos.google.logging.v2.IUpdateExclusionRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.IUpdateExclusionRequest | null | undefined, {} | null | undefined>): void;
776
+ updateExclusion(request: protos.google.logging.v2.IUpdateExclusionRequest, callback: Callback<protos.google.logging.v2.ILogExclusion, protos.google.logging.v2.IUpdateExclusionRequest | null | undefined, {} | null | undefined>): void;
777
+ /**
778
+ * Deletes an exclusion in the _Default sink.
779
+ *
780
+ * @param {Object} request
781
+ * The request object that will be sent.
782
+ * @param {string} request.name
783
+ * Required. The resource name of an existing exclusion to delete:
784
+ *
785
+ * "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
786
+ * "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
787
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
788
+ * "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
789
+ *
790
+ * For example:
791
+ *
792
+ * `"projects/my-project/exclusions/my-exclusion"`
793
+ * @param {object} [options]
794
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
795
+ * @returns {Promise} - The promise which resolves to an array.
796
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
797
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
798
+ * for more details and examples.
799
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_exclusion.js</caption>
800
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteExclusion_async
801
+ */
802
+ deleteExclusion(request?: protos.google.logging.v2.IDeleteExclusionRequest, options?: CallOptions): Promise<[
803
+ protos.google.protobuf.IEmpty,
804
+ protos.google.logging.v2.IDeleteExclusionRequest | undefined,
805
+ {} | undefined
806
+ ]>;
807
+ deleteExclusion(request: protos.google.logging.v2.IDeleteExclusionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteExclusionRequest | null | undefined, {} | null | undefined>): void;
808
+ deleteExclusion(request: protos.google.logging.v2.IDeleteExclusionRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteExclusionRequest | null | undefined, {} | null | undefined>): void;
809
+ /**
810
+ * Gets the Logging CMEK settings for the given resource.
811
+ *
812
+ * Note: CMEK for the Log Router can be configured for Google Cloud projects,
813
+ * folders, organizations and billing accounts. Once configured for an
814
+ * organization, it applies to all projects and folders in the Google Cloud
815
+ * organization.
816
+ *
817
+ * See [Enabling CMEK for Log
818
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
819
+ * for more information.
820
+ *
821
+ * @param {Object} request
822
+ * The request object that will be sent.
823
+ * @param {string} request.name
824
+ * Required. The resource for which to retrieve CMEK settings.
825
+ *
826
+ * "projects/[PROJECT_ID]/cmekSettings"
827
+ * "organizations/[ORGANIZATION_ID]/cmekSettings"
828
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
829
+ * "folders/[FOLDER_ID]/cmekSettings"
830
+ *
831
+ * For example:
832
+ *
833
+ * `"organizations/12345/cmekSettings"`
834
+ *
835
+ * Note: CMEK for the Log Router can be configured for Google Cloud projects,
836
+ * folders, organizations and billing accounts. Once configured for an
837
+ * organization, it applies to all projects and folders in the Google Cloud
838
+ * organization.
839
+ * @param {object} [options]
840
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
841
+ * @returns {Promise} - The promise which resolves to an array.
842
+ * The first element of the array is an object representing {@link protos.google.logging.v2.CmekSettings|CmekSettings}.
843
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
844
+ * for more details and examples.
845
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_cmek_settings.js</caption>
846
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetCmekSettings_async
847
+ */
848
+ getCmekSettings(request?: protos.google.logging.v2.IGetCmekSettingsRequest, options?: CallOptions): Promise<[
849
+ protos.google.logging.v2.ICmekSettings,
850
+ protos.google.logging.v2.IGetCmekSettingsRequest | undefined,
851
+ {} | undefined
852
+ ]>;
853
+ getCmekSettings(request: protos.google.logging.v2.IGetCmekSettingsRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ICmekSettings, protos.google.logging.v2.IGetCmekSettingsRequest | null | undefined, {} | null | undefined>): void;
854
+ getCmekSettings(request: protos.google.logging.v2.IGetCmekSettingsRequest, callback: Callback<protos.google.logging.v2.ICmekSettings, protos.google.logging.v2.IGetCmekSettingsRequest | null | undefined, {} | null | undefined>): void;
855
+ /**
856
+ * Updates the Log Router CMEK settings for the given resource.
857
+ *
858
+ * Note: CMEK for the Log Router can currently only be configured for Google
859
+ * Cloud organizations. Once configured, it applies to all projects and
860
+ * folders in the Google Cloud organization.
861
+ *
862
+ * {@link protos.google.logging.v2.ConfigServiceV2.UpdateCmekSettings|UpdateCmekSettings}
863
+ * will fail if 1) `kms_key_name` is invalid, or 2) the associated service
864
+ * account does not have the required
865
+ * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or
866
+ * 3) access to the key is disabled.
867
+ *
868
+ * See [Enabling CMEK for Log
869
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
870
+ * for more information.
871
+ *
872
+ * @param {Object} request
873
+ * The request object that will be sent.
874
+ * @param {string} request.name
875
+ * Required. The resource name for the CMEK settings to update.
876
+ *
877
+ * "projects/[PROJECT_ID]/cmekSettings"
878
+ * "organizations/[ORGANIZATION_ID]/cmekSettings"
879
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
880
+ * "folders/[FOLDER_ID]/cmekSettings"
881
+ *
882
+ * For example:
883
+ *
884
+ * `"organizations/12345/cmekSettings"`
885
+ *
886
+ * Note: CMEK for the Log Router can currently only be configured for Google
887
+ * Cloud organizations. Once configured, it applies to all projects and
888
+ * folders in the Google Cloud organization.
889
+ * @param {google.logging.v2.CmekSettings} request.cmekSettings
890
+ * Required. The CMEK settings to update.
891
+ *
892
+ * See [Enabling CMEK for Log
893
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
894
+ * for more information.
895
+ * @param {google.protobuf.FieldMask} [request.updateMask]
896
+ * Optional. Field mask identifying which fields from `cmek_settings` should
897
+ * be updated. A field will be overwritten if and only if it is in the update
898
+ * mask. Output only fields cannot be updated.
899
+ *
900
+ * See {@link protos.google.protobuf.FieldMask|FieldMask} for more information.
901
+ *
902
+ * For example: `"updateMask=kmsKeyName"`
903
+ * @param {object} [options]
904
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
905
+ * @returns {Promise} - The promise which resolves to an array.
906
+ * The first element of the array is an object representing {@link protos.google.logging.v2.CmekSettings|CmekSettings}.
907
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
908
+ * for more details and examples.
909
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_cmek_settings.js</caption>
910
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateCmekSettings_async
911
+ */
912
+ updateCmekSettings(request?: protos.google.logging.v2.IUpdateCmekSettingsRequest, options?: CallOptions): Promise<[
913
+ protos.google.logging.v2.ICmekSettings,
914
+ protos.google.logging.v2.IUpdateCmekSettingsRequest | undefined,
915
+ {} | undefined
916
+ ]>;
917
+ updateCmekSettings(request: protos.google.logging.v2.IUpdateCmekSettingsRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ICmekSettings, protos.google.logging.v2.IUpdateCmekSettingsRequest | null | undefined, {} | null | undefined>): void;
918
+ updateCmekSettings(request: protos.google.logging.v2.IUpdateCmekSettingsRequest, callback: Callback<protos.google.logging.v2.ICmekSettings, protos.google.logging.v2.IUpdateCmekSettingsRequest | null | undefined, {} | null | undefined>): void;
919
+ /**
920
+ * Gets the Log Router settings for the given resource.
921
+ *
922
+ * Note: Settings for the Log Router can be get for Google Cloud projects,
923
+ * folders, organizations and billing accounts. Currently it can only be
924
+ * configured for organizations. Once configured for an organization, it
925
+ * applies to all projects and folders in the Google Cloud organization.
926
+ *
927
+ * See [Enabling CMEK for Log
928
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
929
+ * for more information.
930
+ *
931
+ * @param {Object} request
932
+ * The request object that will be sent.
933
+ * @param {string} request.name
934
+ * Required. The resource for which to retrieve settings.
935
+ *
936
+ * "projects/[PROJECT_ID]/settings"
937
+ * "organizations/[ORGANIZATION_ID]/settings"
938
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
939
+ * "folders/[FOLDER_ID]/settings"
940
+ *
941
+ * For example:
942
+ *
943
+ * `"organizations/12345/settings"`
944
+ *
945
+ * Note: Settings for the Log Router can be get for Google Cloud projects,
946
+ * folders, organizations and billing accounts. Currently it can only be
947
+ * configured for organizations. Once configured for an organization, it
948
+ * applies to all projects and folders in the Google Cloud organization.
949
+ * @param {object} [options]
950
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
951
+ * @returns {Promise} - The promise which resolves to an array.
952
+ * The first element of the array is an object representing {@link protos.google.logging.v2.Settings|Settings}.
953
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
954
+ * for more details and examples.
955
+ * @example <caption>include:samples/generated/v2/config_service_v2.get_settings.js</caption>
956
+ * region_tag:logging_v2_generated_ConfigServiceV2_GetSettings_async
957
+ */
958
+ getSettings(request?: protos.google.logging.v2.IGetSettingsRequest, options?: CallOptions): Promise<[
959
+ protos.google.logging.v2.ISettings,
960
+ protos.google.logging.v2.IGetSettingsRequest | undefined,
961
+ {} | undefined
962
+ ]>;
963
+ getSettings(request: protos.google.logging.v2.IGetSettingsRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ISettings, protos.google.logging.v2.IGetSettingsRequest | null | undefined, {} | null | undefined>): void;
964
+ getSettings(request: protos.google.logging.v2.IGetSettingsRequest, callback: Callback<protos.google.logging.v2.ISettings, protos.google.logging.v2.IGetSettingsRequest | null | undefined, {} | null | undefined>): void;
965
+ /**
966
+ * Updates the Log Router settings for the given resource.
967
+ *
968
+ * Note: Settings for the Log Router can currently only be configured for
969
+ * Google Cloud organizations. Once configured, it applies to all projects and
970
+ * folders in the Google Cloud organization.
971
+ *
972
+ * {@link protos.google.logging.v2.ConfigServiceV2.UpdateSettings|UpdateSettings}
973
+ * will fail if 1) `kms_key_name` is invalid, or 2) the associated service
974
+ * account does not have the required
975
+ * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or
976
+ * 3) access to the key is disabled. 4) `location_id` is not supported by
977
+ * Logging. 5) `location_id` violate OrgPolicy.
978
+ *
979
+ * See [Enabling CMEK for Log
980
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
981
+ * for more information.
982
+ *
983
+ * @param {Object} request
984
+ * The request object that will be sent.
985
+ * @param {string} request.name
986
+ * Required. The resource name for the settings to update.
987
+ *
988
+ * "organizations/[ORGANIZATION_ID]/settings"
989
+ *
990
+ * For example:
991
+ *
992
+ * `"organizations/12345/settings"`
993
+ *
994
+ * Note: Settings for the Log Router can currently only be configured for
995
+ * Google Cloud organizations. Once configured, it applies to all projects and
996
+ * folders in the Google Cloud organization.
997
+ * @param {google.logging.v2.Settings} request.settings
998
+ * Required. The settings to update.
999
+ *
1000
+ * See [Enabling CMEK for Log
1001
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
1002
+ * for more information.
1003
+ * @param {google.protobuf.FieldMask} [request.updateMask]
1004
+ * Optional. Field mask identifying which fields from `settings` should
1005
+ * be updated. A field will be overwritten if and only if it is in the update
1006
+ * mask. Output only fields cannot be updated.
1007
+ *
1008
+ * See {@link protos.google.protobuf.FieldMask|FieldMask} for more information.
1009
+ *
1010
+ * For example: `"updateMask=kmsKeyName"`
1011
+ * @param {object} [options]
1012
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1013
+ * @returns {Promise} - The promise which resolves to an array.
1014
+ * The first element of the array is an object representing {@link protos.google.logging.v2.Settings|Settings}.
1015
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
1016
+ * for more details and examples.
1017
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_settings.js</caption>
1018
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateSettings_async
1019
+ */
1020
+ updateSettings(request?: protos.google.logging.v2.IUpdateSettingsRequest, options?: CallOptions): Promise<[
1021
+ protos.google.logging.v2.ISettings,
1022
+ protos.google.logging.v2.IUpdateSettingsRequest | undefined,
1023
+ {} | undefined
1024
+ ]>;
1025
+ updateSettings(request: protos.google.logging.v2.IUpdateSettingsRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ISettings, protos.google.logging.v2.IUpdateSettingsRequest | null | undefined, {} | null | undefined>): void;
1026
+ updateSettings(request: protos.google.logging.v2.IUpdateSettingsRequest, callback: Callback<protos.google.logging.v2.ISettings, protos.google.logging.v2.IUpdateSettingsRequest | null | undefined, {} | null | undefined>): void;
1027
+ /**
1028
+ * Creates a log bucket asynchronously that can be used to store log entries.
1029
+ *
1030
+ * After a bucket has been created, the bucket's location cannot be changed.
1031
+ *
1032
+ * @param {Object} request
1033
+ * The request object that will be sent.
1034
+ * @param {string} request.parent
1035
+ * Required. The resource in which to create the log bucket:
1036
+ *
1037
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
1038
+ *
1039
+ * For example:
1040
+ *
1041
+ * `"projects/my-project/locations/global"`
1042
+ * @param {string} request.bucketId
1043
+ * Required. A client-assigned identifier such as `"my-bucket"`. Identifiers
1044
+ * are limited to 100 characters and can include only letters, digits,
1045
+ * underscores, hyphens, and periods.
1046
+ * @param {google.logging.v2.LogBucket} request.bucket
1047
+ * Required. The new bucket. The region specified in the new bucket must be
1048
+ * compliant with any Location Restriction Org Policy. The name field in the
1049
+ * bucket is ignored.
1050
+ * @param {object} [options]
1051
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1052
+ * @returns {Promise} - The promise which resolves to an array.
1053
+ * The first element of the array is an object representing
1054
+ * a long running operation. Its `promise()` method returns a promise
1055
+ * you can `await` for.
1056
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1057
+ * for more details and examples.
1058
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_bucket_async.js</caption>
1059
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateBucketAsync_async
1060
+ */
1061
+ createBucketAsync(request?: protos.google.logging.v2.ICreateBucketRequest, options?: CallOptions): Promise<[
1062
+ LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>,
1063
+ protos.google.longrunning.IOperation | undefined,
1064
+ {} | undefined
1065
+ ]>;
1066
+ createBucketAsync(request: protos.google.logging.v2.ICreateBucketRequest, options: CallOptions, callback: Callback<LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1067
+ createBucketAsync(request: protos.google.logging.v2.ICreateBucketRequest, callback: Callback<LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1068
+ /**
1069
+ * Check the status of the long running operation returned by `createBucketAsync()`.
1070
+ * @param {String} name
1071
+ * The operation name that will be passed.
1072
+ * @returns {Promise} - The promise which resolves to an object.
1073
+ * The decoded operation object has result and metadata field to get information from.
1074
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1075
+ * for more details and examples.
1076
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_bucket_async.js</caption>
1077
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateBucketAsync_async
1078
+ */
1079
+ checkCreateBucketAsyncProgress(name: string): Promise<LROperation<protos.google.logging.v2.LogBucket, protos.google.logging.v2.BucketMetadata>>;
1080
+ /**
1081
+ * Updates a log bucket asynchronously.
1082
+ *
1083
+ * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then
1084
+ * `FAILED_PRECONDITION` will be returned.
1085
+ *
1086
+ * After a bucket has been created, the bucket's location cannot be changed.
1087
+ *
1088
+ * @param {Object} request
1089
+ * The request object that will be sent.
1090
+ * @param {string} request.name
1091
+ * Required. The full resource name of the bucket to update.
1092
+ *
1093
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1094
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1095
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1096
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1097
+ *
1098
+ * For example:
1099
+ *
1100
+ * `"projects/my-project/locations/global/buckets/my-bucket"`
1101
+ * @param {google.logging.v2.LogBucket} request.bucket
1102
+ * Required. The updated bucket.
1103
+ * @param {google.protobuf.FieldMask} request.updateMask
1104
+ * Required. Field mask that specifies the fields in `bucket` that need an
1105
+ * update. A bucket field will be overwritten if, and only if, it is in the
1106
+ * update mask. `name` and output only fields cannot be updated.
1107
+ *
1108
+ * For a detailed `FieldMask` definition, see:
1109
+ * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
1110
+ *
1111
+ * For example: `updateMask=retention_days`
1112
+ * @param {object} [options]
1113
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1114
+ * @returns {Promise} - The promise which resolves to an array.
1115
+ * The first element of the array is an object representing
1116
+ * a long running operation. Its `promise()` method returns a promise
1117
+ * you can `await` for.
1118
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1119
+ * for more details and examples.
1120
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_bucket_async.js</caption>
1121
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateBucketAsync_async
1122
+ */
1123
+ updateBucketAsync(request?: protos.google.logging.v2.IUpdateBucketRequest, options?: CallOptions): Promise<[
1124
+ LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>,
1125
+ protos.google.longrunning.IOperation | undefined,
1126
+ {} | undefined
1127
+ ]>;
1128
+ updateBucketAsync(request: protos.google.logging.v2.IUpdateBucketRequest, options: CallOptions, callback: Callback<LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1129
+ updateBucketAsync(request: protos.google.logging.v2.IUpdateBucketRequest, callback: Callback<LROperation<protos.google.logging.v2.ILogBucket, protos.google.logging.v2.IBucketMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1130
+ /**
1131
+ * Check the status of the long running operation returned by `updateBucketAsync()`.
1132
+ * @param {String} name
1133
+ * The operation name that will be passed.
1134
+ * @returns {Promise} - The promise which resolves to an object.
1135
+ * The decoded operation object has result and metadata field to get information from.
1136
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1137
+ * for more details and examples.
1138
+ * @example <caption>include:samples/generated/v2/config_service_v2.update_bucket_async.js</caption>
1139
+ * region_tag:logging_v2_generated_ConfigServiceV2_UpdateBucketAsync_async
1140
+ */
1141
+ checkUpdateBucketAsyncProgress(name: string): Promise<LROperation<protos.google.logging.v2.LogBucket, protos.google.logging.v2.BucketMetadata>>;
1142
+ /**
1143
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible
1144
+ * to use BigQuery to read the logs stored in the log bucket. A log bucket may
1145
+ * currently only contain one link.
1146
+ *
1147
+ * @param {Object} request
1148
+ * The request object that will be sent.
1149
+ * @param {string} request.parent
1150
+ * Required. The full resource name of the bucket to create a link for.
1151
+ *
1152
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1153
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1154
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1155
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1156
+ * @param {google.logging.v2.Link} request.link
1157
+ * Required. The new link.
1158
+ * @param {string} request.linkId
1159
+ * Required. The ID to use for the link. The link_id can have up to 100
1160
+ * characters. A valid link_id must only have alphanumeric characters and
1161
+ * underscores within it.
1162
+ * @param {object} [options]
1163
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1164
+ * @returns {Promise} - The promise which resolves to an array.
1165
+ * The first element of the array is an object representing
1166
+ * a long running operation. Its `promise()` method returns a promise
1167
+ * you can `await` for.
1168
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1169
+ * for more details and examples.
1170
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_link.js</caption>
1171
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateLink_async
1172
+ */
1173
+ createLink(request?: protos.google.logging.v2.ICreateLinkRequest, options?: CallOptions): Promise<[
1174
+ LROperation<protos.google.logging.v2.ILink, protos.google.logging.v2.ILinkMetadata>,
1175
+ protos.google.longrunning.IOperation | undefined,
1176
+ {} | undefined
1177
+ ]>;
1178
+ createLink(request: protos.google.logging.v2.ICreateLinkRequest, options: CallOptions, callback: Callback<LROperation<protos.google.logging.v2.ILink, protos.google.logging.v2.ILinkMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1179
+ createLink(request: protos.google.logging.v2.ICreateLinkRequest, callback: Callback<LROperation<protos.google.logging.v2.ILink, protos.google.logging.v2.ILinkMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1180
+ /**
1181
+ * Check the status of the long running operation returned by `createLink()`.
1182
+ * @param {String} name
1183
+ * The operation name that will be passed.
1184
+ * @returns {Promise} - The promise which resolves to an object.
1185
+ * The decoded operation object has result and metadata field to get information from.
1186
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1187
+ * for more details and examples.
1188
+ * @example <caption>include:samples/generated/v2/config_service_v2.create_link.js</caption>
1189
+ * region_tag:logging_v2_generated_ConfigServiceV2_CreateLink_async
1190
+ */
1191
+ checkCreateLinkProgress(name: string): Promise<LROperation<protos.google.logging.v2.Link, protos.google.logging.v2.LinkMetadata>>;
1192
+ /**
1193
+ * Deletes a link. This will also delete the corresponding BigQuery linked
1194
+ * dataset.
1195
+ *
1196
+ * @param {Object} request
1197
+ * The request object that will be sent.
1198
+ * @param {string} request.name
1199
+ * Required. The full resource name of the link to delete.
1200
+ *
1201
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
1202
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
1203
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
1204
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
1205
+ * @param {object} [options]
1206
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1207
+ * @returns {Promise} - The promise which resolves to an array.
1208
+ * The first element of the array is an object representing
1209
+ * a long running operation. Its `promise()` method returns a promise
1210
+ * you can `await` for.
1211
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1212
+ * for more details and examples.
1213
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_link.js</caption>
1214
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteLink_async
1215
+ */
1216
+ deleteLink(request?: protos.google.logging.v2.IDeleteLinkRequest, options?: CallOptions): Promise<[
1217
+ LROperation<protos.google.protobuf.IEmpty, protos.google.logging.v2.ILinkMetadata>,
1218
+ protos.google.longrunning.IOperation | undefined,
1219
+ {} | undefined
1220
+ ]>;
1221
+ deleteLink(request: protos.google.logging.v2.IDeleteLinkRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.logging.v2.ILinkMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1222
+ deleteLink(request: protos.google.logging.v2.IDeleteLinkRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.logging.v2.ILinkMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1223
+ /**
1224
+ * Check the status of the long running operation returned by `deleteLink()`.
1225
+ * @param {String} name
1226
+ * The operation name that will be passed.
1227
+ * @returns {Promise} - The promise which resolves to an object.
1228
+ * The decoded operation object has result and metadata field to get information from.
1229
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1230
+ * for more details and examples.
1231
+ * @example <caption>include:samples/generated/v2/config_service_v2.delete_link.js</caption>
1232
+ * region_tag:logging_v2_generated_ConfigServiceV2_DeleteLink_async
1233
+ */
1234
+ checkDeleteLinkProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.logging.v2.LinkMetadata>>;
1235
+ /**
1236
+ * Copies a set of log entries from a log bucket to a Cloud Storage bucket.
1237
+ *
1238
+ * @param {Object} request
1239
+ * The request object that will be sent.
1240
+ * @param {string} request.name
1241
+ * Required. Log bucket from which to copy log entries.
1242
+ *
1243
+ * For example:
1244
+ *
1245
+ * `"projects/my-project/locations/global/buckets/my-source-bucket"`
1246
+ * @param {string} [request.filter]
1247
+ * Optional. A filter specifying which log entries to copy. The filter must be
1248
+ * no more than 20k characters. An empty filter matches all log entries.
1249
+ * @param {string} request.destination
1250
+ * Required. Destination to which to copy log entries.
1251
+ * @param {object} [options]
1252
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1253
+ * @returns {Promise} - The promise which resolves to an array.
1254
+ * The first element of the array is an object representing
1255
+ * a long running operation. Its `promise()` method returns a promise
1256
+ * you can `await` for.
1257
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1258
+ * for more details and examples.
1259
+ * @example <caption>include:samples/generated/v2/config_service_v2.copy_log_entries.js</caption>
1260
+ * region_tag:logging_v2_generated_ConfigServiceV2_CopyLogEntries_async
1261
+ */
1262
+ copyLogEntries(request?: protos.google.logging.v2.ICopyLogEntriesRequest, options?: CallOptions): Promise<[
1263
+ LROperation<protos.google.logging.v2.ICopyLogEntriesResponse, protos.google.logging.v2.ICopyLogEntriesMetadata>,
1264
+ protos.google.longrunning.IOperation | undefined,
1265
+ {} | undefined
1266
+ ]>;
1267
+ copyLogEntries(request: protos.google.logging.v2.ICopyLogEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.logging.v2.ICopyLogEntriesResponse, protos.google.logging.v2.ICopyLogEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1268
+ copyLogEntries(request: protos.google.logging.v2.ICopyLogEntriesRequest, callback: Callback<LROperation<protos.google.logging.v2.ICopyLogEntriesResponse, protos.google.logging.v2.ICopyLogEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1269
+ /**
1270
+ * Check the status of the long running operation returned by `copyLogEntries()`.
1271
+ * @param {String} name
1272
+ * The operation name that will be passed.
1273
+ * @returns {Promise} - The promise which resolves to an object.
1274
+ * The decoded operation object has result and metadata field to get information from.
1275
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
1276
+ * for more details and examples.
1277
+ * @example <caption>include:samples/generated/v2/config_service_v2.copy_log_entries.js</caption>
1278
+ * region_tag:logging_v2_generated_ConfigServiceV2_CopyLogEntries_async
1279
+ */
1280
+ checkCopyLogEntriesProgress(name: string): Promise<LROperation<protos.google.logging.v2.CopyLogEntriesResponse, protos.google.logging.v2.CopyLogEntriesMetadata>>;
1281
+ /**
1282
+ * Lists log buckets.
1283
+ *
1284
+ * @param {Object} request
1285
+ * The request object that will be sent.
1286
+ * @param {string} request.parent
1287
+ * Required. The parent resource whose buckets are to be listed:
1288
+ *
1289
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
1290
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
1291
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
1292
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
1293
+ *
1294
+ * Note: The locations portion of the resource must be specified, but
1295
+ * supplying the character `-` in place of [LOCATION_ID] will return all
1296
+ * buckets.
1297
+ * @param {string} [request.pageToken]
1298
+ * Optional. If present, then retrieve the next batch of results from the
1299
+ * preceding call to this method. `pageToken` must be the value of
1300
+ * `nextPageToken` from the previous response. The values of other method
1301
+ * parameters should be identical to those in the previous call.
1302
+ * @param {number} [request.pageSize]
1303
+ * Optional. The maximum number of results to return from this request.
1304
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1305
+ * response indicates that more results might be available.
1306
+ * @param {object} [options]
1307
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1308
+ * @returns {Promise} - The promise which resolves to an array.
1309
+ * The first element of the array is Array of {@link protos.google.logging.v2.LogBucket|LogBucket}.
1310
+ * The client library will perform auto-pagination by default: it will call the API as many
1311
+ * times as needed and will merge results from all the pages into this array.
1312
+ * Note that it can affect your quota.
1313
+ * We recommend using `listBucketsAsync()`
1314
+ * method described below for async iteration which you can stop as needed.
1315
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1316
+ * for more details and examples.
1317
+ */
1318
+ listBuckets(request?: protos.google.logging.v2.IListBucketsRequest, options?: CallOptions): Promise<[
1319
+ protos.google.logging.v2.ILogBucket[],
1320
+ protos.google.logging.v2.IListBucketsRequest | null,
1321
+ protos.google.logging.v2.IListBucketsResponse
1322
+ ]>;
1323
+ listBuckets(request: protos.google.logging.v2.IListBucketsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListBucketsRequest, protos.google.logging.v2.IListBucketsResponse | null | undefined, protos.google.logging.v2.ILogBucket>): void;
1324
+ listBuckets(request: protos.google.logging.v2.IListBucketsRequest, callback: PaginationCallback<protos.google.logging.v2.IListBucketsRequest, protos.google.logging.v2.IListBucketsResponse | null | undefined, protos.google.logging.v2.ILogBucket>): void;
1325
+ /**
1326
+ * Equivalent to `listBuckets`, but returns a NodeJS Stream object.
1327
+ * @param {Object} request
1328
+ * The request object that will be sent.
1329
+ * @param {string} request.parent
1330
+ * Required. The parent resource whose buckets are to be listed:
1331
+ *
1332
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
1333
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
1334
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
1335
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
1336
+ *
1337
+ * Note: The locations portion of the resource must be specified, but
1338
+ * supplying the character `-` in place of [LOCATION_ID] will return all
1339
+ * buckets.
1340
+ * @param {string} [request.pageToken]
1341
+ * Optional. If present, then retrieve the next batch of results from the
1342
+ * preceding call to this method. `pageToken` must be the value of
1343
+ * `nextPageToken` from the previous response. The values of other method
1344
+ * parameters should be identical to those in the previous call.
1345
+ * @param {number} [request.pageSize]
1346
+ * Optional. The maximum number of results to return from this request.
1347
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1348
+ * response indicates that more results might be available.
1349
+ * @param {object} [options]
1350
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1351
+ * @returns {Stream}
1352
+ * An object stream which emits an object representing {@link protos.google.logging.v2.LogBucket|LogBucket} on 'data' event.
1353
+ * The client library will perform auto-pagination by default: it will call the API as many
1354
+ * times as needed. Note that it can affect your quota.
1355
+ * We recommend using `listBucketsAsync()`
1356
+ * method described below for async iteration which you can stop as needed.
1357
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1358
+ * for more details and examples.
1359
+ */
1360
+ listBucketsStream(request?: protos.google.logging.v2.IListBucketsRequest, options?: CallOptions): Transform;
1361
+ /**
1362
+ * Equivalent to `listBuckets`, but returns an iterable object.
1363
+ *
1364
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1365
+ * @param {Object} request
1366
+ * The request object that will be sent.
1367
+ * @param {string} request.parent
1368
+ * Required. The parent resource whose buckets are to be listed:
1369
+ *
1370
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
1371
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
1372
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
1373
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
1374
+ *
1375
+ * Note: The locations portion of the resource must be specified, but
1376
+ * supplying the character `-` in place of [LOCATION_ID] will return all
1377
+ * buckets.
1378
+ * @param {string} [request.pageToken]
1379
+ * Optional. If present, then retrieve the next batch of results from the
1380
+ * preceding call to this method. `pageToken` must be the value of
1381
+ * `nextPageToken` from the previous response. The values of other method
1382
+ * parameters should be identical to those in the previous call.
1383
+ * @param {number} [request.pageSize]
1384
+ * Optional. The maximum number of results to return from this request.
1385
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1386
+ * response indicates that more results might be available.
1387
+ * @param {object} [options]
1388
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1389
+ * @returns {Object}
1390
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1391
+ * When you iterate the returned iterable, each element will be an object representing
1392
+ * {@link protos.google.logging.v2.LogBucket|LogBucket}. The API will be called under the hood as needed, once per the page,
1393
+ * so you can stop the iteration when you don't need more results.
1394
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1395
+ * for more details and examples.
1396
+ * @example <caption>include:samples/generated/v2/config_service_v2.list_buckets.js</caption>
1397
+ * region_tag:logging_v2_generated_ConfigServiceV2_ListBuckets_async
1398
+ */
1399
+ listBucketsAsync(request?: protos.google.logging.v2.IListBucketsRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogBucket>;
1400
+ /**
1401
+ * Lists views on a log bucket.
1402
+ *
1403
+ * @param {Object} request
1404
+ * The request object that will be sent.
1405
+ * @param {string} request.parent
1406
+ * Required. The bucket whose views are to be listed:
1407
+ *
1408
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1409
+ * @param {string} [request.pageToken]
1410
+ * Optional. If present, then retrieve the next batch of results from the
1411
+ * preceding call to this method. `pageToken` must be the value of
1412
+ * `nextPageToken` from the previous response. The values of other method
1413
+ * parameters should be identical to those in the previous call.
1414
+ * @param {number} [request.pageSize]
1415
+ * Optional. The maximum number of results to return from this request.
1416
+ *
1417
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1418
+ * response indicates that more results might be available.
1419
+ * @param {object} [options]
1420
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1421
+ * @returns {Promise} - The promise which resolves to an array.
1422
+ * The first element of the array is Array of {@link protos.google.logging.v2.LogView|LogView}.
1423
+ * The client library will perform auto-pagination by default: it will call the API as many
1424
+ * times as needed and will merge results from all the pages into this array.
1425
+ * Note that it can affect your quota.
1426
+ * We recommend using `listViewsAsync()`
1427
+ * method described below for async iteration which you can stop as needed.
1428
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1429
+ * for more details and examples.
1430
+ */
1431
+ listViews(request?: protos.google.logging.v2.IListViewsRequest, options?: CallOptions): Promise<[
1432
+ protos.google.logging.v2.ILogView[],
1433
+ protos.google.logging.v2.IListViewsRequest | null,
1434
+ protos.google.logging.v2.IListViewsResponse
1435
+ ]>;
1436
+ listViews(request: protos.google.logging.v2.IListViewsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListViewsRequest, protos.google.logging.v2.IListViewsResponse | null | undefined, protos.google.logging.v2.ILogView>): void;
1437
+ listViews(request: protos.google.logging.v2.IListViewsRequest, callback: PaginationCallback<protos.google.logging.v2.IListViewsRequest, protos.google.logging.v2.IListViewsResponse | null | undefined, protos.google.logging.v2.ILogView>): void;
1438
+ /**
1439
+ * Equivalent to `listViews`, but returns a NodeJS Stream object.
1440
+ * @param {Object} request
1441
+ * The request object that will be sent.
1442
+ * @param {string} request.parent
1443
+ * Required. The bucket whose views are to be listed:
1444
+ *
1445
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1446
+ * @param {string} [request.pageToken]
1447
+ * Optional. If present, then retrieve the next batch of results from the
1448
+ * preceding call to this method. `pageToken` must be the value of
1449
+ * `nextPageToken` from the previous response. The values of other method
1450
+ * parameters should be identical to those in the previous call.
1451
+ * @param {number} [request.pageSize]
1452
+ * Optional. The maximum number of results to return from this request.
1453
+ *
1454
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1455
+ * response indicates that more results might be available.
1456
+ * @param {object} [options]
1457
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1458
+ * @returns {Stream}
1459
+ * An object stream which emits an object representing {@link protos.google.logging.v2.LogView|LogView} on 'data' event.
1460
+ * The client library will perform auto-pagination by default: it will call the API as many
1461
+ * times as needed. Note that it can affect your quota.
1462
+ * We recommend using `listViewsAsync()`
1463
+ * method described below for async iteration which you can stop as needed.
1464
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1465
+ * for more details and examples.
1466
+ */
1467
+ listViewsStream(request?: protos.google.logging.v2.IListViewsRequest, options?: CallOptions): Transform;
1468
+ /**
1469
+ * Equivalent to `listViews`, but returns an iterable object.
1470
+ *
1471
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1472
+ * @param {Object} request
1473
+ * The request object that will be sent.
1474
+ * @param {string} request.parent
1475
+ * Required. The bucket whose views are to be listed:
1476
+ *
1477
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
1478
+ * @param {string} [request.pageToken]
1479
+ * Optional. If present, then retrieve the next batch of results from the
1480
+ * preceding call to this method. `pageToken` must be the value of
1481
+ * `nextPageToken` from the previous response. The values of other method
1482
+ * parameters should be identical to those in the previous call.
1483
+ * @param {number} [request.pageSize]
1484
+ * Optional. The maximum number of results to return from this request.
1485
+ *
1486
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1487
+ * response indicates that more results might be available.
1488
+ * @param {object} [options]
1489
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1490
+ * @returns {Object}
1491
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1492
+ * When you iterate the returned iterable, each element will be an object representing
1493
+ * {@link protos.google.logging.v2.LogView|LogView}. The API will be called under the hood as needed, once per the page,
1494
+ * so you can stop the iteration when you don't need more results.
1495
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1496
+ * for more details and examples.
1497
+ * @example <caption>include:samples/generated/v2/config_service_v2.list_views.js</caption>
1498
+ * region_tag:logging_v2_generated_ConfigServiceV2_ListViews_async
1499
+ */
1500
+ listViewsAsync(request?: protos.google.logging.v2.IListViewsRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogView>;
1501
+ /**
1502
+ * Lists sinks.
1503
+ *
1504
+ * @param {Object} request
1505
+ * The request object that will be sent.
1506
+ * @param {string} request.parent
1507
+ * Required. The parent resource whose sinks are to be listed:
1508
+ *
1509
+ * "projects/[PROJECT_ID]"
1510
+ * "organizations/[ORGANIZATION_ID]"
1511
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1512
+ * "folders/[FOLDER_ID]"
1513
+ * @param {string} [request.pageToken]
1514
+ * Optional. If present, then retrieve the next batch of results from the
1515
+ * preceding call to this method. `pageToken` must be the value of
1516
+ * `nextPageToken` from the previous response. The values of other method
1517
+ * parameters should be identical to those in the previous call.
1518
+ * @param {number} [request.pageSize]
1519
+ * Optional. The maximum number of results to return from this request.
1520
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1521
+ * response indicates that more results might be available.
1522
+ * @param {object} [options]
1523
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1524
+ * @returns {Promise} - The promise which resolves to an array.
1525
+ * The first element of the array is Array of {@link protos.google.logging.v2.LogSink|LogSink}.
1526
+ * The client library will perform auto-pagination by default: it will call the API as many
1527
+ * times as needed and will merge results from all the pages into this array.
1528
+ * Note that it can affect your quota.
1529
+ * We recommend using `listSinksAsync()`
1530
+ * method described below for async iteration which you can stop as needed.
1531
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1532
+ * for more details and examples.
1533
+ */
1534
+ listSinks(request?: protos.google.logging.v2.IListSinksRequest, options?: CallOptions): Promise<[
1535
+ protos.google.logging.v2.ILogSink[],
1536
+ protos.google.logging.v2.IListSinksRequest | null,
1537
+ protos.google.logging.v2.IListSinksResponse
1538
+ ]>;
1539
+ listSinks(request: protos.google.logging.v2.IListSinksRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListSinksRequest, protos.google.logging.v2.IListSinksResponse | null | undefined, protos.google.logging.v2.ILogSink>): void;
1540
+ listSinks(request: protos.google.logging.v2.IListSinksRequest, callback: PaginationCallback<protos.google.logging.v2.IListSinksRequest, protos.google.logging.v2.IListSinksResponse | null | undefined, protos.google.logging.v2.ILogSink>): void;
1541
+ /**
1542
+ * Equivalent to `listSinks`, but returns a NodeJS Stream object.
1543
+ * @param {Object} request
1544
+ * The request object that will be sent.
1545
+ * @param {string} request.parent
1546
+ * Required. The parent resource whose sinks are to be listed:
1547
+ *
1548
+ * "projects/[PROJECT_ID]"
1549
+ * "organizations/[ORGANIZATION_ID]"
1550
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1551
+ * "folders/[FOLDER_ID]"
1552
+ * @param {string} [request.pageToken]
1553
+ * Optional. If present, then retrieve the next batch of results from the
1554
+ * preceding call to this method. `pageToken` must be the value of
1555
+ * `nextPageToken` from the previous response. The values of other method
1556
+ * parameters should be identical to those in the previous call.
1557
+ * @param {number} [request.pageSize]
1558
+ * Optional. The maximum number of results to return from this request.
1559
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1560
+ * response indicates that more results might be available.
1561
+ * @param {object} [options]
1562
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1563
+ * @returns {Stream}
1564
+ * An object stream which emits an object representing {@link protos.google.logging.v2.LogSink|LogSink} on 'data' event.
1565
+ * The client library will perform auto-pagination by default: it will call the API as many
1566
+ * times as needed. Note that it can affect your quota.
1567
+ * We recommend using `listSinksAsync()`
1568
+ * method described below for async iteration which you can stop as needed.
1569
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1570
+ * for more details and examples.
1571
+ */
1572
+ listSinksStream(request?: protos.google.logging.v2.IListSinksRequest, options?: CallOptions): Transform;
1573
+ /**
1574
+ * Equivalent to `listSinks`, but returns an iterable object.
1575
+ *
1576
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1577
+ * @param {Object} request
1578
+ * The request object that will be sent.
1579
+ * @param {string} request.parent
1580
+ * Required. The parent resource whose sinks are to be listed:
1581
+ *
1582
+ * "projects/[PROJECT_ID]"
1583
+ * "organizations/[ORGANIZATION_ID]"
1584
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1585
+ * "folders/[FOLDER_ID]"
1586
+ * @param {string} [request.pageToken]
1587
+ * Optional. If present, then retrieve the next batch of results from the
1588
+ * preceding call to this method. `pageToken` must be the value of
1589
+ * `nextPageToken` from the previous response. The values of other method
1590
+ * parameters should be identical to those in the previous call.
1591
+ * @param {number} [request.pageSize]
1592
+ * Optional. The maximum number of results to return from this request.
1593
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1594
+ * response indicates that more results might be available.
1595
+ * @param {object} [options]
1596
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1597
+ * @returns {Object}
1598
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1599
+ * When you iterate the returned iterable, each element will be an object representing
1600
+ * {@link protos.google.logging.v2.LogSink|LogSink}. The API will be called under the hood as needed, once per the page,
1601
+ * so you can stop the iteration when you don't need more results.
1602
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1603
+ * for more details and examples.
1604
+ * @example <caption>include:samples/generated/v2/config_service_v2.list_sinks.js</caption>
1605
+ * region_tag:logging_v2_generated_ConfigServiceV2_ListSinks_async
1606
+ */
1607
+ listSinksAsync(request?: protos.google.logging.v2.IListSinksRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogSink>;
1608
+ /**
1609
+ * Lists links.
1610
+ *
1611
+ * @param {Object} request
1612
+ * The request object that will be sent.
1613
+ * @param {string} request.parent
1614
+ * Required. The parent resource whose links are to be listed:
1615
+ *
1616
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
1617
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1618
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1619
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
1620
+ * @param {string} [request.pageToken]
1621
+ * Optional. If present, then retrieve the next batch of results from the
1622
+ * preceding call to this method. `pageToken` must be the value of
1623
+ * `nextPageToken` from the previous response.
1624
+ * @param {number} [request.pageSize]
1625
+ * Optional. The maximum number of results to return from this request.
1626
+ * @param {object} [options]
1627
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1628
+ * @returns {Promise} - The promise which resolves to an array.
1629
+ * The first element of the array is Array of {@link protos.google.logging.v2.Link|Link}.
1630
+ * The client library will perform auto-pagination by default: it will call the API as many
1631
+ * times as needed and will merge results from all the pages into this array.
1632
+ * Note that it can affect your quota.
1633
+ * We recommend using `listLinksAsync()`
1634
+ * method described below for async iteration which you can stop as needed.
1635
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1636
+ * for more details and examples.
1637
+ */
1638
+ listLinks(request?: protos.google.logging.v2.IListLinksRequest, options?: CallOptions): Promise<[
1639
+ protos.google.logging.v2.ILink[],
1640
+ protos.google.logging.v2.IListLinksRequest | null,
1641
+ protos.google.logging.v2.IListLinksResponse
1642
+ ]>;
1643
+ listLinks(request: protos.google.logging.v2.IListLinksRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLinksRequest, protos.google.logging.v2.IListLinksResponse | null | undefined, protos.google.logging.v2.ILink>): void;
1644
+ listLinks(request: protos.google.logging.v2.IListLinksRequest, callback: PaginationCallback<protos.google.logging.v2.IListLinksRequest, protos.google.logging.v2.IListLinksResponse | null | undefined, protos.google.logging.v2.ILink>): void;
1645
+ /**
1646
+ * Equivalent to `listLinks`, but returns a NodeJS Stream object.
1647
+ * @param {Object} request
1648
+ * The request object that will be sent.
1649
+ * @param {string} request.parent
1650
+ * Required. The parent resource whose links are to be listed:
1651
+ *
1652
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
1653
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1654
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1655
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
1656
+ * @param {string} [request.pageToken]
1657
+ * Optional. If present, then retrieve the next batch of results from the
1658
+ * preceding call to this method. `pageToken` must be the value of
1659
+ * `nextPageToken` from the previous response.
1660
+ * @param {number} [request.pageSize]
1661
+ * Optional. The maximum number of results to return from this request.
1662
+ * @param {object} [options]
1663
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1664
+ * @returns {Stream}
1665
+ * An object stream which emits an object representing {@link protos.google.logging.v2.Link|Link} on 'data' event.
1666
+ * The client library will perform auto-pagination by default: it will call the API as many
1667
+ * times as needed. Note that it can affect your quota.
1668
+ * We recommend using `listLinksAsync()`
1669
+ * method described below for async iteration which you can stop as needed.
1670
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1671
+ * for more details and examples.
1672
+ */
1673
+ listLinksStream(request?: protos.google.logging.v2.IListLinksRequest, options?: CallOptions): Transform;
1674
+ /**
1675
+ * Equivalent to `listLinks`, but returns an iterable object.
1676
+ *
1677
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1678
+ * @param {Object} request
1679
+ * The request object that will be sent.
1680
+ * @param {string} request.parent
1681
+ * Required. The parent resource whose links are to be listed:
1682
+ *
1683
+ * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
1684
+ * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1685
+ * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
1686
+ * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
1687
+ * @param {string} [request.pageToken]
1688
+ * Optional. If present, then retrieve the next batch of results from the
1689
+ * preceding call to this method. `pageToken` must be the value of
1690
+ * `nextPageToken` from the previous response.
1691
+ * @param {number} [request.pageSize]
1692
+ * Optional. The maximum number of results to return from this request.
1693
+ * @param {object} [options]
1694
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1695
+ * @returns {Object}
1696
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1697
+ * When you iterate the returned iterable, each element will be an object representing
1698
+ * {@link protos.google.logging.v2.Link|Link}. The API will be called under the hood as needed, once per the page,
1699
+ * so you can stop the iteration when you don't need more results.
1700
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1701
+ * for more details and examples.
1702
+ * @example <caption>include:samples/generated/v2/config_service_v2.list_links.js</caption>
1703
+ * region_tag:logging_v2_generated_ConfigServiceV2_ListLinks_async
1704
+ */
1705
+ listLinksAsync(request?: protos.google.logging.v2.IListLinksRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILink>;
1706
+ /**
1707
+ * Lists all the exclusions on the _Default sink in a parent resource.
1708
+ *
1709
+ * @param {Object} request
1710
+ * The request object that will be sent.
1711
+ * @param {string} request.parent
1712
+ * Required. The parent resource whose exclusions are to be listed.
1713
+ *
1714
+ * "projects/[PROJECT_ID]"
1715
+ * "organizations/[ORGANIZATION_ID]"
1716
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1717
+ * "folders/[FOLDER_ID]"
1718
+ * @param {string} [request.pageToken]
1719
+ * Optional. If present, then retrieve the next batch of results from the
1720
+ * preceding call to this method. `pageToken` must be the value of
1721
+ * `nextPageToken` from the previous response. The values of other method
1722
+ * parameters should be identical to those in the previous call.
1723
+ * @param {number} [request.pageSize]
1724
+ * Optional. The maximum number of results to return from this request.
1725
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1726
+ * response indicates that more results might be available.
1727
+ * @param {object} [options]
1728
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1729
+ * @returns {Promise} - The promise which resolves to an array.
1730
+ * The first element of the array is Array of {@link protos.google.logging.v2.LogExclusion|LogExclusion}.
1731
+ * The client library will perform auto-pagination by default: it will call the API as many
1732
+ * times as needed and will merge results from all the pages into this array.
1733
+ * Note that it can affect your quota.
1734
+ * We recommend using `listExclusionsAsync()`
1735
+ * method described below for async iteration which you can stop as needed.
1736
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1737
+ * for more details and examples.
1738
+ */
1739
+ listExclusions(request?: protos.google.logging.v2.IListExclusionsRequest, options?: CallOptions): Promise<[
1740
+ protos.google.logging.v2.ILogExclusion[],
1741
+ protos.google.logging.v2.IListExclusionsRequest | null,
1742
+ protos.google.logging.v2.IListExclusionsResponse
1743
+ ]>;
1744
+ listExclusions(request: protos.google.logging.v2.IListExclusionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListExclusionsRequest, protos.google.logging.v2.IListExclusionsResponse | null | undefined, protos.google.logging.v2.ILogExclusion>): void;
1745
+ listExclusions(request: protos.google.logging.v2.IListExclusionsRequest, callback: PaginationCallback<protos.google.logging.v2.IListExclusionsRequest, protos.google.logging.v2.IListExclusionsResponse | null | undefined, protos.google.logging.v2.ILogExclusion>): void;
1746
+ /**
1747
+ * Equivalent to `listExclusions`, but returns a NodeJS Stream object.
1748
+ * @param {Object} request
1749
+ * The request object that will be sent.
1750
+ * @param {string} request.parent
1751
+ * Required. The parent resource whose exclusions are to be listed.
1752
+ *
1753
+ * "projects/[PROJECT_ID]"
1754
+ * "organizations/[ORGANIZATION_ID]"
1755
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1756
+ * "folders/[FOLDER_ID]"
1757
+ * @param {string} [request.pageToken]
1758
+ * Optional. If present, then retrieve the next batch of results from the
1759
+ * preceding call to this method. `pageToken` must be the value of
1760
+ * `nextPageToken` from the previous response. The values of other method
1761
+ * parameters should be identical to those in the previous call.
1762
+ * @param {number} [request.pageSize]
1763
+ * Optional. The maximum number of results to return from this request.
1764
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1765
+ * response indicates that more results might be available.
1766
+ * @param {object} [options]
1767
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1768
+ * @returns {Stream}
1769
+ * An object stream which emits an object representing {@link protos.google.logging.v2.LogExclusion|LogExclusion} on 'data' event.
1770
+ * The client library will perform auto-pagination by default: it will call the API as many
1771
+ * times as needed. Note that it can affect your quota.
1772
+ * We recommend using `listExclusionsAsync()`
1773
+ * method described below for async iteration which you can stop as needed.
1774
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1775
+ * for more details and examples.
1776
+ */
1777
+ listExclusionsStream(request?: protos.google.logging.v2.IListExclusionsRequest, options?: CallOptions): Transform;
1778
+ /**
1779
+ * Equivalent to `listExclusions`, but returns an iterable object.
1780
+ *
1781
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1782
+ * @param {Object} request
1783
+ * The request object that will be sent.
1784
+ * @param {string} request.parent
1785
+ * Required. The parent resource whose exclusions are to be listed.
1786
+ *
1787
+ * "projects/[PROJECT_ID]"
1788
+ * "organizations/[ORGANIZATION_ID]"
1789
+ * "billingAccounts/[BILLING_ACCOUNT_ID]"
1790
+ * "folders/[FOLDER_ID]"
1791
+ * @param {string} [request.pageToken]
1792
+ * Optional. If present, then retrieve the next batch of results from the
1793
+ * preceding call to this method. `pageToken` must be the value of
1794
+ * `nextPageToken` from the previous response. The values of other method
1795
+ * parameters should be identical to those in the previous call.
1796
+ * @param {number} [request.pageSize]
1797
+ * Optional. The maximum number of results to return from this request.
1798
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
1799
+ * response indicates that more results might be available.
1800
+ * @param {object} [options]
1801
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1802
+ * @returns {Object}
1803
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
1804
+ * When you iterate the returned iterable, each element will be an object representing
1805
+ * {@link protos.google.logging.v2.LogExclusion|LogExclusion}. The API will be called under the hood as needed, once per the page,
1806
+ * so you can stop the iteration when you don't need more results.
1807
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
1808
+ * for more details and examples.
1809
+ * @example <caption>include:samples/generated/v2/config_service_v2.list_exclusions.js</caption>
1810
+ * region_tag:logging_v2_generated_ConfigServiceV2_ListExclusions_async
1811
+ */
1812
+ listExclusionsAsync(request?: protos.google.logging.v2.IListExclusionsRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogExclusion>;
1813
+ /**
1814
+ * Gets the latest state of a long-running operation. Clients can use this
1815
+ * method to poll the operation result at intervals as recommended by the API
1816
+ * service.
1817
+ *
1818
+ * @param {Object} request - The request object that will be sent.
1819
+ * @param {string} request.name - The name of the operation resource.
1820
+ * @param {Object=} options
1821
+ * Optional parameters. You can override the default settings for this call,
1822
+ * e.g, timeout, retries, paginations, etc. See {@link
1823
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
1824
+ * for the details.
1825
+ * @param {function(?Error, ?Object)=} callback
1826
+ * The function which will be called with the result of the API call.
1827
+ *
1828
+ * The second parameter to the callback is an object representing
1829
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
1830
+ * @return {Promise} - The promise which resolves to an array.
1831
+ * The first element of the array is an object representing
1832
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
1833
+ * The promise has a method named "cancel" which cancels the ongoing API call.
1834
+ *
1835
+ * @example
1836
+ * ```
1837
+ * const client = longrunning.operationsClient();
1838
+ * const name = '';
1839
+ * const [response] = await client.getOperation({name});
1840
+ * // doThingsWith(response)
1841
+ * ```
1842
+ */
1843
+ getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: 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]>;
1844
+ /**
1845
+ * Lists operations that match the specified filter in the request. If the
1846
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
1847
+ *
1848
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
1849
+ *
1850
+ * @param {Object} request - The request object that will be sent.
1851
+ * @param {string} request.name - The name of the operation collection.
1852
+ * @param {string} request.filter - The standard list filter.
1853
+ * @param {number=} request.pageSize -
1854
+ * The maximum number of resources contained in the underlying API
1855
+ * response. If page streaming is performed per-resource, this
1856
+ * parameter does not affect the return value. If page streaming is
1857
+ * performed per-page, this determines the maximum number of
1858
+ * resources in a page.
1859
+ * @param {Object=} options
1860
+ * Optional parameters. You can override the default settings for this call,
1861
+ * e.g, timeout, retries, paginations, etc. See {@link
1862
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
1863
+ * details.
1864
+ * @returns {Object}
1865
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
1866
+ *
1867
+ * @example
1868
+ * ```
1869
+ * const client = longrunning.operationsClient();
1870
+ * for await (const response of client.listOperationsAsync(request));
1871
+ * // doThingsWith(response)
1872
+ * ```
1873
+ */
1874
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;
1875
+ /**
1876
+ * Starts asynchronous cancellation on a long-running operation. The server
1877
+ * makes a best effort to cancel the operation, but success is not
1878
+ * guaranteed. If the server doesn't support this method, it returns
1879
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
1880
+ * {@link Operations.GetOperation} or
1881
+ * other methods to check whether the cancellation succeeded or whether the
1882
+ * operation completed despite cancellation. On successful cancellation,
1883
+ * the operation is not deleted; instead, it becomes an operation with
1884
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
1885
+ * 1, corresponding to `Code.CANCELLED`.
1886
+ *
1887
+ * @param {Object} request - The request object that will be sent.
1888
+ * @param {string} request.name - The name of the operation resource to be cancelled.
1889
+ * @param {Object=} options
1890
+ * Optional parameters. You can override the default settings for this call,
1891
+ * e.g, timeout, retries, paginations, etc. See {@link
1892
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
1893
+ * details.
1894
+ * @param {function(?Error)=} callback
1895
+ * The function which will be called with the result of the API call.
1896
+ * @return {Promise} - The promise which resolves when API call finishes.
1897
+ * The promise has a method named "cancel" which cancels the ongoing API
1898
+ * call.
1899
+ *
1900
+ * @example
1901
+ * ```
1902
+ * const client = longrunning.operationsClient();
1903
+ * await client.cancelOperation({name: ''});
1904
+ * ```
1905
+ */
1906
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
1907
+ /**
1908
+ * Deletes a long-running operation. This method indicates that the client is
1909
+ * no longer interested in the operation result. It does not cancel the
1910
+ * operation. If the server doesn't support this method, it returns
1911
+ * `google.rpc.Code.UNIMPLEMENTED`.
1912
+ *
1913
+ * @param {Object} request - The request object that will be sent.
1914
+ * @param {string} request.name - The name of the operation resource to be deleted.
1915
+ * @param {Object=} options
1916
+ * Optional parameters. You can override the default settings for this call,
1917
+ * e.g, timeout, retries, paginations, etc. See {@link
1918
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
1919
+ * for the details.
1920
+ * @param {function(?Error)=} callback
1921
+ * The function which will be called with the result of the API call.
1922
+ * @return {Promise} - The promise which resolves when API call finishes.
1923
+ * The promise has a method named "cancel" which cancels the ongoing API
1924
+ * call.
1925
+ *
1926
+ * @example
1927
+ * ```
1928
+ * const client = longrunning.operationsClient();
1929
+ * await client.deleteOperation({name: ''});
1930
+ * ```
1931
+ */
1932
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: 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>;
1933
+ /**
1934
+ * Return a fully-qualified billingAccountCmekSettings resource name string.
1935
+ *
1936
+ * @param {string} billing_account
1937
+ * @returns {string} Resource name string.
1938
+ */
1939
+ billingAccountCmekSettingsPath(billingAccount: string): string;
1940
+ /**
1941
+ * Parse the billing_account from BillingAccountCmekSettings resource.
1942
+ *
1943
+ * @param {string} billingAccountCmekSettingsName
1944
+ * A fully-qualified path representing billing_account_cmekSettings resource.
1945
+ * @returns {string} A string representing the billing_account.
1946
+ */
1947
+ matchBillingAccountFromBillingAccountCmekSettingsName(billingAccountCmekSettingsName: string): string | number;
1948
+ /**
1949
+ * Return a fully-qualified billingAccountExclusion resource name string.
1950
+ *
1951
+ * @param {string} billing_account
1952
+ * @param {string} exclusion
1953
+ * @returns {string} Resource name string.
1954
+ */
1955
+ billingAccountExclusionPath(billingAccount: string, exclusion: string): string;
1956
+ /**
1957
+ * Parse the billing_account from BillingAccountExclusion resource.
1958
+ *
1959
+ * @param {string} billingAccountExclusionName
1960
+ * A fully-qualified path representing billing_account_exclusion resource.
1961
+ * @returns {string} A string representing the billing_account.
1962
+ */
1963
+ matchBillingAccountFromBillingAccountExclusionName(billingAccountExclusionName: string): string | number;
1964
+ /**
1965
+ * Parse the exclusion from BillingAccountExclusion resource.
1966
+ *
1967
+ * @param {string} billingAccountExclusionName
1968
+ * A fully-qualified path representing billing_account_exclusion resource.
1969
+ * @returns {string} A string representing the exclusion.
1970
+ */
1971
+ matchExclusionFromBillingAccountExclusionName(billingAccountExclusionName: string): string | number;
1972
+ /**
1973
+ * Return a fully-qualified billingAccountLocationBucket resource name string.
1974
+ *
1975
+ * @param {string} billing_account
1976
+ * @param {string} location
1977
+ * @param {string} bucket
1978
+ * @returns {string} Resource name string.
1979
+ */
1980
+ billingAccountLocationBucketPath(billingAccount: string, location: string, bucket: string): string;
1981
+ /**
1982
+ * Parse the billing_account from BillingAccountLocationBucket resource.
1983
+ *
1984
+ * @param {string} billingAccountLocationBucketName
1985
+ * A fully-qualified path representing billing_account_location_bucket resource.
1986
+ * @returns {string} A string representing the billing_account.
1987
+ */
1988
+ matchBillingAccountFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
1989
+ /**
1990
+ * Parse the location from BillingAccountLocationBucket resource.
1991
+ *
1992
+ * @param {string} billingAccountLocationBucketName
1993
+ * A fully-qualified path representing billing_account_location_bucket resource.
1994
+ * @returns {string} A string representing the location.
1995
+ */
1996
+ matchLocationFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
1997
+ /**
1998
+ * Parse the bucket from BillingAccountLocationBucket resource.
1999
+ *
2000
+ * @param {string} billingAccountLocationBucketName
2001
+ * A fully-qualified path representing billing_account_location_bucket resource.
2002
+ * @returns {string} A string representing the bucket.
2003
+ */
2004
+ matchBucketFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
2005
+ /**
2006
+ * Return a fully-qualified billingAccountLocationBucketLink resource name string.
2007
+ *
2008
+ * @param {string} billing_account
2009
+ * @param {string} location
2010
+ * @param {string} bucket
2011
+ * @param {string} link
2012
+ * @returns {string} Resource name string.
2013
+ */
2014
+ billingAccountLocationBucketLinkPath(billingAccount: string, location: string, bucket: string, link: string): string;
2015
+ /**
2016
+ * Parse the billing_account from BillingAccountLocationBucketLink resource.
2017
+ *
2018
+ * @param {string} billingAccountLocationBucketLinkName
2019
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
2020
+ * @returns {string} A string representing the billing_account.
2021
+ */
2022
+ matchBillingAccountFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
2023
+ /**
2024
+ * Parse the location from BillingAccountLocationBucketLink resource.
2025
+ *
2026
+ * @param {string} billingAccountLocationBucketLinkName
2027
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
2028
+ * @returns {string} A string representing the location.
2029
+ */
2030
+ matchLocationFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
2031
+ /**
2032
+ * Parse the bucket from BillingAccountLocationBucketLink resource.
2033
+ *
2034
+ * @param {string} billingAccountLocationBucketLinkName
2035
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
2036
+ * @returns {string} A string representing the bucket.
2037
+ */
2038
+ matchBucketFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
2039
+ /**
2040
+ * Parse the link from BillingAccountLocationBucketLink resource.
2041
+ *
2042
+ * @param {string} billingAccountLocationBucketLinkName
2043
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
2044
+ * @returns {string} A string representing the link.
2045
+ */
2046
+ matchLinkFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
2047
+ /**
2048
+ * Return a fully-qualified billingAccountLocationBucketView resource name string.
2049
+ *
2050
+ * @param {string} billing_account
2051
+ * @param {string} location
2052
+ * @param {string} bucket
2053
+ * @param {string} view
2054
+ * @returns {string} Resource name string.
2055
+ */
2056
+ billingAccountLocationBucketViewPath(billingAccount: string, location: string, bucket: string, view: string): string;
2057
+ /**
2058
+ * Parse the billing_account from BillingAccountLocationBucketView resource.
2059
+ *
2060
+ * @param {string} billingAccountLocationBucketViewName
2061
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
2062
+ * @returns {string} A string representing the billing_account.
2063
+ */
2064
+ matchBillingAccountFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
2065
+ /**
2066
+ * Parse the location from BillingAccountLocationBucketView resource.
2067
+ *
2068
+ * @param {string} billingAccountLocationBucketViewName
2069
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
2070
+ * @returns {string} A string representing the location.
2071
+ */
2072
+ matchLocationFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
2073
+ /**
2074
+ * Parse the bucket from BillingAccountLocationBucketView resource.
2075
+ *
2076
+ * @param {string} billingAccountLocationBucketViewName
2077
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
2078
+ * @returns {string} A string representing the bucket.
2079
+ */
2080
+ matchBucketFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
2081
+ /**
2082
+ * Parse the view from BillingAccountLocationBucketView resource.
2083
+ *
2084
+ * @param {string} billingAccountLocationBucketViewName
2085
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
2086
+ * @returns {string} A string representing the view.
2087
+ */
2088
+ matchViewFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
2089
+ /**
2090
+ * Return a fully-qualified billingAccountLog resource name string.
2091
+ *
2092
+ * @param {string} billing_account
2093
+ * @param {string} log
2094
+ * @returns {string} Resource name string.
2095
+ */
2096
+ billingAccountLogPath(billingAccount: string, log: string): string;
2097
+ /**
2098
+ * Parse the billing_account from BillingAccountLog resource.
2099
+ *
2100
+ * @param {string} billingAccountLogName
2101
+ * A fully-qualified path representing billing_account_log resource.
2102
+ * @returns {string} A string representing the billing_account.
2103
+ */
2104
+ matchBillingAccountFromBillingAccountLogName(billingAccountLogName: string): string | number;
2105
+ /**
2106
+ * Parse the log from BillingAccountLog resource.
2107
+ *
2108
+ * @param {string} billingAccountLogName
2109
+ * A fully-qualified path representing billing_account_log resource.
2110
+ * @returns {string} A string representing the log.
2111
+ */
2112
+ matchLogFromBillingAccountLogName(billingAccountLogName: string): string | number;
2113
+ /**
2114
+ * Return a fully-qualified billingAccountSettings resource name string.
2115
+ *
2116
+ * @param {string} billing_account
2117
+ * @returns {string} Resource name string.
2118
+ */
2119
+ billingAccountSettingsPath(billingAccount: string): string;
2120
+ /**
2121
+ * Parse the billing_account from BillingAccountSettings resource.
2122
+ *
2123
+ * @param {string} billingAccountSettingsName
2124
+ * A fully-qualified path representing billing_account_settings resource.
2125
+ * @returns {string} A string representing the billing_account.
2126
+ */
2127
+ matchBillingAccountFromBillingAccountSettingsName(billingAccountSettingsName: string): string | number;
2128
+ /**
2129
+ * Return a fully-qualified billingAccountSink resource name string.
2130
+ *
2131
+ * @param {string} billing_account
2132
+ * @param {string} sink
2133
+ * @returns {string} Resource name string.
2134
+ */
2135
+ billingAccountSinkPath(billingAccount: string, sink: string): string;
2136
+ /**
2137
+ * Parse the billing_account from BillingAccountSink resource.
2138
+ *
2139
+ * @param {string} billingAccountSinkName
2140
+ * A fully-qualified path representing billing_account_sink resource.
2141
+ * @returns {string} A string representing the billing_account.
2142
+ */
2143
+ matchBillingAccountFromBillingAccountSinkName(billingAccountSinkName: string): string | number;
2144
+ /**
2145
+ * Parse the sink from BillingAccountSink resource.
2146
+ *
2147
+ * @param {string} billingAccountSinkName
2148
+ * A fully-qualified path representing billing_account_sink resource.
2149
+ * @returns {string} A string representing the sink.
2150
+ */
2151
+ matchSinkFromBillingAccountSinkName(billingAccountSinkName: string): string | number;
2152
+ /**
2153
+ * Return a fully-qualified folderCmekSettings resource name string.
2154
+ *
2155
+ * @param {string} folder
2156
+ * @returns {string} Resource name string.
2157
+ */
2158
+ folderCmekSettingsPath(folder: string): string;
2159
+ /**
2160
+ * Parse the folder from FolderCmekSettings resource.
2161
+ *
2162
+ * @param {string} folderCmekSettingsName
2163
+ * A fully-qualified path representing folder_cmekSettings resource.
2164
+ * @returns {string} A string representing the folder.
2165
+ */
2166
+ matchFolderFromFolderCmekSettingsName(folderCmekSettingsName: string): string | number;
2167
+ /**
2168
+ * Return a fully-qualified folderExclusion resource name string.
2169
+ *
2170
+ * @param {string} folder
2171
+ * @param {string} exclusion
2172
+ * @returns {string} Resource name string.
2173
+ */
2174
+ folderExclusionPath(folder: string, exclusion: string): string;
2175
+ /**
2176
+ * Parse the folder from FolderExclusion resource.
2177
+ *
2178
+ * @param {string} folderExclusionName
2179
+ * A fully-qualified path representing folder_exclusion resource.
2180
+ * @returns {string} A string representing the folder.
2181
+ */
2182
+ matchFolderFromFolderExclusionName(folderExclusionName: string): string | number;
2183
+ /**
2184
+ * Parse the exclusion from FolderExclusion resource.
2185
+ *
2186
+ * @param {string} folderExclusionName
2187
+ * A fully-qualified path representing folder_exclusion resource.
2188
+ * @returns {string} A string representing the exclusion.
2189
+ */
2190
+ matchExclusionFromFolderExclusionName(folderExclusionName: string): string | number;
2191
+ /**
2192
+ * Return a fully-qualified folderLocationBucket resource name string.
2193
+ *
2194
+ * @param {string} folder
2195
+ * @param {string} location
2196
+ * @param {string} bucket
2197
+ * @returns {string} Resource name string.
2198
+ */
2199
+ folderLocationBucketPath(folder: string, location: string, bucket: string): string;
2200
+ /**
2201
+ * Parse the folder from FolderLocationBucket resource.
2202
+ *
2203
+ * @param {string} folderLocationBucketName
2204
+ * A fully-qualified path representing folder_location_bucket resource.
2205
+ * @returns {string} A string representing the folder.
2206
+ */
2207
+ matchFolderFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
2208
+ /**
2209
+ * Parse the location from FolderLocationBucket resource.
2210
+ *
2211
+ * @param {string} folderLocationBucketName
2212
+ * A fully-qualified path representing folder_location_bucket resource.
2213
+ * @returns {string} A string representing the location.
2214
+ */
2215
+ matchLocationFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
2216
+ /**
2217
+ * Parse the bucket from FolderLocationBucket resource.
2218
+ *
2219
+ * @param {string} folderLocationBucketName
2220
+ * A fully-qualified path representing folder_location_bucket resource.
2221
+ * @returns {string} A string representing the bucket.
2222
+ */
2223
+ matchBucketFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
2224
+ /**
2225
+ * Return a fully-qualified folderLocationBucketLink resource name string.
2226
+ *
2227
+ * @param {string} folder
2228
+ * @param {string} location
2229
+ * @param {string} bucket
2230
+ * @param {string} link
2231
+ * @returns {string} Resource name string.
2232
+ */
2233
+ folderLocationBucketLinkPath(folder: string, location: string, bucket: string, link: string): string;
2234
+ /**
2235
+ * Parse the folder from FolderLocationBucketLink resource.
2236
+ *
2237
+ * @param {string} folderLocationBucketLinkName
2238
+ * A fully-qualified path representing folder_location_bucket_link resource.
2239
+ * @returns {string} A string representing the folder.
2240
+ */
2241
+ matchFolderFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
2242
+ /**
2243
+ * Parse the location from FolderLocationBucketLink resource.
2244
+ *
2245
+ * @param {string} folderLocationBucketLinkName
2246
+ * A fully-qualified path representing folder_location_bucket_link resource.
2247
+ * @returns {string} A string representing the location.
2248
+ */
2249
+ matchLocationFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
2250
+ /**
2251
+ * Parse the bucket from FolderLocationBucketLink resource.
2252
+ *
2253
+ * @param {string} folderLocationBucketLinkName
2254
+ * A fully-qualified path representing folder_location_bucket_link resource.
2255
+ * @returns {string} A string representing the bucket.
2256
+ */
2257
+ matchBucketFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
2258
+ /**
2259
+ * Parse the link from FolderLocationBucketLink resource.
2260
+ *
2261
+ * @param {string} folderLocationBucketLinkName
2262
+ * A fully-qualified path representing folder_location_bucket_link resource.
2263
+ * @returns {string} A string representing the link.
2264
+ */
2265
+ matchLinkFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
2266
+ /**
2267
+ * Return a fully-qualified folderLocationBucketView resource name string.
2268
+ *
2269
+ * @param {string} folder
2270
+ * @param {string} location
2271
+ * @param {string} bucket
2272
+ * @param {string} view
2273
+ * @returns {string} Resource name string.
2274
+ */
2275
+ folderLocationBucketViewPath(folder: string, location: string, bucket: string, view: string): string;
2276
+ /**
2277
+ * Parse the folder from FolderLocationBucketView resource.
2278
+ *
2279
+ * @param {string} folderLocationBucketViewName
2280
+ * A fully-qualified path representing folder_location_bucket_view resource.
2281
+ * @returns {string} A string representing the folder.
2282
+ */
2283
+ matchFolderFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
2284
+ /**
2285
+ * Parse the location from FolderLocationBucketView resource.
2286
+ *
2287
+ * @param {string} folderLocationBucketViewName
2288
+ * A fully-qualified path representing folder_location_bucket_view resource.
2289
+ * @returns {string} A string representing the location.
2290
+ */
2291
+ matchLocationFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
2292
+ /**
2293
+ * Parse the bucket from FolderLocationBucketView resource.
2294
+ *
2295
+ * @param {string} folderLocationBucketViewName
2296
+ * A fully-qualified path representing folder_location_bucket_view resource.
2297
+ * @returns {string} A string representing the bucket.
2298
+ */
2299
+ matchBucketFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
2300
+ /**
2301
+ * Parse the view from FolderLocationBucketView resource.
2302
+ *
2303
+ * @param {string} folderLocationBucketViewName
2304
+ * A fully-qualified path representing folder_location_bucket_view resource.
2305
+ * @returns {string} A string representing the view.
2306
+ */
2307
+ matchViewFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
2308
+ /**
2309
+ * Return a fully-qualified folderLog resource name string.
2310
+ *
2311
+ * @param {string} folder
2312
+ * @param {string} log
2313
+ * @returns {string} Resource name string.
2314
+ */
2315
+ folderLogPath(folder: string, log: string): string;
2316
+ /**
2317
+ * Parse the folder from FolderLog resource.
2318
+ *
2319
+ * @param {string} folderLogName
2320
+ * A fully-qualified path representing folder_log resource.
2321
+ * @returns {string} A string representing the folder.
2322
+ */
2323
+ matchFolderFromFolderLogName(folderLogName: string): string | number;
2324
+ /**
2325
+ * Parse the log from FolderLog resource.
2326
+ *
2327
+ * @param {string} folderLogName
2328
+ * A fully-qualified path representing folder_log resource.
2329
+ * @returns {string} A string representing the log.
2330
+ */
2331
+ matchLogFromFolderLogName(folderLogName: string): string | number;
2332
+ /**
2333
+ * Return a fully-qualified folderSettings resource name string.
2334
+ *
2335
+ * @param {string} folder
2336
+ * @returns {string} Resource name string.
2337
+ */
2338
+ folderSettingsPath(folder: string): string;
2339
+ /**
2340
+ * Parse the folder from FolderSettings resource.
2341
+ *
2342
+ * @param {string} folderSettingsName
2343
+ * A fully-qualified path representing folder_settings resource.
2344
+ * @returns {string} A string representing the folder.
2345
+ */
2346
+ matchFolderFromFolderSettingsName(folderSettingsName: string): string | number;
2347
+ /**
2348
+ * Return a fully-qualified folderSink resource name string.
2349
+ *
2350
+ * @param {string} folder
2351
+ * @param {string} sink
2352
+ * @returns {string} Resource name string.
2353
+ */
2354
+ folderSinkPath(folder: string, sink: string): string;
2355
+ /**
2356
+ * Parse the folder from FolderSink resource.
2357
+ *
2358
+ * @param {string} folderSinkName
2359
+ * A fully-qualified path representing folder_sink resource.
2360
+ * @returns {string} A string representing the folder.
2361
+ */
2362
+ matchFolderFromFolderSinkName(folderSinkName: string): string | number;
2363
+ /**
2364
+ * Parse the sink from FolderSink resource.
2365
+ *
2366
+ * @param {string} folderSinkName
2367
+ * A fully-qualified path representing folder_sink resource.
2368
+ * @returns {string} A string representing the sink.
2369
+ */
2370
+ matchSinkFromFolderSinkName(folderSinkName: string): string | number;
2371
+ /**
2372
+ * Return a fully-qualified location resource name string.
2373
+ *
2374
+ * @param {string} project
2375
+ * @param {string} location
2376
+ * @returns {string} Resource name string.
2377
+ */
2378
+ locationPath(project: string, location: string): string;
2379
+ /**
2380
+ * Parse the project from Location resource.
2381
+ *
2382
+ * @param {string} locationName
2383
+ * A fully-qualified path representing Location resource.
2384
+ * @returns {string} A string representing the project.
2385
+ */
2386
+ matchProjectFromLocationName(locationName: string): string | number;
2387
+ /**
2388
+ * Parse the location from Location resource.
2389
+ *
2390
+ * @param {string} locationName
2391
+ * A fully-qualified path representing Location resource.
2392
+ * @returns {string} A string representing the location.
2393
+ */
2394
+ matchLocationFromLocationName(locationName: string): string | number;
2395
+ /**
2396
+ * Return a fully-qualified logMetric resource name string.
2397
+ *
2398
+ * @param {string} project
2399
+ * @param {string} metric
2400
+ * @returns {string} Resource name string.
2401
+ */
2402
+ logMetricPath(project: string, metric: string): string;
2403
+ /**
2404
+ * Parse the project from LogMetric resource.
2405
+ *
2406
+ * @param {string} logMetricName
2407
+ * A fully-qualified path representing LogMetric resource.
2408
+ * @returns {string} A string representing the project.
2409
+ */
2410
+ matchProjectFromLogMetricName(logMetricName: string): string | number;
2411
+ /**
2412
+ * Parse the metric from LogMetric resource.
2413
+ *
2414
+ * @param {string} logMetricName
2415
+ * A fully-qualified path representing LogMetric resource.
2416
+ * @returns {string} A string representing the metric.
2417
+ */
2418
+ matchMetricFromLogMetricName(logMetricName: string): string | number;
2419
+ /**
2420
+ * Return a fully-qualified organizationCmekSettings resource name string.
2421
+ *
2422
+ * @param {string} organization
2423
+ * @returns {string} Resource name string.
2424
+ */
2425
+ organizationCmekSettingsPath(organization: string): string;
2426
+ /**
2427
+ * Parse the organization from OrganizationCmekSettings resource.
2428
+ *
2429
+ * @param {string} organizationCmekSettingsName
2430
+ * A fully-qualified path representing organization_cmekSettings resource.
2431
+ * @returns {string} A string representing the organization.
2432
+ */
2433
+ matchOrganizationFromOrganizationCmekSettingsName(organizationCmekSettingsName: string): string | number;
2434
+ /**
2435
+ * Return a fully-qualified organizationExclusion resource name string.
2436
+ *
2437
+ * @param {string} organization
2438
+ * @param {string} exclusion
2439
+ * @returns {string} Resource name string.
2440
+ */
2441
+ organizationExclusionPath(organization: string, exclusion: string): string;
2442
+ /**
2443
+ * Parse the organization from OrganizationExclusion resource.
2444
+ *
2445
+ * @param {string} organizationExclusionName
2446
+ * A fully-qualified path representing organization_exclusion resource.
2447
+ * @returns {string} A string representing the organization.
2448
+ */
2449
+ matchOrganizationFromOrganizationExclusionName(organizationExclusionName: string): string | number;
2450
+ /**
2451
+ * Parse the exclusion from OrganizationExclusion resource.
2452
+ *
2453
+ * @param {string} organizationExclusionName
2454
+ * A fully-qualified path representing organization_exclusion resource.
2455
+ * @returns {string} A string representing the exclusion.
2456
+ */
2457
+ matchExclusionFromOrganizationExclusionName(organizationExclusionName: string): string | number;
2458
+ /**
2459
+ * Return a fully-qualified organizationLocationBucket resource name string.
2460
+ *
2461
+ * @param {string} organization
2462
+ * @param {string} location
2463
+ * @param {string} bucket
2464
+ * @returns {string} Resource name string.
2465
+ */
2466
+ organizationLocationBucketPath(organization: string, location: string, bucket: string): string;
2467
+ /**
2468
+ * Parse the organization from OrganizationLocationBucket resource.
2469
+ *
2470
+ * @param {string} organizationLocationBucketName
2471
+ * A fully-qualified path representing organization_location_bucket resource.
2472
+ * @returns {string} A string representing the organization.
2473
+ */
2474
+ matchOrganizationFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
2475
+ /**
2476
+ * Parse the location from OrganizationLocationBucket resource.
2477
+ *
2478
+ * @param {string} organizationLocationBucketName
2479
+ * A fully-qualified path representing organization_location_bucket resource.
2480
+ * @returns {string} A string representing the location.
2481
+ */
2482
+ matchLocationFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
2483
+ /**
2484
+ * Parse the bucket from OrganizationLocationBucket resource.
2485
+ *
2486
+ * @param {string} organizationLocationBucketName
2487
+ * A fully-qualified path representing organization_location_bucket resource.
2488
+ * @returns {string} A string representing the bucket.
2489
+ */
2490
+ matchBucketFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
2491
+ /**
2492
+ * Return a fully-qualified organizationLocationBucketLink resource name string.
2493
+ *
2494
+ * @param {string} organization
2495
+ * @param {string} location
2496
+ * @param {string} bucket
2497
+ * @param {string} link
2498
+ * @returns {string} Resource name string.
2499
+ */
2500
+ organizationLocationBucketLinkPath(organization: string, location: string, bucket: string, link: string): string;
2501
+ /**
2502
+ * Parse the organization from OrganizationLocationBucketLink resource.
2503
+ *
2504
+ * @param {string} organizationLocationBucketLinkName
2505
+ * A fully-qualified path representing organization_location_bucket_link resource.
2506
+ * @returns {string} A string representing the organization.
2507
+ */
2508
+ matchOrganizationFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
2509
+ /**
2510
+ * Parse the location from OrganizationLocationBucketLink resource.
2511
+ *
2512
+ * @param {string} organizationLocationBucketLinkName
2513
+ * A fully-qualified path representing organization_location_bucket_link resource.
2514
+ * @returns {string} A string representing the location.
2515
+ */
2516
+ matchLocationFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
2517
+ /**
2518
+ * Parse the bucket from OrganizationLocationBucketLink resource.
2519
+ *
2520
+ * @param {string} organizationLocationBucketLinkName
2521
+ * A fully-qualified path representing organization_location_bucket_link resource.
2522
+ * @returns {string} A string representing the bucket.
2523
+ */
2524
+ matchBucketFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
2525
+ /**
2526
+ * Parse the link from OrganizationLocationBucketLink resource.
2527
+ *
2528
+ * @param {string} organizationLocationBucketLinkName
2529
+ * A fully-qualified path representing organization_location_bucket_link resource.
2530
+ * @returns {string} A string representing the link.
2531
+ */
2532
+ matchLinkFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
2533
+ /**
2534
+ * Return a fully-qualified organizationLocationBucketView resource name string.
2535
+ *
2536
+ * @param {string} organization
2537
+ * @param {string} location
2538
+ * @param {string} bucket
2539
+ * @param {string} view
2540
+ * @returns {string} Resource name string.
2541
+ */
2542
+ organizationLocationBucketViewPath(organization: string, location: string, bucket: string, view: string): string;
2543
+ /**
2544
+ * Parse the organization from OrganizationLocationBucketView resource.
2545
+ *
2546
+ * @param {string} organizationLocationBucketViewName
2547
+ * A fully-qualified path representing organization_location_bucket_view resource.
2548
+ * @returns {string} A string representing the organization.
2549
+ */
2550
+ matchOrganizationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
2551
+ /**
2552
+ * Parse the location from OrganizationLocationBucketView resource.
2553
+ *
2554
+ * @param {string} organizationLocationBucketViewName
2555
+ * A fully-qualified path representing organization_location_bucket_view resource.
2556
+ * @returns {string} A string representing the location.
2557
+ */
2558
+ matchLocationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
2559
+ /**
2560
+ * Parse the bucket from OrganizationLocationBucketView resource.
2561
+ *
2562
+ * @param {string} organizationLocationBucketViewName
2563
+ * A fully-qualified path representing organization_location_bucket_view resource.
2564
+ * @returns {string} A string representing the bucket.
2565
+ */
2566
+ matchBucketFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
2567
+ /**
2568
+ * Parse the view from OrganizationLocationBucketView resource.
2569
+ *
2570
+ * @param {string} organizationLocationBucketViewName
2571
+ * A fully-qualified path representing organization_location_bucket_view resource.
2572
+ * @returns {string} A string representing the view.
2573
+ */
2574
+ matchViewFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
2575
+ /**
2576
+ * Return a fully-qualified organizationLog resource name string.
2577
+ *
2578
+ * @param {string} organization
2579
+ * @param {string} log
2580
+ * @returns {string} Resource name string.
2581
+ */
2582
+ organizationLogPath(organization: string, log: string): string;
2583
+ /**
2584
+ * Parse the organization from OrganizationLog resource.
2585
+ *
2586
+ * @param {string} organizationLogName
2587
+ * A fully-qualified path representing organization_log resource.
2588
+ * @returns {string} A string representing the organization.
2589
+ */
2590
+ matchOrganizationFromOrganizationLogName(organizationLogName: string): string | number;
2591
+ /**
2592
+ * Parse the log from OrganizationLog resource.
2593
+ *
2594
+ * @param {string} organizationLogName
2595
+ * A fully-qualified path representing organization_log resource.
2596
+ * @returns {string} A string representing the log.
2597
+ */
2598
+ matchLogFromOrganizationLogName(organizationLogName: string): string | number;
2599
+ /**
2600
+ * Return a fully-qualified organizationSettings resource name string.
2601
+ *
2602
+ * @param {string} organization
2603
+ * @returns {string} Resource name string.
2604
+ */
2605
+ organizationSettingsPath(organization: string): string;
2606
+ /**
2607
+ * Parse the organization from OrganizationSettings resource.
2608
+ *
2609
+ * @param {string} organizationSettingsName
2610
+ * A fully-qualified path representing organization_settings resource.
2611
+ * @returns {string} A string representing the organization.
2612
+ */
2613
+ matchOrganizationFromOrganizationSettingsName(organizationSettingsName: string): string | number;
2614
+ /**
2615
+ * Return a fully-qualified organizationSink resource name string.
2616
+ *
2617
+ * @param {string} organization
2618
+ * @param {string} sink
2619
+ * @returns {string} Resource name string.
2620
+ */
2621
+ organizationSinkPath(organization: string, sink: string): string;
2622
+ /**
2623
+ * Parse the organization from OrganizationSink resource.
2624
+ *
2625
+ * @param {string} organizationSinkName
2626
+ * A fully-qualified path representing organization_sink resource.
2627
+ * @returns {string} A string representing the organization.
2628
+ */
2629
+ matchOrganizationFromOrganizationSinkName(organizationSinkName: string): string | number;
2630
+ /**
2631
+ * Parse the sink from OrganizationSink resource.
2632
+ *
2633
+ * @param {string} organizationSinkName
2634
+ * A fully-qualified path representing organization_sink resource.
2635
+ * @returns {string} A string representing the sink.
2636
+ */
2637
+ matchSinkFromOrganizationSinkName(organizationSinkName: string): string | number;
2638
+ /**
2639
+ * Return a fully-qualified project resource name string.
2640
+ *
2641
+ * @param {string} project
2642
+ * @returns {string} Resource name string.
2643
+ */
2644
+ projectPath(project: string): string;
2645
+ /**
2646
+ * Parse the project from Project resource.
2647
+ *
2648
+ * @param {string} projectName
2649
+ * A fully-qualified path representing Project resource.
2650
+ * @returns {string} A string representing the project.
2651
+ */
2652
+ matchProjectFromProjectName(projectName: string): string | number;
2653
+ /**
2654
+ * Return a fully-qualified projectCmekSettings resource name string.
2655
+ *
2656
+ * @param {string} project
2657
+ * @returns {string} Resource name string.
2658
+ */
2659
+ projectCmekSettingsPath(project: string): string;
2660
+ /**
2661
+ * Parse the project from ProjectCmekSettings resource.
2662
+ *
2663
+ * @param {string} projectCmekSettingsName
2664
+ * A fully-qualified path representing project_cmekSettings resource.
2665
+ * @returns {string} A string representing the project.
2666
+ */
2667
+ matchProjectFromProjectCmekSettingsName(projectCmekSettingsName: string): string | number;
2668
+ /**
2669
+ * Return a fully-qualified projectExclusion resource name string.
2670
+ *
2671
+ * @param {string} project
2672
+ * @param {string} exclusion
2673
+ * @returns {string} Resource name string.
2674
+ */
2675
+ projectExclusionPath(project: string, exclusion: string): string;
2676
+ /**
2677
+ * Parse the project from ProjectExclusion resource.
2678
+ *
2679
+ * @param {string} projectExclusionName
2680
+ * A fully-qualified path representing project_exclusion resource.
2681
+ * @returns {string} A string representing the project.
2682
+ */
2683
+ matchProjectFromProjectExclusionName(projectExclusionName: string): string | number;
2684
+ /**
2685
+ * Parse the exclusion from ProjectExclusion resource.
2686
+ *
2687
+ * @param {string} projectExclusionName
2688
+ * A fully-qualified path representing project_exclusion resource.
2689
+ * @returns {string} A string representing the exclusion.
2690
+ */
2691
+ matchExclusionFromProjectExclusionName(projectExclusionName: string): string | number;
2692
+ /**
2693
+ * Return a fully-qualified projectLocationBucket resource name string.
2694
+ *
2695
+ * @param {string} project
2696
+ * @param {string} location
2697
+ * @param {string} bucket
2698
+ * @returns {string} Resource name string.
2699
+ */
2700
+ projectLocationBucketPath(project: string, location: string, bucket: string): string;
2701
+ /**
2702
+ * Parse the project from ProjectLocationBucket resource.
2703
+ *
2704
+ * @param {string} projectLocationBucketName
2705
+ * A fully-qualified path representing project_location_bucket resource.
2706
+ * @returns {string} A string representing the project.
2707
+ */
2708
+ matchProjectFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
2709
+ /**
2710
+ * Parse the location from ProjectLocationBucket resource.
2711
+ *
2712
+ * @param {string} projectLocationBucketName
2713
+ * A fully-qualified path representing project_location_bucket resource.
2714
+ * @returns {string} A string representing the location.
2715
+ */
2716
+ matchLocationFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
2717
+ /**
2718
+ * Parse the bucket from ProjectLocationBucket resource.
2719
+ *
2720
+ * @param {string} projectLocationBucketName
2721
+ * A fully-qualified path representing project_location_bucket resource.
2722
+ * @returns {string} A string representing the bucket.
2723
+ */
2724
+ matchBucketFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
2725
+ /**
2726
+ * Return a fully-qualified projectLocationBucketLink resource name string.
2727
+ *
2728
+ * @param {string} project
2729
+ * @param {string} location
2730
+ * @param {string} bucket
2731
+ * @param {string} link
2732
+ * @returns {string} Resource name string.
2733
+ */
2734
+ projectLocationBucketLinkPath(project: string, location: string, bucket: string, link: string): string;
2735
+ /**
2736
+ * Parse the project from ProjectLocationBucketLink resource.
2737
+ *
2738
+ * @param {string} projectLocationBucketLinkName
2739
+ * A fully-qualified path representing project_location_bucket_link resource.
2740
+ * @returns {string} A string representing the project.
2741
+ */
2742
+ matchProjectFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
2743
+ /**
2744
+ * Parse the location from ProjectLocationBucketLink resource.
2745
+ *
2746
+ * @param {string} projectLocationBucketLinkName
2747
+ * A fully-qualified path representing project_location_bucket_link resource.
2748
+ * @returns {string} A string representing the location.
2749
+ */
2750
+ matchLocationFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
2751
+ /**
2752
+ * Parse the bucket from ProjectLocationBucketLink resource.
2753
+ *
2754
+ * @param {string} projectLocationBucketLinkName
2755
+ * A fully-qualified path representing project_location_bucket_link resource.
2756
+ * @returns {string} A string representing the bucket.
2757
+ */
2758
+ matchBucketFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
2759
+ /**
2760
+ * Parse the link from ProjectLocationBucketLink resource.
2761
+ *
2762
+ * @param {string} projectLocationBucketLinkName
2763
+ * A fully-qualified path representing project_location_bucket_link resource.
2764
+ * @returns {string} A string representing the link.
2765
+ */
2766
+ matchLinkFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
2767
+ /**
2768
+ * Return a fully-qualified projectLocationBucketView resource name string.
2769
+ *
2770
+ * @param {string} project
2771
+ * @param {string} location
2772
+ * @param {string} bucket
2773
+ * @param {string} view
2774
+ * @returns {string} Resource name string.
2775
+ */
2776
+ projectLocationBucketViewPath(project: string, location: string, bucket: string, view: string): string;
2777
+ /**
2778
+ * Parse the project from ProjectLocationBucketView resource.
2779
+ *
2780
+ * @param {string} projectLocationBucketViewName
2781
+ * A fully-qualified path representing project_location_bucket_view resource.
2782
+ * @returns {string} A string representing the project.
2783
+ */
2784
+ matchProjectFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
2785
+ /**
2786
+ * Parse the location from ProjectLocationBucketView resource.
2787
+ *
2788
+ * @param {string} projectLocationBucketViewName
2789
+ * A fully-qualified path representing project_location_bucket_view resource.
2790
+ * @returns {string} A string representing the location.
2791
+ */
2792
+ matchLocationFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
2793
+ /**
2794
+ * Parse the bucket from ProjectLocationBucketView resource.
2795
+ *
2796
+ * @param {string} projectLocationBucketViewName
2797
+ * A fully-qualified path representing project_location_bucket_view resource.
2798
+ * @returns {string} A string representing the bucket.
2799
+ */
2800
+ matchBucketFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
2801
+ /**
2802
+ * Parse the view from ProjectLocationBucketView resource.
2803
+ *
2804
+ * @param {string} projectLocationBucketViewName
2805
+ * A fully-qualified path representing project_location_bucket_view resource.
2806
+ * @returns {string} A string representing the view.
2807
+ */
2808
+ matchViewFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
2809
+ /**
2810
+ * Return a fully-qualified projectLog resource name string.
2811
+ *
2812
+ * @param {string} project
2813
+ * @param {string} log
2814
+ * @returns {string} Resource name string.
2815
+ */
2816
+ projectLogPath(project: string, log: string): string;
2817
+ /**
2818
+ * Parse the project from ProjectLog resource.
2819
+ *
2820
+ * @param {string} projectLogName
2821
+ * A fully-qualified path representing project_log resource.
2822
+ * @returns {string} A string representing the project.
2823
+ */
2824
+ matchProjectFromProjectLogName(projectLogName: string): string | number;
2825
+ /**
2826
+ * Parse the log from ProjectLog resource.
2827
+ *
2828
+ * @param {string} projectLogName
2829
+ * A fully-qualified path representing project_log resource.
2830
+ * @returns {string} A string representing the log.
2831
+ */
2832
+ matchLogFromProjectLogName(projectLogName: string): string | number;
2833
+ /**
2834
+ * Return a fully-qualified projectSettings resource name string.
2835
+ *
2836
+ * @param {string} project
2837
+ * @returns {string} Resource name string.
2838
+ */
2839
+ projectSettingsPath(project: string): string;
2840
+ /**
2841
+ * Parse the project from ProjectSettings resource.
2842
+ *
2843
+ * @param {string} projectSettingsName
2844
+ * A fully-qualified path representing project_settings resource.
2845
+ * @returns {string} A string representing the project.
2846
+ */
2847
+ matchProjectFromProjectSettingsName(projectSettingsName: string): string | number;
2848
+ /**
2849
+ * Return a fully-qualified projectSink resource name string.
2850
+ *
2851
+ * @param {string} project
2852
+ * @param {string} sink
2853
+ * @returns {string} Resource name string.
2854
+ */
2855
+ projectSinkPath(project: string, sink: string): string;
2856
+ /**
2857
+ * Parse the project from ProjectSink resource.
2858
+ *
2859
+ * @param {string} projectSinkName
2860
+ * A fully-qualified path representing project_sink resource.
2861
+ * @returns {string} A string representing the project.
2862
+ */
2863
+ matchProjectFromProjectSinkName(projectSinkName: string): string | number;
2864
+ /**
2865
+ * Parse the sink from ProjectSink resource.
2866
+ *
2867
+ * @param {string} projectSinkName
2868
+ * A fully-qualified path representing project_sink resource.
2869
+ * @returns {string} A string representing the sink.
2870
+ */
2871
+ matchSinkFromProjectSinkName(projectSinkName: string): string | number;
2872
+ /**
2873
+ * Terminate the gRPC channel and close the client.
2874
+ *
2875
+ * The client will no longer be usable and all future behavior is undefined.
2876
+ * @returns {Promise} A promise that resolves when the client is closed.
2877
+ */
2878
+ close(): Promise<void>;
2879
+ }