@googleapis/trafficdirector 0.2.0 → 1.0.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.3.3...trafficdirector-v1.0.0) (2022-10-28)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **build:** This release has breaking changes.
9
+
10
+ ### Features
11
+
12
+ * **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
13
+
14
+ ## [0.3.3](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.3.2...trafficdirector-v0.3.3) (2022-09-21)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **trafficdirector:** update the API ([eb9e763](https://github.com/googleapis/google-api-nodejs-client/commit/eb9e763c729a28442c8f5797c0519f34454beabf))
20
+
21
+ ## [0.3.2](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.3.1...trafficdirector-v0.3.2) (2022-08-19)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **trafficdirector:** update the API ([2926adf](https://github.com/googleapis/google-api-nodejs-client/commit/2926adfc111d76658d3be0c3bb7f9313608521ce))
27
+
28
+ ## [0.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.3.0...trafficdirector-v0.3.1) (2022-06-21)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **trafficdirector:** update the API ([150e03d](https://github.com/googleapis/google-api-nodejs-client/commit/150e03de01742954cd41bebdc6ec02210a247418))
34
+
35
+ ## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.2.0...trafficdirector-v0.3.0) (2021-09-14)
36
+
37
+
38
+ ### Features
39
+
40
+ * **auth:** adds support workload identity federation ([#2517](https://www.github.com/googleapis/google-api-nodejs-client/issues/2517)) ([a10707c](https://www.github.com/googleapis/google-api-nodejs-client/commit/a10707c477759e7c9ef6360a2fe800856fb600c1))
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **deps:** update dependency googleapis-common to v5 ([#2497](https://www.github.com/googleapis/google-api-nodejs-client/issues/2497)) ([fec087a](https://www.github.com/googleapis/google-api-nodejs-client/commit/fec087abcf3d994dd41c3ffa0a0c12b1f9f09dae))
46
+ * **trafficdirector:** update the API ([ebe707e](https://www.github.com/googleapis/google-api-nodejs-client/commit/ebe707edac53531587fdc6e92567b3cb2ea4db81))
47
+ * upgrade webpack from 4 to 5 ([#2524](https://www.github.com/googleapis/google-api-nodejs-client/issues/2524)) ([ecfd8bf](https://www.github.com/googleapis/google-api-nodejs-client/commit/ecfd8bfcd06e1beabff7ec9a8c4000222379eb8d))
48
+
3
49
  ## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.1.0...trafficdirector-v0.2.0) (2021-03-18)
4
50
 
5
51
 
package/README.md CHANGED
@@ -7,37 +7,18 @@
7
7
  ## Installation
8
8
 
9
9
  ```sh
10
- $ npm install googleapis
10
+ $ npm install @googleapis/trafficdirector
11
11
  ```
12
12
 
13
13
  ## Usage
14
14
  All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15
-
16
- ## Building a browser bundle
17
-
18
- This library can be used in a browser. To prepare a single file bundle, clone the
19
- [repository](https://github.com/googleapis/google-api-nodejs-client) and run
20
-
21
- ```sh
22
- $ cd src/apis/trafficdirector
23
- $ npm install
24
- $ npm run webpack
25
- ```
26
-
27
- The generated bundle will be written to `dist/trafficdirector.min.js`. Use it from your HTML file:
28
-
29
- ```html
30
- <script src="/path/to/trafficdirector.min.js"></script>
31
- <script>
32
- const { trafficdirector, auth } = Trafficdirector;
33
- </script>
34
- ```
15
+ Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/trafficdirector/classes/Trafficdirector.html).
35
16
 
36
17
  ## License
37
- This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE).
18
+ This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
38
19
 
39
20
  ## Contributing
40
- We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md).
21
+ We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
41
22
 
42
23
  ## Questions/problems?
43
24
  * Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
package/build/index.js CHANGED
@@ -12,19 +12,20 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AuthPlus = exports.trafficdirector_v2 = exports.auth = exports.trafficdirector = exports.VERSIONS = void 0;
15
16
  /*! THIS FILE IS AUTO-GENERATED */
16
17
  const googleapis_common_1 = require("googleapis-common");
17
18
  const v2_1 = require("./v2");
18
- exports.trafficdirector_v2 = v2_1.trafficdirector_v2;
19
+ Object.defineProperty(exports, "trafficdirector_v2", { enumerable: true, get: function () { return v2_1.trafficdirector_v2; } });
19
20
  exports.VERSIONS = {
20
21
  v2: v2_1.trafficdirector_v2.Trafficdirector,
21
22
  };
22
23
  function trafficdirector(versionOrOptions) {
23
- return googleapis_common_1.getAPI('trafficdirector', versionOrOptions, exports.VERSIONS, this);
24
+ return (0, googleapis_common_1.getAPI)('trafficdirector', versionOrOptions, exports.VERSIONS, this);
24
25
  }
25
26
  exports.trafficdirector = trafficdirector;
26
27
  const auth = new googleapis_common_1.AuthPlus();
27
28
  exports.auth = auth;
28
29
  var googleapis_common_2 = require("googleapis-common");
29
- exports.AuthPlus = googleapis_common_2.AuthPlus;
30
+ Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAwC;AAqBhC,6BArBA,uBAAkB,CAqBA;AAnBb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAQF,SAAgB,eAAe,CAE7B,gBAAmD;IAEnD,OAAO,0BAAM,CAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AALD,0CAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,uCAAA,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAwC;AAqBhC,mGArBA,uBAAkB,OAqBA;AAnBb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAQF,SAAgB,eAAe,CAE7B,gBAAmD;IAEnD,OAAO,IAAA,0BAAM,EAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AALD,0CAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
package/build/v2.d.ts CHANGED
@@ -287,7 +287,7 @@ export declare namespace trafficdirector_v2 {
287
287
  version?: Schema$BuildVersion;
288
288
  }
289
289
  /**
290
- * Google's `RE2 `_ regex engine. The regex string must adhere to the documented `syntax `_. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys `re2.max_program_size.error_level` and `re2.max_program_size.warn_level` can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. `re2.max_program_size.error_level` defaults to 100, and `re2.max_program_size.warn_level` has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram `re2.program_size`, which records the program size, and the counter `re2.exceeded_warn_level`, which is incremented each time the program size exceeds the warn level threshold.
290
+ * Google's `RE2 `_ regex engine. The regex string must adhere to the documented `syntax `_. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys ``re2.max_program_size.error_level`` and ``re2.max_program_size.warn_level`` can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. ``re2.max_program_size.error_level`` defaults to 100, and ``re2.max_program_size.warn_level`` has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram `re2.program_size`, which records the program size, and the counter `re2.exceeded_warn_level`, which is incremented each time the program size exceeds the warn level threshold.
291
291
  */
292
292
  export interface Schema$GoogleRE2 {
293
293
  /**
package/build/v2.js CHANGED
@@ -12,8 +12,8 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.trafficdirector_v2 = void 0;
15
16
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
- /* eslint-disable @typescript-eslint/class-name-casing */
17
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
18
18
  /* eslint-disable @typescript-eslint/no-empty-interface */
19
19
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -71,10 +71,10 @@ var trafficdirector_v2;
71
71
  context: this.context,
72
72
  };
73
73
  if (callback) {
74
- googleapis_common_1.createAPIRequest(parameters, callback);
74
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
75
75
  }
76
76
  else {
77
- return googleapis_common_1.createAPIRequest(parameters);
77
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
78
78
  }
79
79
  }
80
80
  }
package/build/v2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,kBAAkB,CAkyBlC;AAlyBD,WAAiB,kBAAkB;IAgEjC;;;;;;;;;;OAUG;IACH,MAAa,eAAe;QAI1B,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,CAAC;KACF;IAZY,kCAAe,kBAY3B,CAAA;IAgjBD,MAAa,kBAAkB;QAE7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AG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,6BAA6B,CAAC,CAAC,OAAO,CACpD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAA8B,UAAU,CAAC,CAAC;aAClE;QACH,CAAC;KACF;IAlJY,qCAAkB,qBAkJ9B,CAAA;AASH,CAAC,EAlyBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAkyBlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/trafficdirector",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "trafficdirector",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/googleapis/google-api-nodejs-client.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">=10.0.0"
21
+ "node": ">=12.0.0"
22
22
  },
23
23
  "scripts": {
24
24
  "fix": "gts fix",
@@ -28,15 +28,15 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^5.0.1"
31
+ "googleapis-common": "^6.0.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^2.0.0",
36
+ "gts": "^3.1.1",
37
37
  "null-loader": "^4.0.0",
38
- "ts-loader": "^8.0.0",
39
- "typescript": "~3.7.0",
38
+ "ts-loader": "^9.0.0",
39
+ "typescript": "~4.8.4",
40
40
  "webpack": "^5.0.0",
41
41
  "webpack-cli": "^4.0.0"
42
42
  }
package/v2.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  // limitations under the License.
13
13
 
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
- /* eslint-disable @typescript-eslint/class-name-casing */
16
15
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
16
  /* eslint-disable @typescript-eslint/no-empty-interface */
18
17
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -331,7 +330,7 @@ export namespace trafficdirector_v2 {
331
330
  version?: Schema$BuildVersion;
332
331
  }
333
332
  /**
334
- * Google's `RE2 `_ regex engine. The regex string must adhere to the documented `syntax `_. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys `re2.max_program_size.error_level` and `re2.max_program_size.warn_level` can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. `re2.max_program_size.error_level` defaults to 100, and `re2.max_program_size.warn_level` has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram `re2.program_size`, which records the program size, and the counter `re2.exceeded_warn_level`, which is incremented each time the program size exceeds the warn level threshold.
333
+ * Google's `RE2 `_ regex engine. The regex string must adhere to the documented `syntax `_. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys ``re2.max_program_size.error_level`` and ``re2.max_program_size.warn_level`` can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. ``re2.max_program_size.error_level`` defaults to 100, and ``re2.max_program_size.warn_level`` has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram `re2.program_size`, which records the program size, and the counter `re2.exceeded_warn_level`, which is incremented each time the program size exceeds the warn level threshold.
335
334
  */
336
335
  export interface Schema$GoogleRE2 {
337
336
  /**