@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230728 → 0.0.20230814

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 +7 -7
  2. package/package.json +2 -2
  3. package/tests.ts +5 -3
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://gkehub.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230728
12
+ // Revision: 20230814
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -776,6 +776,9 @@ declare namespace gapi.client {
776
776
  /** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
777
777
  tenant?:
778
778
  string;
779
+ /** Optional. Claim in the AzureAD ID Token that holds the user details. */
780
+ userClaim?:
781
+ string;
779
782
  }
780
783
  interface IdentityServiceGoogleConfig {
781
784
  /** Disable automatic configuration of Google Plugin on supported platforms. */
@@ -1053,9 +1056,6 @@ declare namespace gapi.client {
1053
1056
  /** Output only. When the membership binding was deleted. */
1054
1057
  deleteTime?:
1055
1058
  string;
1056
- /** Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet. */
1057
- fleet?:
1058
- boolean;
1059
1059
  /** Optional. Labels for this MembershipBinding. */
1060
1060
  labels?:
1061
1061
  { [P in string]: string };
@@ -1280,9 +1280,9 @@ declare namespace gapi.client {
1280
1280
  name?:
1281
1281
  string;
1282
1282
  /**
1283
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
1284
- * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
1285
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1283
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
1284
+ * method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
1285
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1286
1286
  */
1287
1287
  response?:
1288
1288
  { [P in string]: any };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20230728",
3
+ "version": "0.0.20230814",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230728
6
+ // Revision: 20230814
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -124,6 +124,7 @@ gapi.load('client', async () => {
124
124
  encryptedClientSecret: "Test string",
125
125
  kubectlRedirectUri: "Test string",
126
126
  tenant: "Test string",
127
+ userClaim: "Test string",
127
128
  },
128
129
  googleConfig: {
129
130
  disable: true,
@@ -319,6 +320,7 @@ gapi.load('client', async () => {
319
320
  encryptedClientSecret: "Test string",
320
321
  kubectlRedirectUri: "Test string",
321
322
  tenant: "Test string",
323
+ userClaim: "Test string",
322
324
  },
323
325
  googleConfig: {
324
326
  disable: true,
@@ -556,6 +558,7 @@ gapi.load('client', async () => {
556
558
  encryptedClientSecret: "Test string",
557
559
  kubectlRedirectUri: "Test string",
558
560
  tenant: "Test string",
561
+ userClaim: "Test string",
559
562
  },
560
563
  googleConfig: {
561
564
  disable: true,
@@ -751,6 +754,7 @@ gapi.load('client', async () => {
751
754
  encryptedClientSecret: "Test string",
752
755
  kubectlRedirectUri: "Test string",
753
756
  tenant: "Test string",
757
+ userClaim: "Test string",
754
758
  },
755
759
  googleConfig: {
756
760
  disable: true,
@@ -1251,7 +1255,6 @@ gapi.load('client', async () => {
1251
1255
  }, {
1252
1256
  createTime: "Test string",
1253
1257
  deleteTime: "Test string",
1254
- fleet: true,
1255
1258
  labels: {
1256
1259
  A: "Test string"
1257
1260
  },
@@ -1285,7 +1288,6 @@ gapi.load('client', async () => {
1285
1288
  }, {
1286
1289
  createTime: "Test string",
1287
1290
  deleteTime: "Test string",
1288
- fleet: true,
1289
1291
  labels: {
1290
1292
  A: "Test string"
1291
1293
  },