@maxim_mazurok/gapi.client.gkehub-v1 0.0.20230712 → 0.0.20230728
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 +736 -5
- package/package.json +1 -1
- package/tests.ts +121 -5
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:
|
|
12
|
+
// Revision: 20230728
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -154,7 +154,7 @@ declare namespace gapi.client {
|
|
|
154
154
|
ConfigManagementGitConfig;
|
|
155
155
|
/**
|
|
156
156
|
* The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should
|
|
157
|
-
* have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be
|
|
157
|
+
* have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound
|
|
158
158
|
* to the GSA. This field is required when automatic Feature management is enabled.
|
|
159
159
|
*/
|
|
160
160
|
metricsGcpServiceAccountEmail?:
|
|
@@ -776,9 +776,6 @@ 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;
|
|
782
779
|
}
|
|
783
780
|
interface IdentityServiceGoogleConfig {
|
|
784
781
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
@@ -951,6 +948,22 @@ declare namespace gapi.client {
|
|
|
951
948
|
operations?:
|
|
952
949
|
Operation[];
|
|
953
950
|
}
|
|
951
|
+
interface ListScopeNamespacesResponse {
|
|
952
|
+
/** A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return. */
|
|
953
|
+
nextPageToken?:
|
|
954
|
+
string;
|
|
955
|
+
/** The list of fleet namespaces */
|
|
956
|
+
scopeNamespaces?:
|
|
957
|
+
Namespace[];
|
|
958
|
+
}
|
|
959
|
+
interface ListScopeRBACRoleBindingsResponse {
|
|
960
|
+
/** A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return. */
|
|
961
|
+
nextPageToken?:
|
|
962
|
+
string;
|
|
963
|
+
/** The list of Scope RBACRoleBindings. */
|
|
964
|
+
rbacrolebindings?:
|
|
965
|
+
RBACRoleBinding[];
|
|
966
|
+
}
|
|
954
967
|
interface ListScopesResponse {
|
|
955
968
|
/** A token to request the next page of resources from the `ListScopes` method. The value of an empty string means that there are no more resources to return. */
|
|
956
969
|
nextPageToken?:
|
|
@@ -1189,6 +1202,46 @@ declare namespace gapi.client {
|
|
|
1189
1202
|
configMembership?:
|
|
1190
1203
|
string;
|
|
1191
1204
|
}
|
|
1205
|
+
interface Namespace {
|
|
1206
|
+
/** Output only. When the namespace was created. */
|
|
1207
|
+
createTime?:
|
|
1208
|
+
string;
|
|
1209
|
+
/** Output only. When the namespace was deleted. */
|
|
1210
|
+
deleteTime?:
|
|
1211
|
+
string;
|
|
1212
|
+
/** Optional. Labels for this Namespace. */
|
|
1213
|
+
labels?:
|
|
1214
|
+
{ [P in string]: string };
|
|
1215
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
1216
|
+
name?:
|
|
1217
|
+
string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels
|
|
1220
|
+
* (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.
|
|
1221
|
+
*/
|
|
1222
|
+
namespaceLabels?:
|
|
1223
|
+
{ [P in string]: string };
|
|
1224
|
+
/** Required. Scope associated with the namespace */
|
|
1225
|
+
scope?:
|
|
1226
|
+
string;
|
|
1227
|
+
/** Output only. State of the namespace resource. */
|
|
1228
|
+
state?:
|
|
1229
|
+
NamespaceLifecycleState;
|
|
1230
|
+
/**
|
|
1231
|
+
* Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is
|
|
1232
|
+
* created, it gets a different uid.
|
|
1233
|
+
*/
|
|
1234
|
+
uid?:
|
|
1235
|
+
string;
|
|
1236
|
+
/** Output only. When the namespace was last updated. */
|
|
1237
|
+
updateTime?:
|
|
1238
|
+
string;
|
|
1239
|
+
}
|
|
1240
|
+
interface NamespaceLifecycleState {
|
|
1241
|
+
/** Output only. The current state of the Namespace resource. */
|
|
1242
|
+
code?:
|
|
1243
|
+
string;
|
|
1244
|
+
}
|
|
1192
1245
|
interface OnPremCluster {
|
|
1193
1246
|
/** Immutable. Whether the cluster is an admin cluster. */
|
|
1194
1247
|
adminCluster?:
|
|
@@ -1297,6 +1350,49 @@ declare namespace gapi.client {
|
|
|
1297
1350
|
version?:
|
|
1298
1351
|
number;
|
|
1299
1352
|
}
|
|
1353
|
+
interface RBACRoleBinding {
|
|
1354
|
+
/** Output only. When the rbacrolebinding was created. */
|
|
1355
|
+
createTime?:
|
|
1356
|
+
string;
|
|
1357
|
+
/** Output only. When the rbacrolebinding was deleted. */
|
|
1358
|
+
deleteTime?:
|
|
1359
|
+
string;
|
|
1360
|
+
/** group is the group, as seen by the kubernetes cluster. */
|
|
1361
|
+
group?:
|
|
1362
|
+
string;
|
|
1363
|
+
/** Optional. Labels for this RBACRolebinding. */
|
|
1364
|
+
labels?:
|
|
1365
|
+
{ [P in string]: string };
|
|
1366
|
+
/**
|
|
1367
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
1368
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
1369
|
+
*/
|
|
1370
|
+
name?:
|
|
1371
|
+
string;
|
|
1372
|
+
/** Required. Role to bind to the principal */
|
|
1373
|
+
role?:
|
|
1374
|
+
Role;
|
|
1375
|
+
/** Output only. State of the rbacrolebinding resource. */
|
|
1376
|
+
state?:
|
|
1377
|
+
RBACRoleBindingLifecycleState;
|
|
1378
|
+
/**
|
|
1379
|
+
* Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the
|
|
1380
|
+
* same name is created, it gets a different uid.
|
|
1381
|
+
*/
|
|
1382
|
+
uid?:
|
|
1383
|
+
string;
|
|
1384
|
+
/** Output only. When the rbacrolebinding was last updated. */
|
|
1385
|
+
updateTime?:
|
|
1386
|
+
string;
|
|
1387
|
+
/** user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" */
|
|
1388
|
+
user?:
|
|
1389
|
+
string;
|
|
1390
|
+
}
|
|
1391
|
+
interface RBACRoleBindingLifecycleState {
|
|
1392
|
+
/** Output only. The current state of the rbacrolebinding resource. */
|
|
1393
|
+
code?:
|
|
1394
|
+
string;
|
|
1395
|
+
}
|
|
1300
1396
|
interface ResourceManifest {
|
|
1301
1397
|
/**
|
|
1302
1398
|
* Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the
|
|
@@ -1328,6 +1424,11 @@ declare namespace gapi.client {
|
|
|
1328
1424
|
v1beta1Crd?:
|
|
1329
1425
|
boolean;
|
|
1330
1426
|
}
|
|
1427
|
+
interface Role {
|
|
1428
|
+
/** predefined_role is the Kubernetes default role to use */
|
|
1429
|
+
predefinedRole?:
|
|
1430
|
+
string;
|
|
1431
|
+
}
|
|
1331
1432
|
interface Scope {
|
|
1332
1433
|
/** If true, all Memberships in the Fleet bind to this Scope. */
|
|
1333
1434
|
allMemberships?:
|
|
@@ -1344,6 +1445,12 @@ declare namespace gapi.client {
|
|
|
1344
1445
|
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
1345
1446
|
name?:
|
|
1346
1447
|
string;
|
|
1448
|
+
/**
|
|
1449
|
+
* Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take
|
|
1450
|
+
* precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
|
|
1451
|
+
*/
|
|
1452
|
+
namespaceLabels?:
|
|
1453
|
+
{ [P in string]: string };
|
|
1347
1454
|
/** Output only. State of the scope resource. */
|
|
1348
1455
|
state?:
|
|
1349
1456
|
ScopeLifecycleState;
|
|
@@ -3420,6 +3527,626 @@ declare namespace gapi.client {
|
|
|
3420
3527
|
string;
|
|
3421
3528
|
}): Request<ListOperationsResponse>;
|
|
3422
3529
|
}
|
|
3530
|
+
interface NamespacesResource {
|
|
3531
|
+
/** Creates a fleet namespace. */
|
|
3532
|
+
create(request: {
|
|
3533
|
+
/** V1 error format. */
|
|
3534
|
+
"$.xgafv"?:
|
|
3535
|
+
string;
|
|
3536
|
+
/** OAuth access token. */
|
|
3537
|
+
access_token?:
|
|
3538
|
+
string;
|
|
3539
|
+
/** Data format for response. */
|
|
3540
|
+
alt?:
|
|
3541
|
+
string;
|
|
3542
|
+
/** JSONP */
|
|
3543
|
+
callback?:
|
|
3544
|
+
string;
|
|
3545
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3546
|
+
fields?:
|
|
3547
|
+
string;
|
|
3548
|
+
/** 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. */
|
|
3549
|
+
key?:
|
|
3550
|
+
string;
|
|
3551
|
+
/** OAuth 2.0 token for the current user. */
|
|
3552
|
+
oauth_token?:
|
|
3553
|
+
string;
|
|
3554
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
3555
|
+
parent:
|
|
3556
|
+
string;
|
|
3557
|
+
/** Returns response with indentations and line breaks. */
|
|
3558
|
+
prettyPrint?:
|
|
3559
|
+
boolean;
|
|
3560
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3561
|
+
quotaUser?:
|
|
3562
|
+
string;
|
|
3563
|
+
/**
|
|
3564
|
+
* Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case
|
|
3565
|
+
* alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum
|
|
3566
|
+
* length of 63 characters.
|
|
3567
|
+
*/
|
|
3568
|
+
scopeNamespaceId?:
|
|
3569
|
+
string;
|
|
3570
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3571
|
+
upload_protocol?:
|
|
3572
|
+
string;
|
|
3573
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3574
|
+
uploadType?:
|
|
3575
|
+
string;
|
|
3576
|
+
/** Request body */
|
|
3577
|
+
resource:
|
|
3578
|
+
Namespace;
|
|
3579
|
+
}): Request<Operation>;
|
|
3580
|
+
create(request: {
|
|
3581
|
+
/** V1 error format. */
|
|
3582
|
+
"$.xgafv"?:
|
|
3583
|
+
string;
|
|
3584
|
+
/** OAuth access token. */
|
|
3585
|
+
access_token?:
|
|
3586
|
+
string;
|
|
3587
|
+
/** Data format for response. */
|
|
3588
|
+
alt?:
|
|
3589
|
+
string;
|
|
3590
|
+
/** JSONP */
|
|
3591
|
+
callback?:
|
|
3592
|
+
string;
|
|
3593
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3594
|
+
fields?:
|
|
3595
|
+
string;
|
|
3596
|
+
/** 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. */
|
|
3597
|
+
key?:
|
|
3598
|
+
string;
|
|
3599
|
+
/** OAuth 2.0 token for the current user. */
|
|
3600
|
+
oauth_token?:
|
|
3601
|
+
string;
|
|
3602
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
3603
|
+
parent:
|
|
3604
|
+
string;
|
|
3605
|
+
/** Returns response with indentations and line breaks. */
|
|
3606
|
+
prettyPrint?:
|
|
3607
|
+
boolean;
|
|
3608
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3609
|
+
quotaUser?:
|
|
3610
|
+
string;
|
|
3611
|
+
/**
|
|
3612
|
+
* Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case
|
|
3613
|
+
* alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum
|
|
3614
|
+
* length of 63 characters.
|
|
3615
|
+
*/
|
|
3616
|
+
scopeNamespaceId?:
|
|
3617
|
+
string;
|
|
3618
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3619
|
+
upload_protocol?:
|
|
3620
|
+
string;
|
|
3621
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3622
|
+
uploadType?:
|
|
3623
|
+
string;
|
|
3624
|
+
},
|
|
3625
|
+
body: Namespace): Request<Operation>;
|
|
3626
|
+
/** Deletes a fleet namespace. */
|
|
3627
|
+
delete(request?: {
|
|
3628
|
+
/** V1 error format. */
|
|
3629
|
+
"$.xgafv"?:
|
|
3630
|
+
string;
|
|
3631
|
+
/** OAuth access token. */
|
|
3632
|
+
access_token?:
|
|
3633
|
+
string;
|
|
3634
|
+
/** Data format for response. */
|
|
3635
|
+
alt?:
|
|
3636
|
+
string;
|
|
3637
|
+
/** JSONP */
|
|
3638
|
+
callback?:
|
|
3639
|
+
string;
|
|
3640
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3641
|
+
fields?:
|
|
3642
|
+
string;
|
|
3643
|
+
/** 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. */
|
|
3644
|
+
key?:
|
|
3645
|
+
string;
|
|
3646
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
3647
|
+
name:
|
|
3648
|
+
string;
|
|
3649
|
+
/** OAuth 2.0 token for the current user. */
|
|
3650
|
+
oauth_token?:
|
|
3651
|
+
string;
|
|
3652
|
+
/** Returns response with indentations and line breaks. */
|
|
3653
|
+
prettyPrint?:
|
|
3654
|
+
boolean;
|
|
3655
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3656
|
+
quotaUser?:
|
|
3657
|
+
string;
|
|
3658
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3659
|
+
upload_protocol?:
|
|
3660
|
+
string;
|
|
3661
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3662
|
+
uploadType?:
|
|
3663
|
+
string;
|
|
3664
|
+
}): Request<Operation>;
|
|
3665
|
+
/** Returns the details of a fleet namespace. */
|
|
3666
|
+
get(request?: {
|
|
3667
|
+
/** V1 error format. */
|
|
3668
|
+
"$.xgafv"?:
|
|
3669
|
+
string;
|
|
3670
|
+
/** OAuth access token. */
|
|
3671
|
+
access_token?:
|
|
3672
|
+
string;
|
|
3673
|
+
/** Data format for response. */
|
|
3674
|
+
alt?:
|
|
3675
|
+
string;
|
|
3676
|
+
/** JSONP */
|
|
3677
|
+
callback?:
|
|
3678
|
+
string;
|
|
3679
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3680
|
+
fields?:
|
|
3681
|
+
string;
|
|
3682
|
+
/** 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. */
|
|
3683
|
+
key?:
|
|
3684
|
+
string;
|
|
3685
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
3686
|
+
name:
|
|
3687
|
+
string;
|
|
3688
|
+
/** OAuth 2.0 token for the current user. */
|
|
3689
|
+
oauth_token?:
|
|
3690
|
+
string;
|
|
3691
|
+
/** Returns response with indentations and line breaks. */
|
|
3692
|
+
prettyPrint?:
|
|
3693
|
+
boolean;
|
|
3694
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3695
|
+
quotaUser?:
|
|
3696
|
+
string;
|
|
3697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3698
|
+
upload_protocol?:
|
|
3699
|
+
string;
|
|
3700
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3701
|
+
uploadType?:
|
|
3702
|
+
string;
|
|
3703
|
+
}): Request<Namespace>;
|
|
3704
|
+
/** Lists fleet namespaces. */
|
|
3705
|
+
list(request?: {
|
|
3706
|
+
/** V1 error format. */
|
|
3707
|
+
"$.xgafv"?:
|
|
3708
|
+
string;
|
|
3709
|
+
/** OAuth access token. */
|
|
3710
|
+
access_token?:
|
|
3711
|
+
string;
|
|
3712
|
+
/** Data format for response. */
|
|
3713
|
+
alt?:
|
|
3714
|
+
string;
|
|
3715
|
+
/** JSONP */
|
|
3716
|
+
callback?:
|
|
3717
|
+
string;
|
|
3718
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3719
|
+
fields?:
|
|
3720
|
+
string;
|
|
3721
|
+
/** 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. */
|
|
3722
|
+
key?:
|
|
3723
|
+
string;
|
|
3724
|
+
/** OAuth 2.0 token for the current user. */
|
|
3725
|
+
oauth_token?:
|
|
3726
|
+
string;
|
|
3727
|
+
/** Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. */
|
|
3728
|
+
pageSize?:
|
|
3729
|
+
number;
|
|
3730
|
+
/** Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources. */
|
|
3731
|
+
pageToken?:
|
|
3732
|
+
string;
|
|
3733
|
+
/** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
3734
|
+
parent:
|
|
3735
|
+
string;
|
|
3736
|
+
/** Returns response with indentations and line breaks. */
|
|
3737
|
+
prettyPrint?:
|
|
3738
|
+
boolean;
|
|
3739
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3740
|
+
quotaUser?:
|
|
3741
|
+
string;
|
|
3742
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3743
|
+
upload_protocol?:
|
|
3744
|
+
string;
|
|
3745
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3746
|
+
uploadType?:
|
|
3747
|
+
string;
|
|
3748
|
+
}): Request<ListScopeNamespacesResponse>;
|
|
3749
|
+
/** Updates a fleet namespace. */
|
|
3750
|
+
patch(request: {
|
|
3751
|
+
/** V1 error format. */
|
|
3752
|
+
"$.xgafv"?:
|
|
3753
|
+
string;
|
|
3754
|
+
/** OAuth access token. */
|
|
3755
|
+
access_token?:
|
|
3756
|
+
string;
|
|
3757
|
+
/** Data format for response. */
|
|
3758
|
+
alt?:
|
|
3759
|
+
string;
|
|
3760
|
+
/** JSONP */
|
|
3761
|
+
callback?:
|
|
3762
|
+
string;
|
|
3763
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3764
|
+
fields?:
|
|
3765
|
+
string;
|
|
3766
|
+
/** 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. */
|
|
3767
|
+
key?:
|
|
3768
|
+
string;
|
|
3769
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
3770
|
+
name:
|
|
3771
|
+
string;
|
|
3772
|
+
/** OAuth 2.0 token for the current user. */
|
|
3773
|
+
oauth_token?:
|
|
3774
|
+
string;
|
|
3775
|
+
/** Returns response with indentations and line breaks. */
|
|
3776
|
+
prettyPrint?:
|
|
3777
|
+
boolean;
|
|
3778
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3779
|
+
quotaUser?:
|
|
3780
|
+
string;
|
|
3781
|
+
/** Required. The fields to be updated. */
|
|
3782
|
+
updateMask?:
|
|
3783
|
+
string;
|
|
3784
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3785
|
+
upload_protocol?:
|
|
3786
|
+
string;
|
|
3787
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3788
|
+
uploadType?:
|
|
3789
|
+
string;
|
|
3790
|
+
/** Request body */
|
|
3791
|
+
resource:
|
|
3792
|
+
Namespace;
|
|
3793
|
+
}): Request<Operation>;
|
|
3794
|
+
patch(request: {
|
|
3795
|
+
/** V1 error format. */
|
|
3796
|
+
"$.xgafv"?:
|
|
3797
|
+
string;
|
|
3798
|
+
/** OAuth access token. */
|
|
3799
|
+
access_token?:
|
|
3800
|
+
string;
|
|
3801
|
+
/** Data format for response. */
|
|
3802
|
+
alt?:
|
|
3803
|
+
string;
|
|
3804
|
+
/** JSONP */
|
|
3805
|
+
callback?:
|
|
3806
|
+
string;
|
|
3807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3808
|
+
fields?:
|
|
3809
|
+
string;
|
|
3810
|
+
/** 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. */
|
|
3811
|
+
key?:
|
|
3812
|
+
string;
|
|
3813
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
3814
|
+
name:
|
|
3815
|
+
string;
|
|
3816
|
+
/** OAuth 2.0 token for the current user. */
|
|
3817
|
+
oauth_token?:
|
|
3818
|
+
string;
|
|
3819
|
+
/** Returns response with indentations and line breaks. */
|
|
3820
|
+
prettyPrint?:
|
|
3821
|
+
boolean;
|
|
3822
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3823
|
+
quotaUser?:
|
|
3824
|
+
string;
|
|
3825
|
+
/** Required. The fields to be updated. */
|
|
3826
|
+
updateMask?:
|
|
3827
|
+
string;
|
|
3828
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3829
|
+
upload_protocol?:
|
|
3830
|
+
string;
|
|
3831
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3832
|
+
uploadType?:
|
|
3833
|
+
string;
|
|
3834
|
+
},
|
|
3835
|
+
body: Namespace): Request<Operation>;
|
|
3836
|
+
}
|
|
3837
|
+
interface RbacrolebindingsResource {
|
|
3838
|
+
/** Creates a Scope RBACRoleBinding. */
|
|
3839
|
+
create(request: {
|
|
3840
|
+
/** V1 error format. */
|
|
3841
|
+
"$.xgafv"?:
|
|
3842
|
+
string;
|
|
3843
|
+
/** OAuth access token. */
|
|
3844
|
+
access_token?:
|
|
3845
|
+
string;
|
|
3846
|
+
/** Data format for response. */
|
|
3847
|
+
alt?:
|
|
3848
|
+
string;
|
|
3849
|
+
/** JSONP */
|
|
3850
|
+
callback?:
|
|
3851
|
+
string;
|
|
3852
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3853
|
+
fields?:
|
|
3854
|
+
string;
|
|
3855
|
+
/** 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. */
|
|
3856
|
+
key?:
|
|
3857
|
+
string;
|
|
3858
|
+
/** OAuth 2.0 token for the current user. */
|
|
3859
|
+
oauth_token?:
|
|
3860
|
+
string;
|
|
3861
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
3862
|
+
parent:
|
|
3863
|
+
string;
|
|
3864
|
+
/** Returns response with indentations and line breaks. */
|
|
3865
|
+
prettyPrint?:
|
|
3866
|
+
boolean;
|
|
3867
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3868
|
+
quotaUser?:
|
|
3869
|
+
string;
|
|
3870
|
+
/**
|
|
3871
|
+
* Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of
|
|
3872
|
+
* lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a
|
|
3873
|
+
* maximum length of 63 characters.
|
|
3874
|
+
*/
|
|
3875
|
+
rbacrolebindingId?:
|
|
3876
|
+
string;
|
|
3877
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3878
|
+
upload_protocol?:
|
|
3879
|
+
string;
|
|
3880
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3881
|
+
uploadType?:
|
|
3882
|
+
string;
|
|
3883
|
+
/** Request body */
|
|
3884
|
+
resource:
|
|
3885
|
+
RBACRoleBinding;
|
|
3886
|
+
}): Request<Operation>;
|
|
3887
|
+
create(request: {
|
|
3888
|
+
/** V1 error format. */
|
|
3889
|
+
"$.xgafv"?:
|
|
3890
|
+
string;
|
|
3891
|
+
/** OAuth access token. */
|
|
3892
|
+
access_token?:
|
|
3893
|
+
string;
|
|
3894
|
+
/** Data format for response. */
|
|
3895
|
+
alt?:
|
|
3896
|
+
string;
|
|
3897
|
+
/** JSONP */
|
|
3898
|
+
callback?:
|
|
3899
|
+
string;
|
|
3900
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3901
|
+
fields?:
|
|
3902
|
+
string;
|
|
3903
|
+
/** 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. */
|
|
3904
|
+
key?:
|
|
3905
|
+
string;
|
|
3906
|
+
/** OAuth 2.0 token for the current user. */
|
|
3907
|
+
oauth_token?:
|
|
3908
|
+
string;
|
|
3909
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
3910
|
+
parent:
|
|
3911
|
+
string;
|
|
3912
|
+
/** Returns response with indentations and line breaks. */
|
|
3913
|
+
prettyPrint?:
|
|
3914
|
+
boolean;
|
|
3915
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3916
|
+
quotaUser?:
|
|
3917
|
+
string;
|
|
3918
|
+
/**
|
|
3919
|
+
* Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of
|
|
3920
|
+
* lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a
|
|
3921
|
+
* maximum length of 63 characters.
|
|
3922
|
+
*/
|
|
3923
|
+
rbacrolebindingId?:
|
|
3924
|
+
string;
|
|
3925
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3926
|
+
upload_protocol?:
|
|
3927
|
+
string;
|
|
3928
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3929
|
+
uploadType?:
|
|
3930
|
+
string;
|
|
3931
|
+
},
|
|
3932
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
3933
|
+
/** Deletes a Scope RBACRoleBinding. */
|
|
3934
|
+
delete(request?: {
|
|
3935
|
+
/** V1 error format. */
|
|
3936
|
+
"$.xgafv"?:
|
|
3937
|
+
string;
|
|
3938
|
+
/** OAuth access token. */
|
|
3939
|
+
access_token?:
|
|
3940
|
+
string;
|
|
3941
|
+
/** Data format for response. */
|
|
3942
|
+
alt?:
|
|
3943
|
+
string;
|
|
3944
|
+
/** JSONP */
|
|
3945
|
+
callback?:
|
|
3946
|
+
string;
|
|
3947
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3948
|
+
fields?:
|
|
3949
|
+
string;
|
|
3950
|
+
/** 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. */
|
|
3951
|
+
key?:
|
|
3952
|
+
string;
|
|
3953
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. */
|
|
3954
|
+
name:
|
|
3955
|
+
string;
|
|
3956
|
+
/** OAuth 2.0 token for the current user. */
|
|
3957
|
+
oauth_token?:
|
|
3958
|
+
string;
|
|
3959
|
+
/** Returns response with indentations and line breaks. */
|
|
3960
|
+
prettyPrint?:
|
|
3961
|
+
boolean;
|
|
3962
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3963
|
+
quotaUser?:
|
|
3964
|
+
string;
|
|
3965
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3966
|
+
upload_protocol?:
|
|
3967
|
+
string;
|
|
3968
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3969
|
+
uploadType?:
|
|
3970
|
+
string;
|
|
3971
|
+
}): Request<Operation>;
|
|
3972
|
+
/** Returns the details of a Scope RBACRoleBinding. */
|
|
3973
|
+
get(request?: {
|
|
3974
|
+
/** V1 error format. */
|
|
3975
|
+
"$.xgafv"?:
|
|
3976
|
+
string;
|
|
3977
|
+
/** OAuth access token. */
|
|
3978
|
+
access_token?:
|
|
3979
|
+
string;
|
|
3980
|
+
/** Data format for response. */
|
|
3981
|
+
alt?:
|
|
3982
|
+
string;
|
|
3983
|
+
/** JSONP */
|
|
3984
|
+
callback?:
|
|
3985
|
+
string;
|
|
3986
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3987
|
+
fields?:
|
|
3988
|
+
string;
|
|
3989
|
+
/** 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. */
|
|
3990
|
+
key?:
|
|
3991
|
+
string;
|
|
3992
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. */
|
|
3993
|
+
name:
|
|
3994
|
+
string;
|
|
3995
|
+
/** OAuth 2.0 token for the current user. */
|
|
3996
|
+
oauth_token?:
|
|
3997
|
+
string;
|
|
3998
|
+
/** Returns response with indentations and line breaks. */
|
|
3999
|
+
prettyPrint?:
|
|
4000
|
+
boolean;
|
|
4001
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4002
|
+
quotaUser?:
|
|
4003
|
+
string;
|
|
4004
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4005
|
+
upload_protocol?:
|
|
4006
|
+
string;
|
|
4007
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4008
|
+
uploadType?:
|
|
4009
|
+
string;
|
|
4010
|
+
}): Request<RBACRoleBinding>;
|
|
4011
|
+
/** Lists all Scope RBACRoleBindings. */
|
|
4012
|
+
list(request?: {
|
|
4013
|
+
/** V1 error format. */
|
|
4014
|
+
"$.xgafv"?:
|
|
4015
|
+
string;
|
|
4016
|
+
/** OAuth access token. */
|
|
4017
|
+
access_token?:
|
|
4018
|
+
string;
|
|
4019
|
+
/** Data format for response. */
|
|
4020
|
+
alt?:
|
|
4021
|
+
string;
|
|
4022
|
+
/** JSONP */
|
|
4023
|
+
callback?:
|
|
4024
|
+
string;
|
|
4025
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4026
|
+
fields?:
|
|
4027
|
+
string;
|
|
4028
|
+
/** 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. */
|
|
4029
|
+
key?:
|
|
4030
|
+
string;
|
|
4031
|
+
/** OAuth 2.0 token for the current user. */
|
|
4032
|
+
oauth_token?:
|
|
4033
|
+
string;
|
|
4034
|
+
/** Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. */
|
|
4035
|
+
pageSize?:
|
|
4036
|
+
number;
|
|
4037
|
+
/** Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources. */
|
|
4038
|
+
pageToken?:
|
|
4039
|
+
string;
|
|
4040
|
+
/** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
4041
|
+
parent:
|
|
4042
|
+
string;
|
|
4043
|
+
/** Returns response with indentations and line breaks. */
|
|
4044
|
+
prettyPrint?:
|
|
4045
|
+
boolean;
|
|
4046
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4047
|
+
quotaUser?:
|
|
4048
|
+
string;
|
|
4049
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4050
|
+
upload_protocol?:
|
|
4051
|
+
string;
|
|
4052
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4053
|
+
uploadType?:
|
|
4054
|
+
string;
|
|
4055
|
+
}): Request<ListScopeRBACRoleBindingsResponse>;
|
|
4056
|
+
/** Updates a Scope RBACRoleBinding. */
|
|
4057
|
+
patch(request: {
|
|
4058
|
+
/** V1 error format. */
|
|
4059
|
+
"$.xgafv"?:
|
|
4060
|
+
string;
|
|
4061
|
+
/** OAuth access token. */
|
|
4062
|
+
access_token?:
|
|
4063
|
+
string;
|
|
4064
|
+
/** Data format for response. */
|
|
4065
|
+
alt?:
|
|
4066
|
+
string;
|
|
4067
|
+
/** JSONP */
|
|
4068
|
+
callback?:
|
|
4069
|
+
string;
|
|
4070
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4071
|
+
fields?:
|
|
4072
|
+
string;
|
|
4073
|
+
/** 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. */
|
|
4074
|
+
key?:
|
|
4075
|
+
string;
|
|
4076
|
+
/**
|
|
4077
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
4078
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
4079
|
+
*/
|
|
4080
|
+
name:
|
|
4081
|
+
string;
|
|
4082
|
+
/** OAuth 2.0 token for the current user. */
|
|
4083
|
+
oauth_token?:
|
|
4084
|
+
string;
|
|
4085
|
+
/** Returns response with indentations and line breaks. */
|
|
4086
|
+
prettyPrint?:
|
|
4087
|
+
boolean;
|
|
4088
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4089
|
+
quotaUser?:
|
|
4090
|
+
string;
|
|
4091
|
+
/** Required. The fields to be updated. */
|
|
4092
|
+
updateMask?:
|
|
4093
|
+
string;
|
|
4094
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4095
|
+
upload_protocol?:
|
|
4096
|
+
string;
|
|
4097
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4098
|
+
uploadType?:
|
|
4099
|
+
string;
|
|
4100
|
+
/** Request body */
|
|
4101
|
+
resource:
|
|
4102
|
+
RBACRoleBinding;
|
|
4103
|
+
}): Request<Operation>;
|
|
4104
|
+
patch(request: {
|
|
4105
|
+
/** V1 error format. */
|
|
4106
|
+
"$.xgafv"?:
|
|
4107
|
+
string;
|
|
4108
|
+
/** OAuth access token. */
|
|
4109
|
+
access_token?:
|
|
4110
|
+
string;
|
|
4111
|
+
/** Data format for response. */
|
|
4112
|
+
alt?:
|
|
4113
|
+
string;
|
|
4114
|
+
/** JSONP */
|
|
4115
|
+
callback?:
|
|
4116
|
+
string;
|
|
4117
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4118
|
+
fields?:
|
|
4119
|
+
string;
|
|
4120
|
+
/** 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. */
|
|
4121
|
+
key?:
|
|
4122
|
+
string;
|
|
4123
|
+
/**
|
|
4124
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
4125
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
4126
|
+
*/
|
|
4127
|
+
name:
|
|
4128
|
+
string;
|
|
4129
|
+
/** OAuth 2.0 token for the current user. */
|
|
4130
|
+
oauth_token?:
|
|
4131
|
+
string;
|
|
4132
|
+
/** Returns response with indentations and line breaks. */
|
|
4133
|
+
prettyPrint?:
|
|
4134
|
+
boolean;
|
|
4135
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4136
|
+
quotaUser?:
|
|
4137
|
+
string;
|
|
4138
|
+
/** Required. The fields to be updated. */
|
|
4139
|
+
updateMask?:
|
|
4140
|
+
string;
|
|
4141
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4142
|
+
upload_protocol?:
|
|
4143
|
+
string;
|
|
4144
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4145
|
+
uploadType?:
|
|
4146
|
+
string;
|
|
4147
|
+
},
|
|
4148
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
4149
|
+
}
|
|
3423
4150
|
interface ScopesResource {
|
|
3424
4151
|
/** Creates a Scope. */
|
|
3425
4152
|
create(request: {
|
|
@@ -3858,6 +4585,10 @@ declare namespace gapi.client {
|
|
|
3858
4585
|
string;
|
|
3859
4586
|
},
|
|
3860
4587
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
4588
|
+
namespaces:
|
|
4589
|
+
NamespacesResource;
|
|
4590
|
+
rbacrolebindings:
|
|
4591
|
+
RbacrolebindingsResource;
|
|
3861
4592
|
}
|
|
3862
4593
|
interface LocationsResource {
|
|
3863
4594
|
/** Gets information about a location. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230728
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -124,7 +124,6 @@ gapi.load('client', async () => {
|
|
|
124
124
|
encryptedClientSecret: "Test string",
|
|
125
125
|
kubectlRedirectUri: "Test string",
|
|
126
126
|
tenant: "Test string",
|
|
127
|
-
userClaim: "Test string",
|
|
128
127
|
},
|
|
129
128
|
googleConfig: {
|
|
130
129
|
disable: true,
|
|
@@ -320,7 +319,6 @@ gapi.load('client', async () => {
|
|
|
320
319
|
encryptedClientSecret: "Test string",
|
|
321
320
|
kubectlRedirectUri: "Test string",
|
|
322
321
|
tenant: "Test string",
|
|
323
|
-
userClaim: "Test string",
|
|
324
322
|
},
|
|
325
323
|
googleConfig: {
|
|
326
324
|
disable: true,
|
|
@@ -558,7 +556,6 @@ gapi.load('client', async () => {
|
|
|
558
556
|
encryptedClientSecret: "Test string",
|
|
559
557
|
kubectlRedirectUri: "Test string",
|
|
560
558
|
tenant: "Test string",
|
|
561
|
-
userClaim: "Test string",
|
|
562
559
|
},
|
|
563
560
|
googleConfig: {
|
|
564
561
|
disable: true,
|
|
@@ -754,7 +751,6 @@ gapi.load('client', async () => {
|
|
|
754
751
|
encryptedClientSecret: "Test string",
|
|
755
752
|
kubectlRedirectUri: "Test string",
|
|
756
753
|
tenant: "Test string",
|
|
757
|
-
userClaim: "Test string",
|
|
758
754
|
},
|
|
759
755
|
googleConfig: {
|
|
760
756
|
disable: true,
|
|
@@ -1341,6 +1337,9 @@ gapi.load('client', async () => {
|
|
|
1341
1337
|
A: "Test string"
|
|
1342
1338
|
},
|
|
1343
1339
|
name: "Test string",
|
|
1340
|
+
namespaceLabels: {
|
|
1341
|
+
A: "Test string"
|
|
1342
|
+
},
|
|
1344
1343
|
state: {
|
|
1345
1344
|
code: "Test string",
|
|
1346
1345
|
},
|
|
@@ -1378,6 +1377,9 @@ gapi.load('client', async () => {
|
|
|
1378
1377
|
A: "Test string"
|
|
1379
1378
|
},
|
|
1380
1379
|
name: "Test string",
|
|
1380
|
+
namespaceLabels: {
|
|
1381
|
+
A: "Test string"
|
|
1382
|
+
},
|
|
1381
1383
|
state: {
|
|
1382
1384
|
code: "Test string",
|
|
1383
1385
|
},
|
|
@@ -1432,5 +1434,119 @@ gapi.load('client', async () => {
|
|
|
1432
1434
|
"Test string"
|
|
1433
1435
|
],
|
|
1434
1436
|
});
|
|
1437
|
+
/** Creates a fleet namespace. */
|
|
1438
|
+
await gapi.client.gkehub.projects.locations.scopes.namespaces.create({
|
|
1439
|
+
parent: "Test string",
|
|
1440
|
+
scopeNamespaceId: "Test string",
|
|
1441
|
+
}, {
|
|
1442
|
+
createTime: "Test string",
|
|
1443
|
+
deleteTime: "Test string",
|
|
1444
|
+
labels: {
|
|
1445
|
+
A: "Test string"
|
|
1446
|
+
},
|
|
1447
|
+
name: "Test string",
|
|
1448
|
+
namespaceLabels: {
|
|
1449
|
+
A: "Test string"
|
|
1450
|
+
},
|
|
1451
|
+
scope: "Test string",
|
|
1452
|
+
state: {
|
|
1453
|
+
code: "Test string",
|
|
1454
|
+
},
|
|
1455
|
+
uid: "Test string",
|
|
1456
|
+
updateTime: "Test string",
|
|
1457
|
+
});
|
|
1458
|
+
/** Deletes a fleet namespace. */
|
|
1459
|
+
await gapi.client.gkehub.projects.locations.scopes.namespaces.delete({
|
|
1460
|
+
name: "Test string",
|
|
1461
|
+
});
|
|
1462
|
+
/** Returns the details of a fleet namespace. */
|
|
1463
|
+
await gapi.client.gkehub.projects.locations.scopes.namespaces.get({
|
|
1464
|
+
name: "Test string",
|
|
1465
|
+
});
|
|
1466
|
+
/** Lists fleet namespaces. */
|
|
1467
|
+
await gapi.client.gkehub.projects.locations.scopes.namespaces.list({
|
|
1468
|
+
pageSize: 42,
|
|
1469
|
+
pageToken: "Test string",
|
|
1470
|
+
parent: "Test string",
|
|
1471
|
+
});
|
|
1472
|
+
/** Updates a fleet namespace. */
|
|
1473
|
+
await gapi.client.gkehub.projects.locations.scopes.namespaces.patch({
|
|
1474
|
+
name: "Test string",
|
|
1475
|
+
updateMask: "Test string",
|
|
1476
|
+
}, {
|
|
1477
|
+
createTime: "Test string",
|
|
1478
|
+
deleteTime: "Test string",
|
|
1479
|
+
labels: {
|
|
1480
|
+
A: "Test string"
|
|
1481
|
+
},
|
|
1482
|
+
name: "Test string",
|
|
1483
|
+
namespaceLabels: {
|
|
1484
|
+
A: "Test string"
|
|
1485
|
+
},
|
|
1486
|
+
scope: "Test string",
|
|
1487
|
+
state: {
|
|
1488
|
+
code: "Test string",
|
|
1489
|
+
},
|
|
1490
|
+
uid: "Test string",
|
|
1491
|
+
updateTime: "Test string",
|
|
1492
|
+
});
|
|
1493
|
+
/** Creates a Scope RBACRoleBinding. */
|
|
1494
|
+
await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.create({
|
|
1495
|
+
parent: "Test string",
|
|
1496
|
+
rbacrolebindingId: "Test string",
|
|
1497
|
+
}, {
|
|
1498
|
+
createTime: "Test string",
|
|
1499
|
+
deleteTime: "Test string",
|
|
1500
|
+
group: "Test string",
|
|
1501
|
+
labels: {
|
|
1502
|
+
A: "Test string"
|
|
1503
|
+
},
|
|
1504
|
+
name: "Test string",
|
|
1505
|
+
role: {
|
|
1506
|
+
predefinedRole: "Test string",
|
|
1507
|
+
},
|
|
1508
|
+
state: {
|
|
1509
|
+
code: "Test string",
|
|
1510
|
+
},
|
|
1511
|
+
uid: "Test string",
|
|
1512
|
+
updateTime: "Test string",
|
|
1513
|
+
user: "Test string",
|
|
1514
|
+
});
|
|
1515
|
+
/** Deletes a Scope RBACRoleBinding. */
|
|
1516
|
+
await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.delete({
|
|
1517
|
+
name: "Test string",
|
|
1518
|
+
});
|
|
1519
|
+
/** Returns the details of a Scope RBACRoleBinding. */
|
|
1520
|
+
await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.get({
|
|
1521
|
+
name: "Test string",
|
|
1522
|
+
});
|
|
1523
|
+
/** Lists all Scope RBACRoleBindings. */
|
|
1524
|
+
await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.list({
|
|
1525
|
+
pageSize: 42,
|
|
1526
|
+
pageToken: "Test string",
|
|
1527
|
+
parent: "Test string",
|
|
1528
|
+
});
|
|
1529
|
+
/** Updates a Scope RBACRoleBinding. */
|
|
1530
|
+
await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.patch({
|
|
1531
|
+
name: "Test string",
|
|
1532
|
+
updateMask: "Test string",
|
|
1533
|
+
}, {
|
|
1534
|
+
createTime: "Test string",
|
|
1535
|
+
deleteTime: "Test string",
|
|
1536
|
+
group: "Test string",
|
|
1537
|
+
labels: {
|
|
1538
|
+
A: "Test string"
|
|
1539
|
+
},
|
|
1540
|
+
name: "Test string",
|
|
1541
|
+
role: {
|
|
1542
|
+
predefinedRole: "Test string",
|
|
1543
|
+
},
|
|
1544
|
+
state: {
|
|
1545
|
+
code: "Test string",
|
|
1546
|
+
},
|
|
1547
|
+
uid: "Test string",
|
|
1548
|
+
updateTime: "Test string",
|
|
1549
|
+
user: "Test string",
|
|
1550
|
+
});
|
|
1435
1551
|
}
|
|
1436
1552
|
});
|