@maxim_mazurok/gapi.client.logging-v2 0.0.20230905 → 0.0.20230924
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 +3 -3
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +3 -2
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: 20230924
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -4224,8 +4224,8 @@ declare namespace gapi.client {
|
|
|
4224
4224
|
body: TailLogEntriesRequest): Request<TailLogEntriesResponse>;
|
|
4225
4225
|
/**
|
|
4226
4226
|
* 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
|
|
4227
|
-
* logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different
|
|
4228
|
-
* folders)
|
|
4227
|
+
* 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
|
|
4228
|
+
* folders), where the resource name for a log entry is determined from its logName field.
|
|
4229
4229
|
*/
|
|
4230
4230
|
write(request: {
|
|
4231
4231
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -104,7 +104,7 @@ Streaming read of log entries as they are received. Until the stream is terminat
|
|
|
104
104
|
await gapi.client.logging.entries.tail({ });
|
|
105
105
|
|
|
106
106
|
/*
|
|
107
|
-
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
|
|
107
|
+
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.
|
|
108
108
|
*/
|
|
109
109
|
await gapi.client.logging.entries.write({ });
|
|
110
110
|
|
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:
|
|
6
|
+
// Revision: 20230924
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -513,7 +513,8 @@ gapi.load('client', async () => {
|
|
|
513
513
|
});
|
|
514
514
|
/**
|
|
515
515
|
* 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
|
|
516
|
-
* logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different
|
|
516
|
+
* 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
|
|
517
|
+
* folders), where the resource name for a log entry is determined from its logName field.
|
|
517
518
|
*/
|
|
518
519
|
await gapi.client.logging.entries.write({
|
|
519
520
|
}, {
|