@googleapis/trafficdirector 1.0.0 → 1.1.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 +7 -0
- package/build/v2.d.ts +0 -47
- package/build/v2.js.map +1 -1
- package/package.json +2 -2
- package/v2.ts +0 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v1.0.0...trafficdirector-v1.1.0) (2023-08-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **trafficdirector:** update the API ([d07ac95](https://github.com/googleapis/google-api-nodejs-client/commit/d07ac9564187261e66d864ebb42822efd3b03b9f))
|
|
9
|
+
|
|
3
10
|
## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v0.3.3...trafficdirector-v1.0.0) (2022-10-28)
|
|
4
11
|
|
|
5
12
|
|
package/build/v2.d.ts
CHANGED
|
@@ -655,53 +655,6 @@ export declare namespace trafficdirector_v2 {
|
|
|
655
655
|
context: APIRequestContext;
|
|
656
656
|
constructor(context: APIRequestContext);
|
|
657
657
|
/**
|
|
658
|
-
* @example
|
|
659
|
-
* ```js
|
|
660
|
-
* // Before running the sample:
|
|
661
|
-
* // - Enable the API at:
|
|
662
|
-
* // https://console.developers.google.com/apis/api/trafficdirector.googleapis.com
|
|
663
|
-
* // - Login into gcloud by running:
|
|
664
|
-
* // `$ gcloud auth application-default login`
|
|
665
|
-
* // - Install the npm module by running:
|
|
666
|
-
* // `$ npm install googleapis`
|
|
667
|
-
*
|
|
668
|
-
* const {google} = require('googleapis');
|
|
669
|
-
* const trafficdirector = google.trafficdirector('v2');
|
|
670
|
-
*
|
|
671
|
-
* async function main() {
|
|
672
|
-
* const auth = new google.auth.GoogleAuth({
|
|
673
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
674
|
-
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
675
|
-
* });
|
|
676
|
-
*
|
|
677
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
678
|
-
* const authClient = await auth.getClient();
|
|
679
|
-
* google.options({auth: authClient});
|
|
680
|
-
*
|
|
681
|
-
* // Do the magic
|
|
682
|
-
* const res = await trafficdirector.discovery.client_status({
|
|
683
|
-
* // Request body metadata
|
|
684
|
-
* requestBody: {
|
|
685
|
-
* // request body parameters
|
|
686
|
-
* // {
|
|
687
|
-
* // "nodeMatchers": []
|
|
688
|
-
* // }
|
|
689
|
-
* },
|
|
690
|
-
* });
|
|
691
|
-
* console.log(res.data);
|
|
692
|
-
*
|
|
693
|
-
* // Example response
|
|
694
|
-
* // {
|
|
695
|
-
* // "config": []
|
|
696
|
-
* // }
|
|
697
|
-
* }
|
|
698
|
-
*
|
|
699
|
-
* main().catch(e => {
|
|
700
|
-
* console.error(e);
|
|
701
|
-
* throw e;
|
|
702
|
-
* });
|
|
703
|
-
*
|
|
704
|
-
* ```
|
|
705
658
|
*
|
|
706
659
|
* @param params - Parameters for request
|
|
707
660
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
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,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names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C;YAC/D,MAAM,UAAU,GAAG;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;IAnGY,qCAAkB,qBAmG9B,CAAA;AASH,CAAC,EAnvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAmvBlC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/trafficdirector",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "trafficdirector",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"ts-loader": "^9.0.0",
|
|
39
39
|
"typescript": "~4.8.4",
|
|
40
40
|
"webpack": "^5.0.0",
|
|
41
|
-
"webpack-cli": "^
|
|
41
|
+
"webpack-cli": "^5.0.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/v2.ts
CHANGED
|
@@ -689,53 +689,6 @@ export namespace trafficdirector_v2 {
|
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
/**
|
|
692
|
-
* @example
|
|
693
|
-
* ```js
|
|
694
|
-
* // Before running the sample:
|
|
695
|
-
* // - Enable the API at:
|
|
696
|
-
* // https://console.developers.google.com/apis/api/trafficdirector.googleapis.com
|
|
697
|
-
* // - Login into gcloud by running:
|
|
698
|
-
* // `$ gcloud auth application-default login`
|
|
699
|
-
* // - Install the npm module by running:
|
|
700
|
-
* // `$ npm install googleapis`
|
|
701
|
-
*
|
|
702
|
-
* const {google} = require('googleapis');
|
|
703
|
-
* const trafficdirector = google.trafficdirector('v2');
|
|
704
|
-
*
|
|
705
|
-
* async function main() {
|
|
706
|
-
* const auth = new google.auth.GoogleAuth({
|
|
707
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
708
|
-
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
709
|
-
* });
|
|
710
|
-
*
|
|
711
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
712
|
-
* const authClient = await auth.getClient();
|
|
713
|
-
* google.options({auth: authClient});
|
|
714
|
-
*
|
|
715
|
-
* // Do the magic
|
|
716
|
-
* const res = await trafficdirector.discovery.client_status({
|
|
717
|
-
* // Request body metadata
|
|
718
|
-
* requestBody: {
|
|
719
|
-
* // request body parameters
|
|
720
|
-
* // {
|
|
721
|
-
* // "nodeMatchers": []
|
|
722
|
-
* // }
|
|
723
|
-
* },
|
|
724
|
-
* });
|
|
725
|
-
* console.log(res.data);
|
|
726
|
-
*
|
|
727
|
-
* // Example response
|
|
728
|
-
* // {
|
|
729
|
-
* // "config": []
|
|
730
|
-
* // }
|
|
731
|
-
* }
|
|
732
|
-
*
|
|
733
|
-
* main().catch(e => {
|
|
734
|
-
* console.error(e);
|
|
735
|
-
* throw e;
|
|
736
|
-
* });
|
|
737
|
-
*
|
|
738
|
-
* ```
|
|
739
692
|
*
|
|
740
693
|
* @param params - Parameters for request
|
|
741
694
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|