@maxim_mazurok/gapi.client.gkehub-v1 0.0.20250116 → 0.0.20250127

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 +26 -26
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250116
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load GKE Hub API v1 */
18
18
  function load(
19
- urlOrObject: 'https://gkehub.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://gkehub.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'gkehub', version: 'v1'): Promise<void>;
@@ -1472,7 +1472,7 @@ declare namespace gapi.client {
1472
1472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1473
1473
  uploadType?: string;
1474
1474
  },
1475
- body: Feature
1475
+ body: Feature,
1476
1476
  ): Request<Operation>;
1477
1477
  /** Removes a Feature. */
1478
1478
  delete(request?: {
@@ -1664,7 +1664,7 @@ declare namespace gapi.client {
1664
1664
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1665
1665
  uploadType?: string;
1666
1666
  },
1667
- body: Feature
1667
+ body: Feature,
1668
1668
  ): Request<Operation>;
1669
1669
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1670
1670
  setIamPolicy(
@@ -1694,7 +1694,7 @@ declare namespace gapi.client {
1694
1694
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1695
1695
  uploadType?: string;
1696
1696
  },
1697
- body: SetIamPolicyRequest
1697
+ body: SetIamPolicyRequest,
1698
1698
  ): Request<Policy>;
1699
1699
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1700
1700
  testIamPermissions(
@@ -1724,7 +1724,7 @@ declare namespace gapi.client {
1724
1724
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1725
1725
  uploadType?: string;
1726
1726
  },
1727
- body: TestIamPermissionsRequest
1727
+ body: TestIamPermissionsRequest,
1728
1728
  ): Request<TestIamPermissionsResponse>;
1729
1729
  }
1730
1730
  interface FleetsResource {
@@ -1784,7 +1784,7 @@ declare namespace gapi.client {
1784
1784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1785
1785
  uploadType?: string;
1786
1786
  },
1787
- body: Fleet
1787
+ body: Fleet,
1788
1788
  ): Request<Operation>;
1789
1789
  /** Removes a Fleet. There must be no memberships remaining in the Fleet. */
1790
1790
  delete(request?: {
@@ -1931,7 +1931,7 @@ declare namespace gapi.client {
1931
1931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1932
1932
  uploadType?: string;
1933
1933
  },
1934
- body: Fleet
1934
+ body: Fleet,
1935
1935
  ): Request<Operation>;
1936
1936
  }
1937
1937
  interface BindingsResource {
@@ -1995,7 +1995,7 @@ declare namespace gapi.client {
1995
1995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1996
1996
  uploadType?: string;
1997
1997
  },
1998
- body: MembershipBinding
1998
+ body: MembershipBinding,
1999
1999
  ): Request<Operation>;
2000
2000
  /** Deletes a MembershipBinding. */
2001
2001
  delete(request?: {
@@ -2144,7 +2144,7 @@ declare namespace gapi.client {
2144
2144
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2145
2145
  uploadType?: string;
2146
2146
  },
2147
- body: MembershipBinding
2147
+ body: MembershipBinding,
2148
2148
  ): Request<Operation>;
2149
2149
  }
2150
2150
  interface RbacrolebindingsResource {
@@ -2208,7 +2208,7 @@ declare namespace gapi.client {
2208
2208
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2209
2209
  uploadType?: string;
2210
2210
  },
2211
- body: RBACRoleBinding
2211
+ body: RBACRoleBinding,
2212
2212
  ): Request<Operation>;
2213
2213
  /** Deletes a Membership RBACRoleBinding. */
