@maxim_mazurok/gapi.client.monitoring-v3 0.0.20230203 → 0.0.20230212

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 +6 -1
  2. package/package.json +1 -1
  3. package/tests.ts +3 -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://monitoring.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20230203
12
+ // Revision: 20230212
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -522,6 +522,11 @@ declare namespace gapi.client {
522
522
  * is provided via headers field. The content_type field should be used instead.
523
523
  */
524
524
  contentType?: string;
525
+ /**
526
+ * A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1.
527
+ * content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
528
+ */
529
+ customContentType?: string;
525
530
  /**
526
531
  * The list of headers to send as part of the Uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value
527
532
  * being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v3",
3
- "version": "0.0.20230203",
3
+ "version": "0.0.20230212",
4
4
  "description": "TypeScript typings for Cloud Monitoring API v3",
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: 20230203
6
+ // Revision: 20230212
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -959,6 +959,7 @@ gapi.load('client', async () => {
959
959
  },
960
960
  body: "Test string",
961
961
  contentType: "Test string",
962
+ customContentType: "Test string",
962
963
  headers: {
963
964
  A: "Test string"
964
965
  },
@@ -1060,6 +1061,7 @@ gapi.load('client', async () => {
1060
1061
  },
1061
1062
  body: "Test string",
1062
1063
  contentType: "Test string",
1064
+ customContentType: "Test string",
1063
1065
  headers: {
1064
1066
  A: "Test string"
1065
1067
  },