@maxim_mazurok/gapi.client.gkehub-v1alpha 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.
- package/index.d.ts +27 -27
- package/package.json +1 -1
- 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:
|
|
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 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>;
|
|
@@ -1638,7 +1638,7 @@ declare namespace gapi.client {
|
|
|
1638
1638
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1639
1639
|
uploadType?: string;
|
|
1640
1640
|
},
|
|
1641
|
-
body: Feature
|
|
1641
|
+
body: Feature,
|
|
1642
1642
|
): Request<Operation>;
|
|
1643
1643
|
/** Removes a Feature. */
|
|
1644
1644
|
delete(request?: {
|
|
@@ -1830,7 +1830,7 @@ declare namespace gapi.client {
|
|
|
1830
1830
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1831
1831
|
uploadType?: string;
|
|
1832
1832
|
},
|
|
1833
|
-
body: Feature
|
|
1833
|
+
body: Feature,
|
|
1834
1834
|
): Request<Operation>;
|
|
1835
1835
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1836
1836
|
setIamPolicy(
|
|
@@ -1860,7 +1860,7 @@ declare namespace gapi.client {
|
|
|
1860
1860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1861
1861
|
uploadType?: string;
|
|
1862
1862
|
},
|
|
1863
|
-
body: SetIamPolicyRequest
|
|
1863
|
+
body: SetIamPolicyRequest,
|
|
1864
1864
|
): Request<Policy>;
|
|
1865
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. */
|
|
1866
1866
|
testIamPermissions(
|
|
@@ -1890,7 +1890,7 @@ declare namespace gapi.client {
|
|
|
1890
1890
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1891
1891
|
uploadType?: string;
|
|
1892
1892
|
},
|
|
1893
|
-
body: TestIamPermissionsRequest
|
|
1893
|
+
body: TestIamPermissionsRequest,
|
|
1894
1894
|
): Request<TestIamPermissionsResponse>;
|
|
1895
1895
|
}
|
|
1896
1896
|
interface FleetsResource {
|
|
@@ -1950,7 +1950,7 @@ declare namespace gapi.client {
|
|
|
1950
1950
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1951
1951
|
uploadType?: string;
|
|
1952
1952
|
},
|
|
1953
|
-
body: Fleet
|
|
1953
|
+
body: Fleet,
|
|
1954
1954
|
): Request<Operation>;
|
|
1955
1955
|
/** Removes a Fleet. There must be no memberships remaining in the Fleet. */
|
|
1956
1956
|
delete(request?: {
|
|
@@ -2097,7 +2097,7 @@ declare namespace gapi.client {
|
|
|
2097
2097
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2098
2098
|
uploadType?: string;
|
|
2099
2099
|
},
|
|
2100
|
-
body: Fleet
|
|
2100
|
+
body: Fleet,
|
|
2101
2101
|
): Request<Operation>;
|
|
2102
2102
|
}
|
|
2103
2103
|
interface BindingsResource {
|
|
@@ -2161,7 +2161,7 @@ declare namespace gapi.client {
|
|
|
2161
2161
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2162
2162
|
uploadType?: string;
|
|
2163
2163
|
},
|
|
2164
|
-
body: MembershipBinding
|
|
2164
|
+
body: MembershipBinding,
|
|
2165
2165
|
): Request<Operation>;
|
|
2166
2166
|
/** Deletes a MembershipBinding. */
|
|
2167
2167
|
delete(request?: {
|
|
@@ -2310,7 +2310,7 @@ declare namespace gapi.client {
|
|
|
2310
2310
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2311
2311
|
uploadType?: string;
|
|
2312
2312
|
},
|
|
2313
|
-
body: MembershipBinding
|
|
2313
|
+
body: MembershipBinding,
|
|
2314
2314
|
): Request<Operation>;
|
|
2315
2315
|
}
|
|
2316
2316
|
interface RbacrolebindingsResource {
|
|
@@ -2374,7 +2374,7 @@ declare namespace gapi.client {
|
|
|
2374
2374
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2375
2375
|
uploadType?: string;
|
|
2376
2376
|
},
|
|
2377
|
-
body: RBACRoleBinding
|
|
2377
|
+
body: RBACRoleBinding,
|
|
2378
2378
|
): Request<Operation>;
|
|
2379
2379
|
/** Deletes a Membership RBACRoleBinding. */
|
|
2380
2380
|
delete(request?: {
|
|
@@ -2463,7 +2463,7 @@ declare namespace gapi.client {
|
|
|
2463
2463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2464
2464
|
uploadType?: string;
|
|
2465
2465
|
},
|
|
2466
|
-
body: RBACRoleBinding
|
|
2466
|
+
body: RBACRoleBinding,
|
|
2467
2467
|
): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
|
|
2468
2468
|
/** Returns the details of a Membership RBACRoleBinding. */
|
|
2469
2469
|
get(request?: {
|
|
@@ -2583,7 +2583,7 @@ declare namespace gapi.client {
|
|
|
2583
2583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2584
2584
|
uploadType?: string;
|
|
2585
2585
|
},
|
|
2586
|
-
body: RBACRoleBinding
|
|
2586
|
+
body: RBACRoleBinding,
|
|
2587
2587
|
): Request<Operation>;
|
|
2588
2588
|
}
|
|
2589
2589
|
interface MembershipsResource {
|
|
@@ -2651,7 +2651,7 @@ declare namespace gapi.client {
|
|
|
2651
2651
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2652
2652
|
uploadType?: string;
|
|
2653
2653
|
},
|
|
2654
|
-
body: Membership
|
|
2654
|
+
body: Membership,
|
|
2655
2655
|
): Request<Operation>;
|
|
2656
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. */
|
|
2657
2657
|
delete(request?: {
|
|
@@ -2944,7 +2944,7 @@ declare namespace gapi.client {
|
|
|
2944
2944
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2945
2945
|
uploadType?: string;
|
|
2946
2946
|
},
|
|
2947
|
-
body: Membership
|
|
2947
|
+
body: Membership,
|
|
2948
2948
|
): Request<Operation>;
|
|
2949
2949
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2950
2950
|
setIamPolicy(
|
|
@@ -2974,7 +2974,7 @@ declare namespace gapi.client {
|
|
|
2974
2974
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2975
2975
|
uploadType?: string;
|
|
2976
2976
|
},
|
|
2977
|
-
body: SetIamPolicyRequest
|
|
2977
|
+
body: SetIamPolicyRequest,
|
|
2978
2978
|
): Request<Policy>;
|
|
2979
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. */
|
|
2980
2980
|
testIamPermissions(
|
|
@@ -3004,7 +3004,7 @@ declare namespace gapi.client {
|
|
|
3004
3004
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3005
3005
|
uploadType?: string;
|
|
3006
3006
|
},
|
|
3007
|
-
body: TestIamPermissionsRequest
|
|
3007
|
+
body: TestIamPermissionsRequest,
|
|
3008
3008
|
): Request<TestIamPermissionsResponse>;
|
|
3009
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. */
|
|
3010
3010
|
validateCreate(request: {
|
|
@@ -3062,7 +3062,7 @@ declare namespace gapi.client {
|
|
|
3062
3062
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3063
3063
|
uploadType?: string;
|
|
3064
3064
|
},
|
|
3065
|
-
body: ValidateCreateMembershipRequest
|
|
3065
|
+
body: ValidateCreateMembershipRequest,
|
|
3066
3066
|
): Request<ValidateCreateMembershipResponse>;
|
|
3067
3067
|
/** ValidateExclusivity validates the state of exclusivity in the cluster. The validation does not depend on an existing Hub membership resource. */
|
|
3068
3068
|
validateExclusivity(request?: {
|
|
@@ -3155,7 +3155,7 @@ declare namespace gapi.client {
|
|
|
3155
3155
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3156
3156
|
uploadType?: string;
|
|
3157
3157
|
},
|
|
3158
|
-
body: CancelOperationRequest
|
|
3158
|
+
body: CancelOperationRequest,
|
|
3159
3159
|
): Request<{}>;
|
|
3160
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`. */
|
|
3161
3161
|
delete(request?: {
|
|
@@ -3306,7 +3306,7 @@ declare namespace gapi.client {
|
|
|
3306
3306
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3307
3307
|
uploadType?: string;
|
|
3308
3308
|
},
|
|
3309
|
-
body: Namespace
|
|
3309
|
+
body: Namespace,
|
|
3310
3310
|
): Request<Operation>;
|
|
3311
3311
|
/** Deletes a fleet namespace. */
|
|
3312
3312
|
delete(request?: {
|
|
@@ -3453,7 +3453,7 @@ declare namespace gapi.client {
|
|
|
3453
3453
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3454
3454
|
uploadType?: string;
|
|
3455
3455
|
},
|
|
3456
|
-
body: Namespace
|
|
3456
|
+
body: Namespace,
|
|
3457
3457
|
): Request<Operation>;
|
|
3458
3458
|
}
|
|
3459
3459
|
interface RbacrolebindingsResource {
|
|
@@ -3517,7 +3517,7 @@ declare namespace gapi.client {
|
|
|
3517
3517
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3518
3518
|
uploadType?: string;
|
|
3519
3519
|
},
|
|
3520
|
-
body: RBACRoleBinding
|
|
3520
|
+
body: RBACRoleBinding,
|
|
3521
3521
|
): Request<Operation>;
|
|
3522
3522
|
/** Deletes a Scope RBACRoleBinding. */
|
|
3523
3523
|
delete(request?: {
|
|
@@ -3664,7 +3664,7 @@ declare namespace gapi.client {
|
|
|
3664
3664
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3665
3665
|
uploadType?: string;
|
|
3666
3666
|
},
|
|
3667
|
-
body: RBACRoleBinding
|
|
3667
|
+
body: RBACRoleBinding,
|
|
3668
3668
|
): Request<Operation>;
|
|
3669
3669
|
}
|
|
3670
3670
|
interface ScopesResource {
|
|
@@ -3728,7 +3728,7 @@ declare namespace gapi.client {
|
|
|
3728
3728
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3729
3729
|
uploadType?: string;
|
|
3730
3730
|
},
|
|
3731
|
-
body: Scope
|
|
3731
|
+
body: Scope,
|
|
3732
3732
|
): Request<Operation>;
|
|
3733
3733
|
/** Deletes a Scope. */
|
|
3734
3734
|
delete(request?: {
|
|
@@ -3968,7 +3968,7 @@ declare namespace gapi.client {
|
|
|
3968
3968
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3969
3969
|
uploadType?: string;
|
|
3970
3970
|
},
|
|
3971
|
-
body: Scope
|
|
3971
|
+
body: Scope,
|
|
3972
3972
|
): Request<Operation>;
|
|
3973
3973
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3974
3974
|
setIamPolicy(
|
|
@@ -3998,7 +3998,7 @@ declare namespace gapi.client {
|
|
|
3998
3998
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3999
3999
|
uploadType?: string;
|
|
4000
4000
|
},
|
|
4001
|
-
body: SetIamPolicyRequest
|
|
4001
|
+
body: SetIamPolicyRequest,
|
|
4002
4002
|
): Request<Policy>;
|
|
4003
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. */
|
|
4004
4004
|
testIamPermissions(
|
|
@@ -4028,7 +4028,7 @@ declare namespace gapi.client {
|
|
|
4028
4028
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4029
4029
|
uploadType?: string;
|
|
4030
4030
|
},
|
|
4031
|
-
body: TestIamPermissionsRequest
|
|
4031
|
+
body: TestIamPermissionsRequest,
|
|
4032
4032
|
): Request<TestIamPermissionsResponse>;
|
|
4033
4033
|
namespaces: NamespacesResource;
|
|
4034
4034
|
rbacrolebindings: RbacrolebindingsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED