@maxim_mazurok/gapi.client.logging-v2 0.0.20250124 → 0.0.20250204
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 +25 -11
- package/package.json +1 -1
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: 20250204
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,6 +24,18 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(name: 'logging', version: 'v2', callback: () => any): void;
|
|
25
25
|
|
|
26
26
|
namespace logging {
|
|
27
|
+
interface AuditConfig {
|
|
28
|
+
/** The configuration for logging of each type of permission. */
|
|
29
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
30
|
+
/** Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. */
|
|
31
|
+
service?: string;
|
|
32
|
+
}
|
|
33
|
+
interface AuditLogConfig {
|
|
34
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
35
|
+
exemptedMembers?: string[];
|
|
36
|
+
/** The log type that this config enables. */
|
|
37
|
+
logType?: string;
|
|
38
|
+
}
|
|
27
39
|
interface BigQueryDataset {
|
|
28
40
|
/** 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 (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID" */
|
|
29
41
|
datasetId?: string;
|
|
@@ -651,6 +663,8 @@ declare namespace gapi.client {
|
|
|
651
663
|
sqlQueryText?: string;
|
|
652
664
|
}
|
|
653
665
|
interface Policy {
|
|
666
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
667
|
+
auditConfigs?: AuditConfig[];
|
|
654
668
|
/** Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. */
|
|
655
669
|
bindings?: Binding[];
|
|
656
670
|
/** etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. */
|
|
@@ -1274,7 +1288,7 @@ declare namespace gapi.client {
|
|
|
1274
1288
|
upload_protocol?: string;
|
|
1275
1289
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1276
1290
|
uploadType?: string;
|
|
1277
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
1291
|
+
/** 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. */
|
|
1278
1292
|
viewId?: string;
|
|
1279
1293
|
/** Request body */
|
|
1280
1294
|
resource: LogView;
|
|
@@ -1305,7 +1319,7 @@ declare namespace gapi.client {
|
|
|
1305
1319
|
upload_protocol?: string;
|
|
1306
1320
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1307
1321
|
uploadType?: string;
|
|
1308
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
1322
|
+
/** 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. */
|
|
1309
1323
|
viewId?: string;
|
|
1310
1324
|
},
|
|
1311
1325
|
body: LogView,
|
|
@@ -3548,7 +3562,7 @@ declare namespace gapi.client {
|
|
|
3548
3562
|
upload_protocol?: string;
|
|
3549
3563
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3550
3564
|
uploadType?: string;
|
|
3551
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
3565
|
+
/** 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. */
|
|
3552
3566
|
viewId?: string;
|
|
3553
3567
|
/** Request body */
|
|
3554
3568
|
resource: LogView;
|
|
@@ -3579,7 +3593,7 @@ declare namespace gapi.client {
|
|
|
3579
3593
|
upload_protocol?: string;
|
|
3580
3594
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3581
3595
|
uploadType?: string;
|
|
3582
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
3596
|
+
/** 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. */
|
|
3583
3597
|
viewId?: string;
|
|
3584
3598
|
},
|
|
3585
3599
|
body: LogView,
|
|
@@ -5519,7 +5533,7 @@ declare namespace gapi.client {
|
|
|
5519
5533
|
upload_protocol?: string;
|
|
5520
5534
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5521
5535
|
uploadType?: string;
|
|
5522
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
5536
|
+
/** 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. */
|
|
5523
5537
|
viewId?: string;
|
|
5524
5538
|
/** Request body */
|
|
5525
5539
|
resource: LogView;
|
|
@@ -5550,7 +5564,7 @@ declare namespace gapi.client {
|
|
|
5550
5564
|
upload_protocol?: string;
|
|
5551
5565
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5552
5566
|
uploadType?: string;
|
|
5553
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
5567
|
+
/** 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. */
|
|
5554
5568
|
viewId?: string;
|
|
5555
5569
|
},
|
|
5556
5570
|
body: LogView,
|
|
@@ -6883,7 +6897,7 @@ declare namespace gapi.client {
|
|
|
6883
6897
|
upload_protocol?: string;
|
|
6884
6898
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6885
6899
|
uploadType?: string;
|
|
6886
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
6900
|
+
/** 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. */
|
|
6887
6901
|
viewId?: string;
|
|
6888
6902
|
/** Request body */
|
|
6889
6903
|
resource: LogView;
|
|
@@ -6914,7 +6928,7 @@ declare namespace gapi.client {
|
|
|
6914
6928
|
upload_protocol?: string;
|
|
6915
6929
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6916
6930
|
uploadType?: string;
|
|
6917
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
6931
|
+
/** 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. */
|
|
6918
6932
|
viewId?: string;
|
|
6919
6933
|
},
|
|
6920
6934
|
body: LogView,
|
|
@@ -9158,7 +9172,7 @@ declare namespace gapi.client {
|
|
|
9158
9172
|
upload_protocol?: string;
|
|
9159
9173
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9160
9174
|
uploadType?: string;
|
|
9161
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
9175
|
+
/** 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. */
|
|
9162
9176
|
viewId?: string;
|
|
9163
9177
|
/** Request body */
|
|
9164
9178
|
resource: LogView;
|
|
@@ -9189,7 +9203,7 @@ declare namespace gapi.client {
|
|
|
9189
9203
|
upload_protocol?: string;
|
|
9190
9204
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9191
9205
|
uploadType?: string;
|
|
9192
|
-
/** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and
|
|
9206
|
+
/** 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. */
|
|
9193
9207
|
viewId?: string;
|
|
9194
9208
|
},
|
|
9195
9209
|
body: LogView,
|