Skip to content

Commit a10707c

Browse files
feat(auth): adds support workload identity federation (googleapis#2517)
1 parent 5646a65 commit a10707c

File tree

500 files changed

+819
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

500 files changed

+819
-202
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"system-test": "mocha build/system-test",
2828
"samples-test": "cd samples && npm install && npm link ../ && pwd && npm test",
2929
"lint": "gts check",
30-
"compile": "tsc -p .",
30+
"compile": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsc -p .",
3131
"build-tools": "tsc -p tsconfig.tools.json",
3232
"clean": "gts clean",
3333
"fix": "gts fix",
@@ -53,8 +53,8 @@
5353
"client library"
5454
],
5555
"dependencies": {
56-
"google-auth-library": "^6.0.0",
57-
"googleapis-common": "^5.0.0"
56+
"google-auth-library": "^7.0.2",
57+
"googleapis-common": "^5.0.1"
5858
},
5959
"devDependencies": {
6060
"@compodoc/compodoc": "^1.1.10",
@@ -76,6 +76,7 @@
7676
"@types/yargs-parser": "^20.0.0",
7777
"c8": "^7.0.0",
7878
"codecov": "^3.4.0",
79+
"cross-env": "^7.0.3",
7980
"execa": "^5.0.0",
8081
"gaxios": "^4.0.0",
8182
"gts": "^2.0.0",

src/apis/abusiveexperiencereport/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/abusiveexperiencereport/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace abusiveexperiencereport_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/acceleratedmobilepageurl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/acceleratedmobilepageurl/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace acceleratedmobilepageurl_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/accessapproval/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/accessapproval/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace accessapproval_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/accesscontextmanager/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/accesscontextmanager/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace accesscontextmanager_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/accesscontextmanager/v1beta.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace accesscontextmanager_v1beta {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adexchangebuyer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/adexchangebuyer/v1.2.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_2 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adexchangebuyer/v1.3.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_3 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adexchangebuyer/v1.4.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_4 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adexchangebuyer2/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/adexchangebuyer2/v2beta1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adexchangebuyer2_v2beta1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adexperiencereport/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/adexperiencereport/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adexperiencereport_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/admin/datatransfer_v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace admin_datatransfer_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/admin/directory_v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace admin_directory_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/admin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/admin/reports_v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace admin_reports_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/admob/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/admob/v1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace admob_v1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/admob/v1beta.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace admob_v1beta {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adsense/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/adsense/v1.4.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adsense_v1_4 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

src/apis/adsensehost/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^5.0.0"
31+
"googleapis-common": "^5.0.1"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

src/apis/adsensehost/v4.1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
JWT,
2424
Compute,
2525
UserRefreshClient,
26+
BaseExternalAccountClient,
2627
GaxiosPromise,
2728
GoogleConfigurable,
2829
createAPIRequest,
@@ -50,6 +51,7 @@ export namespace adsensehost_v4_1 {
5051
| JWT
5152
| Compute
5253
| UserRefreshClient
54+
| BaseExternalAccountClient
5355
| GoogleAuth;
5456

5557
/**

0 commit comments

Comments
 (0)