@maxim_mazurok/gapi.client.logging-v2 0.0.20231006 → 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 +17 -1
  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: 20231006
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?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20231006",
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: 20231006
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,