@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20250113 → 0.0.20250122

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 +27 -43
  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=v1alpha
12
- // Revision: 20250113
12
+ // Revision: 20250122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load GKE Hub API v1alpha */
18
18
  function load(
19
- urlOrObject: 'https://gkehub.googleapis.com/$discovery/rest?version=v1alpha'
19
+ urlOrObject: 'https://gkehub.googleapis.com/$discovery/rest?version=v1alpha',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'gkehub', version: 'v1alpha'): Promise<void>;
@@ -24,18 +24,6 @@ declare namespace gapi.client {
24
24
  function load(name: 'gkehub', version: 'v1alpha', callback: () => any): void;
25
25
 
26
26
  namespace gkehub {
27
- interface AnthosObservabilityFeatureSpec {
28
- /** Default membership spec for unconfigured memberships */
29
- defaultMembershipSpec?: AnthosObservabilityMembershipSpec;
30
- }
31
- interface AnthosObservabilityMembershipSpec {
32
- /** Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics */
33
- doNotOptimizeMetrics?: boolean;
34
- /** Enable collecting and reporting metrics and logs from user apps. */
35
- enableStackdriverOnApplications?: boolean;
36
- /** the version of stackdriver operator used by this feature */
37
- version?: string;
38
- }
39
27
  interface AppDevExperienceFeatureSpec {}
40
28
  interface AppDevExperienceFeatureState {
41
29
  /** Status of subcomponent that detects configured Service Mesh resources. */
@@ -197,8 +185,6 @@ declare namespace gapi.client {
197
185
  updateTime?: string;
198
186
  }
199
187
  interface CommonFeatureSpec {
200
- /** Anthos Observability spec */
201
- anthosobservability?: AnthosObservabilityFeatureSpec;
202
188
  /** Appdevexperience specific spec. */
203
189
  appdevexperience?: any;
204
190
  /** Cloud Audit Logging-specific spec. */
@@ -1068,8 +1054,6 @@ declare namespace gapi.client {
1068
1054
  onPremCluster?: OnPremCluster;
1069
1055
  }
1070
1056
  interface MembershipFeatureSpec {
1071
- /** Anthos Observability-specific spec */
1072
- anthosobservability?: AnthosObservabilityMembershipSpec;
1073
1057
  /** Cloud Build-specific spec */
1074
1058
  cloudbuild?: CloudBuildMembershipSpec;
1075
1059
  /** Config Management-specific spec. */
@@ -1654,7 +1638,7 @@ declare namespace gapi.client {
1654
1638
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1655
1639
  uploadType?: string;
1656
1640
  },
1657
- body: Feature
1641
+ body: Feature,
1658
1642
  ): Request<Operation>;
1659
1643
  /** Removes a Feature. */
1660
1644
  delete(request?: {
@@ -1846,7 +1830,7 @@ declare namespace gapi.client {
1846
1830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1847
1831
  uploadType?: string;
1848
1832
  },
1849
- body: Feature
1833
+ body: Feature,
1850
1834
  ): Request<Operation>;
1851
1835
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1852
1836
  setIamPolicy(
@@ -1876,7 +1860,7 @@ declare namespace gapi.client {
1876
1860
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1877
1861
  uploadType?: string;
1878
1862
  },
1879
- body: SetIamPolicyRequest
1863
+ body: SetIamPolicyRequest,
1880
1864
  ): Request<Policy>;
1881
1865
  /** 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. */
1882
1866
  testIamPermissions(
@@ -1906,7 +1890,7 @@ declare namespace gapi.client {
1906
1890
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1907
1891
  uploadType?: string;
1908
1892
  },
1909
- body: TestIamPermissionsRequest
1893
+ body: TestIamPermissionsRequest,
1910
1894
  ): Request<TestIamPermissionsResponse>;
1911
1895
  }
1912
1896
  interface FleetsResource {
@@ -1966,7 +1950,7 @@ declare namespace gapi.client {
1966
1950
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1967
1951
  uploadType?: string;
1968
1952
  },
1969
- body: Fleet
1953
+ body: Fleet,
1970
1954
  ): Request<Operation>;
1971
1955
  /** Removes a Fleet. There must be no memberships remaining in the Fleet. */
1972
1956
  delete(request?: {
@@ -2113,7 +2097,7 @@ declare namespace gapi.client {
2113
2097
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2114
2098
  uploadType?: string;
2115
2099
  },
2116
- body: Fleet
2100
+ body: Fleet,
2117
2101
  ): Request<Operation>;
2118
2102
  }
2119
2103
  interface BindingsResource {
@@ -2177,7 +2161,7 @@ declare namespace gapi.client {
2177
2161
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2178
2162
  uploadType?: string;
2179
2163
  },
2180
- body: MembershipBinding
2164
+ body: MembershipBinding,
2181
2165
  ): Request<Operation>;
2182
2166
  /** Deletes a MembershipBinding. */
2183
2167
  delete(request?: {
@@ -2326,7 +2310,7 @@ declare namespace gapi.client {
2326
2310
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2327
2311
  uploadType?: string;
2328
2312
  },
2329
- body: MembershipBinding
2313
+ body: MembershipBinding,
2330
2314
  ): Request<Operation>;
2331
2315
  }
2332
2316
  interface RbacrolebindingsResource {
@@ -2390,7 +2374,7 @@ declare namespace gapi.client {
2390
2374
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2391
2375
  uploadType?: string;
2392
2376
  },
2393
- body: RBACRoleBinding
2377
+ body: RBACRoleBinding,
2394
2378
  ): Request<Operation>;
2395
2379
  /** Deletes a Membership RBACRoleBinding. */
2396
2380
  delete(request?: {
@@ -2479,7 +2463,7 @@ declare namespace gapi.client {
2479
2463
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2480
2464
  uploadType?: string;
2481
2465
  },
2482
- body: RBACRoleBinding
2466
+ body: RBACRoleBinding,
2483
2467
  ): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
2484
2468
  /** Returns the details of a Membership RBACRoleBinding. */
2485
2469
  get(request?: {
@@ -2599,7 +2583,7 @@ declare namespace gapi.client {
2599
2583
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2600
2584
  uploadType?: string;
2601
2585
  },
2602
- body: RBACRoleBinding
2586
+ body: RBACRoleBinding,
2603
2587
  ): Request<Operation>;
2604
2588
  }
2605
2589
  interface MembershipsResource {
@@ -2667,7 +2651,7 @@ declare namespace gapi.client {
2667
2651
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2668
2652
  uploadType?: string;
2669
2653
  },
2670
- body: Membership
2654
+ body: Membership,
2671
2655
  ): Request<Operation>;
2672
2656
  /** 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. */
2673
2657
  delete(request?: {
@@ -2960,7 +2944,7 @@ declare namespace gapi.client {
2960
2944
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2961
2945
  uploadType?: string;
2962
2946
  },
2963
- body: Membership
2947
+ body: Membership,
2964
2948
  ): Request<Operation>;
2965
2949
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2966
2950
  setIamPolicy(
@@ -2990,7 +2974,7 @@ declare namespace gapi.client {
2990
2974
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2991
2975
  uploadType?: string;
2992
2976
  },
2993
- body: SetIamPolicyRequest
2977
+ body: SetIamPolicyRequest,
2994
2978
  ): Request<Policy>;
2995
2979
  /** 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. */
2996
2980
  testIamPermissions(
@@ -3020,7 +3004,7 @@ declare namespace gapi.client {
3020
3004
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3021
3005
  uploadType?: string;
3022
3006
  },
3023
- body: TestIamPermissionsRequest
3007
+ body: TestIamPermissionsRequest,
3024
3008
  ): Request<TestIamPermissionsResponse>;
3025
3009
  /** ValidateCreateMembership is a preflight check for CreateMembership. It checks the following: 1. Caller has the required `gkehub.memberships.create` permission. 2. The membership_id is still available. */
3026
3010
  validateCreate(request: {
@@ -3078,7 +3062,7 @@ declare namespace gapi.client {
3078
3062
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3079
3063
  uploadType?: string;
3080
3064
  },
3081
- body: ValidateCreateMembershipRequest
3065
+ body: ValidateCreateMembershipRequest,
3082
3066
  ): Request<ValidateCreateMembershipResponse>;
3083
3067
  /** ValidateExclusivity validates the state of exclusivity in the cluster. The validation does not depend on an existing Hub membership resource. */
3084
3068
  validateExclusivity(request?: {
@@ -3171,7 +3155,7 @@ declare namespace gapi.client {
3171
3155
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3172
3156
  uploadType?: string;
3173
3157
  },
3174
- body: CancelOperationRequest
3158
+ body: CancelOperationRequest,
3175
3159
  ): Request<{}>;
3176
3160
  /** 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`. */
3177
3161
  delete(request?: {
@@ -3322,7 +3306,7 @@ declare namespace gapi.client {
3322
3306
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3323
3307
  uploadType?: string;
3324
3308
  },
3325
- body: Namespace
3309
+ body: Namespace,
3326
3310
  ): Request<Operation>;
3327
3311
  /** Deletes a fleet namespace. */
3328
3312
  delete(request?: {
@@ -3469,7 +3453,7 @@ declare namespace gapi.client {
3469
3453
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3470
3454
  uploadType?: string;
3471
3455
  },
3472
- body: Namespace
3456
+ body: Namespace,
3473
3457
  ): Request<Operation>;
3474
3458
  }
3475
3459
  interface RbacrolebindingsResource {
@@ -3533,7 +3517,7 @@ declare namespace gapi.client {
3533
3517
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3534
3518
  uploadType?: string;
3535
3519
  },
3536
- body: RBACRoleBinding
3520
+ body: RBACRoleBinding,
3537
3521
  ): Request<Operation>;
3538
3522
  /** Deletes a Scope RBACRoleBinding. */
3539
3523
  delete(request?: {
@@ -3680,7 +3664,7 @@ declare namespace gapi.client {
3680
3664
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3681
3665
  uploadType?: string;
3682
3666
  },
3683
- body: RBACRoleBinding
3667
+ body: RBACRoleBinding,
3684
3668
  ): Request<Operation>;
3685
3669
  }
3686
3670
  interface ScopesResource {
@@ -3744,7 +3728,7 @@ declare namespace gapi.client {
3744
3728
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3745
3729
  uploadType?: string;
3746
3730
  },
3747
- body: Scope
3731
+ body: Scope,
3748
3732
  ): Request<Operation>;
3749
3733
  /** Deletes a Scope. */
3750
3734
  delete(request?: {
@@ -3984,7 +3968,7 @@ declare namespace gapi.client {
3984
3968
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3985
3969
  uploadType?: string;
3986
3970
  },
3987
- body: Scope
3971
+ body: Scope,
3988
3972
  ): Request<Operation>;
3989
3973
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3990
3974
  setIamPolicy(
@@ -4014,7 +3998,7 @@ declare namespace gapi.client {
4014
3998
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4015
3999
  uploadType?: string;
4016
4000
  },
4017
- body: SetIamPolicyRequest
4001
+ body: SetIamPolicyRequest,
4018
4002
  ): Request<Policy>;
4019
4003
  /** 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. */
4020
4004
  testIamPermissions(
@@ -4044,7 +4028,7 @@ declare namespace gapi.client {
4044
4028
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4045
4029
  uploadType?: string;
4046
4030
  },
4047
- body: TestIamPermissionsRequest
4031
+ body: TestIamPermissionsRequest,
4048
4032
  ): Request<TestIamPermissionsResponse>;
4049
4033
  namespaces: NamespacesResource;
4050
4034
  rbacrolebindings: RbacrolebindingsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20250113",
3
+ "version": "0.0.20250122",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
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