@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,1617 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Service for ingesting and querying logs.
7
+ * @class
8
+ * @memberof v2
9
+ */
10
+ export declare class LoggingServiceV2Client {
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
+ loggingServiceV2Stub?: Promise<{
31
+ [name: string]: Function;
32
+ }>;
33
+ /**
34
+ * Construct an instance of LoggingServiceV2Client.
35
+ *
36
+ * @param {object} [options] - The configuration object.
37
+ * The options accepted by the constructor are described in detail
38
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
39
+ * The common options are:
40
+ * @param {object} [options.credentials] - Credentials object.
41
+ * @param {string} [options.credentials.client_email]
42
+ * @param {string} [options.credentials.private_key]
43
+ * @param {string} [options.email] - Account email address. Required when
44
+ * using a .pem or .p12 keyFilename.
45
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
46
+ * .p12 key downloaded from the Google Developers Console. If you provide
47
+ * a path to a JSON file, the projectId option below is not necessary.
48
+ * NOTE: .pem and .p12 require you to specify options.email as well.
49
+ * @param {number} [options.port] - The port on which to connect to
50
+ * the remote host.
51
+ * @param {string} [options.projectId] - The project ID from the Google
52
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
53
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
54
+ * app is running in an environment which supports
55
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
56
+ * your project ID will be detected automatically.
57
+ * @param {string} [options.apiEndpoint] - The domain name of the
58
+ * API remote host.
59
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
60
+ * Follows the structure of {@link gapicConfig}.
61
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
62
+ * For more information, please check the
63
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
64
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
65
+ * need to avoid loading the default gRPC version and want to use the fallback
66
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
67
+ * ```
68
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
69
+ * const client = new LoggingServiceV2Client({fallback: true}, gax);
70
+ * ```
71
+ */
72
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
73
+ /**
74
+ * Initialize the client.
75
+ * Performs asynchronous operations (such as authentication) and prepares the client.
76
+ * This function will be called automatically when any class method is called for the
77
+ * first time, but if you need to initialize it before calling an actual method,
78
+ * feel free to call initialize() directly.
79
+ *
80
+ * You can await on this method if you want to make sure the client is initialized.
81
+ *
82
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
83
+ */
84
+ initialize(): Promise<{
85
+ [name: string]: Function;
86
+ }>;
87
+ /**
88
+ * The DNS address for this API service.
89
+ * @deprecated Use the apiEndpoint method of the client instance.
90
+ * @returns {string} The DNS address for this service.
91
+ */
92
+ static get servicePath(): string;
93
+ /**
94
+ * The DNS address for this API service - same as servicePath.
95
+ * @deprecated Use the apiEndpoint method of the client instance.
96
+ * @returns {string} The DNS address for this service.
97
+ */
98
+ static get apiEndpoint(): string;
99
+ /**
100
+ * The DNS address for this API service.
101
+ * @returns {string} The DNS address for this service.
102
+ */
103
+ get apiEndpoint(): string;
104
+ get universeDomain(): string;
105
+ /**
106
+ * The port for this API service.
107
+ * @returns {number} The default port for this service.
108
+ */
109
+ static get port(): number;
110
+ /**
111
+ * The scopes needed to make gRPC calls for every method defined
112
+ * in this service.
113
+ * @returns {string[]} List of default scopes.
114
+ */
115
+ static get scopes(): string[];
116
+ getProjectId(): Promise<string>;
117
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
118
+ /**
119
+ * Deletes all the log entries in a log for the _Default Log Bucket. The log
120
+ * reappears if it receives new entries. Log entries written shortly before
121
+ * the delete operation might not be deleted. Entries received after the
122
+ * delete operation with a timestamp before the operation will be deleted.
123
+ *
124
+ * @param {Object} request
125
+ * The request object that will be sent.
126
+ * @param {string} request.logName
127
+ * Required. The resource name of the log to delete:
128
+ *
129
+ * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
130
+ * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
131
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
132
+ * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
133
+ *
134
+ * `[LOG_ID]` must be URL-encoded. For example,
135
+ * `"projects/my-project-id/logs/syslog"`,
136
+ * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
137
+ *
138
+ * For more information about log names, see
139
+ * {@link protos.google.logging.v2.LogEntry|LogEntry}.
140
+ * @param {object} [options]
141
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
142
+ * @returns {Promise} - The promise which resolves to an array.
143
+ * The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
144
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
145
+ * for more details and examples.
146
+ * @example <caption>include:samples/generated/v2/logging_service_v2.delete_log.js</caption>
147
+ * region_tag:logging_v2_generated_LoggingServiceV2_DeleteLog_async
148
+ */
149
+ deleteLog(request?: protos.google.logging.v2.IDeleteLogRequest, options?: CallOptions): Promise<[
150
+ protos.google.protobuf.IEmpty,
151
+ protos.google.logging.v2.IDeleteLogRequest | undefined,
152
+ {} | undefined
153
+ ]>;
154
+ deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | null | undefined, {} | null | undefined>): void;
155
+ deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | null | undefined, {} | null | undefined>): void;
156
+ /**
157
+ * Writes log entries to Logging. This API method is the
158
+ * only way to send log entries to Logging. This method
159
+ * is used, directly or indirectly, by the Logging agent
160
+ * (fluentd) and all logging libraries configured to use Logging.
161
+ * A single request may contain log entries for a maximum of 1000
162
+ * different resources (projects, organizations, billing accounts or
163
+ * folders)
164
+ *
165
+ * @param {Object} request
166
+ * The request object that will be sent.
167
+ * @param {string} [request.logName]
168
+ * Optional. A default log resource name that is assigned to all log entries
169
+ * in `entries` that do not specify a value for `log_name`:
170
+ *
171
+ * * `projects/[PROJECT_ID]/logs/[LOG_ID]`
172
+ * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
173
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
174
+ * * `folders/[FOLDER_ID]/logs/[LOG_ID]`
175
+ *
176
+ * `[LOG_ID]` must be URL-encoded. For example:
177
+ *
178
+ * "projects/my-project-id/logs/syslog"
179
+ * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
180
+ *
181
+ * The permission `logging.logEntries.create` is needed on each project,
182
+ * organization, billing account, or folder that is receiving new log
183
+ * entries, whether the resource is specified in `logName` or in an
184
+ * individual log entry.
185
+ * @param {google.api.MonitoredResource} [request.resource]
186
+ * Optional. A default monitored resource object that is assigned to all log
187
+ * entries in `entries` that do not specify a value for `resource`. Example:
188
+ *
189
+ * { "type": "gce_instance",
190
+ * "labels": {
191
+ * "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
192
+ *
193
+ * See {@link protos.google.logging.v2.LogEntry|LogEntry}.
194
+ * @param {number[]} [request.labels]
195
+ * Optional. Default labels that are added to the `labels` field of all log
196
+ * entries in `entries`. If a log entry already has a label with the same key
197
+ * as a label in this parameter, then the log entry's label is not changed.
198
+ * See {@link protos.google.logging.v2.LogEntry|LogEntry}.
199
+ * @param {number[]} request.entries
200
+ * Required. The log entries to send to Logging. The order of log
201
+ * entries in this list does not matter. Values supplied in this method's
202
+ * `log_name`, `resource`, and `labels` fields are copied into those log
203
+ * entries in this list that do not include values for their corresponding
204
+ * fields. For more information, see the
205
+ * {@link protos.google.logging.v2.LogEntry|LogEntry} type.
206
+ *
207
+ * If the `timestamp` or `insert_id` fields are missing in log entries, then
208
+ * this method supplies the current time or a unique identifier, respectively.
209
+ * The supplied values are chosen so that, among the log entries that did not
210
+ * supply their own values, the entries earlier in the list will sort before
211
+ * the entries later in the list. See the `entries.list` method.
212
+ *
213
+ * Log entries with timestamps that are more than the
214
+ * [logs retention period](https://cloud.google.com/logging/quotas) in
215
+ * the past or more than 24 hours in the future will not be available when
216
+ * calling `entries.list`. However, those log entries can still be [exported
217
+ * with
218
+ * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
219
+ *
220
+ * To improve throughput and to avoid exceeding the
221
+ * [quota limit](https://cloud.google.com/logging/quotas) for calls to
222
+ * `entries.write`, you should try to include several log entries in this
223
+ * list, rather than calling this method for each individual log entry.
224
+ * @param {boolean} [request.partialSuccess]
225
+ * Optional. Whether a batch's valid entries should be written even if some
226
+ * other entry failed due to a permanent error such as INVALID_ARGUMENT or
227
+ * PERMISSION_DENIED. If any entry failed, then the response status is the
228
+ * response status of one of the failed entries. The response will include
229
+ * error details in `WriteLogEntriesPartialErrors.log_entry_errors` keyed by
230
+ * the entries' zero-based index in the `entries`. Failed requests for which
231
+ * no entries are written will not include per-entry errors.
232
+ * @param {boolean} [request.dryRun]
233
+ * Optional. If true, the request should expect normal response, but the
234
+ * entries won't be persisted nor exported. Useful for checking whether the
235
+ * logging API endpoints are working properly before sending valuable data.
236
+ * @param {object} [options]
237
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
238
+ * @returns {Promise} - The promise which resolves to an array.
239
+ * The first element of the array is an object representing {@link protos.google.logging.v2.WriteLogEntriesResponse|WriteLogEntriesResponse}.
240
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
241
+ * for more details and examples.
242
+ * @example <caption>include:samples/generated/v2/logging_service_v2.write_log_entries.js</caption>
243
+ * region_tag:logging_v2_generated_LoggingServiceV2_WriteLogEntries_async
244
+ */
245
+ writeLogEntries(request?: protos.google.logging.v2.IWriteLogEntriesRequest, options?: CallOptions): Promise<[
246
+ protos.google.logging.v2.IWriteLogEntriesResponse,
247
+ protos.google.logging.v2.IWriteLogEntriesRequest | undefined,
248
+ {} | undefined
249
+ ]>;
250
+ writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | null | undefined, {} | null | undefined>): void;
251
+ writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, callback: Callback<protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | null | undefined, {} | null | undefined>): void;
252
+ /**
253
+ * Streaming read of log entries as they are ingested. Until the stream is
254
+ * terminated, it will continue reading logs.
255
+ *
256
+ * @param {object} [options]
257
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
258
+ * @returns {Stream}
259
+ * An object stream which is both readable and writable. It accepts objects
260
+ * representing {@link protos.google.logging.v2.TailLogEntriesRequest|TailLogEntriesRequest} for write() method, and
261
+ * will emit objects representing {@link protos.google.logging.v2.TailLogEntriesResponse|TailLogEntriesResponse} on 'data' event asynchronously.
262
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#bi-directional-streaming | documentation }
263
+ * for more details and examples.
264
+ * @example <caption>include:samples/generated/v2/logging_service_v2.tail_log_entries.js</caption>
265
+ * region_tag:logging_v2_generated_LoggingServiceV2_TailLogEntries_async
266
+ */
267
+ tailLogEntries(options?: CallOptions): gax.CancellableStream;
268
+ /**
269
+ * Lists log entries. Use this method to retrieve log entries that originated
270
+ * from a project/folder/organization/billing account. For ways to export log
271
+ * entries, see [Exporting
272
+ * Logs](https://cloud.google.com/logging/docs/export).
273
+ *
274
+ * @param {Object} request
275
+ * The request object that will be sent.
276
+ * @param {string[]} request.resourceNames
277
+ * Required. Names of one or more parent resources from which to
278
+ * retrieve log entries:
279
+ *
280
+ * * `projects/[PROJECT_ID]`
281
+ * * `organizations/[ORGANIZATION_ID]`
282
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
283
+ * * `folders/[FOLDER_ID]`
284
+ *
285
+ * May alternatively be one or more views:
286
+ *
287
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
288
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
289
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
290
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
291
+ *
292
+ * Projects listed in the `project_ids` field are added to this list.
293
+ * A maximum of 100 resources may be specified in a single request.
294
+ * @param {string} [request.filter]
295
+ * Optional. Only log entries that match the filter are returned. An empty
296
+ * filter matches all log entries in the resources listed in `resource_names`.
297
+ * Referencing a parent resource that is not listed in `resource_names` will
298
+ * cause the filter to return no results. The maximum length of a filter is
299
+ * 20,000 characters.
300
+ * @param {string} [request.orderBy]
301
+ * Optional. How the results should be sorted. Presently, the only permitted
302
+ * values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
303
+ * option returns entries in order of increasing values of
304
+ * `LogEntry.timestamp` (oldest first), and the second option returns entries
305
+ * in order of decreasing timestamps (newest first). Entries with equal
306
+ * timestamps are returned in order of their `insert_id` values.
307
+ * @param {number} [request.pageSize]
308
+ * Optional. The maximum number of results to return from this request.
309
+ * Default is 50. If the value is negative or exceeds 1000, the request is
310
+ * rejected. The presence of `next_page_token` in the response indicates that
311
+ * more results might be available.
312
+ * @param {string} [request.pageToken]
313
+ * Optional. If present, then retrieve the next batch of results from the
314
+ * preceding call to this method. `page_token` must be the value of
315
+ * `next_page_token` from the previous response. The values of other method
316
+ * parameters should be identical to those in the previous call.
317
+ * @param {object} [options]
318
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
319
+ * @returns {Promise} - The promise which resolves to an array.
320
+ * The first element of the array is Array of {@link protos.google.logging.v2.LogEntry|LogEntry}.
321
+ * The client library will perform auto-pagination by default: it will call the API as many
322
+ * times as needed and will merge results from all the pages into this array.
323
+ * Note that it can affect your quota.
324
+ * We recommend using `listLogEntriesAsync()`
325
+ * method described below for async iteration which you can stop as needed.
326
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
327
+ * for more details and examples.
328
+ */
329
+ listLogEntries(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): Promise<[
330
+ protos.google.logging.v2.ILogEntry[],
331
+ protos.google.logging.v2.IListLogEntriesRequest | null,
332
+ protos.google.logging.v2.IListLogEntriesResponse
333
+ ]>;
334
+ listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogEntriesRequest, protos.google.logging.v2.IListLogEntriesResponse | null | undefined, protos.google.logging.v2.ILogEntry>): void;
335
+ listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, callback: PaginationCallback<protos.google.logging.v2.IListLogEntriesRequest, protos.google.logging.v2.IListLogEntriesResponse | null | undefined, protos.google.logging.v2.ILogEntry>): void;
336
+ /**
337
+ * Equivalent to `listLogEntries`, but returns a NodeJS Stream object.
338
+ * @param {Object} request
339
+ * The request object that will be sent.
340
+ * @param {string[]} request.resourceNames
341
+ * Required. Names of one or more parent resources from which to
342
+ * retrieve log entries:
343
+ *
344
+ * * `projects/[PROJECT_ID]`
345
+ * * `organizations/[ORGANIZATION_ID]`
346
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
347
+ * * `folders/[FOLDER_ID]`
348
+ *
349
+ * May alternatively be one or more views:
350
+ *
351
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
352
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
353
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
354
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
355
+ *
356
+ * Projects listed in the `project_ids` field are added to this list.
357
+ * A maximum of 100 resources may be specified in a single request.
358
+ * @param {string} [request.filter]
359
+ * Optional. Only log entries that match the filter are returned. An empty
360
+ * filter matches all log entries in the resources listed in `resource_names`.
361
+ * Referencing a parent resource that is not listed in `resource_names` will
362
+ * cause the filter to return no results. The maximum length of a filter is
363
+ * 20,000 characters.
364
+ * @param {string} [request.orderBy]
365
+ * Optional. How the results should be sorted. Presently, the only permitted
366
+ * values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
367
+ * option returns entries in order of increasing values of
368
+ * `LogEntry.timestamp` (oldest first), and the second option returns entries
369
+ * in order of decreasing timestamps (newest first). Entries with equal
370
+ * timestamps are returned in order of their `insert_id` values.
371
+ * @param {number} [request.pageSize]
372
+ * Optional. The maximum number of results to return from this request.
373
+ * Default is 50. If the value is negative or exceeds 1000, the request is
374
+ * rejected. The presence of `next_page_token` in the response indicates that
375
+ * more results might be available.
376
+ * @param {string} [request.pageToken]
377
+ * Optional. If present, then retrieve the next batch of results from the
378
+ * preceding call to this method. `page_token` must be the value of
379
+ * `next_page_token` from the previous response. The values of other method
380
+ * parameters should be identical to those in the previous call.
381
+ * @param {object} [options]
382
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
383
+ * @returns {Stream}
384
+ * An object stream which emits an object representing {@link protos.google.logging.v2.LogEntry|LogEntry} on 'data' event.
385
+ * The client library will perform auto-pagination by default: it will call the API as many
386
+ * times as needed. Note that it can affect your quota.
387
+ * We recommend using `listLogEntriesAsync()`
388
+ * method described below for async iteration which you can stop as needed.
389
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
390
+ * for more details and examples.
391
+ */
392
+ listLogEntriesStream(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): Transform;
393
+ /**
394
+ * Equivalent to `listLogEntries`, but returns an iterable object.
395
+ *
396
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
397
+ * @param {Object} request
398
+ * The request object that will be sent.
399
+ * @param {string[]} request.resourceNames
400
+ * Required. Names of one or more parent resources from which to
401
+ * retrieve log entries:
402
+ *
403
+ * * `projects/[PROJECT_ID]`
404
+ * * `organizations/[ORGANIZATION_ID]`
405
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
406
+ * * `folders/[FOLDER_ID]`
407
+ *
408
+ * May alternatively be one or more views:
409
+ *
410
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
411
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
412
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
413
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
414
+ *
415
+ * Projects listed in the `project_ids` field are added to this list.
416
+ * A maximum of 100 resources may be specified in a single request.
417
+ * @param {string} [request.filter]
418
+ * Optional. Only log entries that match the filter are returned. An empty
419
+ * filter matches all log entries in the resources listed in `resource_names`.
420
+ * Referencing a parent resource that is not listed in `resource_names` will
421
+ * cause the filter to return no results. The maximum length of a filter is
422
+ * 20,000 characters.
423
+ * @param {string} [request.orderBy]
424
+ * Optional. How the results should be sorted. Presently, the only permitted
425
+ * values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
426
+ * option returns entries in order of increasing values of
427
+ * `LogEntry.timestamp` (oldest first), and the second option returns entries
428
+ * in order of decreasing timestamps (newest first). Entries with equal
429
+ * timestamps are returned in order of their `insert_id` values.
430
+ * @param {number} [request.pageSize]
431
+ * Optional. The maximum number of results to return from this request.
432
+ * Default is 50. If the value is negative or exceeds 1000, the request is
433
+ * rejected. The presence of `next_page_token` in the response indicates that
434
+ * more results might be available.
435
+ * @param {string} [request.pageToken]
436
+ * Optional. If present, then retrieve the next batch of results from the
437
+ * preceding call to this method. `page_token` must be the value of
438
+ * `next_page_token` from the previous response. The values of other method
439
+ * parameters should be identical to those in the previous call.
440
+ * @param {object} [options]
441
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
442
+ * @returns {Object}
443
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
444
+ * When you iterate the returned iterable, each element will be an object representing
445
+ * {@link protos.google.logging.v2.LogEntry|LogEntry}. The API will be called under the hood as needed, once per the page,
446
+ * so you can stop the iteration when you don't need more results.
447
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
448
+ * for more details and examples.
449
+ * @example <caption>include:samples/generated/v2/logging_service_v2.list_log_entries.js</caption>
450
+ * region_tag:logging_v2_generated_LoggingServiceV2_ListLogEntries_async
451
+ */
452
+ listLogEntriesAsync(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogEntry>;
453
+ /**
454
+ * Lists the descriptors for monitored resource types used by Logging.
455
+ *
456
+ * @param {Object} request
457
+ * The request object that will be sent.
458
+ * @param {number} [request.pageSize]
459
+ * Optional. The maximum number of results to return from this request.
460
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
461
+ * response indicates that more results might be available.
462
+ * @param {string} [request.pageToken]
463
+ * Optional. If present, then retrieve the next batch of results from the
464
+ * preceding call to this method. `pageToken` must be the value of
465
+ * `nextPageToken` from the previous response. The values of other method
466
+ * parameters should be identical to those in the previous call.
467
+ * @param {object} [options]
468
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
469
+ * @returns {Promise} - The promise which resolves to an array.
470
+ * The first element of the array is Array of {@link protos.google.api.MonitoredResourceDescriptor|MonitoredResourceDescriptor}.
471
+ * The client library will perform auto-pagination by default: it will call the API as many
472
+ * times as needed and will merge results from all the pages into this array.
473
+ * Note that it can affect your quota.
474
+ * We recommend using `listMonitoredResourceDescriptorsAsync()`
475
+ * method described below for async iteration which you can stop as needed.
476
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
477
+ * for more details and examples.
478
+ */
479
+ listMonitoredResourceDescriptors(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): Promise<[
480
+ protos.google.api.IMonitoredResourceDescriptor[],
481
+ protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest | null,
482
+ protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse
483
+ ]>;
484
+ listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse | null | undefined, protos.google.api.IMonitoredResourceDescriptor>): void;
485
+ listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, callback: PaginationCallback<protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse | null | undefined, protos.google.api.IMonitoredResourceDescriptor>): void;
486
+ /**
487
+ * Equivalent to `listMonitoredResourceDescriptors`, but returns a NodeJS Stream object.
488
+ * @param {Object} request
489
+ * The request object that will be sent.
490
+ * @param {number} [request.pageSize]
491
+ * Optional. The maximum number of results to return from this request.
492
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
493
+ * response indicates that more results might be available.
494
+ * @param {string} [request.pageToken]
495
+ * Optional. If present, then retrieve the next batch of results from the
496
+ * preceding call to this method. `pageToken` must be the value of
497
+ * `nextPageToken` from the previous response. The values of other method
498
+ * parameters should be identical to those in the previous call.
499
+ * @param {object} [options]
500
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
501
+ * @returns {Stream}
502
+ * An object stream which emits an object representing {@link protos.google.api.MonitoredResourceDescriptor|MonitoredResourceDescriptor} on 'data' event.
503
+ * The client library will perform auto-pagination by default: it will call the API as many
504
+ * times as needed. Note that it can affect your quota.
505
+ * We recommend using `listMonitoredResourceDescriptorsAsync()`
506
+ * method described below for async iteration which you can stop as needed.
507
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
508
+ * for more details and examples.
509
+ */
510
+ listMonitoredResourceDescriptorsStream(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): Transform;
511
+ /**
512
+ * Equivalent to `listMonitoredResourceDescriptors`, but returns an iterable object.
513
+ *
514
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
515
+ * @param {Object} request
516
+ * The request object that will be sent.
517
+ * @param {number} [request.pageSize]
518
+ * Optional. The maximum number of results to return from this request.
519
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
520
+ * response indicates that more results might be available.
521
+ * @param {string} [request.pageToken]
522
+ * Optional. If present, then retrieve the next batch of results from the
523
+ * preceding call to this method. `pageToken` must be the value of
524
+ * `nextPageToken` from the previous response. The values of other method
525
+ * parameters should be identical to those in the previous call.
526
+ * @param {object} [options]
527
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
528
+ * @returns {Object}
529
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
530
+ * When you iterate the returned iterable, each element will be an object representing
531
+ * {@link protos.google.api.MonitoredResourceDescriptor|MonitoredResourceDescriptor}. The API will be called under the hood as needed, once per the page,
532
+ * so you can stop the iteration when you don't need more results.
533
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
534
+ * for more details and examples.
535
+ * @example <caption>include:samples/generated/v2/logging_service_v2.list_monitored_resource_descriptors.js</caption>
536
+ * region_tag:logging_v2_generated_LoggingServiceV2_ListMonitoredResourceDescriptors_async
537
+ */
538
+ listMonitoredResourceDescriptorsAsync(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): AsyncIterable<protos.google.api.IMonitoredResourceDescriptor>;
539
+ /**
540
+ * Lists the logs in projects, organizations, folders, or billing accounts.
541
+ * Only logs that have entries are listed.
542
+ *
543
+ * @param {Object} request
544
+ * The request object that will be sent.
545
+ * @param {string} request.parent
546
+ * Required. The resource name to list logs for:
547
+ *
548
+ * * `projects/[PROJECT_ID]`
549
+ * * `organizations/[ORGANIZATION_ID]`
550
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
551
+ * * `folders/[FOLDER_ID]`
552
+ * @param {string[]} [request.resourceNames]
553
+ * Optional. List of resource names to list logs for:
554
+ *
555
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
556
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
557
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
558
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
559
+ *
560
+ * To support legacy queries, it could also be:
561
+ *
562
+ * * `projects/[PROJECT_ID]`
563
+ * * `organizations/[ORGANIZATION_ID]`
564
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
565
+ * * `folders/[FOLDER_ID]`
566
+ *
567
+ * The resource name in the `parent` field is added to this list.
568
+ * @param {number} [request.pageSize]
569
+ * Optional. The maximum number of results to return from this request.
570
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
571
+ * response indicates that more results might be available.
572
+ * @param {string} [request.pageToken]
573
+ * Optional. If present, then retrieve the next batch of results from the
574
+ * preceding call to this method. `pageToken` must be the value of
575
+ * `nextPageToken` from the previous response. The values of other method
576
+ * parameters should be identical to those in the previous call.
577
+ * @param {object} [options]
578
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
579
+ * @returns {Promise} - The promise which resolves to an array.
580
+ * The first element of the array is Array of string.
581
+ * The client library will perform auto-pagination by default: it will call the API as many
582
+ * times as needed and will merge results from all the pages into this array.
583
+ * Note that it can affect your quota.
584
+ * We recommend using `listLogsAsync()`
585
+ * method described below for async iteration which you can stop as needed.
586
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
587
+ * for more details and examples.
588
+ */
589
+ listLogs(request?: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): Promise<[
590
+ string[],
591
+ protos.google.logging.v2.IListLogsRequest | null,
592
+ protos.google.logging.v2.IListLogsResponse
593
+ ]>;
594
+ listLogs(request: protos.google.logging.v2.IListLogsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogsRequest, protos.google.logging.v2.IListLogsResponse | null | undefined, string>): void;
595
+ listLogs(request: protos.google.logging.v2.IListLogsRequest, callback: PaginationCallback<protos.google.logging.v2.IListLogsRequest, protos.google.logging.v2.IListLogsResponse | null | undefined, string>): void;
596
+ /**
597
+ * Equivalent to `listLogs`, but returns a NodeJS Stream object.
598
+ * @param {Object} request
599
+ * The request object that will be sent.
600
+ * @param {string} request.parent
601
+ * Required. The resource name to list logs for:
602
+ *
603
+ * * `projects/[PROJECT_ID]`
604
+ * * `organizations/[ORGANIZATION_ID]`
605
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
606
+ * * `folders/[FOLDER_ID]`
607
+ * @param {string[]} [request.resourceNames]
608
+ * Optional. List of resource names to list logs for:
609
+ *
610
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
611
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
612
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
613
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
614
+ *
615
+ * To support legacy queries, it could also be:
616
+ *
617
+ * * `projects/[PROJECT_ID]`
618
+ * * `organizations/[ORGANIZATION_ID]`
619
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
620
+ * * `folders/[FOLDER_ID]`
621
+ *
622
+ * The resource name in the `parent` field is added to this list.
623
+ * @param {number} [request.pageSize]
624
+ * Optional. The maximum number of results to return from this request.
625
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
626
+ * response indicates that more results might be available.
627
+ * @param {string} [request.pageToken]
628
+ * Optional. If present, then retrieve the next batch of results from the
629
+ * preceding call to this method. `pageToken` must be the value of
630
+ * `nextPageToken` from the previous response. The values of other method
631
+ * parameters should be identical to those in the previous call.
632
+ * @param {object} [options]
633
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
634
+ * @returns {Stream}
635
+ * An object stream which emits an object representing string on 'data' event.
636
+ * The client library will perform auto-pagination by default: it will call the API as many
637
+ * times as needed. Note that it can affect your quota.
638
+ * We recommend using `listLogsAsync()`
639
+ * method described below for async iteration which you can stop as needed.
640
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
641
+ * for more details and examples.
642
+ */
643
+ listLogsStream(request?: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): Transform;
644
+ /**
645
+ * Equivalent to `listLogs`, but returns an iterable object.
646
+ *
647
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
648
+ * @param {Object} request
649
+ * The request object that will be sent.
650
+ * @param {string} request.parent
651
+ * Required. The resource name to list logs for:
652
+ *
653
+ * * `projects/[PROJECT_ID]`
654
+ * * `organizations/[ORGANIZATION_ID]`
655
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
656
+ * * `folders/[FOLDER_ID]`
657
+ * @param {string[]} [request.resourceNames]
658
+ * Optional. List of resource names to list logs for:
659
+ *
660
+ * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
661
+ * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
662
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
663
+ * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
664
+ *
665
+ * To support legacy queries, it could also be:
666
+ *
667
+ * * `projects/[PROJECT_ID]`
668
+ * * `organizations/[ORGANIZATION_ID]`
669
+ * * `billingAccounts/[BILLING_ACCOUNT_ID]`
670
+ * * `folders/[FOLDER_ID]`
671
+ *
672
+ * The resource name in the `parent` field is added to this list.
673
+ * @param {number} [request.pageSize]
674
+ * Optional. The maximum number of results to return from this request.
675
+ * Non-positive values are ignored. The presence of `nextPageToken` in the
676
+ * response indicates that more results might be available.
677
+ * @param {string} [request.pageToken]
678
+ * Optional. If present, then retrieve the next batch of results from the
679
+ * preceding call to this method. `pageToken` must be the value of
680
+ * `nextPageToken` from the previous response. The values of other method
681
+ * parameters should be identical to those in the previous call.
682
+ * @param {object} [options]
683
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
684
+ * @returns {Object}
685
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
686
+ * When you iterate the returned iterable, each element will be an object representing
687
+ * string. The API will be called under the hood as needed, once per the page,
688
+ * so you can stop the iteration when you don't need more results.
689
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
690
+ * for more details and examples.
691
+ * @example <caption>include:samples/generated/v2/logging_service_v2.list_logs.js</caption>
692
+ * region_tag:logging_v2_generated_LoggingServiceV2_ListLogs_async
693
+ */
694
+ listLogsAsync(request?: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): AsyncIterable<string>;
695
+ /**
696
+ * Return a fully-qualified billingAccountCmekSettings resource name string.
697
+ *
698
+ * @param {string} billing_account
699
+ * @returns {string} Resource name string.
700
+ */
701
+ billingAccountCmekSettingsPath(billingAccount: string): string;
702
+ /**
703
+ * Parse the billing_account from BillingAccountCmekSettings resource.
704
+ *
705
+ * @param {string} billingAccountCmekSettingsName
706
+ * A fully-qualified path representing billing_account_cmekSettings resource.
707
+ * @returns {string} A string representing the billing_account.
708
+ */
709
+ matchBillingAccountFromBillingAccountCmekSettingsName(billingAccountCmekSettingsName: string): string | number;
710
+ /**
711
+ * Return a fully-qualified billingAccountExclusion resource name string.
712
+ *
713
+ * @param {string} billing_account
714
+ * @param {string} exclusion
715
+ * @returns {string} Resource name string.
716
+ */
717
+ billingAccountExclusionPath(billingAccount: string, exclusion: string): string;
718
+ /**
719
+ * Parse the billing_account from BillingAccountExclusion resource.
720
+ *
721
+ * @param {string} billingAccountExclusionName
722
+ * A fully-qualified path representing billing_account_exclusion resource.
723
+ * @returns {string} A string representing the billing_account.
724
+ */
725
+ matchBillingAccountFromBillingAccountExclusionName(billingAccountExclusionName: string): string | number;
726
+ /**
727
+ * Parse the exclusion from BillingAccountExclusion resource.
728
+ *
729
+ * @param {string} billingAccountExclusionName
730
+ * A fully-qualified path representing billing_account_exclusion resource.
731
+ * @returns {string} A string representing the exclusion.
732
+ */
733
+ matchExclusionFromBillingAccountExclusionName(billingAccountExclusionName: string): string | number;
734
+ /**
735
+ * Return a fully-qualified billingAccountLocationBucket resource name string.
736
+ *
737
+ * @param {string} billing_account
738
+ * @param {string} location
739
+ * @param {string} bucket
740
+ * @returns {string} Resource name string.
741
+ */
742
+ billingAccountLocationBucketPath(billingAccount: string, location: string, bucket: string): string;
743
+ /**
744
+ * Parse the billing_account from BillingAccountLocationBucket resource.
745
+ *
746
+ * @param {string} billingAccountLocationBucketName
747
+ * A fully-qualified path representing billing_account_location_bucket resource.
748
+ * @returns {string} A string representing the billing_account.
749
+ */
750
+ matchBillingAccountFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
751
+ /**
752
+ * Parse the location from BillingAccountLocationBucket resource.
753
+ *
754
+ * @param {string} billingAccountLocationBucketName
755
+ * A fully-qualified path representing billing_account_location_bucket resource.
756
+ * @returns {string} A string representing the location.
757
+ */
758
+ matchLocationFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
759
+ /**
760
+ * Parse the bucket from BillingAccountLocationBucket resource.
761
+ *
762
+ * @param {string} billingAccountLocationBucketName
763
+ * A fully-qualified path representing billing_account_location_bucket resource.
764
+ * @returns {string} A string representing the bucket.
765
+ */
766
+ matchBucketFromBillingAccountLocationBucketName(billingAccountLocationBucketName: string): string | number;
767
+ /**
768
+ * Return a fully-qualified billingAccountLocationBucketLink resource name string.
769
+ *
770
+ * @param {string} billing_account
771
+ * @param {string} location
772
+ * @param {string} bucket
773
+ * @param {string} link
774
+ * @returns {string} Resource name string.
775
+ */
776
+ billingAccountLocationBucketLinkPath(billingAccount: string, location: string, bucket: string, link: string): string;
777
+ /**
778
+ * Parse the billing_account from BillingAccountLocationBucketLink resource.
779
+ *
780
+ * @param {string} billingAccountLocationBucketLinkName
781
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
782
+ * @returns {string} A string representing the billing_account.
783
+ */
784
+ matchBillingAccountFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
785
+ /**
786
+ * Parse the location from BillingAccountLocationBucketLink resource.
787
+ *
788
+ * @param {string} billingAccountLocationBucketLinkName
789
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
790
+ * @returns {string} A string representing the location.
791
+ */
792
+ matchLocationFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
793
+ /**
794
+ * Parse the bucket from BillingAccountLocationBucketLink resource.
795
+ *
796
+ * @param {string} billingAccountLocationBucketLinkName
797
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
798
+ * @returns {string} A string representing the bucket.
799
+ */
800
+ matchBucketFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
801
+ /**
802
+ * Parse the link from BillingAccountLocationBucketLink resource.
803
+ *
804
+ * @param {string} billingAccountLocationBucketLinkName
805
+ * A fully-qualified path representing billing_account_location_bucket_link resource.
806
+ * @returns {string} A string representing the link.
807
+ */
808
+ matchLinkFromBillingAccountLocationBucketLinkName(billingAccountLocationBucketLinkName: string): string | number;
809
+ /**
810
+ * Return a fully-qualified billingAccountLocationBucketView resource name string.
811
+ *
812
+ * @param {string} billing_account
813
+ * @param {string} location
814
+ * @param {string} bucket
815
+ * @param {string} view
816
+ * @returns {string} Resource name string.
817
+ */
818
+ billingAccountLocationBucketViewPath(billingAccount: string, location: string, bucket: string, view: string): string;
819
+ /**
820
+ * Parse the billing_account from BillingAccountLocationBucketView resource.
821
+ *
822
+ * @param {string} billingAccountLocationBucketViewName
823
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
824
+ * @returns {string} A string representing the billing_account.
825
+ */
826
+ matchBillingAccountFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
827
+ /**
828
+ * Parse the location from BillingAccountLocationBucketView resource.
829
+ *
830
+ * @param {string} billingAccountLocationBucketViewName
831
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
832
+ * @returns {string} A string representing the location.
833
+ */
834
+ matchLocationFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
835
+ /**
836
+ * Parse the bucket from BillingAccountLocationBucketView resource.
837
+ *
838
+ * @param {string} billingAccountLocationBucketViewName
839
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
840
+ * @returns {string} A string representing the bucket.
841
+ */
842
+ matchBucketFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
843
+ /**
844
+ * Parse the view from BillingAccountLocationBucketView resource.
845
+ *
846
+ * @param {string} billingAccountLocationBucketViewName
847
+ * A fully-qualified path representing billing_account_location_bucket_view resource.
848
+ * @returns {string} A string representing the view.
849
+ */
850
+ matchViewFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
851
+ /**
852
+ * Return a fully-qualified billingAccountLog resource name string.
853
+ *
854
+ * @param {string} billing_account
855
+ * @param {string} log
856
+ * @returns {string} Resource name string.
857
+ */
858
+ billingAccountLogPath(billingAccount: string, log: string): string;
859
+ /**
860
+ * Parse the billing_account from BillingAccountLog resource.
861
+ *
862
+ * @param {string} billingAccountLogName
863
+ * A fully-qualified path representing billing_account_log resource.
864
+ * @returns {string} A string representing the billing_account.
865
+ */
866
+ matchBillingAccountFromBillingAccountLogName(billingAccountLogName: string): string | number;
867
+ /**
868
+ * Parse the log from BillingAccountLog resource.
869
+ *
870
+ * @param {string} billingAccountLogName
871
+ * A fully-qualified path representing billing_account_log resource.
872
+ * @returns {string} A string representing the log.
873
+ */
874
+ matchLogFromBillingAccountLogName(billingAccountLogName: string): string | number;
875
+ /**
876
+ * Return a fully-qualified billingAccountSettings resource name string.
877
+ *
878
+ * @param {string} billing_account
879
+ * @returns {string} Resource name string.
880
+ */
881
+ billingAccountSettingsPath(billingAccount: string): string;
882
+ /**
883
+ * Parse the billing_account from BillingAccountSettings resource.
884
+ *
885
+ * @param {string} billingAccountSettingsName
886
+ * A fully-qualified path representing billing_account_settings resource.
887
+ * @returns {string} A string representing the billing_account.
888
+ */
889
+ matchBillingAccountFromBillingAccountSettingsName(billingAccountSettingsName: string): string | number;
890
+ /**
891
+ * Return a fully-qualified billingAccountSink resource name string.
892
+ *
893
+ * @param {string} billing_account
894
+ * @param {string} sink
895
+ * @returns {string} Resource name string.
896
+ */
897
+ billingAccountSinkPath(billingAccount: string, sink: string): string;
898
+ /**
899
+ * Parse the billing_account from BillingAccountSink resource.
900
+ *
901
+ * @param {string} billingAccountSinkName
902
+ * A fully-qualified path representing billing_account_sink resource.
903
+ * @returns {string} A string representing the billing_account.
904
+ */
905
+ matchBillingAccountFromBillingAccountSinkName(billingAccountSinkName: string): string | number;
906
+ /**
907
+ * Parse the sink from BillingAccountSink resource.
908
+ *
909
+ * @param {string} billingAccountSinkName
910
+ * A fully-qualified path representing billing_account_sink resource.
911
+ * @returns {string} A string representing the sink.
912
+ */
913
+ matchSinkFromBillingAccountSinkName(billingAccountSinkName: string): string | number;
914
+ /**
915
+ * Return a fully-qualified folderCmekSettings resource name string.
916
+ *
917
+ * @param {string} folder
918
+ * @returns {string} Resource name string.
919
+ */
920
+ folderCmekSettingsPath(folder: string): string;
921
+ /**
922
+ * Parse the folder from FolderCmekSettings resource.
923
+ *
924
+ * @param {string} folderCmekSettingsName
925
+ * A fully-qualified path representing folder_cmekSettings resource.
926
+ * @returns {string} A string representing the folder.
927
+ */
928
+ matchFolderFromFolderCmekSettingsName(folderCmekSettingsName: string): string | number;
929
+ /**
930
+ * Return a fully-qualified folderExclusion resource name string.
931
+ *
932
+ * @param {string} folder
933
+ * @param {string} exclusion
934
+ * @returns {string} Resource name string.
935
+ */
936
+ folderExclusionPath(folder: string, exclusion: string): string;
937
+ /**
938
+ * Parse the folder from FolderExclusion resource.
939
+ *
940
+ * @param {string} folderExclusionName
941
+ * A fully-qualified path representing folder_exclusion resource.
942
+ * @returns {string} A string representing the folder.
943
+ */
944
+ matchFolderFromFolderExclusionName(folderExclusionName: string): string | number;
945
+ /**
946
+ * Parse the exclusion from FolderExclusion resource.
947
+ *
948
+ * @param {string} folderExclusionName
949
+ * A fully-qualified path representing folder_exclusion resource.
950
+ * @returns {string} A string representing the exclusion.
951
+ */
952
+ matchExclusionFromFolderExclusionName(folderExclusionName: string): string | number;
953
+ /**
954
+ * Return a fully-qualified folderLocationBucket resource name string.
955
+ *
956
+ * @param {string} folder
957
+ * @param {string} location
958
+ * @param {string} bucket
959
+ * @returns {string} Resource name string.
960
+ */
961
+ folderLocationBucketPath(folder: string, location: string, bucket: string): string;
962
+ /**
963
+ * Parse the folder from FolderLocationBucket resource.
964
+ *
965
+ * @param {string} folderLocationBucketName
966
+ * A fully-qualified path representing folder_location_bucket resource.
967
+ * @returns {string} A string representing the folder.
968
+ */
969
+ matchFolderFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
970
+ /**
971
+ * Parse the location from FolderLocationBucket resource.
972
+ *
973
+ * @param {string} folderLocationBucketName
974
+ * A fully-qualified path representing folder_location_bucket resource.
975
+ * @returns {string} A string representing the location.
976
+ */
977
+ matchLocationFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
978
+ /**
979
+ * Parse the bucket from FolderLocationBucket resource.
980
+ *
981
+ * @param {string} folderLocationBucketName
982
+ * A fully-qualified path representing folder_location_bucket resource.
983
+ * @returns {string} A string representing the bucket.
984
+ */
985
+ matchBucketFromFolderLocationBucketName(folderLocationBucketName: string): string | number;
986
+ /**
987
+ * Return a fully-qualified folderLocationBucketLink resource name string.
988
+ *
989
+ * @param {string} folder
990
+ * @param {string} location
991
+ * @param {string} bucket
992
+ * @param {string} link
993
+ * @returns {string} Resource name string.
994
+ */
995
+ folderLocationBucketLinkPath(folder: string, location: string, bucket: string, link: string): string;
996
+ /**
997
+ * Parse the folder from FolderLocationBucketLink resource.
998
+ *
999
+ * @param {string} folderLocationBucketLinkName
1000
+ * A fully-qualified path representing folder_location_bucket_link resource.
1001
+ * @returns {string} A string representing the folder.
1002
+ */
1003
+ matchFolderFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
1004
+ /**
1005
+ * Parse the location from FolderLocationBucketLink resource.
1006
+ *
1007
+ * @param {string} folderLocationBucketLinkName
1008
+ * A fully-qualified path representing folder_location_bucket_link resource.
1009
+ * @returns {string} A string representing the location.
1010
+ */
1011
+ matchLocationFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
1012
+ /**
1013
+ * Parse the bucket from FolderLocationBucketLink resource.
1014
+ *
1015
+ * @param {string} folderLocationBucketLinkName
1016
+ * A fully-qualified path representing folder_location_bucket_link resource.
1017
+ * @returns {string} A string representing the bucket.
1018
+ */
1019
+ matchBucketFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
1020
+ /**
1021
+ * Parse the link from FolderLocationBucketLink resource.
1022
+ *
1023
+ * @param {string} folderLocationBucketLinkName
1024
+ * A fully-qualified path representing folder_location_bucket_link resource.
1025
+ * @returns {string} A string representing the link.
1026
+ */
1027
+ matchLinkFromFolderLocationBucketLinkName(folderLocationBucketLinkName: string): string | number;
1028
+ /**
1029
+ * Return a fully-qualified folderLocationBucketView resource name string.
1030
+ *
1031
+ * @param {string} folder
1032
+ * @param {string} location
1033
+ * @param {string} bucket
1034
+ * @param {string} view
1035
+ * @returns {string} Resource name string.
1036
+ */
1037
+ folderLocationBucketViewPath(folder: string, location: string, bucket: string, view: string): string;
1038
+ /**
1039
+ * Parse the folder from FolderLocationBucketView resource.
1040
+ *
1041
+ * @param {string} folderLocationBucketViewName
1042
+ * A fully-qualified path representing folder_location_bucket_view resource.
1043
+ * @returns {string} A string representing the folder.
1044
+ */
1045
+ matchFolderFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
1046
+ /**
1047
+ * Parse the location from FolderLocationBucketView resource.
1048
+ *
1049
+ * @param {string} folderLocationBucketViewName
1050
+ * A fully-qualified path representing folder_location_bucket_view resource.
1051
+ * @returns {string} A string representing the location.
1052
+ */
1053
+ matchLocationFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
1054
+ /**
1055
+ * Parse the bucket from FolderLocationBucketView resource.
1056
+ *
1057
+ * @param {string} folderLocationBucketViewName
1058
+ * A fully-qualified path representing folder_location_bucket_view resource.
1059
+ * @returns {string} A string representing the bucket.
1060
+ */
1061
+ matchBucketFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
1062
+ /**
1063
+ * Parse the view from FolderLocationBucketView resource.
1064
+ *
1065
+ * @param {string} folderLocationBucketViewName
1066
+ * A fully-qualified path representing folder_location_bucket_view resource.
1067
+ * @returns {string} A string representing the view.
1068
+ */
1069
+ matchViewFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
1070
+ /**
1071
+ * Return a fully-qualified folderLog resource name string.
1072
+ *
1073
+ * @param {string} folder
1074
+ * @param {string} log
1075
+ * @returns {string} Resource name string.
1076
+ */
1077
+ folderLogPath(folder: string, log: string): string;
1078
+ /**
1079
+ * Parse the folder from FolderLog resource.
1080
+ *
1081
+ * @param {string} folderLogName
1082
+ * A fully-qualified path representing folder_log resource.
1083
+ * @returns {string} A string representing the folder.
1084
+ */
1085
+ matchFolderFromFolderLogName(folderLogName: string): string | number;
1086
+ /**
1087
+ * Parse the log from FolderLog resource.
1088
+ *
1089
+ * @param {string} folderLogName
1090
+ * A fully-qualified path representing folder_log resource.
1091
+ * @returns {string} A string representing the log.
1092
+ */
1093
+ matchLogFromFolderLogName(folderLogName: string): string | number;
1094
+ /**
1095
+ * Return a fully-qualified folderSettings resource name string.
1096
+ *
1097
+ * @param {string} folder
1098
+ * @returns {string} Resource name string.
1099
+ */
1100
+ folderSettingsPath(folder: string): string;
1101
+ /**
1102
+ * Parse the folder from FolderSettings resource.
1103
+ *
1104
+ * @param {string} folderSettingsName
1105
+ * A fully-qualified path representing folder_settings resource.
1106
+ * @returns {string} A string representing the folder.
1107
+ */
1108
+ matchFolderFromFolderSettingsName(folderSettingsName: string): string | number;
1109
+ /**
1110
+ * Return a fully-qualified folderSink resource name string.
1111
+ *
1112
+ * @param {string} folder
1113
+ * @param {string} sink
1114
+ * @returns {string} Resource name string.
1115
+ */
1116
+ folderSinkPath(folder: string, sink: string): string;
1117
+ /**
1118
+ * Parse the folder from FolderSink resource.
1119
+ *
1120
+ * @param {string} folderSinkName
1121
+ * A fully-qualified path representing folder_sink resource.
1122
+ * @returns {string} A string representing the folder.
1123
+ */
1124
+ matchFolderFromFolderSinkName(folderSinkName: string): string | number;
1125
+ /**
1126
+ * Parse the sink from FolderSink resource.
1127
+ *
1128
+ * @param {string} folderSinkName
1129
+ * A fully-qualified path representing folder_sink resource.
1130
+ * @returns {string} A string representing the sink.
1131
+ */
1132
+ matchSinkFromFolderSinkName(folderSinkName: string): string | number;
1133
+ /**
1134
+ * Return a fully-qualified logMetric resource name string.
1135
+ *
1136
+ * @param {string} project
1137
+ * @param {string} metric
1138
+ * @returns {string} Resource name string.
1139
+ */
1140
+ logMetricPath(project: string, metric: string): string;
1141
+ /**
1142
+ * Parse the project from LogMetric resource.
1143
+ *
1144
+ * @param {string} logMetricName
1145
+ * A fully-qualified path representing LogMetric resource.
1146
+ * @returns {string} A string representing the project.
1147
+ */
1148
+ matchProjectFromLogMetricName(logMetricName: string): string | number;
1149
+ /**
1150
+ * Parse the metric from LogMetric resource.
1151
+ *
1152
+ * @param {string} logMetricName
1153
+ * A fully-qualified path representing LogMetric resource.
1154
+ * @returns {string} A string representing the metric.
1155
+ */
1156
+ matchMetricFromLogMetricName(logMetricName: string): string | number;
1157
+ /**
1158
+ * Return a fully-qualified organizationCmekSettings resource name string.
1159
+ *
1160
+ * @param {string} organization
1161
+ * @returns {string} Resource name string.
1162
+ */
1163
+ organizationCmekSettingsPath(organization: string): string;
1164
+ /**
1165
+ * Parse the organization from OrganizationCmekSettings resource.
1166
+ *
1167
+ * @param {string} organizationCmekSettingsName
1168
+ * A fully-qualified path representing organization_cmekSettings resource.
1169
+ * @returns {string} A string representing the organization.
1170
+ */
1171
+ matchOrganizationFromOrganizationCmekSettingsName(organizationCmekSettingsName: string): string | number;
1172
+ /**
1173
+ * Return a fully-qualified organizationExclusion resource name string.
1174
+ *
1175
+ * @param {string} organization
1176
+ * @param {string} exclusion
1177
+ * @returns {string} Resource name string.
1178
+ */
1179
+ organizationExclusionPath(organization: string, exclusion: string): string;
1180
+ /**
1181
+ * Parse the organization from OrganizationExclusion resource.
1182
+ *
1183
+ * @param {string} organizationExclusionName
1184
+ * A fully-qualified path representing organization_exclusion resource.
1185
+ * @returns {string} A string representing the organization.
1186
+ */
1187
+ matchOrganizationFromOrganizationExclusionName(organizationExclusionName: string): string | number;
1188
+ /**
1189
+ * Parse the exclusion from OrganizationExclusion resource.
1190
+ *
1191
+ * @param {string} organizationExclusionName
1192
+ * A fully-qualified path representing organization_exclusion resource.
1193
+ * @returns {string} A string representing the exclusion.
1194
+ */
1195
+ matchExclusionFromOrganizationExclusionName(organizationExclusionName: string): string | number;
1196
+ /**
1197
+ * Return a fully-qualified organizationLocationBucket resource name string.
1198
+ *
1199
+ * @param {string} organization
1200
+ * @param {string} location
1201
+ * @param {string} bucket
1202
+ * @returns {string} Resource name string.
1203
+ */
1204
+ organizationLocationBucketPath(organization: string, location: string, bucket: string): string;
1205
+ /**
1206
+ * Parse the organization from OrganizationLocationBucket resource.
1207
+ *
1208
+ * @param {string} organizationLocationBucketName
1209
+ * A fully-qualified path representing organization_location_bucket resource.
1210
+ * @returns {string} A string representing the organization.
1211
+ */
1212
+ matchOrganizationFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
1213
+ /**
1214
+ * Parse the location from OrganizationLocationBucket resource.
1215
+ *
1216
+ * @param {string} organizationLocationBucketName
1217
+ * A fully-qualified path representing organization_location_bucket resource.
1218
+ * @returns {string} A string representing the location.
1219
+ */
1220
+ matchLocationFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
1221
+ /**
1222
+ * Parse the bucket from OrganizationLocationBucket resource.
1223
+ *
1224
+ * @param {string} organizationLocationBucketName
1225
+ * A fully-qualified path representing organization_location_bucket resource.
1226
+ * @returns {string} A string representing the bucket.
1227
+ */
1228
+ matchBucketFromOrganizationLocationBucketName(organizationLocationBucketName: string): string | number;
1229
+ /**
1230
+ * Return a fully-qualified organizationLocationBucketLink resource name string.
1231
+ *
1232
+ * @param {string} organization
1233
+ * @param {string} location
1234
+ * @param {string} bucket
1235
+ * @param {string} link
1236
+ * @returns {string} Resource name string.
1237
+ */
1238
+ organizationLocationBucketLinkPath(organization: string, location: string, bucket: string, link: string): string;
1239
+ /**
1240
+ * Parse the organization from OrganizationLocationBucketLink resource.
1241
+ *
1242
+ * @param {string} organizationLocationBucketLinkName
1243
+ * A fully-qualified path representing organization_location_bucket_link resource.
1244
+ * @returns {string} A string representing the organization.
1245
+ */
1246
+ matchOrganizationFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
1247
+ /**
1248
+ * Parse the location from OrganizationLocationBucketLink resource.
1249
+ *
1250
+ * @param {string} organizationLocationBucketLinkName
1251
+ * A fully-qualified path representing organization_location_bucket_link resource.
1252
+ * @returns {string} A string representing the location.
1253
+ */
1254
+ matchLocationFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
1255
+ /**
1256
+ * Parse the bucket from OrganizationLocationBucketLink resource.
1257
+ *
1258
+ * @param {string} organizationLocationBucketLinkName
1259
+ * A fully-qualified path representing organization_location_bucket_link resource.
1260
+ * @returns {string} A string representing the bucket.
1261
+ */
1262
+ matchBucketFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
1263
+ /**
1264
+ * Parse the link from OrganizationLocationBucketLink resource.
1265
+ *
1266
+ * @param {string} organizationLocationBucketLinkName
1267
+ * A fully-qualified path representing organization_location_bucket_link resource.
1268
+ * @returns {string} A string representing the link.
1269
+ */
1270
+ matchLinkFromOrganizationLocationBucketLinkName(organizationLocationBucketLinkName: string): string | number;
1271
+ /**
1272
+ * Return a fully-qualified organizationLocationBucketView resource name string.
1273
+ *
1274
+ * @param {string} organization
1275
+ * @param {string} location
1276
+ * @param {string} bucket
1277
+ * @param {string} view
1278
+ * @returns {string} Resource name string.
1279
+ */
1280
+ organizationLocationBucketViewPath(organization: string, location: string, bucket: string, view: string): string;
1281
+ /**
1282
+ * Parse the organization from OrganizationLocationBucketView resource.
1283
+ *
1284
+ * @param {string} organizationLocationBucketViewName
1285
+ * A fully-qualified path representing organization_location_bucket_view resource.
1286
+ * @returns {string} A string representing the organization.
1287
+ */
1288
+ matchOrganizationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
1289
+ /**
1290
+ * Parse the location from OrganizationLocationBucketView resource.
1291
+ *
1292
+ * @param {string} organizationLocationBucketViewName
1293
+ * A fully-qualified path representing organization_location_bucket_view resource.
1294
+ * @returns {string} A string representing the location.
1295
+ */
1296
+ matchLocationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
1297
+ /**
1298
+ * Parse the bucket from OrganizationLocationBucketView resource.
1299
+ *
1300
+ * @param {string} organizationLocationBucketViewName
1301
+ * A fully-qualified path representing organization_location_bucket_view resource.
1302
+ * @returns {string} A string representing the bucket.
1303
+ */
1304
+ matchBucketFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
1305
+ /**
1306
+ * Parse the view from OrganizationLocationBucketView resource.
1307
+ *
1308
+ * @param {string} organizationLocationBucketViewName
1309
+ * A fully-qualified path representing organization_location_bucket_view resource.
1310
+ * @returns {string} A string representing the view.
1311
+ */
1312
+ matchViewFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
1313
+ /**
1314
+ * Return a fully-qualified organizationLog resource name string.
1315
+ *
1316
+ * @param {string} organization
1317
+ * @param {string} log
1318
+ * @returns {string} Resource name string.
1319
+ */
1320
+ organizationLogPath(organization: string, log: string): string;
1321
+ /**
1322
+ * Parse the organization from OrganizationLog resource.
1323
+ *
1324
+ * @param {string} organizationLogName
1325
+ * A fully-qualified path representing organization_log resource.
1326
+ * @returns {string} A string representing the organization.
1327
+ */
1328
+ matchOrganizationFromOrganizationLogName(organizationLogName: string): string | number;
1329
+ /**
1330
+ * Parse the log from OrganizationLog resource.
1331
+ *
1332
+ * @param {string} organizationLogName
1333
+ * A fully-qualified path representing organization_log resource.
1334
+ * @returns {string} A string representing the log.
1335
+ */
1336
+ matchLogFromOrganizationLogName(organizationLogName: string): string | number;
1337
+ /**
1338
+ * Return a fully-qualified organizationSettings resource name string.
1339
+ *
1340
+ * @param {string} organization
1341
+ * @returns {string} Resource name string.
1342
+ */
1343
+ organizationSettingsPath(organization: string): string;
1344
+ /**
1345
+ * Parse the organization from OrganizationSettings resource.
1346
+ *
1347
+ * @param {string} organizationSettingsName
1348
+ * A fully-qualified path representing organization_settings resource.
1349
+ * @returns {string} A string representing the organization.
1350
+ */
1351
+ matchOrganizationFromOrganizationSettingsName(organizationSettingsName: string): string | number;
1352
+ /**
1353
+ * Return a fully-qualified organizationSink resource name string.
1354
+ *
1355
+ * @param {string} organization
1356
+ * @param {string} sink
1357
+ * @returns {string} Resource name string.
1358
+ */
1359
+ organizationSinkPath(organization: string, sink: string): string;
1360
+ /**
1361
+ * Parse the organization from OrganizationSink resource.
1362
+ *
1363
+ * @param {string} organizationSinkName
1364
+ * A fully-qualified path representing organization_sink resource.
1365
+ * @returns {string} A string representing the organization.
1366
+ */
1367
+ matchOrganizationFromOrganizationSinkName(organizationSinkName: string): string | number;
1368
+ /**
1369
+ * Parse the sink from OrganizationSink resource.
1370
+ *
1371
+ * @param {string} organizationSinkName
1372
+ * A fully-qualified path representing organization_sink resource.
1373
+ * @returns {string} A string representing the sink.
1374
+ */
1375
+ matchSinkFromOrganizationSinkName(organizationSinkName: string): string | number;
1376
+ /**
1377
+ * Return a fully-qualified project resource name string.
1378
+ *
1379
+ * @param {string} project
1380
+ * @returns {string} Resource name string.
1381
+ */
1382
+ projectPath(project: string): string;
1383
+ /**
1384
+ * Parse the project from Project resource.
1385
+ *
1386
+ * @param {string} projectName
1387
+ * A fully-qualified path representing Project resource.
1388
+ * @returns {string} A string representing the project.
1389
+ */
1390
+ matchProjectFromProjectName(projectName: string): string | number;
1391
+ /**
1392
+ * Return a fully-qualified projectCmekSettings resource name string.
1393
+ *
1394
+ * @param {string} project
1395
+ * @returns {string} Resource name string.
1396
+ */
1397
+ projectCmekSettingsPath(project: string): string;
1398
+ /**
1399
+ * Parse the project from ProjectCmekSettings resource.
1400
+ *
1401
+ * @param {string} projectCmekSettingsName
1402
+ * A fully-qualified path representing project_cmekSettings resource.
1403
+ * @returns {string} A string representing the project.
1404
+ */
1405
+ matchProjectFromProjectCmekSettingsName(projectCmekSettingsName: string): string | number;
1406
+ /**
1407
+ * Return a fully-qualified projectExclusion resource name string.
1408
+ *
1409
+ * @param {string} project
1410
+ * @param {string} exclusion
1411
+ * @returns {string} Resource name string.
1412
+ */
1413
+ projectExclusionPath(project: string, exclusion: string): string;
1414
+ /**
1415
+ * Parse the project from ProjectExclusion resource.
1416
+ *
1417
+ * @param {string} projectExclusionName
1418
+ * A fully-qualified path representing project_exclusion resource.
1419
+ * @returns {string} A string representing the project.
1420
+ */
1421
+ matchProjectFromProjectExclusionName(projectExclusionName: string): string | number;
1422
+ /**
1423
+ * Parse the exclusion from ProjectExclusion resource.
1424
+ *
1425
+ * @param {string} projectExclusionName
1426
+ * A fully-qualified path representing project_exclusion resource.
1427
+ * @returns {string} A string representing the exclusion.
1428
+ */
1429
+ matchExclusionFromProjectExclusionName(projectExclusionName: string): string | number;
1430
+ /**
1431
+ * Return a fully-qualified projectLocationBucket resource name string.
1432
+ *
1433
+ * @param {string} project
1434
+ * @param {string} location
1435
+ * @param {string} bucket
1436
+ * @returns {string} Resource name string.
1437
+ */
1438
+ projectLocationBucketPath(project: string, location: string, bucket: string): string;
1439
+ /**
1440
+ * Parse the project from ProjectLocationBucket resource.
1441
+ *
1442
+ * @param {string} projectLocationBucketName
1443
+ * A fully-qualified path representing project_location_bucket resource.
1444
+ * @returns {string} A string representing the project.
1445
+ */
1446
+ matchProjectFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
1447
+ /**
1448
+ * Parse the location from ProjectLocationBucket resource.
1449
+ *
1450
+ * @param {string} projectLocationBucketName
1451
+ * A fully-qualified path representing project_location_bucket resource.
1452
+ * @returns {string} A string representing the location.
1453
+ */
1454
+ matchLocationFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
1455
+ /**
1456
+ * Parse the bucket from ProjectLocationBucket resource.
1457
+ *
1458
+ * @param {string} projectLocationBucketName
1459
+ * A fully-qualified path representing project_location_bucket resource.
1460
+ * @returns {string} A string representing the bucket.
1461
+ */
1462
+ matchBucketFromProjectLocationBucketName(projectLocationBucketName: string): string | number;
1463
+ /**
1464
+ * Return a fully-qualified projectLocationBucketLink resource name string.
1465
+ *
1466
+ * @param {string} project
1467
+ * @param {string} location
1468
+ * @param {string} bucket
1469
+ * @param {string} link
1470
+ * @returns {string} Resource name string.
1471
+ */
1472
+ projectLocationBucketLinkPath(project: string, location: string, bucket: string, link: string): string;
1473
+ /**
1474
+ * Parse the project from ProjectLocationBucketLink resource.
1475
+ *
1476
+ * @param {string} projectLocationBucketLinkName
1477
+ * A fully-qualified path representing project_location_bucket_link resource.
1478
+ * @returns {string} A string representing the project.
1479
+ */
1480
+ matchProjectFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
1481
+ /**
1482
+ * Parse the location from ProjectLocationBucketLink resource.
1483
+ *
1484
+ * @param {string} projectLocationBucketLinkName
1485
+ * A fully-qualified path representing project_location_bucket_link resource.
1486
+ * @returns {string} A string representing the location.
1487
+ */
1488
+ matchLocationFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
1489
+ /**
1490
+ * Parse the bucket from ProjectLocationBucketLink resource.
1491
+ *
1492
+ * @param {string} projectLocationBucketLinkName
1493
+ * A fully-qualified path representing project_location_bucket_link resource.
1494
+ * @returns {string} A string representing the bucket.
1495
+ */
1496
+ matchBucketFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
1497
+ /**
1498
+ * Parse the link from ProjectLocationBucketLink resource.
1499
+ *
1500
+ * @param {string} projectLocationBucketLinkName
1501
+ * A fully-qualified path representing project_location_bucket_link resource.
1502
+ * @returns {string} A string representing the link.
1503
+ */
1504
+ matchLinkFromProjectLocationBucketLinkName(projectLocationBucketLinkName: string): string | number;
1505
+ /**
1506
+ * Return a fully-qualified projectLocationBucketView resource name string.
1507
+ *
1508
+ * @param {string} project
1509
+ * @param {string} location
1510
+ * @param {string} bucket
1511
+ * @param {string} view
1512
+ * @returns {string} Resource name string.
1513
+ */
1514
+ projectLocationBucketViewPath(project: string, location: string, bucket: string, view: string): string;
1515
+ /**
1516
+ * Parse the project from ProjectLocationBucketView resource.
1517
+ *
1518
+ * @param {string} projectLocationBucketViewName
1519
+ * A fully-qualified path representing project_location_bucket_view resource.
1520
+ * @returns {string} A string representing the project.
1521
+ */
1522
+ matchProjectFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
1523
+ /**
1524
+ * Parse the location from ProjectLocationBucketView resource.
1525
+ *
1526
+ * @param {string} projectLocationBucketViewName
1527
+ * A fully-qualified path representing project_location_bucket_view resource.
1528
+ * @returns {string} A string representing the location.
1529
+ */
1530
+ matchLocationFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
1531
+ /**
1532
+ * Parse the bucket from ProjectLocationBucketView resource.
1533
+ *
1534
+ * @param {string} projectLocationBucketViewName
1535
+ * A fully-qualified path representing project_location_bucket_view resource.
1536
+ * @returns {string} A string representing the bucket.
1537
+ */
1538
+ matchBucketFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
1539
+ /**
1540
+ * Parse the view from ProjectLocationBucketView resource.
1541
+ *
1542
+ * @param {string} projectLocationBucketViewName
1543
+ * A fully-qualified path representing project_location_bucket_view resource.
1544
+ * @returns {string} A string representing the view.
1545
+ */
1546
+ matchViewFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
1547
+ /**
1548
+ * Return a fully-qualified projectLog resource name string.
1549
+ *
1550
+ * @param {string} project
1551
+ * @param {string} log
1552
+ * @returns {string} Resource name string.
1553
+ */
1554
+ projectLogPath(project: string, log: string): string;
1555
+ /**
1556
+ * Parse the project from ProjectLog resource.
1557
+ *
1558
+ * @param {string} projectLogName
1559
+ * A fully-qualified path representing project_log resource.
1560
+ * @returns {string} A string representing the project.
1561
+ */
1562
+ matchProjectFromProjectLogName(projectLogName: string): string | number;
1563
+ /**
1564
+ * Parse the log from ProjectLog resource.
1565
+ *
1566
+ * @param {string} projectLogName
1567
+ * A fully-qualified path representing project_log resource.
1568
+ * @returns {string} A string representing the log.
1569
+ */
1570
+ matchLogFromProjectLogName(projectLogName: string): string | number;
1571
+ /**
1572
+ * Return a fully-qualified projectSettings resource name string.
1573
+ *
1574
+ * @param {string} project
1575
+ * @returns {string} Resource name string.
1576
+ */
1577
+ projectSettingsPath(project: string): string;
1578
+ /**
1579
+ * Parse the project from ProjectSettings resource.
1580
+ *
1581
+ * @param {string} projectSettingsName
1582
+ * A fully-qualified path representing project_settings resource.
1583
+ * @returns {string} A string representing the project.
1584
+ */
1585
+ matchProjectFromProjectSettingsName(projectSettingsName: string): string | number;
1586
+ /**
1587
+ * Return a fully-qualified projectSink resource name string.
1588
+ *
1589
+ * @param {string} project
1590
+ * @param {string} sink
1591
+ * @returns {string} Resource name string.
1592
+ */
1593
+ projectSinkPath(project: string, sink: string): string;
1594
+ /**
1595
+ * Parse the project from ProjectSink resource.
1596
+ *
1597
+ * @param {string} projectSinkName
1598
+ * A fully-qualified path representing project_sink resource.
1599
+ * @returns {string} A string representing the project.
1600
+ */
1601
+ matchProjectFromProjectSinkName(projectSinkName: string): string | number;
1602
+ /**
1603
+ * Parse the sink from ProjectSink resource.
1604
+ *
1605
+ * @param {string} projectSinkName
1606
+ * A fully-qualified path representing project_sink resource.
1607
+ * @returns {string} A string representing the sink.
1608
+ */
1609
+ matchSinkFromProjectSinkName(projectSinkName: string): string | number;
1610
+ /**
1611
+ * Terminate the gRPC channel and close the client.
1612
+ *
1613
+ * The client will no longer be usable and all future behavior is undefined.
1614
+ * @returns {Promise} A promise that resolves when the client is closed.
1615
+ */
1616
+ close(): Promise<void>;
1617
+ }