@maxim_mazurok/gapi.client.logging-v2 0.0.20230928 → 0.0.20231013

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 +53 -37
  2. package/package.json +1 -1
  3. package/tests.ts +6 -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: 20230928
12
+ // Revision: 20231013
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -565,6 +565,13 @@ declare namespace gapi.client {
565
565
  string;
566
566
  }
567
567
  interface LogEntry {
568
+ /**
569
+ * Output only. The Cloud Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Cloud Error Reporting sets the values for this field
570
+ * during error group creation.For more information, see View error details( http://cloud/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log
571
+ * routing (https://cloud.google.com/logging/docs/routing/overview)
572
+ */
573
+ errorGroups?:
574
+ LogErrorGroup[];
568
575
  /** Optional. Information about the HTTP request associated with this log entry, if applicable. */
569
576
  httpRequest?:
570
577
  HttpRequest;
@@ -697,6 +704,15 @@ declare namespace gapi.client {
697
704
  line?:
698
705
  string;
699
706
  }
707
+ interface LogErrorGroup {
708
+ /**
709
+ * The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /projects//errors/. Example: COShysOX0r_51QE The id is derived from
710
+ * key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice
711
+ * (https://cloud.google.com/terms/cloud-privacy-notice).
712
+ */
713
+ id?:
714
+ string;
715
+ }
700
716
  interface LogExclusion {
701
717
  /** Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. */
702
718
  createTime?:
@@ -3632,8 +3648,8 @@ declare namespace gapi.client {
3632
3648
  callback?:
3633
3649
  string;
3634
3650
  /**
3635
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3636
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3651
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
3652
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
3637
3653
  */
3638
3654
  customWriterIdentity?:
3639
3655
  string;
@@ -3699,8 +3715,8 @@ declare namespace gapi.client {
3699
3715
  callback?:
3700
3716
  string;
3701
3717
  /**
3702
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3703
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3718
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
3719
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
3704
3720
  */
3705
3721
  customWriterIdentity?:
3706
3722
  string;
@@ -3768,8 +3784,8 @@ declare namespace gapi.client {
3768
3784
  callback?:
3769
3785
  string;
3770
3786
  /**
3771
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3772
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3787
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
3788
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
3773
3789
  */
3774
3790
  customWriterIdentity?:
3775
3791
  string;
@@ -3835,8 +3851,8 @@ declare namespace gapi.client {
3835
3851
  callback?:
3836
3852
  string;
3837
3853
  /**
3838
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3839
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3854
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
3855
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
3840
3856
  */
3841
3857
  customWriterIdentity?:
3842
3858
  string;
@@ -6884,8 +6900,8 @@ declare namespace gapi.client {
6884
6900
  callback?:
6885
6901
  string;
6886
6902
  /**
6887
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6888
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6903
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
6904
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
6889
6905
  */
6890
6906
  customWriterIdentity?:
6891
6907
  string;
@@ -6951,8 +6967,8 @@ declare namespace gapi.client {
6951
6967
  callback?:
6952
6968
  string;
6953
6969
  /**
6954
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6955
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6970
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
6971
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
6956
6972
  */
6957
6973
  customWriterIdentity?:
6958
6974
  string;
@@ -7020,8 +7036,8 @@ declare namespace gapi.client {
7020
7036
  callback?:
7021
7037
  string;
7022
7038
  /**
7023
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
7024
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
7039
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
7040
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
7025
7041
  */
7026
7042
  customWriterIdentity?:
7027
7043
  string;
@@ -7087,8 +7103,8 @@ declare namespace gapi.client {
7087
7103
  callback?:
7088
7104
  string;
7089
7105
  /**
7090
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
7091
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
7106
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
7107
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
7092
7108
  */
7093
7109
  customWriterIdentity?:
7094
7110
  string;
@@ -11228,8 +11244,8 @@ declare namespace gapi.client {
11228
11244
  callback?:
11229
11245
  string;
11230
11246
  /**
11231
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11232
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11247
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
11248
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
11233
11249
  */
11234
11250
  customWriterIdentity?:
11235
11251
  string;
@@ -11295,8 +11311,8 @@ declare namespace gapi.client {
11295
11311
  callback?:
11296
11312
  string;
11297
11313
  /**
11298
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11299
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11314
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
11315
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
11300
11316
  */
11301
11317
  customWriterIdentity?:
11302
11318
  string;
@@ -11364,8 +11380,8 @@ declare namespace gapi.client {
11364
11380
  callback?:
11365
11381
  string;
11366
11382
  /**
11367
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11368
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11383
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
11384
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
11369
11385
  */
11370
11386
  customWriterIdentity?:
11371
11387
  string;
@@ -11431,8 +11447,8 @@ declare namespace gapi.client {
11431
11447
  callback?:
11432
11448
  string;
11433
11449
  /**
11434
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11435
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11450
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
11451
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
11436
11452
  */
11437
11453
  customWriterIdentity?:
11438
11454
  string;
@@ -14349,8 +14365,8 @@ declare namespace gapi.client {
14349
14365
  callback?:
14350
14366
  string;
14351
14367
  /**
14352
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14353
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14368
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
14369
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
14354
14370
  */
14355
14371
  customWriterIdentity?:
14356
14372
  string;
@@ -14416,8 +14432,8 @@ declare namespace gapi.client {
14416
14432
  callback?:
14417
14433
  string;
14418
14434
  /**
14419
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14420
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14435
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
14436
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
14421
14437
  */
14422
14438
  customWriterIdentity?:
14423
14439
  string;
@@ -14485,8 +14501,8 @@ declare namespace gapi.client {
14485
14501
  callback?:
14486
14502
  string;
14487
14503
  /**
14488
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14489
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14504
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
14505
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
14490
14506
  */
14491
14507
  customWriterIdentity?:
14492
14508
  string;
@@ -14552,8 +14568,8 @@ declare namespace gapi.client {
14552
14568
  callback?:
14553
14569
  string;
14554
14570
  /**
14555
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14556
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14571
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
14572
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
14557
14573
  */
14558
14574
  customWriterIdentity?:
14559
14575
  string;
@@ -14990,8 +15006,8 @@ declare namespace gapi.client {
14990
15006
  callback?:
14991
15007
  string;
14992
15008
  /**
14993
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14994
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
15009
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
15010
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
14995
15011
  */
14996
15012
  customWriterIdentity?:
14997
15013
  string;
@@ -15057,8 +15073,8 @@ declare namespace gapi.client {
15057
15073
  callback?:
15058
15074
  string;
15059
15075
  /**
15060
- * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
15061
- * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
15076
+ * Optional. A service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified if
15077
+ * you are routing logs to a destination outside this sink's project. If not specified, a Logging service account will automatically be generated.
15062
15078
  */
15063
15079
  customWriterIdentity?:
15064
15080
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20230928",
3
+ "version": "0.0.20231013",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230928
6
+ // Revision: 20231013
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -521,6 +521,11 @@ gapi.load('client', async () => {
521
521
  dryRun: true,
522
522
  entries: [
523
523
  {
524
+ errorGroups: [
525
+ {
526
+ id: "Test string",
527
+ }
528
+ ],
524
529
  httpRequest: {
525
530
  cacheFillBytes: "Test string",
526
531
  cacheHit: true,