@maxim_mazurok/gapi.client.logging-v2 0.0.20250102 → 0.0.20250124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +119 -133
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250102
12
+ // Revision: 20250124
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Logging API v2 */
18
18
  function load(
19
- urlOrObject: 'https://logging.googleapis.com/$discovery/rest?version=v2'
19
+ urlOrObject: 'https://logging.googleapis.com/$discovery/rest?version=v2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'logging', version: 'v2'): Promise<void>;
@@ -24,18 +24,6 @@ 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
- }
39
27
  interface BigQueryDataset {
40
28
  /** 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" */
41
29
  datasetId?: string;
@@ -108,7 +96,7 @@ declare namespace gapi.client {
108
96
  writerIdentity?: string;
109
97
  }
110
98
  interface CopyLogEntriesRequest {
111
- /** Required. Destination to which to copy log entries. */
99
+ /** Required. Destination to which to copy log entries. For example: "storage.googleapis.com/GCS_BUCKET" */
112
100
  destination?: string;
113
101
  /** Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries. */
114
102
  filter?: string;
@@ -663,8 +651,6 @@ declare namespace gapi.client {
663
651
  sqlQueryText?: string;
664
652
  }
665
653
  interface Policy {
666
- /** Specifies cloud audit logging configuration for this policy. */
667
- auditConfigs?: AuditConfig[];
668
654
  /** 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. */
669
655
  bindings?: Binding[];
670
656
  /** 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. */
@@ -927,7 +913,7 @@ declare namespace gapi.client {
927
913
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
928
914
  uploadType?: string;
929
915
  },
930
- body: LogExclusion
916
+ body: LogExclusion,
931
917
  ): Request<LogExclusion>;
932
918
  /** Deletes an exclusion in the _Default sink. */
933
919
  delete(request?: {
@@ -1074,7 +1060,7 @@ declare namespace gapi.client {
1074
1060
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1075
1061
  uploadType?: string;
1076
1062
  },
1077
- body: LogExclusion
1063
+ body: LogExclusion,
1078
1064
  ): Request<LogExclusion>;
1079
1065
  }
1080
1066
  interface LinksResource {
@@ -1138,7 +1124,7 @@ declare namespace gapi.client {
1138
1124
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1139
1125
  uploadType?: string;
1140
1126
  },
1141
- body: Link
1127
+ body: Link,
1142
1128
  ): Request<Operation>;
1143
1129
  /** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
1144
1130
  delete(request?: {
@@ -1288,7 +1274,7 @@ declare namespace gapi.client {
1288
1274
  upload_protocol?: string;
1289
1275
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1290
1276
  uploadType?: string;
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. */
1277
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
1292
1278
  viewId?: string;
1293
1279
  /** Request body */
1294
1280
  resource: LogView;
@@ -1319,10 +1305,10 @@ declare namespace gapi.client {
1319
1305
  upload_protocol?: string;
1320
1306
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1321
1307
  uploadType?: string;
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. */
1308
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
1323
1309
  viewId?: string;
1324
1310
  },
1325
- body: LogView
1311
+ body: LogView,
1326
1312
  ): Request<LogView>;
1327
1313
  /** 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 few minutes. */
1328
1314
  delete(request?: {
@@ -1469,7 +1455,7 @@ declare namespace gapi.client {
1469
1455
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1470
1456
  uploadType?: string;
1471
1457
  },
1472
- body: LogView
1458
+ body: LogView,
1473
1459
  ): Request<LogView>;
1474
1460
  logs: LogsResource;
1475
1461
  }
@@ -1534,7 +1520,7 @@ declare namespace gapi.client {
1534
1520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1535
1521
  uploadType?: string;
1536
1522
  },
1537
- body: LogBucket
1523
+ body: LogBucket,
1538
1524
  ): Request<LogBucket>;
1539
1525
  /** 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. */