2214
2214
  delete(request?: {
@@ -2297,7 +2297,7 @@ declare namespace gapi.client {
2297
2297
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2298
2298
  uploadType?: string;
2299
2299
  },
2300
- body: RBACRoleBinding
2300
+ body: RBACRoleBinding,
2301
2301
  ): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
2302
2302
  /** Returns the details of a Membership RBACRoleBinding. */
2303
2303
  get(request?: {
@@ -2417,7 +2417,7 @@ declare namespace gapi.client {
2417
2417
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2418
2418
  uploadType?: string;
2419
2419
  },
2420
- body: RBACRoleBinding
2420
+ body: RBACRoleBinding,
2421
2421
  ): Request<Operation>;
2422
2422
  }
2423
2423
  interface MembershipsResource {
@@ -2485,7 +2485,7 @@ declare namespace gapi.client {
2485
2485
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2486
2486
  uploadType?: string;
2487
2487
  },
2488
- body: Membership
2488
+ body: Membership,
2489
2489
  ): Request<Operation>;
2490
2490
  /** Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster. */
2491
2491
  delete(request?: {
@@ -2712,7 +2712,7 @@ declare namespace gapi.client {
2712
2712
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2713
2713
  uploadType?: string;
2714
2714
  },
2715
- body: Membership
2715
+ body: Membership,
2716
2716
  ): Request<Operation>;
2717
2717
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2718
2718
  setIamPolicy(
@@ -2742,7 +2742,7 @@ declare namespace gapi.client {
2742
2742
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2743
2743
  uploadType?: string;
2744
2744
  },
2745
- body: SetIamPolicyRequest
2745
+ body: SetIamPolicyRequest,
2746
2746
  ): Request<Policy>;
2747
2747
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2748
2748
  testIamPermissions(
@@ -2772,7 +2772,7 @@ declare namespace gapi.client {
2772
2772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2773
2773
  uploadType?: string;
2774
2774
  },
2775
- body: TestIamPermissionsRequest
2775
+ body: TestIamPermissionsRequest,
2776
2776
  ): Request<TestIamPermissionsResponse>;
2777
2777
  bindings: BindingsResource;
2778
2778
  rbacrolebindings: RbacrolebindingsResource;
@@ -2834,7 +2834,7 @@ declare namespace gapi.client {
2834
2834
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2835
2835
  uploadType?: string;
2836
2836
  },
2837
- body: CancelOperationRequest
2837
+ body: CancelOperationRequest,
2838
2838
  ): Request<{}>;
2839
2839
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2840
2840
  delete(request?: {
@@ -2985,7 +2985,7 @@ declare namespace gapi.client {
2985
2985
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2986
2986
  uploadType?: string;
2987
2987
  },
2988
- body: Namespace
2988
+ body: Namespace,
2989
2989
  ): Request<Operation>;
2990
2990
  /** Deletes a fleet namespace. */
2991
2991
  delete(request?: {
@@ -3132,7 +3132,7 @@ declare namespace gapi.client {
3132
3132
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3133
3133
  uploadType?: string;
3134
3134
  },
3135
- body: Namespace
3135
+ body: Namespace,
3136
3136
  ): Request<Operation>;
3137
3137
  }
3138
3138
  interface RbacrolebindingsResource {
@@ -3196,7 +3196,7 @@ declare namespace gapi.client {
3196
3196
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3197
3197
  uploadType?: string;
3198
3198
  },
3199
- body: RBACRoleBinding
3199
+ body: RBACRoleBinding,
3200
3200
  ): Request<Operation>;
3201
3201
  /** Deletes a Scope RBACRoleBinding. */
3202
3202
  delete(request?: {
@@ -3343,7 +3343,7 @@ declare namespace gapi.client {
3343
3343
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3344
3344
  uploadType?: string;
3345
3345
  },
3346
- body: RBACRoleBinding
3346
+ body: RBACRoleBinding,
3347
3347
  ): Request<Operation>;
3348
3348
  }
3349
3349
  interface ScopesResource {
@@ -3407,7 +3407,7 @@ declare namespace gapi.client {
3407
3407
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3408
3408
  uploadType?: string;
3409
3409
  },
3410
- body: Scope
3410
+ body: Scope,
3411
3411
  ): Request<Operation>;
3412
3412
  /** Deletes a Scope. */
3413
3413
  delete(request?: {
@@ -3647,7 +3647,7 @@ declare namespace gapi.client {
3647
3647
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3648
3648
  uploadType?: string;
3649
3649
  },
3650
- body: Scope
3650
+ body: Scope,
3651
3651
  ): Request<Operation>;
3652
3652
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3653
3653
  setIamPolicy(
@@ -3677,7 +3677,7 @@ declare namespace gapi.client {
3677
3677
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3678
3678
  uploadType?: string;
3679
3679
  },
3680
- body: SetIamPolicyRequest
3680
+ body: SetIamPolicyRequest,
3681
3681
  ): Request<Policy>;
3682
3682
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
3683
3683
  testIamPermissions(
@@ -3707,7 +3707,7 @@ declare namespace gapi.client {
3707
3707
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3708
3708
  uploadType?: string;
3709
3709
  },
3710
- body: TestIamPermissionsRequest
3710
+ body: TestIamPermissionsRequest,
3711
3711
  ): Request<TestIamPermissionsResponse>;
3712
3712
  namespaces: NamespacesResource;
3713
3713
  rbacrolebindings: RbacrolebindingsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1",
3
- "version": "0.0.20250116",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for GKE Hub API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -29,7 +29,7 @@ gapi.client.load(
29
29
  () => {
30
30
  // now we can use:
31
31
  // gapi.client.gkehub
32
- }
32
+ },
33
33
  );
34
34
  ```
35
35
 
@@ -61,7 +61,7 @@ gapi.auth.authorize(
61
61
  } else {
62
62
  /* handle authorization error */
63
63
  }
64
- }
64
+ },
65
65
  );
66
66
  ```
67
67