@maxim_mazurok/gapi.client.logging-v2 0.0.20230203 → 0.0.20230218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1965 -325
- package/package.json +1 -1
- package/tests.ts +471 -16
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230218
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,13 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "logging", version: "v2", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace logging {
|
|
25
|
+
interface BigQueryDataset {
|
|
26
|
+
/**
|
|
27
|
+
* Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets
|
|
28
|
+
* (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID"
|
|
29
|
+
*/
|
|
30
|
+
datasetId?: string;
|
|
31
|
+
}
|
|
25
32
|
interface BigQueryOptions {
|
|
26
33
|
/**
|
|
27
34
|
* Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log
|
|
@@ -36,6 +43,18 @@ declare namespace gapi.client {
|
|
|
36
43
|
*/
|
|
37
44
|
usesTimestampColumnPartitioning?: boolean;
|
|
38
45
|
}
|
|
46
|
+
interface BucketMetadata {
|
|
47
|
+
/** LongRunningCreateBucket RPC request. */
|
|
48
|
+
createBucketRequest?: CreateBucketRequest;
|
|
49
|
+
/** The end time of an operation. */
|
|
50
|
+
endTime?: string;
|
|
51
|
+
/** The create time of an operation. */
|
|
52
|
+
startTime?: string;
|
|
53
|
+
/** State of an operation. */
|
|
54
|
+
state?: string;
|
|
55
|
+
/** LongRunningUpdateBucket RPC request. */
|
|
56
|
+
updateBucketRequest?: UpdateBucketRequest;
|
|
57
|
+
}
|
|
39
58
|
interface BucketOptions {
|
|
40
59
|
/** The explicit buckets. */
|
|
41
60
|
explicitBuckets?: Explicit;
|
|
@@ -105,6 +124,34 @@ declare namespace gapi.client {
|
|
|
105
124
|
/** Number of log entries copied. */
|
|
106
125
|
logEntriesCopiedCount?: string;
|
|
107
126
|
}
|
|
127
|
+
interface CreateBucketRequest {
|
|
128
|
+
/** Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored. */
|
|
129
|
+
bucket?: LogBucket;
|
|
130
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
131
|
+
bucketId?: string;
|
|
132
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
133
|
+
parent?: string;
|
|
134
|
+
}
|
|
135
|
+
interface CreateLinkRequest {
|
|
136
|
+
/** Required. The new link. */
|
|
137
|
+
link?: Link;
|
|
138
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
139
|
+
linkId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
142
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
143
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
144
|
+
*/
|
|
145
|
+
parent?: string;
|
|
146
|
+
}
|
|
147
|
+
interface DeleteLinkRequest {
|
|
148
|
+
/**
|
|
149
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
150
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
151
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
152
|
+
*/
|
|
153
|
+
name?: string;
|
|
154
|
+
}
|
|
108
155
|
// tslint:disable-next-line:no-empty-interface
|
|
109
156
|
interface Empty {
|
|
110
157
|
}
|
|
@@ -185,6 +232,38 @@ declare namespace gapi.client {
|
|
|
185
232
|
/** Must be greater than 0. */
|
|
186
233
|
width?: number;
|
|
187
234
|
}
|
|
235
|
+
interface Link {
|
|
236
|
+
/**
|
|
237
|
+
* The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will
|
|
238
|
+
* also have BigQuery Views corresponding to the LogViews in the bucket.
|
|
239
|
+
*/
|
|
240
|
+
bigqueryDataset?: BigQueryDataset;
|
|
241
|
+
/** Output only. The creation timestamp of the link. */
|
|
242
|
+
createTime?: string;
|
|
243
|
+
/** Describes this link.The maximum length of the description is 8000 characters. */
|
|
244
|
+
description?: string;
|
|
245
|
+
/** Output only. The resource lifecycle state. */
|
|
246
|
+
lifecycleState?: string;
|
|
247
|
+
/**
|
|
248
|
+
* The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within
|
|
249
|
+
* it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
|
|
250
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
|
|
251
|
+
* For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
|
|
252
|
+
*/
|
|
253
|
+
name?: string;
|
|
254
|
+
}
|
|
255
|
+
interface LinkMetadata {
|
|
256
|
+
/** CreateLink RPC request. */
|
|
257
|
+
createLinkRequest?: CreateLinkRequest;
|
|
258
|
+
/** DeleteLink RPC request. */
|
|
259
|
+
deleteLinkRequest?: DeleteLinkRequest;
|
|
260
|
+
/** The end time of an operation. */
|
|
261
|
+
endTime?: string;
|
|
262
|
+
/** The start time of an operation. */
|
|
263
|
+
startTime?: string;
|
|
264
|
+
/** State of an operation. */
|
|
265
|
+
state?: string;
|
|
266
|
+
}
|
|
188
267
|
interface ListBucketsResponse {
|
|
189
268
|
/** A list of buckets. */
|
|
190
269
|
buckets?: LogBucket[];
|
|
@@ -203,6 +282,15 @@ declare namespace gapi.client {
|
|
|
203
282
|
*/
|
|
204
283
|
nextPageToken?: string;
|
|
205
284
|
}
|
|
285
|
+
interface ListLinksResponse {
|
|
286
|
+
/** A list of links. */
|
|
287
|
+
links?: Link[];
|
|
288
|
+
/**
|
|
289
|
+
* If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of
|
|
290
|
+
* nextPageToken as pageToken.
|
|
291
|
+
*/
|
|
292
|
+
nextPageToken?: string;
|
|
293
|
+
}
|
|
206
294
|
interface ListLocationsResponse {
|
|
207
295
|
/** A list of locations that matches the specified filter in the request. */
|
|
208
296
|
locations?: Location[];
|
|
@@ -317,7 +405,13 @@ declare namespace gapi.client {
|
|
|
317
405
|
/** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */
|
|
318
406
|
name?: string;
|
|
319
407
|
}
|
|
408
|
+
interface LocationMetadata {
|
|
409
|
+
/** Indicates whether or not Log Analytics features are supported in the given location. */
|
|
410
|
+
logAnalyticsEnabled?: boolean;
|
|
411
|
+
}
|
|
320
412
|
interface LogBucket {
|
|
413
|
+
/** Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. */
|
|
414
|
+
analyticsEnabled?: boolean;
|
|
321
415
|
/**
|
|
322
416
|
* The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK
|
|
323
417
|
* settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
|
|
@@ -946,6 +1040,22 @@ declare namespace gapi.client {
|
|
|
946
1040
|
// tslint:disable-next-line:no-empty-interface
|
|
947
1041
|
interface UndeleteBucketRequest {
|
|
948
1042
|
}
|
|
1043
|
+
interface UpdateBucketRequest {
|
|
1044
|
+
/** Required. The updated bucket. */
|
|
1045
|
+
bucket?: LogBucket;
|
|
1046
|
+
/**
|
|
1047
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1048
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1049
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
1050
|
+
*/
|
|
1051
|
+
name?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
1054
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
1055
|
+
* example: updateMask=retention_days
|
|
1056
|
+
*/
|
|
1057
|
+
updateMask?: string;
|
|
1058
|
+
}
|
|
949
1059
|
interface WriteLogEntriesRequest {
|
|
950
1060
|
/**
|
|
951
1061
|
* Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working
|
|
@@ -1231,6 +1341,173 @@ declare namespace gapi.client {
|
|
|
1231
1341
|
},
|
|
1232
1342
|
body: LogExclusion): Request<LogExclusion>;
|
|
1233
1343
|
}
|
|
1344
|
+
interface LinksResource {
|
|
1345
|
+
/** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
|
|
1346
|
+
create(request: {
|
|
1347
|
+
/** V1 error format. */
|
|
1348
|
+
"$.xgafv"?: string;
|
|
1349
|
+
/** OAuth access token. */
|
|
1350
|
+
access_token?: string;
|
|
1351
|
+
/** Data format for response. */
|
|
1352
|
+
alt?: string;
|
|
1353
|
+
/** JSONP */
|
|
1354
|
+
callback?: string;
|
|
1355
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1356
|
+
fields?: string;
|
|
1357
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1358
|
+
key?: string;
|
|
1359
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
1360
|
+
linkId?: string;
|
|
1361
|
+
/** OAuth 2.0 token for the current user. */
|
|
1362
|
+
oauth_token?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1365
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1366
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1367
|
+
*/
|
|
1368
|
+
parent: string;
|
|
1369
|
+
/** Returns response with indentations and line breaks. */
|
|
1370
|
+
prettyPrint?: boolean;
|
|
1371
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1372
|
+
quotaUser?: string;
|
|
1373
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1374
|
+
upload_protocol?: string;
|
|
1375
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1376
|
+
uploadType?: string;
|
|
1377
|
+
/** Request body */
|
|
1378
|
+
resource: Link;
|
|
1379
|
+
}): Request<Operation>;
|
|
1380
|
+
create(request: {
|
|
1381
|
+
/** V1 error format. */
|
|
1382
|
+
"$.xgafv"?: string;
|
|
1383
|
+
/** OAuth access token. */
|
|
1384
|
+
access_token?: string;
|
|
1385
|
+
/** Data format for response. */
|
|
1386
|
+
alt?: string;
|
|
1387
|
+
/** JSONP */
|
|
1388
|
+
callback?: string;
|
|
1389
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1390
|
+
fields?: string;
|
|
1391
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1392
|
+
key?: string;
|
|
1393
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
1394
|
+
linkId?: string;
|
|
1395
|
+
/** OAuth 2.0 token for the current user. */
|
|
1396
|
+
oauth_token?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1399
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1400
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
1401
|
+
*/
|
|
1402
|
+
parent: string;
|
|
1403
|
+
/** Returns response with indentations and line breaks. */
|
|
1404
|
+
prettyPrint?: boolean;
|
|
1405
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1406
|
+
quotaUser?: string;
|
|
1407
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1408
|
+
upload_protocol?: string;
|
|
1409
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1410
|
+
uploadType?: string;
|
|
1411
|
+
},
|
|
1412
|
+
body: Link): Request<Operation>;
|
|
1413
|
+
/** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
|
|
1414
|
+
delete(request?: {
|
|
1415
|
+
/** V1 error format. */
|
|
1416
|
+
"$.xgafv"?: string;
|
|
1417
|
+
/** OAuth access token. */
|
|
1418
|
+
access_token?: string;
|
|
1419
|
+
/** Data format for response. */
|
|
1420
|
+
alt?: string;
|
|
1421
|
+
/** JSONP */
|
|
1422
|
+
callback?: string;
|
|
1423
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1424
|
+
fields?: string;
|
|
1425
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1426
|
+
key?: string;
|
|
1427
|
+
/**
|
|
1428
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
1429
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
1430
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
1431
|
+
*/
|
|
1432
|
+
name: string;
|
|
1433
|
+
/** OAuth 2.0 token for the current user. */
|
|
1434
|
+
oauth_token?: string;
|
|
1435
|
+
/** Returns response with indentations and line breaks. */
|
|
1436
|
+
prettyPrint?: boolean;
|
|
1437
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1438
|
+
quotaUser?: string;
|
|
1439
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1440
|
+
upload_protocol?: string;
|
|
1441
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1442
|
+
uploadType?: string;
|
|
1443
|
+
}): Request<Operation>;
|
|
1444
|
+
/** Gets a link. */
|
|
1445
|
+
get(request?: {
|
|
1446
|
+
/** V1 error format. */
|
|
1447
|
+
"$.xgafv"?: string;
|
|
1448
|
+
/** OAuth access token. */
|
|
1449
|
+
access_token?: string;
|
|
1450
|
+
/** Data format for response. */
|
|
1451
|
+
alt?: string;
|
|
1452
|
+
/** JSONP */
|
|
1453
|
+
callback?: string;
|
|
1454
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1455
|
+
fields?: string;
|
|
1456
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1457
|
+
key?: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
1460
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
1461
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
|
|
1462
|
+
*/
|
|
1463
|
+
name: string;
|
|
1464
|
+
/** OAuth 2.0 token for the current user. */
|
|
1465
|
+
oauth_token?: string;
|
|
1466
|
+
/** Returns response with indentations and line breaks. */
|
|
1467
|
+
prettyPrint?: boolean;
|
|
1468
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1469
|
+
quotaUser?: string;
|
|
1470
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1471
|
+
upload_protocol?: string;
|
|
1472
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1473
|
+
uploadType?: string;
|
|
1474
|
+
}): Request<Link>;
|
|
1475
|
+
/** Lists links. */
|
|
1476
|
+
list(request?: {
|
|
1477
|
+
/** V1 error format. */
|
|
1478
|
+
"$.xgafv"?: string;
|
|
1479
|
+
/** OAuth access token. */
|
|
1480
|
+
access_token?: string;
|
|
1481
|
+
/** Data format for response. */
|
|
1482
|
+
alt?: string;
|
|
1483
|
+
/** JSONP */
|
|
1484
|
+
callback?: string;
|
|
1485
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1486
|
+
fields?: string;
|
|
1487
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1488
|
+
key?: string;
|
|
1489
|
+
/** OAuth 2.0 token for the current user. */
|
|
1490
|
+
oauth_token?: string;
|
|
1491
|
+
/** Optional. The maximum number of results to return from this request. */
|
|
1492
|
+
pageSize?: number;
|
|
1493
|
+
/** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. */
|
|
1494
|
+
pageToken?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
|
|
1497
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
|
|
1498
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
|
|
1499
|
+
*/
|
|
1500
|
+
parent: string;
|
|
1501
|
+
/** Returns response with indentations and line breaks. */
|
|
1502
|
+
prettyPrint?: boolean;
|
|
1503
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1504
|
+
quotaUser?: string;
|
|
1505
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1506
|
+
upload_protocol?: string;
|
|
1507
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1508
|
+
uploadType?: string;
|
|
1509
|
+
}): Request<ListLinksResponse>;
|
|
1510
|
+
}
|
|
1234
1511
|
interface LogsResource {
|
|
1235
1512
|
/** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */
|
|
1236
1513
|
list(request?: {
|
|
@@ -1585,6 +1862,66 @@ declare namespace gapi.client {
|
|
|
1585
1862
|
uploadType?: string;
|
|
1586
1863
|
},
|
|
1587
1864
|
body: LogBucket): Request<LogBucket>;
|
|
1865
|
+
/** Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed. */
|
|
1866
|
+
createAsync(request: {
|
|
1867
|
+
/** V1 error format. */
|
|
1868
|
+
"$.xgafv"?: string;
|
|
1869
|
+
/** OAuth access token. */
|
|
1870
|
+
access_token?: string;
|
|
1871
|
+
/** Data format for response. */
|
|
1872
|
+
alt?: string;
|
|
1873
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
1874
|
+
bucketId?: string;
|
|
1875
|
+
/** JSONP */
|
|
1876
|
+
callback?: string;
|
|
1877
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1878
|
+
fields?: string;
|
|
1879
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1880
|
+
key?: string;
|
|
1881
|
+
/** OAuth 2.0 token for the current user. */
|
|
1882
|
+
oauth_token?: string;
|
|
1883
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
1884
|
+
parent: string;
|
|
1885
|
+
/** Returns response with indentations and line breaks. */
|
|
1886
|
+
prettyPrint?: boolean;
|
|
1887
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1888
|
+
quotaUser?: string;
|
|
1889
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1890
|
+
upload_protocol?: string;
|
|
1891
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1892
|
+
uploadType?: string;
|
|
1893
|
+
/** Request body */
|
|
1894
|
+
resource: LogBucket;
|
|
1895
|
+
}): Request<Operation>;
|
|
1896
|
+
createAsync(request: {
|
|
1897
|
+
/** V1 error format. */
|
|
1898
|
+
"$.xgafv"?: string;
|
|
1899
|
+
/** OAuth access token. */
|
|
1900
|
+
access_token?: string;
|
|
1901
|
+
/** Data format for response. */
|
|
1902
|
+
alt?: string;
|
|
1903
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
1904
|
+
bucketId?: string;
|
|
1905
|
+
/** JSONP */
|
|
1906
|
+
callback?: string;
|
|
1907
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1908
|
+
fields?: string;
|
|
1909
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1910
|
+
key?: string;
|
|
1911
|
+
/** OAuth 2.0 token for the current user. */
|
|
1912
|
+
oauth_token?: string;
|
|
1913
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
1914
|
+
parent: string;
|
|
1915
|
+
/** Returns response with indentations and line breaks. */
|
|
1916
|
+
prettyPrint?: boolean;
|
|
1917
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1918
|
+
quotaUser?: string;
|
|
1919
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1920
|
+
upload_protocol?: string;
|
|
1921
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1922
|
+
uploadType?: string;
|
|
1923
|
+
},
|
|
1924
|
+
body: LogBucket): Request<Operation>;
|
|
1588
1925
|
/**
|
|
1589
1926
|
* Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be
|
|
1590
1927
|
* permanently deleted.
|
|
@@ -1692,9 +2029,8 @@ declare namespace gapi.client {
|
|
|
1692
2029
|
uploadType?: string;
|
|
1693
2030
|
}): Request<ListBucketsResponse>;
|
|
1694
2031
|
/**
|
|
1695
|
-
* Updates a log bucket.
|
|
1696
|
-
*
|
|
1697
|
-
* created, the bucket's location cannot be changed.
|
|
2032
|
+
* Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot
|
|
2033
|
+
* be changed.
|
|
1698
2034
|
*/
|
|
1699
2035
|
patch(request: {
|
|
1700
2036
|
/** V1 error format. */
|
|
@@ -1835,16 +2171,11 @@ declare namespace gapi.client {
|
|
|
1835
2171
|
uploadType?: string;
|
|
1836
2172
|
},
|
|
1837
2173
|
body: UndeleteBucketRequest): Request<{}>;
|
|
1838
|
-
views: ViewsResource;
|
|
1839
|
-
}
|
|
1840
|
-
interface OperationsResource {
|
|
1841
2174
|
/**
|
|
1842
|
-
*
|
|
1843
|
-
*
|
|
1844
|
-
* completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
1845
|
-
* google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
|
|
2175
|
+
* Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's
|
|
2176
|
+
* location cannot be changed.
|
|
1846
2177
|
*/
|
|
1847
|
-
|
|
2178
|
+
updateAsync(request: {
|
|
1848
2179
|
/** V1 error format. */
|
|
1849
2180
|
"$.xgafv"?: string;
|
|
1850
2181
|
/** OAuth access token. */
|
|
@@ -1857,7 +2188,11 @@ declare namespace gapi.client {
|
|
|
1857
2188
|
fields?: string;
|
|
1858
2189
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1859
2190
|
key?: string;
|
|
1860
|
-
/**
|
|
2191
|
+
/**
|
|
2192
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
2193
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
2194
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
2195
|
+
*/
|
|
1861
2196
|
name: string;
|
|
1862
2197
|
/** OAuth 2.0 token for the current user. */
|
|
1863
2198
|
oauth_token?: string;
|
|
@@ -1865,7 +2200,88 @@ declare namespace gapi.client {
|
|
|
1865
2200
|
prettyPrint?: boolean;
|
|
1866
2201
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1867
2202
|
quotaUser?: string;
|
|
1868
|
-
/**
|
|
2203
|
+
/**
|
|
2204
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
2205
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
2206
|
+
* example: updateMask=retention_days
|
|
2207
|
+
*/
|
|
2208
|
+
updateMask?: string;
|
|
2209
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2210
|
+
upload_protocol?: string;
|
|
2211
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2212
|
+
uploadType?: string;
|
|
2213
|
+
/** Request body */
|
|
2214
|
+
resource: LogBucket;
|
|
2215
|
+
}): Request<Operation>;
|
|
2216
|
+
updateAsync(request: {
|
|
2217
|
+
/** V1 error format. */
|
|
2218
|
+
"$.xgafv"?: string;
|
|
2219
|
+
/** OAuth access token. */
|
|
2220
|
+
access_token?: string;
|
|
2221
|
+
/** Data format for response. */
|
|
2222
|
+
alt?: string;
|
|
2223
|
+
/** JSONP */
|
|
2224
|
+
callback?: string;
|
|
2225
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2226
|
+
fields?: string;
|
|
2227
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2228
|
+
key?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
2231
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
2232
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
2233
|
+
*/
|
|
2234
|
+
name: string;
|
|
2235
|
+
/** OAuth 2.0 token for the current user. */
|
|
2236
|
+
oauth_token?: string;
|
|
2237
|
+
/** Returns response with indentations and line breaks. */
|
|
2238
|
+
prettyPrint?: boolean;
|
|
2239
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2240
|
+
quotaUser?: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
2243
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
2244
|
+
* example: updateMask=retention_days
|
|
2245
|
+
*/
|
|
2246
|
+
updateMask?: string;
|
|
2247
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2248
|
+
upload_protocol?: string;
|
|
2249
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2250
|
+
uploadType?: string;
|
|
2251
|
+
},
|
|
2252
|
+
body: LogBucket): Request<Operation>;
|
|
2253
|
+
links: LinksResource;
|
|
2254
|
+
views: ViewsResource;
|
|
2255
|
+
}
|
|
2256
|
+
interface OperationsResource {
|
|
2257
|
+
/**
|
|
2258
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
2259
|
+
* this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|
|
2260
|
+
* completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
2261
|
+
* google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
|
|
2262
|
+
*/
|
|
2263
|
+
cancel(request: {
|
|
2264
|
+
/** V1 error format. */
|
|
2265
|
+
"$.xgafv"?: string;
|
|
2266
|
+
/** OAuth access token. */
|
|
2267
|
+
access_token?: string;
|
|
2268
|
+
/** Data format for response. */
|
|
2269
|
+
alt?: string;
|
|
2270
|
+
/** JSONP */
|
|
2271
|
+
callback?: string;
|
|
2272
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2273
|
+
fields?: string;
|
|
2274
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2275
|
+
key?: string;
|
|
2276
|
+
/** The name of the operation resource to be cancelled. */
|
|
2277
|
+
name: string;
|
|
2278
|
+
/** OAuth 2.0 token for the current user. */
|
|
2279
|
+
oauth_token?: string;
|
|
2280
|
+
/** Returns response with indentations and line breaks. */
|
|
2281
|
+
prettyPrint?: boolean;
|
|
2282
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2283
|
+
quotaUser?: string;
|
|
2284
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1869
2285
|
upload_protocol?: string;
|
|
1870
2286
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1871
2287
|
uploadType?: string;
|
|
@@ -3262,6 +3678,173 @@ declare namespace gapi.client {
|
|
|
3262
3678
|
},
|
|
3263
3679
|
body: LogExclusion): Request<LogExclusion>;
|
|
3264
3680
|
}
|
|
3681
|
+
interface LinksResource {
|
|
3682
|
+
/** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
|
|
3683
|
+
create(request: {
|
|
3684
|
+
/** V1 error format. */
|
|
3685
|
+
"$.xgafv"?: string;
|
|
3686
|
+
/** OAuth access token. */
|
|
3687
|
+
access_token?: string;
|
|
3688
|
+
/** Data format for response. */
|
|
3689
|
+
alt?: string;
|
|
3690
|
+
/** JSONP */
|
|
3691
|
+
callback?: string;
|
|
3692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3693
|
+
fields?: string;
|
|
3694
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3695
|
+
key?: string;
|
|
3696
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
3697
|
+
linkId?: string;
|
|
3698
|
+
/** OAuth 2.0 token for the current user. */
|
|
3699
|
+
oauth_token?: string;
|
|
3700
|
+
/**
|
|
3701
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3702
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3703
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3704
|
+
*/
|
|
3705
|
+
parent: string;
|
|
3706
|
+
/** Returns response with indentations and line breaks. */
|
|
3707
|
+
prettyPrint?: boolean;
|
|
3708
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3709
|
+
quotaUser?: string;
|
|
3710
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3711
|
+
upload_protocol?: string;
|
|
3712
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3713
|
+
uploadType?: string;
|
|
3714
|
+
/** Request body */
|
|
3715
|
+
resource: Link;
|
|
3716
|
+
}): Request<Operation>;
|
|
3717
|
+
create(request: {
|
|
3718
|
+
/** V1 error format. */
|
|
3719
|
+
"$.xgafv"?: string;
|
|
3720
|
+
/** OAuth access token. */
|
|
3721
|
+
access_token?: string;
|
|
3722
|
+
/** Data format for response. */
|
|
3723
|
+
alt?: string;
|
|
3724
|
+
/** JSONP */
|
|
3725
|
+
callback?: string;
|
|
3726
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3727
|
+
fields?: string;
|
|
3728
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3729
|
+
key?: string;
|
|
3730
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
3731
|
+
linkId?: string;
|
|
3732
|
+
/** OAuth 2.0 token for the current user. */
|
|
3733
|
+
oauth_token?: string;
|
|
3734
|
+
/**
|
|
3735
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3736
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3737
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3738
|
+
*/
|
|
3739
|
+
parent: string;
|
|
3740
|
+
/** Returns response with indentations and line breaks. */
|
|
3741
|
+
prettyPrint?: boolean;
|
|
3742
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3743
|
+
quotaUser?: string;
|
|
3744
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3745
|
+
upload_protocol?: string;
|
|
3746
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3747
|
+
uploadType?: string;
|
|
3748
|
+
},
|
|
3749
|
+
body: Link): Request<Operation>;
|
|
3750
|
+
/** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
|
|
3751
|
+
delete(request?: {
|
|
3752
|
+
/** V1 error format. */
|
|
3753
|
+
"$.xgafv"?: string;
|
|
3754
|
+
/** OAuth access token. */
|
|
3755
|
+
access_token?: string;
|
|
3756
|
+
/** Data format for response. */
|
|
3757
|
+
alt?: string;
|
|
3758
|
+
/** JSONP */
|
|
3759
|
+
callback?: string;
|
|
3760
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3761
|
+
fields?: string;
|
|
3762
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3763
|
+
key?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
3766
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
3767
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
3768
|
+
*/
|
|
3769
|
+
name: string;
|
|
3770
|
+
/** OAuth 2.0 token for the current user. */
|
|
3771
|
+
oauth_token?: string;
|
|
3772
|
+
/** Returns response with indentations and line breaks. */
|
|
3773
|
+
prettyPrint?: boolean;
|
|
3774
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3775
|
+
quotaUser?: string;
|
|
3776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3777
|
+
upload_protocol?: string;
|
|
3778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3779
|
+
uploadType?: string;
|
|
3780
|
+
}): Request<Operation>;
|
|
3781
|
+
/** Gets a link. */
|
|
3782
|
+
get(request?: {
|
|
3783
|
+
/** V1 error format. */
|
|
3784
|
+
"$.xgafv"?: string;
|
|
3785
|
+
/** OAuth access token. */
|
|
3786
|
+
access_token?: string;
|
|
3787
|
+
/** Data format for response. */
|
|
3788
|
+
alt?: string;
|
|
3789
|
+
/** JSONP */
|
|
3790
|
+
callback?: string;
|
|
3791
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3792
|
+
fields?: string;
|
|
3793
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3794
|
+
key?: string;
|
|
3795
|
+
/**
|
|
3796
|
+
* Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
3797
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
3798
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
|
|
3799
|
+
*/
|
|
3800
|
+
name: string;
|
|
3801
|
+
/** OAuth 2.0 token for the current user. */
|
|
3802
|
+
oauth_token?: string;
|
|
3803
|
+
/** Returns response with indentations and line breaks. */
|
|
3804
|
+
prettyPrint?: boolean;
|
|
3805
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3806
|
+
quotaUser?: string;
|
|
3807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3808
|
+
upload_protocol?: string;
|
|
3809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3810
|
+
uploadType?: string;
|
|
3811
|
+
}): Request<Link>;
|
|
3812
|
+
/** Lists links. */
|
|
3813
|
+
list(request?: {
|
|
3814
|
+
/** V1 error format. */
|
|
3815
|
+
"$.xgafv"?: string;
|
|
3816
|
+
/** OAuth access token. */
|
|
3817
|
+
access_token?: string;
|
|
3818
|
+
/** Data format for response. */
|
|
3819
|
+
alt?: string;
|
|
3820
|
+
/** JSONP */
|
|
3821
|
+
callback?: string;
|
|
3822
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3823
|
+
fields?: string;
|
|
3824
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3825
|
+
key?: string;
|
|
3826
|
+
/** OAuth 2.0 token for the current user. */
|
|
3827
|
+
oauth_token?: string;
|
|
3828
|
+
/** Optional. The maximum number of results to return from this request. */
|
|
3829
|
+
pageSize?: number;
|
|
3830
|
+
/** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. */
|
|
3831
|
+
pageToken?: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
|
|
3834
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
|
|
3835
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
|
|
3836
|
+
*/
|
|
3837
|
+
parent: string;
|
|
3838
|
+
/** Returns response with indentations and line breaks. */
|
|
3839
|
+
prettyPrint?: boolean;
|
|
3840
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3841
|
+
quotaUser?: string;
|
|
3842
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3843
|
+
upload_protocol?: string;
|
|
3844
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3845
|
+
uploadType?: string;
|
|
3846
|
+
}): Request<ListLinksResponse>;
|
|
3847
|
+
}
|
|
3265
3848
|
interface LogsResource {
|
|
3266
3849
|
/** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */
|
|
3267
3850
|
list(request?: {
|
|
@@ -3616,31 +4199,26 @@ declare namespace gapi.client {
|
|
|
3616
4199
|
uploadType?: string;
|
|
3617
4200
|
},
|
|
3618
4201
|
body: LogBucket): Request<LogBucket>;
|
|
3619
|
-
/**
|
|
3620
|
-
|
|
3621
|
-
* permanently deleted.
|
|
3622
|
-
*/
|
|
3623
|
-
delete(request?: {
|
|
4202
|
+
/** Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed. */
|
|
4203
|
+
createAsync(request: {
|
|
3624
4204
|
/** V1 error format. */
|
|
3625
4205
|
"$.xgafv"?: string;
|
|
3626
4206
|
/** OAuth access token. */
|
|
3627
4207
|
access_token?: string;
|
|
3628
4208
|
/** Data format for response. */
|
|
3629
4209
|
alt?: string;
|
|
4210
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
4211
|
+
bucketId?: string;
|
|
3630
4212
|
/** JSONP */
|
|
3631
4213
|
callback?: string;
|
|
3632
4214
|
/** Selector specifying which fields to include in a partial response. */
|
|
3633
4215
|
fields?: string;
|
|
3634
4216
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3635
4217
|
key?: string;
|
|
3636
|
-
/**
|
|
3637
|
-
* Required. The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3638
|
-
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3639
|
-
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
3640
|
-
*/
|
|
3641
|
-
name: string;
|
|
3642
4218
|
/** OAuth 2.0 token for the current user. */
|
|
3643
4219
|
oauth_token?: string;
|
|
4220
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
4221
|
+
parent: string;
|
|
3644
4222
|
/** Returns response with indentations and line breaks. */
|
|
3645
4223
|
prettyPrint?: boolean;
|
|
3646
4224
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -3649,29 +4227,28 @@ declare namespace gapi.client {
|
|
|
3649
4227
|
upload_protocol?: string;
|
|
3650
4228
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3651
4229
|
uploadType?: string;
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
4230
|
+
/** Request body */
|
|
4231
|
+
resource: LogBucket;
|
|
4232
|
+
}): Request<Operation>;
|
|
4233
|
+
createAsync(request: {
|
|
3655
4234
|
/** V1 error format. */
|
|
3656
4235
|
"$.xgafv"?: string;
|
|
3657
4236
|
/** OAuth access token. */
|
|
3658
4237
|
access_token?: string;
|
|
3659
4238
|
/** Data format for response. */
|
|
3660
4239
|
alt?: string;
|
|
4240
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
4241
|
+
bucketId?: string;
|
|
3661
4242
|
/** JSONP */
|
|
3662
4243
|
callback?: string;
|
|
3663
4244
|
/** Selector specifying which fields to include in a partial response. */
|
|
3664
4245
|
fields?: string;
|
|
3665
4246
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3666
4247
|
key?: string;
|
|
3667
|
-
/**
|
|
3668
|
-
* Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3669
|
-
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
3670
|
-
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
3671
|
-
*/
|
|
3672
|
-
name: string;
|
|
3673
4248
|
/** OAuth 2.0 token for the current user. */
|
|
3674
4249
|
oauth_token?: string;
|
|
4250
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
4251
|
+
parent: string;
|
|
3675
4252
|
/** Returns response with indentations and line breaks. */
|
|
3676
4253
|
prettyPrint?: boolean;
|
|
3677
4254
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -3680,13 +4257,79 @@ declare namespace gapi.client {
|
|
|
3680
4257
|
upload_protocol?: string;
|
|
3681
4258
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3682
4259
|
uploadType?: string;
|
|
3683
|
-
}
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
4260
|
+
},
|
|
4261
|
+
body: LogBucket): Request<Operation>;
|
|
4262
|
+
/**
|
|
4263
|
+
* Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be
|
|
4264
|
+
* permanently deleted.
|
|
4265
|
+
*/
|
|
4266
|
+
delete(request?: {
|
|
4267
|
+
/** V1 error format. */
|
|
4268
|
+
"$.xgafv"?: string;
|
|
4269
|
+
/** OAuth access token. */
|
|
4270
|
+
access_token?: string;
|
|
4271
|
+
/** Data format for response. */
|
|
4272
|
+
alt?: string;
|
|
4273
|
+
/** JSONP */
|
|
4274
|
+
callback?: string;
|
|
4275
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4276
|
+
fields?: string;
|
|
4277
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4278
|
+
key?: string;
|
|
4279
|
+
/**
|
|
4280
|
+
* Required. The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4281
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4282
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
4283
|
+
*/
|
|
4284
|
+
name: string;
|
|
4285
|
+
/** OAuth 2.0 token for the current user. */
|
|
4286
|
+
oauth_token?: string;
|
|
4287
|
+
/** Returns response with indentations and line breaks. */
|
|
4288
|
+
prettyPrint?: boolean;
|
|
4289
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4290
|
+
quotaUser?: string;
|
|
4291
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4292
|
+
upload_protocol?: string;
|
|
4293
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4294
|
+
uploadType?: string;
|
|
4295
|
+
}): Request<{}>;
|
|
4296
|
+
/** Gets a log bucket. */
|
|
4297
|
+
get(request?: {
|
|
4298
|
+
/** V1 error format. */
|
|
4299
|
+
"$.xgafv"?: string;
|
|
4300
|
+
/** OAuth access token. */
|
|
4301
|
+
access_token?: string;
|
|
4302
|
+
/** Data format for response. */
|
|
4303
|
+
alt?: string;
|
|
4304
|
+
/** JSONP */
|
|
4305
|
+
callback?: string;
|
|
4306
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4307
|
+
fields?: string;
|
|
4308
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4309
|
+
key?: string;
|
|
4310
|
+
/**
|
|
4311
|
+
* Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4312
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4313
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
4314
|
+
*/
|
|
4315
|
+
name: string;
|
|
4316
|
+
/** OAuth 2.0 token for the current user. */
|
|
4317
|
+
oauth_token?: string;
|
|
4318
|
+
/** Returns response with indentations and line breaks. */
|
|
4319
|
+
prettyPrint?: boolean;
|
|
4320
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4321
|
+
quotaUser?: string;
|
|
4322
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4323
|
+
upload_protocol?: string;
|
|
4324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4325
|
+
uploadType?: string;
|
|
4326
|
+
}): Request<LogBucket>;
|
|
4327
|
+
/** Lists log buckets. */
|
|
4328
|
+
list(request?: {
|
|
4329
|
+
/** V1 error format. */
|
|
4330
|
+
"$.xgafv"?: string;
|
|
4331
|
+
/** OAuth access token. */
|
|
4332
|
+
access_token?: string;
|
|
3690
4333
|
/** Data format for response. */
|
|
3691
4334
|
alt?: string;
|
|
3692
4335
|
/** JSONP */
|
|
@@ -3723,9 +4366,8 @@ declare namespace gapi.client {
|
|
|
3723
4366
|
uploadType?: string;
|
|
3724
4367
|
}): Request<ListBucketsResponse>;
|
|
3725
4368
|
/**
|
|
3726
|
-
* Updates a log bucket.
|
|
3727
|
-
*
|
|
3728
|
-
* created, the bucket's location cannot be changed.
|
|
4369
|
+
* Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot
|
|
4370
|
+
* be changed.
|
|
3729
4371
|
*/
|
|
3730
4372
|
patch(request: {
|
|
3731
4373
|
/** V1 error format. */
|
|
@@ -3866,6 +4508,86 @@ declare namespace gapi.client {
|
|
|
3866
4508
|
uploadType?: string;
|
|
3867
4509
|
},
|
|
3868
4510
|
body: UndeleteBucketRequest): Request<{}>;
|
|
4511
|
+
/**
|
|
4512
|
+
* Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's
|
|
4513
|
+
* location cannot be changed.
|
|
4514
|
+
*/
|
|
4515
|
+
updateAsync(request: {
|
|
4516
|
+
/** V1 error format. */
|
|
4517
|
+
"$.xgafv"?: string;
|
|
4518
|
+
/** OAuth access token. */
|
|
4519
|
+
access_token?: string;
|
|
4520
|
+
/** Data format for response. */
|
|
4521
|
+
alt?: string;
|
|
4522
|
+
/** JSONP */
|
|
4523
|
+
callback?: string;
|
|
4524
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4525
|
+
fields?: string;
|
|
4526
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4527
|
+
key?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4530
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4531
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
4532
|
+
*/
|
|
4533
|
+
name: string;
|
|
4534
|
+
/** OAuth 2.0 token for the current user. */
|
|
4535
|
+
oauth_token?: string;
|
|
4536
|
+
/** Returns response with indentations and line breaks. */
|
|
4537
|
+
prettyPrint?: boolean;
|
|
4538
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4539
|
+
quotaUser?: string;
|
|
4540
|
+
/**
|
|
4541
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
4542
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
4543
|
+
* example: updateMask=retention_days
|
|
4544
|
+
*/
|
|
4545
|
+
updateMask?: string;
|
|
4546
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4547
|
+
upload_protocol?: string;
|
|
4548
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4549
|
+
uploadType?: string;
|
|
4550
|
+
/** Request body */
|
|
4551
|
+
resource: LogBucket;
|
|
4552
|
+
}): Request<Operation>;
|
|
4553
|
+
updateAsync(request: {
|
|
4554
|
+
/** V1 error format. */
|
|
4555
|
+
"$.xgafv"?: string;
|
|
4556
|
+
/** OAuth access token. */
|
|
4557
|
+
access_token?: string;
|
|
4558
|
+
/** Data format for response. */
|
|
4559
|
+
alt?: string;
|
|
4560
|
+
/** JSONP */
|
|
4561
|
+
callback?: string;
|
|
4562
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4563
|
+
fields?: string;
|
|
4564
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4565
|
+
key?: string;
|
|
4566
|
+
/**
|
|
4567
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4568
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4569
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
4570
|
+
*/
|
|
4571
|
+
name: string;
|
|
4572
|
+
/** OAuth 2.0 token for the current user. */
|
|
4573
|
+
oauth_token?: string;
|
|
4574
|
+
/** Returns response with indentations and line breaks. */
|
|
4575
|
+
prettyPrint?: boolean;
|
|
4576
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4577
|
+
quotaUser?: string;
|
|
4578
|
+
/**
|
|
4579
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
4580
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
4581
|
+
* example: updateMask=retention_days
|
|
4582
|
+
*/
|
|
4583
|
+
updateMask?: string;
|
|
4584
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4585
|
+
upload_protocol?: string;
|
|
4586
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4587
|
+
uploadType?: string;
|
|
4588
|
+
},
|
|
4589
|
+
body: LogBucket): Request<Operation>;
|
|
4590
|
+
links: LinksResource;
|
|
3869
4591
|
views: ViewsResource;
|
|
3870
4592
|
}
|
|
3871
4593
|
interface OperationsResource {
|
|
@@ -4671,8 +5393,8 @@ declare namespace gapi.client {
|
|
|
4671
5393
|
logs: LogsResource;
|
|
4672
5394
|
sinks: SinksResource;
|
|
4673
5395
|
}
|
|
4674
|
-
interface
|
|
4675
|
-
/**
|
|
5396
|
+
interface LinksResource {
|
|
5397
|
+
/** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
|
|
4676
5398
|
create(request: {
|
|
4677
5399
|
/** V1 error format. */
|
|
4678
5400
|
"$.xgafv"?: string;
|
|
@@ -4686,11 +5408,14 @@ declare namespace gapi.client {
|
|
|
4686
5408
|
fields?: string;
|
|
4687
5409
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4688
5410
|
key?: string;
|
|
5411
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
5412
|
+
linkId?: string;
|
|
4689
5413
|
/** OAuth 2.0 token for the current user. */
|
|
4690
5414
|
oauth_token?: string;
|
|
4691
5415
|
/**
|
|
4692
|
-
* Required. The
|
|
4693
|
-
*
|
|
5416
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
5417
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
5418
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4694
5419
|
*/
|
|
4695
5420
|
parent: string;
|
|
4696
5421
|
/** Returns response with indentations and line breaks. */
|
|
@@ -4701,11 +5426,9 @@ declare namespace gapi.client {
|
|
|
4701
5426
|
upload_protocol?: string;
|
|
4702
5427
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4703
5428
|
uploadType?: string;
|
|
4704
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
4705
|
-
viewId?: string;
|
|
4706
5429
|
/** Request body */
|
|
4707
|
-
resource:
|
|
4708
|
-
}): Request<
|
|
5430
|
+
resource: Link;
|
|
5431
|
+
}): Request<Operation>;
|
|
4709
5432
|
create(request: {
|
|
4710
5433
|
/** V1 error format. */
|
|
4711
5434
|
"$.xgafv"?: string;
|
|
@@ -4719,11 +5442,14 @@ declare namespace gapi.client {
|
|
|
4719
5442
|
fields?: string;
|
|
4720
5443
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4721
5444
|
key?: string;
|
|
5445
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
5446
|
+
linkId?: string;
|
|
4722
5447
|
/** OAuth 2.0 token for the current user. */
|
|
4723
5448
|
oauth_token?: string;
|
|
4724
5449
|
/**
|
|
4725
|
-
* Required. The
|
|
4726
|
-
*
|
|
5450
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
5451
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
5452
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
4727
5453
|
*/
|
|
4728
5454
|
parent: string;
|
|
4729
5455
|
/** Returns response with indentations and line breaks. */
|
|
@@ -4734,14 +5460,9 @@ declare namespace gapi.client {
|
|
|
4734
5460
|
upload_protocol?: string;
|
|
4735
5461
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4736
5462
|
uploadType?: string;
|
|
4737
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
4738
|
-
viewId?: string;
|
|
4739
5463
|
},
|
|
4740
|
-
body:
|
|
4741
|
-
/**
|
|
4742
|
-
* Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a
|
|
4743
|
-
* few minutes.
|
|
4744
|
-
*/
|
|
5464
|
+
body: Link): Request<Operation>;
|
|
5465
|
+
/** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
|
|
4745
5466
|
delete(request?: {
|
|
4746
5467
|
/** V1 error format. */
|
|
4747
5468
|
"$.xgafv"?: string;
|
|
@@ -4756,8 +5477,9 @@ declare namespace gapi.client {
|
|
|
4756
5477
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4757
5478
|
key?: string;
|
|
4758
5479
|
/**
|
|
4759
|
-
* Required. The full resource name of the
|
|
4760
|
-
*
|
|
5480
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
5481
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
5482
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
4761
5483
|
*/
|
|
4762
5484
|
name: string;
|
|
4763
5485
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4770,8 +5492,8 @@ declare namespace gapi.client {
|
|
|
4770
5492
|
upload_protocol?: string;
|
|
4771
5493
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4772
5494
|
uploadType?: string;
|
|
4773
|
-
}): Request<
|
|
4774
|
-
/** Gets a
|
|
5495
|
+
}): Request<Operation>;
|
|
5496
|
+
/** Gets a link. */
|
|
4775
5497
|
get(request?: {
|
|
4776
5498
|
/** V1 error format. */
|
|
4777
5499
|
"$.xgafv"?: string;
|
|
@@ -4786,8 +5508,9 @@ declare namespace gapi.client {
|
|
|
4786
5508
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4787
5509
|
key?: string;
|
|
4788
5510
|
/**
|
|
4789
|
-
* Required. The resource name of the
|
|
4790
|
-
*
|
|
5511
|
+
* Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
5512
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
5513
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
|
|
4791
5514
|
*/
|
|
4792
5515
|
name: string;
|
|
4793
5516
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4800,8 +5523,8 @@ declare namespace gapi.client {
|
|
|
4800
5523
|
upload_protocol?: string;
|
|
4801
5524
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4802
5525
|
uploadType?: string;
|
|
4803
|
-
}): Request<
|
|
4804
|
-
/** Lists
|
|
5526
|
+
}): Request<Link>;
|
|
5527
|
+
/** Lists links. */
|
|
4805
5528
|
list(request?: {
|
|
4806
5529
|
/** V1 error format. */
|
|
4807
5530
|
"$.xgafv"?: string;
|
|
@@ -4817,17 +5540,15 @@ declare namespace gapi.client {
|
|
|
4817
5540
|
key?: string;
|
|
4818
5541
|
/** OAuth 2.0 token for the current user. */
|
|
4819
5542
|
oauth_token?: string;
|
|
4820
|
-
/**
|
|
4821
|
-
* Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
4822
|
-
* might be available.
|
|
4823
|
-
*/
|
|
5543
|
+
/** Optional. The maximum number of results to return from this request. */
|
|
4824
5544
|
pageSize?: number;
|
|
5545
|
+
/** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. */
|
|
5546
|
+
pageToken?: string;
|
|
4825
5547
|
/**
|
|
4826
|
-
*
|
|
4827
|
-
*
|
|
5548
|
+
* Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
|
|
5549
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
|
|
5550
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
|
|
4828
5551
|
*/
|
|
4829
|
-
pageToken?: string;
|
|
4830
|
-
/** Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" */
|
|
4831
5552
|
parent: string;
|
|
4832
5553
|
/** Returns response with indentations and line breaks. */
|
|
4833
5554
|
prettyPrint?: boolean;
|
|
@@ -4837,12 +5558,11 @@ declare namespace gapi.client {
|
|
|
4837
5558
|
upload_protocol?: string;
|
|
4838
5559
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4839
5560
|
uploadType?: string;
|
|
4840
|
-
}): Request<
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
patch(request: {
|
|
5561
|
+
}): Request<ListLinksResponse>;
|
|
5562
|
+
}
|
|
5563
|
+
interface ViewsResource {
|
|
5564
|
+
/** Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. */
|
|
5565
|
+
create(request: {
|
|
4846
5566
|
/** V1 error format. */
|
|
4847
5567
|
"$.xgafv"?: string;
|
|
4848
5568
|
/** OAuth access token. */
|
|
@@ -4855,31 +5575,27 @@ declare namespace gapi.client {
|
|
|
4855
5575
|
fields?: string;
|
|
4856
5576
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4857
5577
|
key?: string;
|
|
4858
|
-
/**
|
|
4859
|
-
* Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
4860
|
-
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
4861
|
-
*/
|
|
4862
|
-
name: string;
|
|
4863
5578
|
/** OAuth 2.0 token for the current user. */
|
|
4864
5579
|
oauth_token?: string;
|
|
5580
|
+
/**
|
|
5581
|
+
* Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For
|
|
5582
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
5583
|
+
*/
|
|
5584
|
+
parent: string;
|
|
4865
5585
|
/** Returns response with indentations and line breaks. */
|
|
4866
5586
|
prettyPrint?: boolean;
|
|
4867
5587
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4868
5588
|
quotaUser?: string;
|
|
4869
|
-
/**
|
|
4870
|
-
* Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields
|
|
4871
|
-
* cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example:
|
|
4872
|
-
* updateMask=filter
|
|
4873
|
-
*/
|
|
4874
|
-
updateMask?: string;
|
|
4875
5589
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4876
5590
|
upload_protocol?: string;
|
|
4877
5591
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4878
5592
|
uploadType?: string;
|
|
5593
|
+
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
5594
|
+
viewId?: string;
|
|
4879
5595
|
/** Request body */
|
|
4880
5596
|
resource: LogView;
|
|
4881
5597
|
}): Request<LogView>;
|
|
4882
|
-
|
|
5598
|
+
create(request: {
|
|
4883
5599
|
/** V1 error format. */
|
|
4884
5600
|
"$.xgafv"?: string;
|
|
4885
5601
|
/** OAuth access token. */
|
|
@@ -4892,51 +5608,49 @@ declare namespace gapi.client {
|
|
|
4892
5608
|
fields?: string;
|
|
4893
5609
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4894
5610
|
key?: string;
|
|
4895
|
-
/**
|
|
4896
|
-
* Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
4897
|
-
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
4898
|
-
*/
|
|
4899
|
-
name: string;
|
|
4900
5611
|
/** OAuth 2.0 token for the current user. */
|
|
4901
5612
|
oauth_token?: string;
|
|
5613
|
+
/**
|
|
5614
|
+
* Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For
|
|
5615
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
5616
|
+
*/
|
|
5617
|
+
parent: string;
|
|
4902
5618
|
/** Returns response with indentations and line breaks. */
|
|
4903
5619
|
prettyPrint?: boolean;
|
|
4904
5620
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4905
5621
|
quotaUser?: string;
|
|
4906
|
-
/**
|
|
4907
|
-
* Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields
|
|
4908
|
-
* cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example:
|
|
4909
|
-
* updateMask=filter
|
|
4910
|
-
*/
|
|
4911
|
-
updateMask?: string;
|
|
4912
5622
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4913
5623
|
upload_protocol?: string;
|
|
4914
5624
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4915
5625
|
uploadType?: string;
|
|
5626
|
+
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
5627
|
+
viewId?: string;
|
|
4916
5628
|
},
|
|
4917
5629
|
body: LogView): Request<LogView>;
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
5630
|
+
/**
|
|
5631
|
+
* Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a
|
|
5632
|
+
* few minutes.
|
|
5633
|
+
*/
|
|
5634
|
+
delete(request?: {
|
|
4922
5635
|
/** V1 error format. */
|
|
4923
5636
|
"$.xgafv"?: string;
|
|
4924
5637
|
/** OAuth access token. */
|
|
4925
5638
|
access_token?: string;
|
|
4926
5639
|
/** Data format for response. */
|
|
4927
5640
|
alt?: string;
|
|
4928
|
-
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
4929
|
-
bucketId?: string;
|
|
4930
5641
|
/** JSONP */
|
|
4931
5642
|
callback?: string;
|
|
4932
5643
|
/** Selector specifying which fields to include in a partial response. */
|
|
4933
5644
|
fields?: string;
|
|
4934
5645
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4935
5646
|
key?: string;
|
|
5647
|
+
/**
|
|
5648
|
+
* Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
5649
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
5650
|
+
*/
|
|
5651
|
+
name: string;
|
|
4936
5652
|
/** OAuth 2.0 token for the current user. */
|
|
4937
5653
|
oauth_token?: string;
|
|
4938
|
-
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
4939
|
-
parent: string;
|
|
4940
5654
|
/** Returns response with indentations and line breaks. */
|
|
4941
5655
|
prettyPrint?: boolean;
|
|
4942
5656
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -4945,11 +5659,186 @@ declare namespace gapi.client {
|
|
|
4945
5659
|
upload_protocol?: string;
|
|
4946
5660
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4947
5661
|
uploadType?: string;
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
5662
|
+
}): Request<{}>;
|
|
5663
|
+
/** Gets a view on a log bucket.. */
|
|
5664
|
+
get(request?: {
|
|
5665
|
+
/** V1 error format. */
|
|
5666
|
+
"$.xgafv"?: string;
|
|
5667
|
+
/** OAuth access token. */
|
|
5668
|
+
access_token?: string;
|
|
5669
|
+
/** Data format for response. */
|
|
5670
|
+
alt?: string;
|
|
5671
|
+
/** JSONP */
|
|
5672
|
+
callback?: string;
|
|
5673
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5674
|
+
fields?: string;
|
|
5675
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5676
|
+
key?: string;
|
|
5677
|
+
/**
|
|
5678
|
+
* Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
5679
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
5680
|
+
*/
|
|
5681
|
+
name: string;
|
|
5682
|
+
/** OAuth 2.0 token for the current user. */
|
|
5683
|
+
oauth_token?: string;
|
|
5684
|
+
/** Returns response with indentations and line breaks. */
|
|
5685
|
+
prettyPrint?: boolean;
|
|
5686
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5687
|
+
quotaUser?: string;
|
|
5688
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5689
|
+
upload_protocol?: string;
|
|
5690
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5691
|
+
uploadType?: string;
|
|
5692
|
+
}): Request<LogView>;
|
|
5693
|
+
/** Lists views on a log bucket. */
|
|
5694
|
+
list(request?: {
|
|
5695
|
+
/** V1 error format. */
|
|
5696
|
+
"$.xgafv"?: string;
|
|
5697
|
+
/** OAuth access token. */
|
|
5698
|
+
access_token?: string;
|
|
5699
|
+
/** Data format for response. */
|
|
5700
|
+
alt?: string;
|
|
5701
|
+
/** JSONP */
|
|
5702
|
+
callback?: string;
|
|
5703
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5704
|
+
fields?: string;
|
|
5705
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5706
|
+
key?: string;
|
|
5707
|
+
/** OAuth 2.0 token for the current user. */
|
|
5708
|
+
oauth_token?: string;
|
|
5709
|
+
/**
|
|
5710
|
+
* Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
5711
|
+
* might be available.
|
|
5712
|
+
*/
|
|
5713
|
+
pageSize?: number;
|
|
5714
|
+
/**
|
|
5715
|
+
* Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.
|
|
5716
|
+
* The values of other method parameters should be identical to those in the previous call.
|
|
5717
|
+
*/
|
|
5718
|
+
pageToken?: string;
|
|
5719
|
+
/** Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" */
|
|
5720
|
+
parent: string;
|
|
5721
|
+
/** Returns response with indentations and line breaks. */
|
|
5722
|
+
prettyPrint?: boolean;
|
|
5723
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5724
|
+
quotaUser?: string;
|
|
5725
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5726
|
+
upload_protocol?: string;
|
|
5727
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5728
|
+
uploadType?: string;
|
|
5729
|
+
}): Request<ListViewsResponse>;
|
|
5730
|
+
/**
|
|
5731
|
+
* Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this
|
|
5732
|
+
* indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
|
|
5733
|
+
*/
|
|
5734
|
+
patch(request: {
|
|
5735
|
+
/** V1 error format. */
|
|
5736
|
+
"$.xgafv"?: string;
|
|
5737
|
+
/** OAuth access token. */
|
|
5738
|
+
access_token?: string;
|
|
5739
|
+
/** Data format for response. */
|
|
5740
|
+
alt?: string;
|
|
5741
|
+
/** JSONP */
|
|
5742
|
+
callback?: string;
|
|
5743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5744
|
+
fields?: string;
|
|
5745
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5746
|
+
key?: string;
|
|
5747
|
+
/**
|
|
5748
|
+
* Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
5749
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
5750
|
+
*/
|
|
5751
|
+
name: string;
|
|
5752
|
+
/** OAuth 2.0 token for the current user. */
|
|
5753
|
+
oauth_token?: string;
|
|
5754
|
+
/** Returns response with indentations and line breaks. */
|
|
5755
|
+
prettyPrint?: boolean;
|
|
5756
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5757
|
+
quotaUser?: string;
|
|
5758
|
+
/**
|
|
5759
|
+
* Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields
|
|
5760
|
+
* cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example:
|
|
5761
|
+
* updateMask=filter
|
|
5762
|
+
*/
|
|
5763
|
+
updateMask?: string;
|
|
5764
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5765
|
+
upload_protocol?: string;
|
|
5766
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5767
|
+
uploadType?: string;
|
|
5768
|
+
/** Request body */
|
|
5769
|
+
resource: LogView;
|
|
5770
|
+
}): Request<LogView>;
|
|
5771
|
+
patch(request: {
|
|
5772
|
+
/** V1 error format. */
|
|
5773
|
+
"$.xgafv"?: string;
|
|
5774
|
+
/** OAuth access token. */
|
|
5775
|
+
access_token?: string;
|
|
5776
|
+
/** Data format for response. */
|
|
5777
|
+
alt?: string;
|
|
5778
|
+
/** JSONP */
|
|
5779
|
+
callback?: string;
|
|
5780
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5781
|
+
fields?: string;
|
|
5782
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5783
|
+
key?: string;
|
|
5784
|
+
/**
|
|
5785
|
+
* Required. The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For
|
|
5786
|
+
* example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view"
|
|
5787
|
+
*/
|
|
5788
|
+
name: string;
|
|
5789
|
+
/** OAuth 2.0 token for the current user. */
|
|
5790
|
+
oauth_token?: string;
|
|
5791
|
+
/** Returns response with indentations and line breaks. */
|
|
5792
|
+
prettyPrint?: boolean;
|
|
5793
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5794
|
+
quotaUser?: string;
|
|
5795
|
+
/**
|
|
5796
|
+
* Optional. Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields
|
|
5797
|
+
* cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example:
|
|
5798
|
+
* updateMask=filter
|
|
5799
|
+
*/
|
|
5800
|
+
updateMask?: string;
|
|
5801
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5802
|
+
upload_protocol?: string;
|
|
5803
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5804
|
+
uploadType?: string;
|
|
5805
|
+
},
|
|
5806
|
+
body: LogView): Request<LogView>;
|
|
5807
|
+
}
|
|
5808
|
+
interface BucketsResource {
|
|
5809
|
+
/** Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. */
|
|
5810
|
+
create(request: {
|
|
5811
|
+
/** V1 error format. */
|
|
5812
|
+
"$.xgafv"?: string;
|
|
5813
|
+
/** OAuth access token. */
|
|
5814
|
+
access_token?: string;
|
|
5815
|
+
/** Data format for response. */
|
|
5816
|
+
alt?: string;
|
|
5817
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
5818
|
+
bucketId?: string;
|
|
5819
|
+
/** JSONP */
|
|
5820
|
+
callback?: string;
|
|
5821
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5822
|
+
fields?: string;
|
|
5823
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5824
|
+
key?: string;
|
|
5825
|
+
/** OAuth 2.0 token for the current user. */
|
|
5826
|
+
oauth_token?: string;
|
|
5827
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
5828
|
+
parent: string;
|
|
5829
|
+
/** Returns response with indentations and line breaks. */
|
|
5830
|
+
prettyPrint?: boolean;
|
|
5831
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5832
|
+
quotaUser?: string;
|
|
5833
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5834
|
+
upload_protocol?: string;
|
|
5835
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5836
|
+
uploadType?: string;
|
|
5837
|
+
/** Request body */
|
|
5838
|
+
resource: LogBucket;
|
|
5839
|
+
}): Request<LogBucket>;
|
|
5840
|
+
create(request: {
|
|
5841
|
+
/** V1 error format. */
|
|
4953
5842
|
"$.xgafv"?: string;
|
|
4954
5843
|
/** OAuth access token. */
|
|
4955
5844
|
access_token?: string;
|
|
@@ -4977,6 +5866,66 @@ declare namespace gapi.client {
|
|
|
4977
5866
|
uploadType?: string;
|
|
4978
5867
|
},
|
|
4979
5868
|
body: LogBucket): Request<LogBucket>;
|
|
5869
|
+
/** Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed. */
|
|
5870
|
+
createAsync(request: {
|
|
5871
|
+
/** V1 error format. */
|
|
5872
|
+
"$.xgafv"?: string;
|
|
5873
|
+
/** OAuth access token. */
|
|
5874
|
+
access_token?: string;
|
|
5875
|
+
/** Data format for response. */
|
|
5876
|
+
alt?: string;
|
|
5877
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
5878
|
+
bucketId?: string;
|
|
5879
|
+
/** JSONP */
|
|
5880
|
+
callback?: string;
|
|
5881
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5882
|
+
fields?: string;
|
|
5883
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5884
|
+
key?: string;
|
|
5885
|
+
/** OAuth 2.0 token for the current user. */
|
|
5886
|
+
oauth_token?: string;
|
|
5887
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
5888
|
+
parent: string;
|
|
5889
|
+
/** Returns response with indentations and line breaks. */
|
|
5890
|
+
prettyPrint?: boolean;
|
|
5891
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5892
|
+
quotaUser?: string;
|
|
5893
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5894
|
+
upload_protocol?: string;
|
|
5895
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5896
|
+
uploadType?: string;
|
|
5897
|
+
/** Request body */
|
|
5898
|
+
resource: LogBucket;
|
|
5899
|
+
}): Request<Operation>;
|
|
5900
|
+
createAsync(request: {
|
|
5901
|
+
/** V1 error format. */
|
|
5902
|
+
"$.xgafv"?: string;
|
|
5903
|
+
/** OAuth access token. */
|
|
5904
|
+
access_token?: string;
|
|
5905
|
+
/** Data format for response. */
|
|
5906
|
+
alt?: string;
|
|
5907
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
5908
|
+
bucketId?: string;
|
|
5909
|
+
/** JSONP */
|
|
5910
|
+
callback?: string;
|
|
5911
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5912
|
+
fields?: string;
|
|
5913
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5914
|
+
key?: string;
|
|
5915
|
+
/** OAuth 2.0 token for the current user. */
|
|
5916
|
+
oauth_token?: string;
|
|
5917
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
5918
|
+
parent: string;
|
|
5919
|
+
/** Returns response with indentations and line breaks. */
|
|
5920
|
+
prettyPrint?: boolean;
|
|
5921
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5922
|
+
quotaUser?: string;
|
|
5923
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5924
|
+
upload_protocol?: string;
|
|
5925
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5926
|
+
uploadType?: string;
|
|
5927
|
+
},
|
|
5928
|
+
body: LogBucket): Request<Operation>;
|
|
4980
5929
|
/**
|
|
4981
5930
|
* Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be
|
|
4982
5931
|
* permanently deleted.
|
|
@@ -5084,9 +6033,8 @@ declare namespace gapi.client {
|
|
|
5084
6033
|
uploadType?: string;
|
|
5085
6034
|
}): Request<ListBucketsResponse>;
|
|
5086
6035
|
/**
|
|
5087
|
-
* Updates a log bucket.
|
|
5088
|
-
*
|
|
5089
|
-
* created, the bucket's location cannot be changed.
|
|
6036
|
+
* Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot
|
|
6037
|
+
* be changed.
|
|
5090
6038
|
*/
|
|
5091
6039
|
patch(request: {
|
|
5092
6040
|
/** V1 error format. */
|
|
@@ -5227,6 +6175,86 @@ declare namespace gapi.client {
|
|
|
5227
6175
|
uploadType?: string;
|
|
5228
6176
|
},
|
|
5229
6177
|
body: UndeleteBucketRequest): Request<{}>;
|
|
6178
|
+
/**
|
|
6179
|
+
* Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's
|
|
6180
|
+
* location cannot be changed.
|
|
6181
|
+
*/
|
|
6182
|
+
updateAsync(request: {
|
|
6183
|
+
/** V1 error format. */
|
|
6184
|
+
"$.xgafv"?: string;
|
|
6185
|
+
/** OAuth access token. */
|
|
6186
|
+
access_token?: string;
|
|
6187
|
+
/** Data format for response. */
|
|
6188
|
+
alt?: string;
|
|
6189
|
+
/** JSONP */
|
|
6190
|
+
callback?: string;
|
|
6191
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6192
|
+
fields?: string;
|
|
6193
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6194
|
+
key?: string;
|
|
6195
|
+
/**
|
|
6196
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6197
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6198
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
6199
|
+
*/
|
|
6200
|
+
name: string;
|
|
6201
|
+
/** OAuth 2.0 token for the current user. */
|
|
6202
|
+
oauth_token?: string;
|
|
6203
|
+
/** Returns response with indentations and line breaks. */
|
|
6204
|
+
prettyPrint?: boolean;
|
|
6205
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6206
|
+
quotaUser?: string;
|
|
6207
|
+
/**
|
|
6208
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
6209
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
6210
|
+
* example: updateMask=retention_days
|
|
6211
|
+
*/
|
|
6212
|
+
updateMask?: string;
|
|
6213
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6214
|
+
upload_protocol?: string;
|
|
6215
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6216
|
+
uploadType?: string;
|
|
6217
|
+
/** Request body */
|
|
6218
|
+
resource: LogBucket;
|
|
6219
|
+
}): Request<Operation>;
|
|
6220
|
+
updateAsync(request: {
|
|
6221
|
+
/** V1 error format. */
|
|
6222
|
+
"$.xgafv"?: string;
|
|
6223
|
+
/** OAuth access token. */
|
|
6224
|
+
access_token?: string;
|
|
6225
|
+
/** Data format for response. */
|
|
6226
|
+
alt?: string;
|
|
6227
|
+
/** JSONP */
|
|
6228
|
+
callback?: string;
|
|
6229
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6230
|
+
fields?: string;
|
|
6231
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6232
|
+
key?: string;
|
|
6233
|
+
/**
|
|
6234
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6235
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6236
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
6237
|
+
*/
|
|
6238
|
+
name: string;
|
|
6239
|
+
/** OAuth 2.0 token for the current user. */
|
|
6240
|
+
oauth_token?: string;
|
|
6241
|
+
/** Returns response with indentations and line breaks. */
|
|
6242
|
+
prettyPrint?: boolean;
|
|
6243
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6244
|
+
quotaUser?: string;
|
|
6245
|
+
/**
|
|
6246
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
6247
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
6248
|
+
* example: updateMask=retention_days
|
|
6249
|
+
*/
|
|
6250
|
+
updateMask?: string;
|
|
6251
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6252
|
+
upload_protocol?: string;
|
|
6253
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6254
|
+
uploadType?: string;
|
|
6255
|
+
},
|
|
6256
|
+
body: LogBucket): Request<Operation>;
|
|
6257
|
+
links: LinksResource;
|
|
5230
6258
|
views: ViewsResource;
|
|
5231
6259
|
}
|
|
5232
6260
|
interface OperationsResource {
|
|
@@ -5540,14 +6568,176 @@ declare namespace gapi.client {
|
|
|
5540
6568
|
upload_protocol?: string;
|
|
5541
6569
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5542
6570
|
uploadType?: string;
|
|
5543
|
-
}): Request<ListMonitoredResourceDescriptorsResponse>;
|
|
5544
|
-
}
|
|
5545
|
-
interface ExclusionsResource {
|
|
5546
|
-
/**
|
|
5547
|
-
* Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a
|
|
5548
|
-
* resource.
|
|
5549
|
-
*/
|
|
5550
|
-
create(request: {
|
|
6571
|
+
}): Request<ListMonitoredResourceDescriptorsResponse>;
|
|
6572
|
+
}
|
|
6573
|
+
interface ExclusionsResource {
|
|
6574
|
+
/**
|
|
6575
|
+
* Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a
|
|
6576
|
+
* resource.
|
|
6577
|
+
*/
|
|
6578
|
+
create(request: {
|
|
6579
|
+
/** V1 error format. */
|
|
6580
|
+
"$.xgafv"?: string;
|
|
6581
|
+
/** OAuth access token. */
|
|
6582
|
+
access_token?: string;
|
|
6583
|
+
/** Data format for response. */
|
|
6584
|
+
alt?: string;
|
|
6585
|
+
/** JSONP */
|
|
6586
|
+
callback?: string;
|
|
6587
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6588
|
+
fields?: string;
|
|
6589
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6590
|
+
key?: string;
|
|
6591
|
+
/** OAuth 2.0 token for the current user. */
|
|
6592
|
+
oauth_token?: string;
|
|
6593
|
+
/**
|
|
6594
|
+
* Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
6595
|
+
* "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789"
|
|
6596
|
+
*/
|
|
6597
|
+
parent: string;
|
|
6598
|
+
/** Returns response with indentations and line breaks. */
|
|
6599
|
+
prettyPrint?: boolean;
|
|
6600
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6601
|
+
quotaUser?: string;
|
|
6602
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6603
|
+
upload_protocol?: string;
|
|
6604
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6605
|
+
uploadType?: string;
|
|
6606
|
+
/** Request body */
|
|
6607
|
+
resource: LogExclusion;
|
|
6608
|
+
}): Request<LogExclusion>;
|
|
6609
|
+
create(request: {
|
|
6610
|
+
/** V1 error format. */
|
|
6611
|
+
"$.xgafv"?: string;
|
|
6612
|
+
/** OAuth access token. */
|
|
6613
|
+
access_token?: string;
|
|
6614
|
+
/** Data format for response. */
|
|
6615
|
+
alt?: string;
|
|
6616
|
+
/** JSONP */
|
|
6617
|
+
callback?: string;
|
|
6618
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6619
|
+
fields?: string;
|
|
6620
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6621
|
+
key?: string;
|
|
6622
|
+
/** OAuth 2.0 token for the current user. */
|
|
6623
|
+
oauth_token?: string;
|
|
6624
|
+
/**
|
|
6625
|
+
* Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
6626
|
+
* "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789"
|
|
6627
|
+
*/
|
|
6628
|
+
parent: string;
|
|
6629
|
+
/** Returns response with indentations and line breaks. */
|
|
6630
|
+
prettyPrint?: boolean;
|
|
6631
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6632
|
+
quotaUser?: string;
|
|
6633
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6634
|
+
upload_protocol?: string;
|
|
6635
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6636
|
+
uploadType?: string;
|
|
6637
|
+
},
|
|
6638
|
+
body: LogExclusion): Request<LogExclusion>;
|
|
6639
|
+
/** Deletes an exclusion in the _Default sink. */
|
|
6640
|
+
delete(request?: {
|
|
6641
|
+
/** V1 error format. */
|
|
6642
|
+
"$.xgafv"?: string;
|
|
6643
|
+
/** OAuth access token. */
|
|
6644
|
+
access_token?: string;
|
|
6645
|
+
/** Data format for response. */
|
|
6646
|
+
alt?: string;
|
|
6647
|
+
/** JSONP */
|
|
6648
|
+
callback?: string;
|
|
6649
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6650
|
+
fields?: string;
|
|
6651
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6652
|
+
key?: string;
|
|
6653
|
+
/**
|
|
6654
|
+
* Required. The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
6655
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
6656
|
+
*/
|
|
6657
|
+
name: string;
|
|
6658
|
+
/** OAuth 2.0 token for the current user. */
|
|
6659
|
+
oauth_token?: string;
|
|
6660
|
+
/** Returns response with indentations and line breaks. */
|
|
6661
|
+
prettyPrint?: boolean;
|
|
6662
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6663
|
+
quotaUser?: string;
|
|
6664
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6665
|
+
upload_protocol?: string;
|
|
6666
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6667
|
+
uploadType?: string;
|
|
6668
|
+
}): Request<{}>;
|
|
6669
|
+
/** Gets the description of an exclusion in the _Default sink. */
|
|
6670
|
+
get(request?: {
|
|
6671
|
+
/** V1 error format. */
|
|
6672
|
+
"$.xgafv"?: string;
|
|
6673
|
+
/** OAuth access token. */
|
|
6674
|
+
access_token?: string;
|
|
6675
|
+
/** Data format for response. */
|
|
6676
|
+
alt?: string;
|
|
6677
|
+
/** JSONP */
|
|
6678
|
+
callback?: string;
|
|
6679
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6680
|
+
fields?: string;
|
|
6681
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6682
|
+
key?: string;
|
|
6683
|
+
/**
|
|
6684
|
+
* Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
6685
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
6686
|
+
*/
|
|
6687
|
+
name: string;
|
|
6688
|
+
/** OAuth 2.0 token for the current user. */
|
|
6689
|
+
oauth_token?: string;
|
|
6690
|
+
/** Returns response with indentations and line breaks. */
|
|
6691
|
+
prettyPrint?: boolean;
|
|
6692
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6693
|
+
quotaUser?: string;
|
|
6694
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6695
|
+
upload_protocol?: string;
|
|
6696
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6697
|
+
uploadType?: string;
|
|
6698
|
+
}): Request<LogExclusion>;
|
|
6699
|
+
/** Lists all the exclusions on the _Default sink in a parent resource. */
|
|
6700
|
+
list(request?: {
|
|
6701
|
+
/** V1 error format. */
|
|
6702
|
+
"$.xgafv"?: string;
|
|
6703
|
+
/** OAuth access token. */
|
|
6704
|
+
access_token?: string;
|
|
6705
|
+
/** Data format for response. */
|
|
6706
|
+
alt?: string;
|
|
6707
|
+
/** JSONP */
|
|
6708
|
+
callback?: string;
|
|
6709
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6710
|
+
fields?: string;
|
|
6711
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6712
|
+
key?: string;
|
|
6713
|
+
/** OAuth 2.0 token for the current user. */
|
|
6714
|
+
oauth_token?: string;
|
|
6715
|
+
/**
|
|
6716
|
+
* Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
6717
|
+
* might be available.
|
|
6718
|
+
*/
|
|
6719
|
+
pageSize?: number;
|
|
6720
|
+
/**
|
|
6721
|
+
* Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.
|
|
6722
|
+
* The values of other method parameters should be identical to those in the previous call.
|
|
6723
|
+
*/
|
|
6724
|
+
pageToken?: string;
|
|
6725
|
+
/**
|
|
6726
|
+
* Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
6727
|
+
* "folders/[FOLDER_ID]"
|
|
6728
|
+
*/
|
|
6729
|
+
parent: string;
|
|
6730
|
+
/** Returns response with indentations and line breaks. */
|
|
6731
|
+
prettyPrint?: boolean;
|
|
6732
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6733
|
+
quotaUser?: string;
|
|
6734
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6735
|
+
upload_protocol?: string;
|
|
6736
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6737
|
+
uploadType?: string;
|
|
6738
|
+
}): Request<ListExclusionsResponse>;
|
|
6739
|
+
/** Changes one or more properties of an existing exclusion in the _Default sink. */
|
|
6740
|
+
patch(request: {
|
|
5551
6741
|
/** V1 error format. */
|
|
5552
6742
|
"$.xgafv"?: string;
|
|
5553
6743
|
/** OAuth access token. */
|
|
@@ -5560,17 +6750,23 @@ declare namespace gapi.client {
|
|
|
5560
6750
|
fields?: string;
|
|
5561
6751
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5562
6752
|
key?: string;
|
|
5563
|
-
/** OAuth 2.0 token for the current user. */
|
|
5564
|
-
oauth_token?: string;
|
|
5565
6753
|
/**
|
|
5566
|
-
* Required. The
|
|
5567
|
-
* "folders/[FOLDER_ID]" For
|
|
6754
|
+
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
6755
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
5568
6756
|
*/
|
|
5569
|
-
|
|
6757
|
+
name: string;
|
|
6758
|
+
/** OAuth 2.0 token for the current user. */
|
|
6759
|
+
oauth_token?: string;
|
|
5570
6760
|
/** Returns response with indentations and line breaks. */
|
|
5571
6761
|
prettyPrint?: boolean;
|
|
5572
6762
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5573
6763
|
quotaUser?: string;
|
|
6764
|
+
/**
|
|
6765
|
+
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
6766
|
+
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
6767
|
+
* update_mask of "filter,description".
|
|
6768
|
+
*/
|
|
6769
|
+
updateMask?: string;
|
|
5574
6770
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5575
6771
|
upload_protocol?: string;
|
|
5576
6772
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -5578,7 +6774,7 @@ declare namespace gapi.client {
|
|
|
5578
6774
|
/** Request body */
|
|
5579
6775
|
resource: LogExclusion;
|
|
5580
6776
|
}): Request<LogExclusion>;
|
|
5581
|
-
|
|
6777
|
+
patch(request: {
|
|
5582
6778
|
/** V1 error format. */
|
|
5583
6779
|
"$.xgafv"?: string;
|
|
5584
6780
|
/** OAuth access token. */
|
|
@@ -5591,25 +6787,33 @@ declare namespace gapi.client {
|
|
|
5591
6787
|
fields?: string;
|
|
5592
6788
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5593
6789
|
key?: string;
|
|
5594
|
-
/** OAuth 2.0 token for the current user. */
|
|
5595
|
-
oauth_token?: string;
|
|
5596
6790
|
/**
|
|
5597
|
-
* Required. The
|
|
5598
|
-
* "folders/[FOLDER_ID]" For
|
|
6791
|
+
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
6792
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
5599
6793
|
*/
|
|
5600
|
-
|
|
6794
|
+
name: string;
|
|
6795
|
+
/** OAuth 2.0 token for the current user. */
|
|
6796
|
+
oauth_token?: string;
|
|
5601
6797
|
/** Returns response with indentations and line breaks. */
|
|
5602
6798
|
prettyPrint?: boolean;
|
|
5603
6799
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5604
6800
|
quotaUser?: string;
|
|
6801
|
+
/**
|
|
6802
|
+
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
6803
|
+
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
6804
|
+
* update_mask of "filter,description".
|
|
6805
|
+
*/
|
|
6806
|
+
updateMask?: string;
|
|
5605
6807
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5606
6808
|
upload_protocol?: string;
|
|
5607
6809
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5608
6810
|
uploadType?: string;
|
|
5609
6811
|
},
|
|
5610
6812
|
body: LogExclusion): Request<LogExclusion>;
|
|
5611
|
-
|
|
5612
|
-
|
|
6813
|
+
}
|
|
6814
|
+
interface LinksResource {
|
|
6815
|
+
/** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
|
|
6816
|
+
create(request: {
|
|
5613
6817
|
/** V1 error format. */
|
|
5614
6818
|
"$.xgafv"?: string;
|
|
5615
6819
|
/** OAuth access token. */
|
|
@@ -5622,13 +6826,16 @@ declare namespace gapi.client {
|
|
|
5622
6826
|
fields?: string;
|
|
5623
6827
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5624
6828
|
key?: string;
|
|
5625
|
-
/**
|
|
5626
|
-
|
|
5627
|
-
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
5628
|
-
*/
|
|
5629
|
-
name: string;
|
|
6829
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
6830
|
+
linkId?: string;
|
|
5630
6831
|
/** OAuth 2.0 token for the current user. */
|
|
5631
6832
|
oauth_token?: string;
|
|
6833
|
+
/**
|
|
6834
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6835
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6836
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6837
|
+
*/
|
|
6838
|
+
parent: string;
|
|
5632
6839
|
/** Returns response with indentations and line breaks. */
|
|
5633
6840
|
prettyPrint?: boolean;
|
|
5634
6841
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -5637,9 +6844,10 @@ declare namespace gapi.client {
|
|
|
5637
6844
|
upload_protocol?: string;
|
|
5638
6845
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5639
6846
|
uploadType?: string;
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
6847
|
+
/** Request body */
|
|
6848
|
+
resource: Link;
|
|
6849
|
+
}): Request<Operation>;
|
|
6850
|
+
create(request: {
|
|
5643
6851
|
/** V1 error format. */
|
|
5644
6852
|
"$.xgafv"?: string;
|
|
5645
6853
|
/** OAuth access token. */
|
|
@@ -5652,13 +6860,16 @@ declare namespace gapi.client {
|
|
|
5652
6860
|
fields?: string;
|
|
5653
6861
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5654
6862
|
key?: string;
|
|
5655
|
-
/**
|
|
5656
|
-
|
|
5657
|
-
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
5658
|
-
*/
|
|
5659
|
-
name: string;
|
|
6863
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
6864
|
+
linkId?: string;
|
|
5660
6865
|
/** OAuth 2.0 token for the current user. */
|
|
5661
6866
|
oauth_token?: string;
|
|
6867
|
+
/**
|
|
6868
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6869
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6870
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6871
|
+
*/
|
|
6872
|
+
parent: string;
|
|
5662
6873
|
/** Returns response with indentations and line breaks. */
|
|
5663
6874
|
prettyPrint?: boolean;
|
|
5664
6875
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -5667,9 +6878,10 @@ declare namespace gapi.client {
|
|
|
5667
6878
|
upload_protocol?: string;
|
|
5668
6879
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5669
6880
|
uploadType?: string;
|
|
5670
|
-
}
|
|
5671
|
-
|
|
5672
|
-
|
|
6881
|
+
},
|
|
6882
|
+
body: Link): Request<Operation>;
|
|
6883
|
+
/** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
|
|
6884
|
+
delete(request?: {
|
|
5673
6885
|
/** V1 error format. */
|
|
5674
6886
|
"$.xgafv"?: string;
|
|
5675
6887
|
/** OAuth access token. */
|
|
@@ -5682,23 +6894,14 @@ declare namespace gapi.client {
|
|
|
5682
6894
|
fields?: string;
|
|
5683
6895
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5684
6896
|
key?: string;
|
|
5685
|
-
/** OAuth 2.0 token for the current user. */
|
|
5686
|
-
oauth_token?: string;
|
|
5687
|
-
/**
|
|
5688
|
-
* Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
5689
|
-
* might be available.
|
|
5690
|
-
*/
|
|
5691
|
-
pageSize?: number;
|
|
5692
|
-
/**
|
|
5693
|
-
* Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.
|
|
5694
|
-
* The values of other method parameters should be identical to those in the previous call.
|
|
5695
|
-
*/
|
|
5696
|
-
pageToken?: string;
|
|
5697
6897
|
/**
|
|
5698
|
-
* Required. The
|
|
5699
|
-
* "
|
|
6898
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
6899
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
6900
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
5700
6901
|
*/
|
|
5701
|
-
|
|
6902
|
+
name: string;
|
|
6903
|
+
/** OAuth 2.0 token for the current user. */
|
|
6904
|
+
oauth_token?: string;
|
|
5702
6905
|
/** Returns response with indentations and line breaks. */
|
|
5703
6906
|
prettyPrint?: boolean;
|
|
5704
6907
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -5707,9 +6910,9 @@ declare namespace gapi.client {
|
|
|
5707
6910
|
upload_protocol?: string;
|
|
5708
6911
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5709
6912
|
uploadType?: string;
|
|
5710
|
-
}): Request<
|
|
5711
|
-
/**
|
|
5712
|
-
|
|
6913
|
+
}): Request<Operation>;
|
|
6914
|
+
/** Gets a link. */
|
|
6915
|
+
get(request?: {
|
|
5713
6916
|
/** V1 error format. */
|
|
5714
6917
|
"$.xgafv"?: string;
|
|
5715
6918
|
/** OAuth access token. */
|
|
@@ -5723,8 +6926,9 @@ declare namespace gapi.client {
|
|
|
5723
6926
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5724
6927
|
key?: string;
|
|
5725
6928
|
/**
|
|
5726
|
-
* Required. The resource name of the
|
|
5727
|
-
* "
|
|
6929
|
+
* Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
6930
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
6931
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
|
|
5728
6932
|
*/
|
|
5729
6933
|
name: string;
|
|
5730
6934
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5733,20 +6937,13 @@ declare namespace gapi.client {
|
|
|
5733
6937
|
prettyPrint?: boolean;
|
|
5734
6938
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5735
6939
|
quotaUser?: string;
|
|
5736
|
-
/**
|
|
5737
|
-
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
5738
|
-
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
5739
|
-
* update_mask of "filter,description".
|
|
5740
|
-
*/
|
|
5741
|
-
updateMask?: string;
|
|
5742
6940
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5743
6941
|
upload_protocol?: string;
|
|
5744
6942
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5745
6943
|
uploadType?: string;
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
patch(request: {
|
|
6944
|
+
}): Request<Link>;
|
|
6945
|
+
/** Lists links. */
|
|
6946
|
+
list(request?: {
|
|
5750
6947
|
/** V1 error format. */
|
|
5751
6948
|
"$.xgafv"?: string;
|
|
5752
6949
|
/** OAuth access token. */
|
|
@@ -5759,29 +6956,27 @@ declare namespace gapi.client {
|
|
|
5759
6956
|
fields?: string;
|
|
5760
6957
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
5761
6958
|
key?: string;
|
|
5762
|
-
/**
|
|
5763
|
-
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
5764
|
-
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
5765
|
-
*/
|
|
5766
|
-
name: string;
|
|
5767
6959
|
/** OAuth 2.0 token for the current user. */
|
|
5768
6960
|
oauth_token?: string;
|
|
6961
|
+
/** Optional. The maximum number of results to return from this request. */
|
|
6962
|
+
pageSize?: number;
|
|
6963
|
+
/** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. */
|
|
6964
|
+
pageToken?: string;
|
|
6965
|
+
/**
|
|
6966
|
+
* Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
|
|
6967
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
|
|
6968
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
|
|
6969
|
+
*/
|
|
6970
|
+
parent: string;
|
|
5769
6971
|
/** Returns response with indentations and line breaks. */
|
|
5770
6972
|
prettyPrint?: boolean;
|
|
5771
6973
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
5772
6974
|
quotaUser?: string;
|
|
5773
|
-
/**
|
|
5774
|
-
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
5775
|
-
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
5776
|
-
* update_mask of "filter,description".
|
|
5777
|
-
*/
|
|
5778
|
-
updateMask?: string;
|
|
5779
6975
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5780
6976
|
upload_protocol?: string;
|
|
5781
6977
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5782
6978
|
uploadType?: string;
|
|
5783
|
-
}
|
|
5784
|
-
body: LogExclusion): Request<LogExclusion>;
|
|
6979
|
+
}): Request<ListLinksResponse>;
|
|
5785
6980
|
}
|
|
5786
6981
|
interface LogsResource {
|
|
5787
6982
|
/** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */
|
|
@@ -6137,6 +7332,66 @@ declare namespace gapi.client {
|
|
|
6137
7332
|
uploadType?: string;
|
|
6138
7333
|
},
|
|
6139
7334
|
body: LogBucket): Request<LogBucket>;
|
|
7335
|
+
/** Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed. */
|
|
7336
|
+
createAsync(request: {
|
|
7337
|
+
/** V1 error format. */
|
|
7338
|
+
"$.xgafv"?: string;
|
|
7339
|
+
/** OAuth access token. */
|
|
7340
|
+
access_token?: string;
|
|
7341
|
+
/** Data format for response. */
|
|
7342
|
+
alt?: string;
|
|
7343
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
7344
|
+
bucketId?: string;
|
|
7345
|
+
/** JSONP */
|
|
7346
|
+
callback?: string;
|
|
7347
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7348
|
+
fields?: string;
|
|
7349
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7350
|
+
key?: string;
|
|
7351
|
+
/** OAuth 2.0 token for the current user. */
|
|
7352
|
+
oauth_token?: string;
|
|
7353
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
7354
|
+
parent: string;
|
|
7355
|
+
/** Returns response with indentations and line breaks. */
|
|
7356
|
+
prettyPrint?: boolean;
|
|
7357
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7358
|
+
quotaUser?: string;
|
|
7359
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7360
|
+
upload_protocol?: string;
|
|
7361
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7362
|
+
uploadType?: string;
|
|
7363
|
+
/** Request body */
|
|
7364
|
+
resource: LogBucket;
|
|
7365
|
+
}): Request<Operation>;
|
|
7366
|
+
createAsync(request: {
|
|
7367
|
+
/** V1 error format. */
|
|
7368
|
+
"$.xgafv"?: string;
|
|
7369
|
+
/** OAuth access token. */
|
|
7370
|
+
access_token?: string;
|
|
7371
|
+
/** Data format for response. */
|
|
7372
|
+
alt?: string;
|
|
7373
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
7374
|
+
bucketId?: string;
|
|
7375
|
+
/** JSONP */
|
|
7376
|
+
callback?: string;
|
|
7377
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7378
|
+
fields?: string;
|
|
7379
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7380
|
+
key?: string;
|
|
7381
|
+
/** OAuth 2.0 token for the current user. */
|
|
7382
|
+
oauth_token?: string;
|
|
7383
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
7384
|
+
parent: string;
|
|
7385
|
+
/** Returns response with indentations and line breaks. */
|
|
7386
|
+
prettyPrint?: boolean;
|
|
7387
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7388
|
+
quotaUser?: string;
|
|
7389
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7390
|
+
upload_protocol?: string;
|
|
7391
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7392
|
+
uploadType?: string;
|
|
7393
|
+
},
|
|
7394
|
+
body: LogBucket): Request<Operation>;
|
|
6140
7395
|
/**
|
|
6141
7396
|
* Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be
|
|
6142
7397
|
* permanently deleted.
|
|
@@ -6244,9 +7499,8 @@ declare namespace gapi.client {
|
|
|
6244
7499
|
uploadType?: string;
|
|
6245
7500
|
}): Request<ListBucketsResponse>;
|
|
6246
7501
|
/**
|
|
6247
|
-
* Updates a log bucket.
|
|
6248
|
-
*
|
|
6249
|
-
* created, the bucket's location cannot be changed.
|
|
7502
|
+
* Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot
|
|
7503
|
+
* be changed.
|
|
6250
7504
|
*/
|
|
6251
7505
|
patch(request: {
|
|
6252
7506
|
/** V1 error format. */
|
|
@@ -6370,7 +7624,80 @@ declare namespace gapi.client {
|
|
|
6370
7624
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
6371
7625
|
key?: string;
|
|
6372
7626
|
/**
|
|
6373
|
-
* Required. The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7627
|
+
* Required. The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7628
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7629
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
7630
|
+
*/
|
|
7631
|
+
name: string;
|
|
7632
|
+
/** OAuth 2.0 token for the current user. */
|
|
7633
|
+
oauth_token?: string;
|
|
7634
|
+
/** Returns response with indentations and line breaks. */
|
|
7635
|
+
prettyPrint?: boolean;
|
|
7636
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7637
|
+
quotaUser?: string;
|
|
7638
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7639
|
+
upload_protocol?: string;
|
|
7640
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7641
|
+
uploadType?: string;
|
|
7642
|
+
},
|
|
7643
|
+
body: UndeleteBucketRequest): Request<{}>;
|
|
7644
|
+
/**
|
|
7645
|
+
* Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's
|
|
7646
|
+
* location cannot be changed.
|
|
7647
|
+
*/
|
|
7648
|
+
updateAsync(request: {
|
|
7649
|
+
/** V1 error format. */
|
|
7650
|
+
"$.xgafv"?: string;
|
|
7651
|
+
/** OAuth access token. */
|
|
7652
|
+
access_token?: string;
|
|
7653
|
+
/** Data format for response. */
|
|
7654
|
+
alt?: string;
|
|
7655
|
+
/** JSONP */
|
|
7656
|
+
callback?: string;
|
|
7657
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7658
|
+
fields?: string;
|
|
7659
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7660
|
+
key?: string;
|
|
7661
|
+
/**
|
|
7662
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7663
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7664
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
7665
|
+
*/
|
|
7666
|
+
name: string;
|
|
7667
|
+
/** OAuth 2.0 token for the current user. */
|
|
7668
|
+
oauth_token?: string;
|
|
7669
|
+
/** Returns response with indentations and line breaks. */
|
|
7670
|
+
prettyPrint?: boolean;
|
|
7671
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7672
|
+
quotaUser?: string;
|
|
7673
|
+
/**
|
|
7674
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
7675
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
7676
|
+
* example: updateMask=retention_days
|
|
7677
|
+
*/
|
|
7678
|
+
updateMask?: string;
|
|
7679
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7680
|
+
upload_protocol?: string;
|
|
7681
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7682
|
+
uploadType?: string;
|
|
7683
|
+
/** Request body */
|
|
7684
|
+
resource: LogBucket;
|
|
7685
|
+
}): Request<Operation>;
|
|
7686
|
+
updateAsync(request: {
|
|
7687
|
+
/** V1 error format. */
|
|
7688
|
+
"$.xgafv"?: string;
|
|
7689
|
+
/** OAuth access token. */
|
|
7690
|
+
access_token?: string;
|
|
7691
|
+
/** Data format for response. */
|
|
7692
|
+
alt?: string;
|
|
7693
|
+
/** JSONP */
|
|
7694
|
+
callback?: string;
|
|
7695
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7696
|
+
fields?: string;
|
|
7697
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7698
|
+
key?: string;
|
|
7699
|
+
/**
|
|
7700
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6374
7701
|
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
6375
7702
|
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
6376
7703
|
*/
|
|
@@ -6381,12 +7708,19 @@ declare namespace gapi.client {
|
|
|
6381
7708
|
prettyPrint?: boolean;
|
|
6382
7709
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6383
7710
|
quotaUser?: string;
|
|
7711
|
+
/**
|
|
7712
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
7713
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
7714
|
+
* example: updateMask=retention_days
|
|
7715
|
+
*/
|
|
7716
|
+
updateMask?: string;
|
|
6384
7717
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6385
7718
|
upload_protocol?: string;
|
|
6386
7719
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6387
7720
|
uploadType?: string;
|
|
6388
7721
|
},
|
|
6389
|
-
body:
|
|
7722
|
+
body: LogBucket): Request<Operation>;
|
|
7723
|
+
links: LinksResource;
|
|
6390
7724
|
views: ViewsResource;
|
|
6391
7725
|
}
|
|
6392
7726
|
interface OperationsResource {
|
|
@@ -7245,8 +8579,252 @@ declare namespace gapi.client {
|
|
|
7245
8579
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7246
8580
|
key?: string;
|
|
7247
8581
|
/**
|
|
7248
|
-
* Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"Note: Settings for the Log Router
|
|
7249
|
-
* can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
|
|
8582
|
+
* Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"Note: Settings for the Log Router
|
|
8583
|
+
* can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
|
|
8584
|
+
*/
|
|
8585
|
+
name: string;
|
|
8586
|
+
/** OAuth 2.0 token for the current user. */
|
|
8587
|
+
oauth_token?: string;
|
|
8588
|
+
/** Returns response with indentations and line breaks. */
|
|
8589
|
+
prettyPrint?: boolean;
|
|
8590
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8591
|
+
quotaUser?: string;
|
|
8592
|
+
/**
|
|
8593
|
+
* Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be
|
|
8594
|
+
* updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
|
|
8595
|
+
*/
|
|
8596
|
+
updateMask?: string;
|
|
8597
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8598
|
+
upload_protocol?: string;
|
|
8599
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8600
|
+
uploadType?: string;
|
|
8601
|
+
},
|
|
8602
|
+
body: Settings): Request<Settings>;
|
|
8603
|
+
exclusions: ExclusionsResource;
|
|
8604
|
+
locations: LocationsResource;
|
|
8605
|
+
logs: LogsResource;
|
|
8606
|
+
sinks: SinksResource;
|
|
8607
|
+
}
|
|
8608
|
+
interface ExclusionsResource {
|
|
8609
|
+
/**
|
|
8610
|
+
* Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a
|
|
8611
|
+
* resource.
|
|
8612
|
+
*/
|
|
8613
|
+
create(request: {
|
|
8614
|
+
/** V1 error format. */
|
|
8615
|
+
"$.xgafv"?: string;
|
|
8616
|
+
/** OAuth access token. */
|
|
8617
|
+
access_token?: string;
|
|
8618
|
+
/** Data format for response. */
|
|
8619
|
+
alt?: string;
|
|
8620
|
+
/** JSONP */
|
|
8621
|
+
callback?: string;
|
|
8622
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8623
|
+
fields?: string;
|
|
8624
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8625
|
+
key?: string;
|
|
8626
|
+
/** OAuth 2.0 token for the current user. */
|
|
8627
|
+
oauth_token?: string;
|
|
8628
|
+
/**
|
|
8629
|
+
* Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
8630
|
+
* "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789"
|
|
8631
|
+
*/
|
|
8632
|
+
parent: string;
|
|
8633
|
+
/** Returns response with indentations and line breaks. */
|
|
8634
|
+
prettyPrint?: boolean;
|
|
8635
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8636
|
+
quotaUser?: string;
|
|
8637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8638
|
+
upload_protocol?: string;
|
|
8639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8640
|
+
uploadType?: string;
|
|
8641
|
+
/** Request body */
|
|
8642
|
+
resource: LogExclusion;
|
|
8643
|
+
}): Request<LogExclusion>;
|
|
8644
|
+
create(request: {
|
|
8645
|
+
/** V1 error format. */
|
|
8646
|
+
"$.xgafv"?: string;
|
|
8647
|
+
/** OAuth access token. */
|
|
8648
|
+
access_token?: string;
|
|
8649
|
+
/** Data format for response. */
|
|
8650
|
+
alt?: string;
|
|
8651
|
+
/** JSONP */
|
|
8652
|
+
callback?: string;
|
|
8653
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8654
|
+
fields?: string;
|
|
8655
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8656
|
+
key?: string;
|
|
8657
|
+
/** OAuth 2.0 token for the current user. */
|
|
8658
|
+
oauth_token?: string;
|
|
8659
|
+
/**
|
|
8660
|
+
* Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
8661
|
+
* "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789"
|
|
8662
|
+
*/
|
|
8663
|
+
parent: string;
|
|
8664
|
+
/** Returns response with indentations and line breaks. */
|
|
8665
|
+
prettyPrint?: boolean;
|
|
8666
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8667
|
+
quotaUser?: string;
|
|
8668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8669
|
+
upload_protocol?: string;
|
|
8670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8671
|
+
uploadType?: string;
|
|
8672
|
+
},
|
|
8673
|
+
body: LogExclusion): Request<LogExclusion>;
|
|
8674
|
+
/** Deletes an exclusion in the _Default sink. */
|
|
8675
|
+
delete(request?: {
|
|
8676
|
+
/** V1 error format. */
|
|
8677
|
+
"$.xgafv"?: string;
|
|
8678
|
+
/** OAuth access token. */
|
|
8679
|
+
access_token?: string;
|
|
8680
|
+
/** Data format for response. */
|
|
8681
|
+
alt?: string;
|
|
8682
|
+
/** JSONP */
|
|
8683
|
+
callback?: string;
|
|
8684
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8685
|
+
fields?: string;
|
|
8686
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8687
|
+
key?: string;
|
|
8688
|
+
/**
|
|
8689
|
+
* Required. The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
8690
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
8691
|
+
*/
|
|
8692
|
+
name: string;
|
|
8693
|
+
/** OAuth 2.0 token for the current user. */
|
|
8694
|
+
oauth_token?: string;
|
|
8695
|
+
/** Returns response with indentations and line breaks. */
|
|
8696
|
+
prettyPrint?: boolean;
|
|
8697
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8698
|
+
quotaUser?: string;
|
|
8699
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8700
|
+
upload_protocol?: string;
|
|
8701
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8702
|
+
uploadType?: string;
|
|
8703
|
+
}): Request<{}>;
|
|
8704
|
+
/** Gets the description of an exclusion in the _Default sink. */
|
|
8705
|
+
get(request?: {
|
|
8706
|
+
/** V1 error format. */
|
|
8707
|
+
"$.xgafv"?: string;
|
|
8708
|
+
/** OAuth access token. */
|
|
8709
|
+
access_token?: string;
|
|
8710
|
+
/** Data format for response. */
|
|
8711
|
+
alt?: string;
|
|
8712
|
+
/** JSONP */
|
|
8713
|
+
callback?: string;
|
|
8714
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8715
|
+
fields?: string;
|
|
8716
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8717
|
+
key?: string;
|
|
8718
|
+
/**
|
|
8719
|
+
* Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
8720
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
8721
|
+
*/
|
|
8722
|
+
name: string;
|
|
8723
|
+
/** OAuth 2.0 token for the current user. */
|
|
8724
|
+
oauth_token?: string;
|
|
8725
|
+
/** Returns response with indentations and line breaks. */
|
|
8726
|
+
prettyPrint?: boolean;
|
|
8727
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8728
|
+
quotaUser?: string;
|
|
8729
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8730
|
+
upload_protocol?: string;
|
|
8731
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8732
|
+
uploadType?: string;
|
|
8733
|
+
}): Request<LogExclusion>;
|
|
8734
|
+
/** Lists all the exclusions on the _Default sink in a parent resource. */
|
|
8735
|
+
list(request?: {
|
|
8736
|
+
/** V1 error format. */
|
|
8737
|
+
"$.xgafv"?: string;
|
|
8738
|
+
/** OAuth access token. */
|
|
8739
|
+
access_token?: string;
|
|
8740
|
+
/** Data format for response. */
|
|
8741
|
+
alt?: string;
|
|
8742
|
+
/** JSONP */
|
|
8743
|
+
callback?: string;
|
|
8744
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8745
|
+
fields?: string;
|
|
8746
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8747
|
+
key?: string;
|
|
8748
|
+
/** OAuth 2.0 token for the current user. */
|
|
8749
|
+
oauth_token?: string;
|
|
8750
|
+
/**
|
|
8751
|
+
* Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
8752
|
+
* might be available.
|
|
8753
|
+
*/
|
|
8754
|
+
pageSize?: number;
|
|
8755
|
+
/**
|
|
8756
|
+
* Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.
|
|
8757
|
+
* The values of other method parameters should be identical to those in the previous call.
|
|
8758
|
+
*/
|
|
8759
|
+
pageToken?: string;
|
|
8760
|
+
/**
|
|
8761
|
+
* Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
8762
|
+
* "folders/[FOLDER_ID]"
|
|
8763
|
+
*/
|
|
8764
|
+
parent: string;
|
|
8765
|
+
/** Returns response with indentations and line breaks. */
|
|
8766
|
+
prettyPrint?: boolean;
|
|
8767
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8768
|
+
quotaUser?: string;
|
|
8769
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8770
|
+
upload_protocol?: string;
|
|
8771
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8772
|
+
uploadType?: string;
|
|
8773
|
+
}): Request<ListExclusionsResponse>;
|
|
8774
|
+
/** Changes one or more properties of an existing exclusion in the _Default sink. */
|
|
8775
|
+
patch(request: {
|
|
8776
|
+
/** V1 error format. */
|
|
8777
|
+
"$.xgafv"?: string;
|
|
8778
|
+
/** OAuth access token. */
|
|
8779
|
+
access_token?: string;
|
|
8780
|
+
/** Data format for response. */
|
|
8781
|
+
alt?: string;
|
|
8782
|
+
/** JSONP */
|
|
8783
|
+
callback?: string;
|
|
8784
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8785
|
+
fields?: string;
|
|
8786
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8787
|
+
key?: string;
|
|
8788
|
+
/**
|
|
8789
|
+
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
8790
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
8791
|
+
*/
|
|
8792
|
+
name: string;
|
|
8793
|
+
/** OAuth 2.0 token for the current user. */
|
|
8794
|
+
oauth_token?: string;
|
|
8795
|
+
/** Returns response with indentations and line breaks. */
|
|
8796
|
+
prettyPrint?: boolean;
|
|
8797
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8798
|
+
quotaUser?: string;
|
|
8799
|
+
/**
|
|
8800
|
+
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
8801
|
+
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
8802
|
+
* update_mask of "filter,description".
|
|
8803
|
+
*/
|
|
8804
|
+
updateMask?: string;
|
|
8805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8806
|
+
upload_protocol?: string;
|
|
8807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8808
|
+
uploadType?: string;
|
|
8809
|
+
/** Request body */
|
|
8810
|
+
resource: LogExclusion;
|
|
8811
|
+
}): Request<LogExclusion>;
|
|
8812
|
+
patch(request: {
|
|
8813
|
+
/** V1 error format. */
|
|
8814
|
+
"$.xgafv"?: string;
|
|
8815
|
+
/** OAuth access token. */
|
|
8816
|
+
access_token?: string;
|
|
8817
|
+
/** Data format for response. */
|
|
8818
|
+
alt?: string;
|
|
8819
|
+
/** JSONP */
|
|
8820
|
+
callback?: string;
|
|
8821
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8822
|
+
fields?: string;
|
|
8823
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8824
|
+
key?: string;
|
|
8825
|
+
/**
|
|
8826
|
+
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
8827
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
7250
8828
|
*/
|
|
7251
8829
|
name: string;
|
|
7252
8830
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7256,8 +8834,9 @@ declare namespace gapi.client {
|
|
|
7256
8834
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7257
8835
|
quotaUser?: string;
|
|
7258
8836
|
/**
|
|
7259
|
-
*
|
|
7260
|
-
*
|
|
8837
|
+
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
8838
|
+
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
8839
|
+
* update_mask of "filter,description".
|
|
7261
8840
|
*/
|
|
7262
8841
|
updateMask?: string;
|
|
7263
8842
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -7265,17 +8844,10 @@ declare namespace gapi.client {
|
|
|
7265
8844
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7266
8845
|
uploadType?: string;
|
|
7267
8846
|
},
|
|
7268
|
-
body:
|
|
7269
|
-
exclusions: ExclusionsResource;
|
|
7270
|
-
locations: LocationsResource;
|
|
7271
|
-
logs: LogsResource;
|
|
7272
|
-
sinks: SinksResource;
|
|
8847
|
+
body: LogExclusion): Request<LogExclusion>;
|
|
7273
8848
|
}
|
|
7274
|
-
interface
|
|
7275
|
-
/**
|
|
7276
|
-
* Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a
|
|
7277
|
-
* resource.
|
|
7278
|
-
*/
|
|
8849
|
+
interface LinksResource {
|
|
8850
|
+
/** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
|
|
7279
8851
|
create(request: {
|
|
7280
8852
|
/** V1 error format. */
|
|
7281
8853
|
"$.xgafv"?: string;
|
|
@@ -7289,11 +8861,14 @@ declare namespace gapi.client {
|
|
|
7289
8861
|
fields?: string;
|
|
7290
8862
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7291
8863
|
key?: string;
|
|
8864
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
8865
|
+
linkId?: string;
|
|
7292
8866
|
/** OAuth 2.0 token for the current user. */
|
|
7293
8867
|
oauth_token?: string;
|
|
7294
8868
|
/**
|
|
7295
|
-
* Required. The
|
|
7296
|
-
* "
|
|
8869
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
8870
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
8871
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7297
8872
|
*/
|
|
7298
8873
|
parent: string;
|
|
7299
8874
|
/** Returns response with indentations and line breaks. */
|
|
@@ -7305,8 +8880,8 @@ declare namespace gapi.client {
|
|
|
7305
8880
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7306
8881
|
uploadType?: string;
|
|
7307
8882
|
/** Request body */
|
|
7308
|
-
resource:
|
|
7309
|
-
}): Request<
|
|
8883
|
+
resource: Link;
|
|
8884
|
+
}): Request<Operation>;
|
|
7310
8885
|
create(request: {
|
|
7311
8886
|
/** V1 error format. */
|
|
7312
8887
|
"$.xgafv"?: string;
|
|
@@ -7320,11 +8895,14 @@ declare namespace gapi.client {
|
|
|
7320
8895
|
fields?: string;
|
|
7321
8896
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7322
8897
|
key?: string;
|
|
8898
|
+
/** Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it. */
|
|
8899
|
+
linkId?: string;
|
|
7323
8900
|
/** OAuth 2.0 token for the current user. */
|
|
7324
8901
|
oauth_token?: string;
|
|
7325
8902
|
/**
|
|
7326
|
-
* Required. The
|
|
7327
|
-
* "
|
|
8903
|
+
* Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
8904
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
8905
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
7328
8906
|
*/
|
|
7329
8907
|
parent: string;
|
|
7330
8908
|
/** Returns response with indentations and line breaks. */
|
|
@@ -7336,8 +8914,8 @@ declare namespace gapi.client {
|
|
|
7336
8914
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7337
8915
|
uploadType?: string;
|
|
7338
8916
|
},
|
|
7339
|
-
body:
|
|
7340
|
-
/** Deletes
|
|
8917
|
+
body: Link): Request<Operation>;
|
|
8918
|
+
/** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
|
|
7341
8919
|
delete(request?: {
|
|
7342
8920
|
/** V1 error format. */
|
|
7343
8921
|
"$.xgafv"?: string;
|
|
@@ -7352,8 +8930,9 @@ declare namespace gapi.client {
|
|
|
7352
8930
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7353
8931
|
key?: string;
|
|
7354
8932
|
/**
|
|
7355
|
-
* Required. The resource name of
|
|
7356
|
-
* "
|
|
8933
|
+
* Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
8934
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
8935
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
7357
8936
|
*/
|
|
7358
8937
|
name: string;
|
|
7359
8938
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7366,8 +8945,8 @@ declare namespace gapi.client {
|
|
|
7366
8945
|
upload_protocol?: string;
|
|
7367
8946
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7368
8947
|
uploadType?: string;
|
|
7369
|
-
}): Request<
|
|
7370
|
-
/** Gets
|
|
8948
|
+
}): Request<Operation>;
|
|
8949
|
+
/** Gets a link. */
|
|
7371
8950
|
get(request?: {
|
|
7372
8951
|
/** V1 error format. */
|
|
7373
8952
|
"$.xgafv"?: string;
|
|
@@ -7382,8 +8961,9 @@ declare namespace gapi.client {
|
|
|
7382
8961
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7383
8962
|
key?: string;
|
|
7384
8963
|
/**
|
|
7385
|
-
* Required. The resource name of
|
|
7386
|
-
* "
|
|
8964
|
+
* Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
8965
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
|
|
8966
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
|
|
7387
8967
|
*/
|
|
7388
8968
|
name: string;
|
|
7389
8969
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7396,8 +8976,8 @@ declare namespace gapi.client {
|
|
|
7396
8976
|
upload_protocol?: string;
|
|
7397
8977
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7398
8978
|
uploadType?: string;
|
|
7399
|
-
}): Request<
|
|
7400
|
-
/** Lists
|
|
8979
|
+
}): Request<Link>;
|
|
8980
|
+
/** Lists links. */
|
|
7401
8981
|
list(request?: {
|
|
7402
8982
|
/** V1 error format. */
|
|
7403
8983
|
"$.xgafv"?: string;
|
|
@@ -7413,19 +8993,14 @@ declare namespace gapi.client {
|
|
|
7413
8993
|
key?: string;
|
|
7414
8994
|
/** OAuth 2.0 token for the current user. */
|
|
7415
8995
|
oauth_token?: string;
|
|
7416
|
-
/**
|
|
7417
|
-
* Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results
|
|
7418
|
-
* might be available.
|
|
7419
|
-
*/
|
|
8996
|
+
/** Optional. The maximum number of results to return from this request. */
|
|
7420
8997
|
pageSize?: number;
|
|
7421
|
-
/**
|
|
7422
|
-
* Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.
|
|
7423
|
-
* The values of other method parameters should be identical to those in the previous call.
|
|
7424
|
-
*/
|
|
8998
|
+
/** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. */
|
|
7425
8999
|
pageToken?: string;
|
|
7426
9000
|
/**
|
|
7427
|
-
* Required. The parent resource whose
|
|
7428
|
-
* "
|
|
9001
|
+
* Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
|
|
9002
|
+
* "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
|
|
9003
|
+
* "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
|
|
7429
9004
|
*/
|
|
7430
9005
|
parent: string;
|
|
7431
9006
|
/** Returns response with indentations and line breaks. */
|
|
@@ -7436,81 +9011,7 @@ declare namespace gapi.client {
|
|
|
7436
9011
|
upload_protocol?: string;
|
|
7437
9012
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7438
9013
|
uploadType?: string;
|
|
7439
|
-
}): Request<
|
|
7440
|
-
/** Changes one or more properties of an existing exclusion in the _Default sink. */
|
|
7441
|
-
patch(request: {
|
|
7442
|
-
/** V1 error format. */
|
|
7443
|
-
"$.xgafv"?: string;
|
|
7444
|
-
/** OAuth access token. */
|
|
7445
|
-
access_token?: string;
|
|
7446
|
-
/** Data format for response. */
|
|
7447
|
-
alt?: string;
|
|
7448
|
-
/** JSONP */
|
|
7449
|
-
callback?: string;
|
|
7450
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7451
|
-
fields?: string;
|
|
7452
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7453
|
-
key?: string;
|
|
7454
|
-
/**
|
|
7455
|
-
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
7456
|
-
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
7457
|
-
*/
|
|
7458
|
-
name: string;
|
|
7459
|
-
/** OAuth 2.0 token for the current user. */
|
|
7460
|
-
oauth_token?: string;
|
|
7461
|
-
/** Returns response with indentations and line breaks. */
|
|
7462
|
-
prettyPrint?: boolean;
|
|
7463
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7464
|
-
quotaUser?: string;
|
|
7465
|
-
/**
|
|
7466
|
-
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
7467
|
-
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
7468
|
-
* update_mask of "filter,description".
|
|
7469
|
-
*/
|
|
7470
|
-
updateMask?: string;
|
|
7471
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7472
|
-
upload_protocol?: string;
|
|
7473
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7474
|
-
uploadType?: string;
|
|
7475
|
-
/** Request body */
|
|
7476
|
-
resource: LogExclusion;
|
|
7477
|
-
}): Request<LogExclusion>;
|
|
7478
|
-
patch(request: {
|
|
7479
|
-
/** V1 error format. */
|
|
7480
|
-
"$.xgafv"?: string;
|
|
7481
|
-
/** OAuth access token. */
|
|
7482
|
-
access_token?: string;
|
|
7483
|
-
/** Data format for response. */
|
|
7484
|
-
alt?: string;
|
|
7485
|
-
/** JSONP */
|
|
7486
|
-
callback?: string;
|
|
7487
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
7488
|
-
fields?: string;
|
|
7489
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7490
|
-
key?: string;
|
|
7491
|
-
/**
|
|
7492
|
-
* Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
7493
|
-
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion"
|
|
7494
|
-
*/
|
|
7495
|
-
name: string;
|
|
7496
|
-
/** OAuth 2.0 token for the current user. */
|
|
7497
|
-
oauth_token?: string;
|
|
7498
|
-
/** Returns response with indentations and line breaks. */
|
|
7499
|
-
prettyPrint?: boolean;
|
|
7500
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7501
|
-
quotaUser?: string;
|
|
7502
|
-
/**
|
|
7503
|
-
* Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this
|
|
7504
|
-
* request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an
|
|
7505
|
-
* update_mask of "filter,description".
|
|
7506
|
-
*/
|
|
7507
|
-
updateMask?: string;
|
|
7508
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7509
|
-
upload_protocol?: string;
|
|
7510
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7511
|
-
uploadType?: string;
|
|
7512
|
-
},
|
|
7513
|
-
body: LogExclusion): Request<LogExclusion>;
|
|
9014
|
+
}): Request<ListLinksResponse>;
|
|
7514
9015
|
}
|
|
7515
9016
|
interface LogsResource {
|
|
7516
9017
|
/** Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. */
|
|
@@ -7866,6 +9367,66 @@ declare namespace gapi.client {
|
|
|
7866
9367
|
uploadType?: string;
|
|
7867
9368
|
},
|
|
7868
9369
|
body: LogBucket): Request<LogBucket>;
|
|
9370
|
+
/** Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed. */
|
|
9371
|
+
createAsync(request: {
|
|
9372
|
+
/** V1 error format. */
|
|
9373
|
+
"$.xgafv"?: string;
|
|
9374
|
+
/** OAuth access token. */
|
|
9375
|
+
access_token?: string;
|
|
9376
|
+
/** Data format for response. */
|
|
9377
|
+
alt?: string;
|
|
9378
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
9379
|
+
bucketId?: string;
|
|
9380
|
+
/** JSONP */
|
|
9381
|
+
callback?: string;
|
|
9382
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9383
|
+
fields?: string;
|
|
9384
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9385
|
+
key?: string;
|
|
9386
|
+
/** OAuth 2.0 token for the current user. */
|
|
9387
|
+
oauth_token?: string;
|
|
9388
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
9389
|
+
parent: string;
|
|
9390
|
+
/** Returns response with indentations and line breaks. */
|
|
9391
|
+
prettyPrint?: boolean;
|
|
9392
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9393
|
+
quotaUser?: string;
|
|
9394
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9395
|
+
upload_protocol?: string;
|
|
9396
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9397
|
+
uploadType?: string;
|
|
9398
|
+
/** Request body */
|
|
9399
|
+
resource: LogBucket;
|
|
9400
|
+
}): Request<Operation>;
|
|
9401
|
+
createAsync(request: {
|
|
9402
|
+
/** V1 error format. */
|
|
9403
|
+
"$.xgafv"?: string;
|
|
9404
|
+
/** OAuth access token. */
|
|
9405
|
+
access_token?: string;
|
|
9406
|
+
/** Data format for response. */
|
|
9407
|
+
alt?: string;
|
|
9408
|
+
/** Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. */
|
|
9409
|
+
bucketId?: string;
|
|
9410
|
+
/** JSONP */
|
|
9411
|
+
callback?: string;
|
|
9412
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9413
|
+
fields?: string;
|
|
9414
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9415
|
+
key?: string;
|
|
9416
|
+
/** OAuth 2.0 token for the current user. */
|
|
9417
|
+
oauth_token?: string;
|
|
9418
|
+
/** Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
|
|
9419
|
+
parent: string;
|
|
9420
|
+
/** Returns response with indentations and line breaks. */
|
|
9421
|
+
prettyPrint?: boolean;
|
|
9422
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9423
|
+
quotaUser?: string;
|
|
9424
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9425
|
+
upload_protocol?: string;
|
|
9426
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9427
|
+
uploadType?: string;
|
|
9428
|
+
},
|
|
9429
|
+
body: LogBucket): Request<Operation>;
|
|
7869
9430
|
/**
|
|
7870
9431
|
* Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be
|
|
7871
9432
|
* permanently deleted.
|
|
@@ -7973,9 +9534,8 @@ declare namespace gapi.client {
|
|
|
7973
9534
|
uploadType?: string;
|
|
7974
9535
|
}): Request<ListBucketsResponse>;
|
|
7975
9536
|
/**
|
|
7976
|
-
* Updates a log bucket.
|
|
7977
|
-
*
|
|
7978
|
-
* created, the bucket's location cannot be changed.
|
|
9537
|
+
* Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot
|
|
9538
|
+
* be changed.
|
|
7979
9539
|
*/
|
|
7980
9540
|
patch(request: {
|
|
7981
9541
|
/** V1 error format. */
|
|
@@ -8116,6 +9676,86 @@ declare namespace gapi.client {
|
|
|
8116
9676
|
uploadType?: string;
|
|
8117
9677
|
},
|
|
8118
9678
|
body: UndeleteBucketRequest): Request<{}>;
|
|
9679
|
+
/**
|
|
9680
|
+
* Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's
|
|
9681
|
+
* location cannot be changed.
|
|
9682
|
+
*/
|
|
9683
|
+
updateAsync(request: {
|
|
9684
|
+
/** V1 error format. */
|
|
9685
|
+
"$.xgafv"?: string;
|
|
9686
|
+
/** OAuth access token. */
|
|
9687
|
+
access_token?: string;
|
|
9688
|
+
/** Data format for response. */
|
|
9689
|
+
alt?: string;
|
|
9690
|
+
/** JSONP */
|
|
9691
|
+
callback?: string;
|
|
9692
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9693
|
+
fields?: string;
|
|
9694
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9695
|
+
key?: string;
|
|
9696
|
+
/**
|
|
9697
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
9698
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
9699
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
9700
|
+
*/
|
|
9701
|
+
name: string;
|
|
9702
|
+
/** OAuth 2.0 token for the current user. */
|
|
9703
|
+
oauth_token?: string;
|
|
9704
|
+
/** Returns response with indentations and line breaks. */
|
|
9705
|
+
prettyPrint?: boolean;
|
|
9706
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9707
|
+
quotaUser?: string;
|
|
9708
|
+
/**
|
|
9709
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
9710
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
9711
|
+
* example: updateMask=retention_days
|
|
9712
|
+
*/
|
|
9713
|
+
updateMask?: string;
|
|
9714
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9715
|
+
upload_protocol?: string;
|
|
9716
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9717
|
+
uploadType?: string;
|
|
9718
|
+
/** Request body */
|
|
9719
|
+
resource: LogBucket;
|
|
9720
|
+
}): Request<Operation>;
|
|
9721
|
+
updateAsync(request: {
|
|
9722
|
+
/** V1 error format. */
|
|
9723
|
+
"$.xgafv"?: string;
|
|
9724
|
+
/** OAuth access token. */
|
|
9725
|
+
access_token?: string;
|
|
9726
|
+
/** Data format for response. */
|
|
9727
|
+
alt?: string;
|
|
9728
|
+
/** JSONP */
|
|
9729
|
+
callback?: string;
|
|
9730
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9731
|
+
fields?: string;
|
|
9732
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9733
|
+
key?: string;
|
|
9734
|
+
/**
|
|
9735
|
+
* Required. The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
9736
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
9737
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"
|
|
9738
|
+
*/
|
|
9739
|
+
name: string;
|
|
9740
|
+
/** OAuth 2.0 token for the current user. */
|
|
9741
|
+
oauth_token?: string;
|
|
9742
|
+
/** Returns response with indentations and line breaks. */
|
|
9743
|
+
prettyPrint?: boolean;
|
|
9744
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9745
|
+
quotaUser?: string;
|
|
9746
|
+
/**
|
|
9747
|
+
* Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only
|
|
9748
|
+
* fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor
|
|
9749
|
+
* example: updateMask=retention_days
|
|
9750
|
+
*/
|
|
9751
|
+
updateMask?: string;
|
|
9752
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9753
|
+
upload_protocol?: string;
|
|
9754
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9755
|
+
uploadType?: string;
|
|
9756
|
+
},
|
|
9757
|
+
body: LogBucket): Request<Operation>;
|
|
9758
|
+
links: LinksResource;
|
|
8119
9759
|
views: ViewsResource;
|
|
8120
9760
|
}
|
|
8121
9761
|
interface OperationsResource {
|