1540
1526
  createAsync(request: {
@@ -1596,7 +1582,7 @@ declare namespace gapi.client {
1596
1582
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1597
1583
  uploadType?: string;
1598
1584
  },
1599
- body: LogBucket
1585
+ body: LogBucket,
1600
1586
  ): Request<Operation>;
1601
1587
  /** 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 permanently deleted. */
1602
1588
  delete(request?: {
@@ -1743,7 +1729,7 @@ declare namespace gapi.client {
1743
1729
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1744
1730
  uploadType?: string;
1745
1731
  },
1746
- body: LogBucket
1732
+ body: LogBucket,
1747
1733
  ): Request<LogBucket>;
1748
1734
  /** Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days. */
1749
1735
  undelete(request: {
@@ -1801,7 +1787,7 @@ declare namespace gapi.client {
1801
1787
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1802
1788
  uploadType?: string;
1803
1789
  },
1804
- body: UndeleteBucketRequest
1790
+ body: UndeleteBucketRequest,
1805
1791
  ): Request<{}>;
1806
1792
  /** 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 location cannot be changed. */
1807
1793
  updateAsync(request: {
@@ -1863,7 +1849,7 @@ declare namespace gapi.client {
1863
1849
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1864
1850
  uploadType?: string;
1865
1851
  },
1866
- body: LogBucket
1852
+ body: LogBucket,
1867
1853
  ): Request<Operation>;
1868
1854
  links: LinksResource;
1869
1855
  views: ViewsResource;
@@ -1925,7 +1911,7 @@ declare namespace gapi.client {
1925
1911
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1926
1912
  uploadType?: string;
1927
1913
  },
1928
- body: CancelOperationRequest
1914
+ body: CancelOperationRequest,
1929
1915
  ): Request<{}>;
1930
1916
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1931
1917
  get(request?: {
@@ -2084,7 +2070,7 @@ declare namespace gapi.client {
2084
2070
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2085
2071
  uploadType?: string;
2086
2072
  },
2087
- body: SavedQuery
2073
+ body: SavedQuery,
2088
2074
  ): Request<SavedQuery>;
2089
2075
  /** Deletes an existing SavedQuery that was created by the user making the request. */
2090
2076
  delete(request?: {
@@ -2233,7 +2219,7 @@ declare namespace gapi.client {
2233
2219
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2234
2220
  uploadType?: string;
2235
2221
  },
2236
- body: SavedQuery
2222
+ body: SavedQuery,
2237
2223
  ): Request<SavedQuery>;
2238
2224
  }
2239
2225
  interface LocationsResource {
@@ -2429,7 +2415,7 @@ declare namespace gapi.client {
2429
2415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2430
2416
  uploadType?: string;
2431
2417
  },
2432
- body: LogSink
2418
+ body: LogSink,
2433
2419
  ): Request<LogSink>;
2434
2420
  /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */
2435
2421
  delete(request?: {
@@ -2586,7 +2572,7 @@ declare namespace gapi.client {
2586
2572
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2587
2573
  uploadType?: string;
2588
2574
  },
2589
- body: LogSink
2575
+ body: LogSink,
2590
2576
  ): Request<LogSink>;
2591
2577
  /** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
2592
2578
  update(request: {
@@ -2656,7 +2642,7 @@ declare namespace gapi.client {
2656
2642
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2657
2643
  uploadType?: string;
2658
2644
  },
2659
- body: LogSink
2645
+ body: LogSink,
2660
2646
  ): Request<LogSink>;
2661
2647
  }
2662
2648
  interface BillingAccountsResource {
@@ -2772,7 +2758,7 @@ declare namespace gapi.client {
2772
2758
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2773
2759
  uploadType?: string;
2774
2760
  },
2775
- body: CopyLogEntriesRequest
2761
+ body: CopyLogEntriesRequest,
2776
2762
  ): Request<Operation>;
2777
2763
  /** Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export). */
2778
2764
  list(request: {
@@ -2826,7 +2812,7 @@ declare namespace gapi.client {
2826
2812
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2827
2813
  uploadType?: string;
2828
2814
  },
2829
- body: ListLogEntriesRequest
2815
+ body: ListLogEntriesRequest,
2830
2816
  ): Request<ListLogEntriesResponse>;
2831
2817
  /** Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. */
2832
2818
  tail(request: {
@@ -2880,7 +2866,7 @@ declare namespace gapi.client {
2880
2866
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2881
2867
  uploadType?: string;
2882
2868
  },
2883
- body: TailLogEntriesRequest
2869
+ body: TailLogEntriesRequest,
2884
2870
  ): Request<TailLogEntriesResponse>;
2885
2871
  /** Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field. */
2886
2872
  write(request: {
@@ -2934,7 +2920,7 @@ declare namespace gapi.client {
2934
2920
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2935
2921
  uploadType?: string;
2936
2922
  },
2937
- body: WriteLogEntriesRequest
2923
+ body: WriteLogEntriesRequest,
2938
2924
  ): Request<{}>;
2939
2925
  }
2940
2926
  interface ExclusionsResource {
@@ -2994,7 +2980,7 @@ declare namespace gapi.client {
2994
2980
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2995
2981
  uploadType?: string;
2996
2982
  },
2997
- body: LogExclusion
2983
+ body: LogExclusion,
2998
2984
  ): Request<LogExclusion>;
2999
2985
  /** Deletes an exclusion in the _Default sink. */
3000
2986
  delete(request?: {
@@ -3141,7 +3127,7 @@ declare namespace gapi.client {
3141
3127
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3142
3128
  uploadType?: string;
3143
3129
  },
3144
- body: LogExclusion
3130
+ body: LogExclusion,
3145
3131
  ): Request<LogExclusion>;
3146
3132
  }
3147
3133
  interface ExclusionsResource {
@@ -3201,7 +3187,7 @@ declare namespace gapi.client {
3201
3187
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3202
3188
  uploadType?: string;
3203
3189
  },
3204
- body: LogExclusion
3190
+ body: LogExclusion,
3205
3191
  ): Request<LogExclusion>;
3206
3192
  /** Deletes an exclusion in the _Default sink. */
3207
3193
  delete(request?: {
@@ -3348,7 +3334,7 @@ declare namespace gapi.client {
3348
3334
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3349
3335
  uploadType?: string;
3350
3336
  },
3351
- body: LogExclusion
3337
+ body: LogExclusion,
3352
3338
  ): Request<LogExclusion>;
3353
3339
  }
3354
3340
  interface LinksResource {
@@ -3412,7 +3398,7 @@ declare namespace gapi.client {
3412
3398
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3413
3399
  uploadType?: string;
3414
3400
  },
3415
- body: Link
3401
+ body: Link,
3416
3402
  ): Request<Operation>;
3417
3403
  /** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
3418
3404
  delete(request?: {
@@ -3562,7 +3548,7 @@ declare namespace gapi.client {
3562
3548
  upload_protocol?: string;
3563
3549
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3564
3550
  uploadType?: string;
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. */
3551
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
3566
3552
  viewId?: string;
3567
3553
  /** Request body */
3568
3554
  resource: LogView;
@@ -3593,10 +3579,10 @@ declare namespace gapi.client {
3593
3579
  upload_protocol?: string;
3594
3580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3595
3581
  uploadType?: string;
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. */
3582
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
3597
3583
  viewId?: string;
3598
3584
  },
3599
- body: LogView
3585
+ body: LogView,
3600
3586
  ): Request<LogView>;
3601
3587
  /** 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 few minutes. */
3602
3588
  delete(request?: {
@@ -3680,7 +3666,7 @@ declare namespace gapi.client {
3680
3666
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3681
3667
  uploadType?: string;
3682
3668
  },
3683
- body: GetIamPolicyRequest
3669
+ body: GetIamPolicyRequest,
3684
3670
  ): Request<Policy>;
3685
3671
  /** Lists views on a log bucket. */
3686
3672
  list(request?: {
@@ -3773,7 +3759,7 @@ declare namespace gapi.client {
3773
3759
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3774
3760
  uploadType?: string;
3775
3761
  },
3776
- body: LogView
3762
+ body: LogView,
3777
3763
  ): Request<LogView>;
3778
3764
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
3779
3765
  setIamPolicy(
@@ -3803,7 +3789,7 @@ declare namespace gapi.client {
3803
3789
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3804
3790
  uploadType?: string;
3805
3791
  },
3806
- body: SetIamPolicyRequest
3792
+ body: SetIamPolicyRequest,
3807
3793
  ): Request<Policy>;
3808
3794
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
3809
3795
  testIamPermissions(
@@ -3833,7 +3819,7 @@ declare namespace gapi.client {
3833
3819
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3834
3820
  uploadType?: string;
3835
3821
  },
3836
- body: TestIamPermissionsRequest
3822
+ body: TestIamPermissionsRequest,
3837
3823
  ): Request<TestIamPermissionsResponse>;
3838
3824
  logs: LogsResource;
3839
3825
  }
@@ -3898,7 +3884,7 @@ declare namespace gapi.client {
3898
3884
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3899
3885
  uploadType?: string;
3900
3886
  },
3901
- body: LogBucket
3887
+ body: LogBucket,
3902
3888
  ): Request<LogBucket>;
3903
3889
  /** 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. */
3904
3890
  createAsync(request: {
@@ -3960,7 +3946,7 @@ declare namespace gapi.client {
3960
3946
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3961
3947
  uploadType?: string;
3962
3948
  },
3963
- body: LogBucket
3949
+ body: LogBucket,
3964
3950
  ): Request<Operation>;
3965
3951
  /** 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 permanently deleted. */
3966
3952
  delete(request?: {
@@ -4107,7 +4093,7 @@ declare namespace gapi.client {
4107
4093
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4108
4094
  uploadType?: string;
4109
4095
  },
4110
- body: LogBucket
4096
+ body: LogBucket,
4111
4097
  ): Request<LogBucket>;
4112
4098
  /** Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days. */
4113
4099
  undelete(request: {
@@ -4165,7 +4151,7 @@ declare namespace gapi.client {
4165
4151
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4166
4152
  uploadType?: string;
4167
4153
  },
4168
- body: UndeleteBucketRequest
4154
+ body: UndeleteBucketRequest,
4169
4155
  ): Request<{}>;
4170
4156
  /** 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 location cannot be changed. */
4171
4157
  updateAsync(request: {
@@ -4227,7 +4213,7 @@ declare namespace gapi.client {
4227
4213
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4228
4214
  uploadType?: string;
4229
4215
  },
4230
- body: LogBucket
4216
+ body: LogBucket,
4231
4217
  ): Request<Operation>;
4232
4218
  links: LinksResource;
4233
4219
  views: ViewsResource;
@@ -4293,7 +4279,7 @@ declare namespace gapi.client {
4293
4279
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4294
4280
  uploadType?: string;
4295
4281
  },
4296
- body: LogScope
4282
+ body: LogScope,
4297
4283
  ): Request<LogScope>;
4298
4284
  /** Deletes a log scope. */
4299
4285
  delete(request?: {
@@ -4440,7 +4426,7 @@ declare namespace gapi.client {
4440
4426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4441
4427
  uploadType?: string;
4442
4428
  },
4443
- body: LogScope
4429
+ body: LogScope,
4444
4430
  ): Request<LogScope>;
4445
4431
  }
4446
4432
  interface OperationsResource {
@@ -4500,7 +4486,7 @@ declare namespace gapi.client {
4500
4486
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4501
4487
  uploadType?: string;
4502
4488
  },
4503
- body: CancelOperationRequest
4489
+ body: CancelOperationRequest,
4504
4490
  ): Request<{}>;
4505
4491
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
4506
4492
  get(request?: {
@@ -4659,7 +4645,7 @@ declare namespace gapi.client {
4659
4645
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4660
4646
  uploadType?: string;
4661
4647
  },
4662
- body: SavedQuery
4648
+ body: SavedQuery,
4663
4649
  ): Request<SavedQuery>;
4664
4650
  /** Deletes an existing SavedQuery that was created by the user making the request. */
4665
4651
  delete(request?: {
@@ -4808,7 +4794,7 @@ declare namespace gapi.client {
4808
4794
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4809
4795
  uploadType?: string;
4810
4796
  },
4811
- body: SavedQuery
4797
+ body: SavedQuery,
4812
4798
  ): Request<SavedQuery>;
4813
4799
  }
4814
4800
  interface LocationsResource {
@@ -5005,7 +4991,7 @@ declare namespace gapi.client {
5005
4991
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5006
4992
  uploadType?: string;
5007
4993
  },
5008
- body: LogSink
4994
+ body: LogSink,
5009
4995
  ): Request<LogSink>;
5010
4996
  /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */
5011
4997
  delete(request?: {
@@ -5162,7 +5148,7 @@ declare namespace gapi.client {
5162
5148
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5163
5149
  uploadType?: string;
5164
5150
  },
5165
- body: LogSink
5151
+ body: LogSink,
5166
5152
  ): Request<LogSink>;
5167
5153
  /** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
5168
5154
  update(request: {
@@ -5232,7 +5218,7 @@ declare namespace gapi.client {
5232
5218
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5233
5219
  uploadType?: string;
5234
5220
  },
5235
- body: LogSink
5221
+ body: LogSink,
5236
5222
  ): Request<LogSink>;
5237
5223
  }
5238
5224
  interface FoldersResource {
@@ -5350,7 +5336,7 @@ declare namespace gapi.client {
5350
5336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5351
5337
  uploadType?: string;
5352
5338
  },
5353
- body: Settings
5339
+ body: Settings,
5354
5340
  ): Request<Settings>;
5355
5341
  exclusions: ExclusionsResource;
5356
5342
  locations: LocationsResource;
@@ -5418,7 +5404,7 @@ declare namespace gapi.client {
5418
5404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5419
5405
  uploadType?: string;
5420
5406
  },
5421
- body: Link
5407
+ body: Link,
5422
5408
  ): Request<Operation>;
5423
5409
  /** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
5424
5410
  delete(request?: {
@@ -5533,7 +5519,7 @@ declare namespace gapi.client {
5533
5519
  upload_protocol?: string;
5534
5520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5535
5521
  uploadType?: string;
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. */
5522
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
5537
5523
  viewId?: string;
5538
5524
  /** Request body */
5539
5525
  resource: LogView;
@@ -5564,10 +5550,10 @@ declare namespace gapi.client {
5564
5550
  upload_protocol?: string;
5565
5551
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5566
5552
  uploadType?: string;
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. */
5553
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
5568
5554
  viewId?: string;
5569
5555
  },
5570
- body: LogView
5556
+ body: LogView,
5571
5557
  ): Request<LogView>;
5572
5558
  /** 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 few minutes. */
5573
5559
  delete(request?: {
@@ -5651,7 +5637,7 @@ declare namespace gapi.client {
5651
5637
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5652
5638
  uploadType?: string;
5653
5639
  },
5654
- body: GetIamPolicyRequest
5640
+ body: GetIamPolicyRequest,
5655
5641
  ): Request<Policy>;
5656
5642
  /** Lists views on a log bucket. */
5657
5643
  list(request?: {
@@ -5744,7 +5730,7 @@ declare namespace gapi.client {
5744
5730
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5745
5731
  uploadType?: string;
5746
5732
  },
5747
- body: LogView
5733
+ body: LogView,
5748
5734
  ): Request<LogView>;
5749
5735
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
5750
5736
  setIamPolicy(
@@ -5774,7 +5760,7 @@ declare namespace gapi.client {
5774
5760
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5775
5761
  uploadType?: string;
5776
5762
  },
5777
- body: SetIamPolicyRequest
5763
+ body: SetIamPolicyRequest,
5778
5764
  ): Request<Policy>;
5779
5765
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
5780
5766
  testIamPermissions(
@@ -5804,7 +5790,7 @@ declare namespace gapi.client {
5804
5790
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5805
5791
  uploadType?: string;
5806
5792
  },
5807
- body: TestIamPermissionsRequest
5793
+ body: TestIamPermissionsRequest,
5808
5794
  ): Request<TestIamPermissionsResponse>;
5809
5795
  }
5810
5796
  interface BucketsResource {
@@ -5868,7 +5854,7 @@ declare namespace gapi.client {
5868
5854
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5869
5855
  uploadType?: string;
5870
5856
  },
5871
- body: LogBucket
5857
+ body: LogBucket,
5872
5858
  ): Request<LogBucket>;
5873
5859
  /** 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. */
5874
5860
  createAsync(request: {
@@ -5930,7 +5916,7 @@ declare namespace gapi.client {
5930
5916
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5931
5917
  uploadType?: string;
5932
5918
  },
5933
- body: LogBucket
5919
+ body: LogBucket,
5934
5920
  ): Request<Operation>;
5935
5921
  /** 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 permanently deleted. */
5936
5922
  delete(request?: {
@@ -6077,7 +6063,7 @@ declare namespace gapi.client {
6077
6063
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6078
6064
  uploadType?: string;
6079
6065
  },
6080
- body: LogBucket
6066
+ body: LogBucket,
6081
6067
  ): Request<LogBucket>;
6082
6068
  /** Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days. */
6083
6069
  undelete(request: {
@@ -6135,7 +6121,7 @@ declare namespace gapi.client {
6135
6121
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6136
6122
  uploadType?: string;
6137
6123
  },
6138
- body: UndeleteBucketRequest
6124
+ body: UndeleteBucketRequest,
6139
6125
  ): Request<{}>;
6140
6126
  /** 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 location cannot be changed. */
6141
6127
  updateAsync(request: {
@@ -6197,7 +6183,7 @@ declare namespace gapi.client {
6197
6183
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6198
6184
  uploadType?: string;
6199
6185
  },
6200
- body: LogBucket
6186
+ body: LogBucket,
6201
6187
  ): Request<Operation>;
6202
6188
  links: LinksResource;
6203
6189
  views: ViewsResource;
@@ -6259,7 +6245,7 @@ declare namespace gapi.client {
6259
6245
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6260
6246
  uploadType?: string;
6261
6247
  },
6262
- body: CancelOperationRequest
6248
+ body: CancelOperationRequest,
6263
6249
  ): Request<{}>;
6264
6250
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
6265
6251
  get(request?: {
@@ -6536,7 +6522,7 @@ declare namespace gapi.client {
6536
6522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6537
6523
  uploadType?: string;
6538
6524
  },
6539
- body: LogExclusion
6525
+ body: LogExclusion,
6540
6526
  ): Request<LogExclusion>;
6541
6527
  /** Deletes an exclusion in the _Default sink. */
6542
6528
  delete(request?: {
@@ -6683,7 +6669,7 @@ declare namespace gapi.client {
6683
6669
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6684
6670
  uploadType?: string;
6685
6671
  },
6686
- body: LogExclusion
6672
+ body: LogExclusion,
6687
6673
  ): Request<LogExclusion>;
6688
6674
  }
6689
6675
  interface LinksResource {
@@ -6747,7 +6733,7 @@ declare namespace gapi.client {
6747
6733
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6748
6734
  uploadType?: string;
6749
6735
  },
6750
- body: Link
6736
+ body: Link,
6751
6737
  ): Request<Operation>;
6752
6738
  /** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
6753
6739
  delete(request?: {
@@ -6897,7 +6883,7 @@ declare namespace gapi.client {
6897
6883
  upload_protocol?: string;
6898
6884
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6899
6885
  uploadType?: string;
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. */
6886
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
6901
6887
  viewId?: string;
6902
6888
  /** Request body */
6903
6889
  resource: LogView;
@@ -6928,10 +6914,10 @@ declare namespace gapi.client {
6928
6914
  upload_protocol?: string;
6929
6915
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6930
6916
  uploadType?: string;
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. */
6917
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
6932
6918
  viewId?: string;
6933
6919
  },
6934
- body: LogView
6920
+ body: LogView,
6935
6921
  ): Request<LogView>;
6936
6922
  /** 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 few minutes. */
6937
6923
  delete(request?: {
@@ -7015,7 +7001,7 @@ declare namespace gapi.client {
7015
7001
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7016
7002
  uploadType?: string;
7017
7003
  },
7018
- body: GetIamPolicyRequest
7004
+ body: GetIamPolicyRequest,
7019
7005
  ): Request<Policy>;
7020
7006
  /** Lists views on a log bucket. */
7021
7007
  list(request?: {
@@ -7108,7 +7094,7 @@ declare namespace gapi.client {
7108
7094
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7109
7095
  uploadType?: string;
7110
7096
  },
7111
- body: LogView
7097
+ body: LogView,
7112
7098
  ): Request<LogView>;
7113
7099
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
7114
7100
  setIamPolicy(
@@ -7138,7 +7124,7 @@ declare namespace gapi.client {
7138
7124
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7139
7125
  uploadType?: string;
7140
7126
  },
7141
- body: SetIamPolicyRequest
7127
+ body: SetIamPolicyRequest,
7142
7128
  ): Request<Policy>;
7143
7129
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
7144
7130
  testIamPermissions(
@@ -7168,7 +7154,7 @@ declare namespace gapi.client {
7168
7154
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7169
7155
  uploadType?: string;
7170
7156
  },
7171
- body: TestIamPermissionsRequest
7157
+ body: TestIamPermissionsRequest,
7172
7158
  ): Request<TestIamPermissionsResponse>;
7173
7159
  logs: LogsResource;
7174
7160
  }
@@ -7233,7 +7219,7 @@ declare namespace gapi.client {
7233
7219
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7234
7220
  uploadType?: string;
7235
7221
  },
7236
- body: LogBucket
7222
+ body: LogBucket,
7237
7223
  ): Request<LogBucket>;
7238
7224
  /** 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. */
7239
7225
  createAsync(request: {
@@ -7295,7 +7281,7 @@ declare namespace gapi.client {
7295
7281
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7296
7282
  uploadType?: string;
7297
7283
  },
7298
- body: LogBucket
7284
+ body: LogBucket,
7299
7285
  ): Request<Operation>;
7300
7286
  /** 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 permanently deleted. */
7301
7287
  delete(request?: {
@@ -7442,7 +7428,7 @@ declare namespace gapi.client {
7442
7428
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7443
7429
  uploadType?: string;
7444
7430
  },
7445
- body: LogBucket
7431
+ body: LogBucket,
7446
7432
  ): Request<LogBucket>;
7447
7433
  /** Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days. */
7448
7434
  undelete(request: {
@@ -7500,7 +7486,7 @@ declare namespace gapi.client {
7500
7486
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7501
7487
  uploadType?: string;
7502
7488
  },
7503
- body: UndeleteBucketRequest
7489
+ body: UndeleteBucketRequest,
7504
7490
  ): Request<{}>;
7505
7491
  /** 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 location cannot be changed. */
7506
7492
  updateAsync(request: {
@@ -7562,7 +7548,7 @@ declare namespace gapi.client {
7562
7548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7563
7549
  uploadType?: string;
7564
7550
  },
7565
- body: LogBucket
7551
+ body: LogBucket,
7566
7552
  ): Request<Operation>;
7567
7553
  links: LinksResource;
7568
7554
  views: ViewsResource;
@@ -7628,7 +7614,7 @@ declare namespace gapi.client {
7628
7614
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7629
7615
  uploadType?: string;
7630
7616
  },
7631
- body: LogScope
7617
+ body: LogScope,
7632
7618
  ): Request<LogScope>;
7633
7619
  /** Deletes a log scope. */
7634
7620
  delete(request?: {
@@ -7775,7 +7761,7 @@ declare namespace gapi.client {
7775
7761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7776
7762
  uploadType?: string;
7777
7763
  },
7778
- body: LogScope
7764
+ body: LogScope,
7779
7765
  ): Request<LogScope>;
7780
7766
  }
7781
7767
  interface OperationsResource {
@@ -7835,7 +7821,7 @@ declare namespace gapi.client {
7835
7821
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7836
7822
  uploadType?: string;
7837
7823
  },
7838
- body: CancelOperationRequest
7824
+ body: CancelOperationRequest,
7839
7825
  ): Request<{}>;
7840
7826
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
7841
7827
  get(request?: {
@@ -7994,7 +7980,7 @@ declare namespace gapi.client {
7994
7980
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7995
7981
  uploadType?: string;
7996
7982
  },
7997
- body: SavedQuery
7983
+ body: SavedQuery,
7998
7984
  ): Request<SavedQuery>;
7999
7985
  /** Deletes an existing SavedQuery that was created by the user making the request. */
8000
7986
  delete(request?: {
@@ -8143,7 +8129,7 @@ declare namespace gapi.client {
8143
8129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8144
8130
  uploadType?: string;
8145
8131
  },
8146
- body: SavedQuery
8132
+ body: SavedQuery,
8147
8133
  ): Request<SavedQuery>;
8148
8134
  }
8149
8135
  interface LocationsResource {
@@ -8340,7 +8326,7 @@ declare namespace gapi.client {
8340
8326
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8341
8327
  uploadType?: string;
8342
8328
  },
8343
- body: LogSink
8329
+ body: LogSink,
8344
8330
  ): Request<LogSink>;
8345
8331
  /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */
8346
8332
  delete(request?: {
@@ -8497,7 +8483,7 @@ declare namespace gapi.client {
8497
8483
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8498
8484
  uploadType?: string;
8499
8485
  },
8500
- body: LogSink
8486
+ body: LogSink,
8501
8487
  ): Request<LogSink>;
8502
8488
  /** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
8503
8489
  update(request: {
@@ -8567,7 +8553,7 @@ declare namespace gapi.client {
8567
8553
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8568
8554
  uploadType?: string;
8569
8555
  },
8570
- body: LogSink
8556
+ body: LogSink,
8571
8557
  ): Request<LogSink>;
8572
8558
  }
8573
8559
  interface OrganizationsResource {
@@ -8685,7 +8671,7 @@ declare namespace gapi.client {
8685
8671
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8686
8672
  uploadType?: string;
8687
8673
  },
8688
- body: CmekSettings
8674
+ body: CmekSettings,
8689
8675
  ): Request<CmekSettings>;
8690
8676
  /** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
8691
8677
  updateSettings(request: {
@@ -8747,7 +8733,7 @@ declare namespace gapi.client {
8747
8733
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8748
8734
  uploadType?: string;
8749
8735
  },
8750
- body: Settings
8736
+ body: Settings,
8751
8737
  ): Request<Settings>;
8752
8738
  exclusions: ExclusionsResource;
8753
8739
  locations: LocationsResource;
@@ -8811,7 +8797,7 @@ declare namespace gapi.client {
8811
8797
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8812
8798
  uploadType?: string;
8813
8799
  },
8814
- body: LogExclusion
8800
+ body: LogExclusion,
8815
8801
  ): Request<LogExclusion>;
8816
8802
  /** Deletes an exclusion in the _Default sink. */
8817
8803
  delete(request?: {
@@ -8958,7 +8944,7 @@ declare namespace gapi.client {
8958
8944
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8959
8945
  uploadType?: string;
8960
8946
  },
8961
- body: LogExclusion
8947
+ body: LogExclusion,
8962
8948
  ): Request<LogExclusion>;
8963
8949
  }
8964
8950
  interface LinksResource {
@@ -9022,7 +9008,7 @@ declare namespace gapi.client {
9022
9008
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9023
9009
  uploadType?: string;
9024
9010
  },
9025
- body: Link
9011
+ body: Link,
9026
9012
  ): Request<Operation>;
9027
9013
  /** Deletes a link. This will also delete the corresponding BigQuery linked dataset. */
9028
9014
  delete(request?: {
@@ -9172,7 +9158,7 @@ declare namespace gapi.client {
9172
9158
  upload_protocol?: string;
9173
9159
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9174
9160
  uploadType?: string;
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. */
9161
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
9176
9162
  viewId?: string;
9177
9163
  /** Request body */
9178
9164
  resource: LogView;
@@ -9203,10 +9189,10 @@ declare namespace gapi.client {
9203
9189
  upload_protocol?: string;
9204
9190
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9205
9191
  uploadType?: string;
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. */
9192
+ /** Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens. */
9207
9193
  viewId?: string;
9208
9194
  },
9209
- body: LogView
9195
+ body: LogView,
9210
9196
  ): Request<LogView>;
9211
9197
  /** 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 few minutes. */
9212
9198
  delete(request?: {
@@ -9290,7 +9276,7 @@ declare namespace gapi.client {
9290
9276
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9291
9277
  uploadType?: string;
9292
9278
  },
9293
- body: GetIamPolicyRequest
9279
+ body: GetIamPolicyRequest,
9294
9280
  ): Request<Policy>;
9295
9281
  /** Lists views on a log bucket. */
9296
9282
  list(request?: {
@@ -9383,7 +9369,7 @@ declare namespace gapi.client {
9383
9369
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9384
9370
  uploadType?: string;
9385
9371
  },
9386
- body: LogView
9372
+ body: LogView,
9387
9373
  ): Request<LogView>;
9388
9374
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
9389
9375
  setIamPolicy(
@@ -9413,7 +9399,7 @@ declare namespace gapi.client {
9413
9399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9414
9400
  uploadType?: string;
9415
9401
  },
9416
- body: SetIamPolicyRequest
9402
+ body: SetIamPolicyRequest,
9417
9403
  ): Request<Policy>;
9418
9404
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
9419
9405
  testIamPermissions(
@@ -9443,7 +9429,7 @@ declare namespace gapi.client {
9443
9429
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9444
9430
  uploadType?: string;
9445
9431
  },
9446
- body: TestIamPermissionsRequest
9432
+ body: TestIamPermissionsRequest,
9447
9433
  ): Request<TestIamPermissionsResponse>;
9448
9434
  logs: LogsResource;
9449
9435
  }
@@ -9508,7 +9494,7 @@ declare namespace gapi.client {
9508
9494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9509
9495
  uploadType?: string;
9510
9496
  },
9511
- body: LogBucket
9497
+ body: LogBucket,
9512
9498
  ): Request<LogBucket>;
9513
9499
  /** 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. */
9514
9500
  createAsync(request: {
@@ -9570,7 +9556,7 @@ declare namespace gapi.client {
9570
9556
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9571
9557
  uploadType?: string;
9572
9558
  },
9573
- body: LogBucket
9559
+ body: LogBucket,
9574
9560
  ): Request<Operation>;
9575
9561
  /** 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 permanently deleted. */
9576
9562
  delete(request?: {
@@ -9717,7 +9703,7 @@ declare namespace gapi.client {
9717
9703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9718
9704
  uploadType?: string;
9719
9705
  },
9720
- body: LogBucket
9706
+ body: LogBucket,
9721
9707
  ): Request<LogBucket>;
9722
9708
  /** Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days. */
9723
9709
  undelete(request: {
@@ -9775,7 +9761,7 @@ declare namespace gapi.client {
9775
9761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9776
9762
  uploadType?: string;
9777
9763
  },
9778
- body: UndeleteBucketRequest
9764
+ body: UndeleteBucketRequest,
9779
9765
  ): Request<{}>;
9780
9766
  /** 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 location cannot be changed. */
9781
9767
  updateAsync(request: {
@@ -9837,7 +9823,7 @@ declare namespace gapi.client {
9837
9823
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9838
9824
  uploadType?: string;
9839
9825
  },
9840
- body: LogBucket
9826
+ body: LogBucket,
9841
9827
  ): Request<Operation>;
9842
9828
  links: LinksResource;
9843
9829
  views: ViewsResource;
@@ -9903,7 +9889,7 @@ declare namespace gapi.client {
9903
9889
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9904
9890
  uploadType?: string;
9905
9891
  },
9906
- body: LogScope
9892
+ body: LogScope,
9907
9893
  ): Request<LogScope>;
9908
9894
  /** Deletes a log scope. */
9909
9895
  delete(request?: {
@@ -10050,7 +10036,7 @@ declare namespace gapi.client {
10050
10036
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10051
10037
  uploadType?: string;
10052
10038
  },
10053
- body: LogScope
10039
+ body: LogScope,
10054
10040
  ): Request<LogScope>;
10055
10041
  }
10056
10042
  interface OperationsResource {
@@ -10110,7 +10096,7 @@ declare namespace gapi.client {
10110
10096
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10111
10097
  uploadType?: string;
10112
10098
  },
10113
- body: CancelOperationRequest
10099
+ body: CancelOperationRequest,
10114
10100
  ): Request<{}>;
10115
10101
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
10116
10102
  get(request?: {
@@ -10269,7 +10255,7 @@ declare namespace gapi.client {
10269
10255
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10270
10256
  uploadType?: string;
10271
10257
  },
10272
- body: SavedQuery
10258
+ body: SavedQuery,
10273
10259
  ): Request<SavedQuery>;
10274
10260
  /** Deletes an existing SavedQuery that was created by the user making the request. */
10275
10261
  delete(request?: {
@@ -10418,7 +10404,7 @@ declare namespace gapi.client {
10418
10404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10419
10405
  uploadType?: string;
10420
10406
  },
10421
- body: SavedQuery
10407
+ body: SavedQuery,
10422
10408
  ): Request<SavedQuery>;
10423
10409
  }
10424
10410
  interface LocationsResource {
@@ -10607,7 +10593,7 @@ declare namespace gapi.client {
10607
10593
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10608
10594
  uploadType?: string;
10609
10595
  },
10610
- body: LogMetric
10596
+ body: LogMetric,
10611
10597
  ): Request<LogMetric>;
10612
10598
  /** Deletes a logs-based metric. */
10613
10599
  delete(request?: {
@@ -10750,7 +10736,7 @@ declare namespace gapi.client {
10750
10736
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10751
10737
  uploadType?: string;
10752
10738
  },
10753
- body: LogMetric
10739
+ body: LogMetric,
10754
10740
  ): Request<LogMetric>;
10755
10741
  }
10756
10742
  interface SinksResource {
@@ -10818,7 +10804,7 @@ declare namespace gapi.client {
10818
10804
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10819
10805
  uploadType?: string;
10820
10806
  },
10821
- body: LogSink
10807
+ body: LogSink,
10822
10808
  ): Request<LogSink>;
10823
10809
  /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */
10824
10810
  delete(request?: {
@@ -10975,7 +10961,7 @@ declare namespace gapi.client {
10975
10961
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10976
10962
  uploadType?: string;
10977
10963
  },
10978
- body: LogSink
10964
+ body: LogSink,
10979
10965
  ): Request<LogSink>;
10980
10966
  /** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
10981
10967
  update(request: {
@@ -11045,7 +11031,7 @@ declare namespace gapi.client {
11045
11031
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11046
11032
  uploadType?: string;
11047
11033
  },
11048
- body: LogSink
11034
+ body: LogSink,
11049
11035
  ): Request<LogSink>;
11050
11036
  }
11051
11037
  interface ProjectsResource {
@@ -11174,7 +11160,7 @@ declare namespace gapi.client {
11174
11160
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11175
11161
  uploadType?: string;
11176
11162
  },
11177
- body: LogSink
11163
+ body: LogSink,
11178
11164
  ): Request<LogSink>;
11179
11165
  /** Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted. */
11180
11166
  delete(request?: {
@@ -11331,7 +11317,7 @@ declare namespace gapi.client {
11331
11317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11332
11318
  uploadType?: string;
11333
11319
  },
11334
- body: LogSink
11320
+ body: LogSink,
11335
11321
  ): Request<LogSink>;
11336
11322
  }
11337
11323
  interface V2Resource {
@@ -11449,7 +11435,7 @@ declare namespace gapi.client {
11449
11435
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11450
11436
  uploadType?: string;
11451
11437
  },
11452
- body: CmekSettings
11438
+ body: CmekSettings,
11453
11439
  ): Request<CmekSettings>;
11454
11440
  /** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
11455
11441
  updateSettings(request: {
@@ -11511,7 +11497,7 @@ declare namespace gapi.client {
11511
11497
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11512
11498
  uploadType?: string;
11513
11499
  },
11514
- body: Settings
11500
+ body: Settings,
11515
11501
  ): Request<Settings>;
11516
11502
  }
11517
11503
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20250102",
3
+ "version": "0.0.20250124",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.logging
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -74,7 +74,7 @@ gapi.auth.authorize(
74
74
  } else {
75
75
  /* handle authorization error */
76
76
  }
77
- }
77
+ },
78
78
  );
79
79
  ```
80
80