@googleapis/trafficdirector 4.0.0 → 5.0.1

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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v5.0.0...trafficdirector-v5.0.1) (2025-06-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
9
+
10
+ ## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v4.1.0...trafficdirector-v5.0.0) (2025-05-29)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * upgrade to node 18
16
+
17
+ ### Features
18
+
19
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
20
+
21
+ ## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v4.0.0...trafficdirector-v4.1.0) (2025-05-05)
22
+
23
+
24
+ ### Features
25
+
26
+ * **trafficdirector:** update the API ([b7b124d](https://github.com/googleapis/google-api-nodejs-client/commit/b7b124dc378ac593ba2be08d290afa24bc361984))
27
+
3
28
  ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v3.1.0...trafficdirector-v4.0.0) (2024-05-02)
4
29
 
5
30
 
package/build/index.d.ts CHANGED
@@ -14,4 +14,4 @@ declare const auth: AuthPlus;
14
14
  export { auth };
15
15
  export { trafficdirector_v2 };
16
16
  export { trafficdirector_v3 };
17
- export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
17
+ export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
@@ -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;AAmChC,mGAnCA,uBAAkB,OAmCA;AAlC1B,6BAAwC;AAmChC,mGAnCA,uBAAkB,OAmCA;AAjCb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;IACtC,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAcF,SAAgB,eAAe,CAI7B,gBAI8B;IAE9B,OAAO,IAAA,0BAAM,EAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AAXD,0CAWC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
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;AAmChC,mGAnCA,uBAAkB,OAmCA;AAlC1B,6BAAwC;AAmChC,mGAnCA,uBAAkB,OAmCA;AAjCb,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,uBAAkB,CAAC,eAAe;IACtC,EAAE,EAAE,uBAAkB,CAAC,eAAe;CACvC,CAAC;AAcF,SAAgB,eAAe,CAI7B,gBAI8B;IAE9B,OAAO,IAAA,0BAAM,EAAI,iBAAiB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACxE,CAAC;AAXD,0CAWC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
package/build/v2.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace trafficdirector_v2 {
5
5
  export interface Options extends GlobalOptions {
@@ -661,8 +661,8 @@ export declare namespace trafficdirector_v2 {
661
661
  * @param callback - Optional callback that handles the response.
662
662
  * @returns A promise if used with async/await, or void if used with a callback.
663
663
  */
664
- client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): GaxiosPromise<Readable>;
665
- client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): GaxiosPromise<Schema$ClientStatusResponse>;
664
+ client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
665
+ client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
666
666
  client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
667
667
  client_status(params: Params$Resource$Discovery$Client_status, options: MethodOptions | BodyResponseCallback<Schema$ClientStatusResponse>, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
668
668
  client_status(params: Params$Resource$Discovery$Client_status, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
package/build/v3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace trafficdirector_v3 {
5
5
  export interface Options extends GlobalOptions {
@@ -681,7 +681,7 @@ export declare namespace trafficdirector_v3 {
681
681
  patch?: number | null;
682
682
  }
683
683
  /**
684
- * [#next-free-field: 7]
684
+ * [#next-free-field: 8]
685
685
  */
686
686
  export interface Schema$SocketAddress {
687
687
  /**
@@ -696,6 +696,10 @@ export declare namespace trafficdirector_v3 {
696
696
  * This is only valid if :ref:`resolver_name ` is specified below and the named resolver is capable of named port resolution.
697
697
  */
698
698
  namedPort?: string | null;
699
+ /**
700
+ * The Linux network namespace to bind the socket to. If this is set, Envoy will create the socket in the specified network namespace. Only supported on Linux. [#not-implemented-hide:]
701
+ */
702
+ networkNamespaceFilepath?: string | null;
699
703
  portValue?: number | null;
700
704
  protocol?: string | null;
701
705
  /**
@@ -881,8 +885,8 @@ export declare namespace trafficdirector_v3 {
881
885
  * @param callback - Optional callback that handles the response.
882
886
  * @returns A promise if used with async/await, or void if used with a callback.
883
887
  */
884
- client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): GaxiosPromise<Readable>;
885
- client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): GaxiosPromise<Schema$ClientStatusResponse>;
888
+ client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
889
+ client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
886
890
  client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
887
891
  client_status(params: Params$Resource$Discovery$Client_status, options: MethodOptions | BodyResponseCallback<Schema$ClientStatusResponse>, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
888
892
  client_status(params: Params$Resource$Discovery$Client_status, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
package/build/v3.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v3.js","sourceRoot":"","sources":["../v3.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,CAo8BlC;AAp8BD,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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,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,yCAAyC,CAAC;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;oBACd,UAAU,EAAE,EAAE;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;IApGY,qCAAkB,qBAoG9B,CAAA;AASH,CAAC,EAx8BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAw8BlC"}
package/index.ts CHANGED
@@ -57,7 +57,6 @@ export {
57
57
  APIRequestContext,
58
58
  GoogleConfigurable,
59
59
  StreamMethodOptions,
60
- GaxiosPromise,
61
60
  MethodOptions,
62
61
  BodyResponseCallback,
63
62
  } from 'googleapis-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/trafficdirector",
3
- "version": "4.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "trafficdirector",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^7.0.0"
31
+ "googleapis-common": "^8.0.2-rc.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
package/v2.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -698,11 +698,11 @@ export namespace trafficdirector_v2 {
698
698
  client_status(
699
699
  params: Params$Resource$Discovery$Client_status,
700
700
  options: StreamMethodOptions
701
- ): GaxiosPromise<Readable>;
701
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
702
702
  client_status(
703
703
  params?: Params$Resource$Discovery$Client_status,
704
704
  options?: MethodOptions
705
- ): GaxiosPromise<Schema$ClientStatusResponse>;
705
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
706
706
  client_status(
707
707
  params: Params$Resource$Discovery$Client_status,
708
708
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -737,8 +737,8 @@ export namespace trafficdirector_v2 {
737
737
  | BodyResponseCallback<Readable>
738
738
  ):
739
739
  | void
740
- | GaxiosPromise<Schema$ClientStatusResponse>
741
- | GaxiosPromise<Readable> {
740
+ | Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>
741
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
742
742
  let params = (paramsOrCallback ||
743
743
  {}) as Params$Resource$Discovery$Client_status;
744
744
  let options = (optionsOrCallback || {}) as MethodOptions;
package/v3.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -711,7 +711,7 @@ export namespace trafficdirector_v3 {
711
711
  patch?: number | null;
712
712
  }
713
713
  /**
714
- * [#next-free-field: 7]
714
+ * [#next-free-field: 8]
715
715
  */
716
716
  export interface Schema$SocketAddress {
717
717
  /**
@@ -726,6 +726,10 @@ export namespace trafficdirector_v3 {
726
726
  * This is only valid if :ref:`resolver_name ` is specified below and the named resolver is capable of named port resolution.
727
727
  */
728
728
  namedPort?: string | null;
729
+ /**
730
+ * The Linux network namespace to bind the socket to. If this is set, Envoy will create the socket in the specified network namespace. Only supported on Linux. [#not-implemented-hide:]
731
+ */
732
+ networkNamespaceFilepath?: string | null;
729
733
  portValue?: number | null;
730
734
  protocol?: string | null;
731
735
  /**
@@ -906,11 +910,11 @@ export namespace trafficdirector_v3 {
906
910
  client_status(
907
911
  params: Params$Resource$Discovery$Client_status,
908
912
  options: StreamMethodOptions
909
- ): GaxiosPromise<Readable>;
913
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
910
914
  client_status(
911
915
  params?: Params$Resource$Discovery$Client_status,
912
916
  options?: MethodOptions
913
- ): GaxiosPromise<Schema$ClientStatusResponse>;
917
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
914
918
  client_status(
915
919
  params: Params$Resource$Discovery$Client_status,
916
920
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -945,8 +949,8 @@ export namespace trafficdirector_v3 {
945
949
  | BodyResponseCallback<Readable>
946
950
  ):
947
951
  | void
948
- | GaxiosPromise<Schema$ClientStatusResponse>
949
- | GaxiosPromise<Readable> {
952
+ | Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>
953
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
950
954
  let params = (paramsOrCallback ||
951
955
  {}) as Params$Resource$Discovery$Client_status;
952
956
  let options = (optionsOrCallback || {}) as MethodOptions;