@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230219 → 0.0.20230310

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 +14 -10
  2. package/package.json +1 -1
  3. package/tests.ts +2 -7
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=v1alpha
12
- // Revision: 20230219
12
+ // Revision: 20230310
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1118,7 +1118,10 @@ declare namespace gapi.client {
1118
1118
  deleteTime?: string;
1119
1119
  /** group is the group, as seen by the kubernetes cluster. */
1120
1120
  group?: string;
1121
- /** The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` */
1121
+ /**
1122
+ * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
1123
+ * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
1124
+ */
1122
1125
  name?: string;
1123
1126
  /** Required. Role to bind to the principal */
1124
1127
  role?: Role;
@@ -2837,7 +2840,10 @@ declare namespace gapi.client {
2837
2840
  fields?: string;
2838
2841
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2839
2842
  key?: string;
2840
- /** The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` */
2843
+ /**
2844
+ * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
2845
+ * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
2846
+ */
2841
2847
  name: string;
2842
2848
  /** OAuth 2.0 token for the current user. */
2843
2849
  oauth_token?: string;
@@ -2867,7 +2873,10 @@ declare namespace gapi.client {
2867
2873
  fields?: string;
2868
2874
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2869
2875
  key?: string;
2870
- /** The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` */
2876
+ /**
2877
+ * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
2878
+ * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
2879
+ */
2871
2880
  name: string;
2872
2881
  /** OAuth 2.0 token for the current user. */
2873
2882
  oauth_token?: string;
@@ -3219,12 +3228,7 @@ declare namespace gapi.client {
3219
3228
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3220
3229
  uploadType?: string;
3221
3230
  }): Request<Operation>;
3222
- /**
3223
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
3224
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
3225
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
3226
- * ensure the name binding is the parent resource, without the operations collection id.
3227
- */
3231
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
3228
3232
  list(request?: {
3229
3233
  /** V1 error format. */
3230
3234
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20230219",
3
+ "version": "0.0.20230310",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230219
6
+ // Revision: 20230310
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1751,12 +1751,7 @@ gapi.load('client', async () => {
1751
1751
  await gapi.client.gkehub.projects.locations.operations.get({
1752
1752
  name: "Test string",
1753
1753
  });
1754
- /**
1755
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
1756
- * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1757
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1758
- * ensure the name binding is the parent resource, without the operations collection id.
1759
- */
1754
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1760
1755
  await gapi.client.gkehub.projects.locations.operations.list({
1761
1756
  filter: "Test string",
1762
1757
  name: "Test string",