@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230606 → 0.0.20230620
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 +463 -23
- package/package.json +1 -1
- package/tests.ts +100 -19
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:
|
|
12
|
+
// Revision: 20230620
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -332,22 +332,18 @@ declare namespace gapi.client {
|
|
|
332
332
|
allowVerticalScale?:
|
|
333
333
|
boolean;
|
|
334
334
|
/**
|
|
335
|
-
* Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false
|
|
336
|
-
*
|
|
337
|
-
* invalid. If omitted, ConfigSync resources will be managed if: * the git or oci field is present; or * Managed Config Sync is enabled (i.e., managed.enabled is true).
|
|
335
|
+
* Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other
|
|
336
|
+
* ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
|
|
338
337
|
*/
|
|
339
338
|
enabled?:
|
|
340
339
|
boolean;
|
|
341
340
|
/** Git repo configuration for the cluster. */
|
|
342
341
|
git?:
|
|
343
342
|
ConfigManagementGitConfig;
|
|
344
|
-
/** Configuration for Managed Config Sync. */
|
|
345
|
-
managed?:
|
|
346
|
-
ConfigManagementManaged;
|
|
347
343
|
/**
|
|
348
|
-
* The Email of the
|
|
349
|
-
* Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be binded
|
|
350
|
-
* GSA. This field is required when
|
|
344
|
+
* 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
|
|
345
|
+
* have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be binded
|
|
346
|
+
* to the GSA. This field is required when automatic Feature management is enabled.
|
|
351
347
|
*/
|
|
352
348
|
metricsGcpServiceAccountEmail?:
|
|
353
349
|
string;
|
|
@@ -360,6 +356,12 @@ declare namespace gapi.client {
|
|
|
360
356
|
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
361
357
|
sourceFormat?:
|
|
362
358
|
string;
|
|
359
|
+
/**
|
|
360
|
+
* Set to true to stop syncing configs for a single cluster when automatic Feature management is enabled. Default to false. The field will be ignored when automatic Feature management
|
|
361
|
+
* is disabled.
|
|
362
|
+
*/
|
|
363
|
+
stopSyncing?:
|
|
364
|
+
boolean;
|
|
363
365
|
}
|
|
364
366
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
365
367
|
/** Deployment state of admission-webhook */
|
|
@@ -452,7 +454,7 @@ declare namespace gapi.client {
|
|
|
452
454
|
string;
|
|
453
455
|
}
|
|
454
456
|
interface ConfigManagementGitConfig {
|
|
455
|
-
/** The
|
|
457
|
+
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
456
458
|
gcpServiceAccountEmail?:
|
|
457
459
|
string;
|
|
458
460
|
/** URL for the HTTPS proxy to be used when communicating with the Git repo. */
|
|
@@ -528,14 +530,6 @@ declare namespace gapi.client {
|
|
|
528
530
|
errorMessage?:
|
|
529
531
|
string;
|
|
530
532
|
}
|
|
531
|
-
interface ConfigManagementManaged {
|
|
532
|
-
/** Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync. Setting this field to true when configSync.enabled is false is invalid. */
|
|
533
|
-
enabled?:
|
|
534
|
-
boolean;
|
|
535
|
-
/** Set to true to stop syncing configs for a single cluster. Default to false. If set to true, Managed Config Sync will not upgrade Config Sync. */
|
|
536
|
-
stopSyncing?:
|
|
537
|
-
boolean;
|
|
538
|
-
}
|
|
539
533
|
interface ConfigManagementMembershipSpec {
|
|
540
534
|
/** Binauthz conifguration for the cluster. */
|
|
541
535
|
binauthz?:
|
|
@@ -553,6 +547,9 @@ declare namespace gapi.client {
|
|
|
553
547
|
/** Hierarchy Controller configuration for the cluster. */
|
|
554
548
|
hierarchyController?:
|
|
555
549
|
ConfigManagementHierarchyControllerConfig;
|
|
550
|
+
/** Enables automatic Feature management. */
|
|
551
|
+
management?:
|
|
552
|
+
string;
|
|
556
553
|
/** Policy Controller configuration for the cluster. */
|
|
557
554
|
policyController?:
|
|
558
555
|
ConfigManagementPolicyController;
|
|
@@ -584,7 +581,7 @@ declare namespace gapi.client {
|
|
|
584
581
|
ConfigManagementPolicyControllerState;
|
|
585
582
|
}
|
|
586
583
|
interface ConfigManagementOciConfig {
|
|
587
|
-
/** The
|
|
584
|
+
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
588
585
|
gcpServiceAccountEmail?:
|
|
589
586
|
string;
|
|
590
587
|
/** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
|
|
@@ -636,8 +633,14 @@ declare namespace gapi.client {
|
|
|
636
633
|
/** Installs the default template library along with Policy Controller. */
|
|
637
634
|
templateLibraryInstalled?:
|
|
638
635
|
boolean;
|
|
636
|
+
/** Output only. Last time this membership spec was updated. */
|
|
637
|
+
updateTime?:
|
|
638
|
+
string;
|
|
639
639
|
}
|
|
640
640
|
interface ConfigManagementPolicyControllerMigration {
|
|
641
|
+
/** Last time this membership spec was copied to PoCo feature. */
|
|
642
|
+
copyTime?:
|
|
643
|
+
string;
|
|
641
644
|
/** Stage of the migration. */
|
|
642
645
|
stage?:
|
|
643
646
|
string;
|
|
@@ -880,6 +883,11 @@ declare namespace gapi.client {
|
|
|
880
883
|
manifest?:
|
|
881
884
|
ConnectAgentResource[];
|
|
882
885
|
}
|
|
886
|
+
interface GenerateMembershipRBACRoleBindingYAMLResponse {
|
|
887
|
+
/** a yaml text blob including the RBAC policies. */
|
|
888
|
+
roleBindingsYaml?:
|
|
889
|
+
string;
|
|
890
|
+
}
|
|
883
891
|
interface GkeCluster {
|
|
884
892
|
/** Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. */
|
|
885
893
|
clusterMissing?:
|
|
@@ -1102,6 +1110,14 @@ declare namespace gapi.client {
|
|
|
1102
1110
|
nextPageToken?:
|
|
1103
1111
|
string;
|
|
1104
1112
|
}
|
|
1113
|
+
interface ListMembershipRBACRoleBindingsResponse {
|
|
1114
|
+
/** A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return. */
|
|
1115
|
+
nextPageToken?:
|
|
1116
|
+
string;
|
|
1117
|
+
/** The list of Membership RBACRoleBindings. */
|
|
1118
|
+
rbacrolebindings?:
|
|
1119
|
+
RBACRoleBinding[];
|
|
1120
|
+
}
|
|
1105
1121
|
interface ListMembershipsResponse {
|
|
1106
1122
|
/** A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return. */
|
|
1107
1123
|
nextPageToken?:
|
|
@@ -1293,9 +1309,6 @@ declare namespace gapi.client {
|
|
|
1293
1309
|
/** Config Management-specific spec. */
|
|
1294
1310
|
configmanagement?:
|
|
1295
1311
|
ConfigManagementMembershipSpec;
|
|
1296
|
-
/** True if value of `feature_spec` was inherited from a fleet-level default. */
|
|
1297
|
-
fleetInherited?:
|
|
1298
|
-
boolean;
|
|
1299
1312
|
/** Fleet observability membership spec */
|
|
1300
1313
|
fleetobservability?:
|
|
1301
1314
|
any;
|
|
@@ -1305,6 +1318,12 @@ declare namespace gapi.client {
|
|
|
1305
1318
|
/** Anthos Service Mesh-specific spec */
|
|
1306
1319
|
mesh?:
|
|
1307
1320
|
ServiceMeshMembershipSpec;
|
|
1321
|
+
/**
|
|
1322
|
+
* Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly)
|
|
1323
|
+
* or setting to FLEET explicitly.
|
|
1324
|
+
*/
|
|
1325
|
+
origin?:
|
|
1326
|
+
Origin;
|
|
1308
1327
|
/** Policy Controller spec. */
|
|
1309
1328
|
policycontroller?:
|
|
1310
1329
|
PolicyControllerMembershipSpec;
|
|
@@ -1508,6 +1527,11 @@ declare namespace gapi.client {
|
|
|
1508
1527
|
verb?:
|
|
1509
1528
|
string;
|
|
1510
1529
|
}
|
|
1530
|
+
interface Origin {
|
|
1531
|
+
/** Type specifies which type of origin is set. */
|
|
1532
|
+
type?:
|
|
1533
|
+
string;
|
|
1534
|
+
}
|
|
1511
1535
|
interface Policy {
|
|
1512
1536
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
1513
1537
|
auditConfigs?:
|
|
@@ -1633,6 +1657,12 @@ declare namespace gapi.client {
|
|
|
1633
1657
|
/** The state of the any bundles included in the chosen version of the manifest */
|
|
1634
1658
|
bundleStates?:
|
|
1635
1659
|
{ [P in string]: PolicyControllerOnClusterState };
|
|
1660
|
+
/**
|
|
1661
|
+
* The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo
|
|
1662
|
+
* configured by the user.
|
|
1663
|
+
*/
|
|
1664
|
+
referentialSyncConfigState?:
|
|
1665
|
+
PolicyControllerOnClusterState;
|
|
1636
1666
|
/** The state of the template library */
|
|
1637
1667
|
templateLibraryState?:
|
|
1638
1668
|
PolicyControllerOnClusterState;
|
|
@@ -3137,6 +3167,414 @@ declare namespace gapi.client {
|
|
|
3137
3167
|
},
|
|
3138
3168
|
body: MembershipBinding): Request<Operation>;
|
|
3139
3169
|
}
|
|
3170
|
+
interface RbacrolebindingsResource {
|
|
3171
|
+
/** Creates a Membership RBACRoleBinding. */
|
|
3172
|
+
create(request: {
|
|
3173
|
+
/** V1 error format. */
|
|
3174
|
+
"$.xgafv"?:
|
|
3175
|
+
string;
|
|
3176
|
+
/** OAuth access token. */
|
|
3177
|
+
access_token?:
|
|
3178
|
+
string;
|
|
3179
|
+
/** Data format for response. */
|
|
3180
|
+
alt?:
|
|
3181
|
+
string;
|
|
3182
|
+
/** JSONP */
|
|
3183
|
+
callback?:
|
|
3184
|
+
string;
|
|
3185
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3186
|
+
fields?:
|
|
3187
|
+
string;
|
|
3188
|
+
/** 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. */
|
|
3189
|
+
key?:
|
|
3190
|
+
string;
|
|
3191
|
+
/** OAuth 2.0 token for the current user. */
|
|
3192
|
+
oauth_token?:
|
|
3193
|
+
string;
|
|
3194
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`. */
|
|
3195
|
+
parent:
|
|
3196
|
+
string;
|
|
3197
|
+
/** Returns response with indentations and line breaks. */
|
|
3198
|
+
prettyPrint?:
|
|
3199
|
+
boolean;
|
|
3200
|
+
/** 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. */
|
|
3201
|
+
quotaUser?:
|
|
3202
|
+
string;
|
|
3203
|
+
/**
|
|
3204
|
+
* 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
|
|
3205
|
+
* 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
|
|
3206
|
+
* maximum length of 63 characters.
|
|
3207
|
+
*/
|
|
3208
|
+
rbacrolebindingId?:
|
|
3209
|
+
string;
|
|
3210
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3211
|
+
upload_protocol?:
|
|
3212
|
+
string;
|
|
3213
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3214
|
+
uploadType?:
|
|
3215
|
+
string;
|
|
3216
|
+
/** Request body */
|
|
3217
|
+
resource:
|
|
3218
|
+
RBACRoleBinding;
|
|
3219
|
+
}): Request<Operation>;
|
|
3220
|
+
create(request: {
|
|
3221
|
+
/** V1 error format. */
|
|
3222
|
+
"$.xgafv"?:
|
|
3223
|
+
string;
|
|
3224
|
+
/** OAuth access token. */
|
|
3225
|
+
access_token?:
|
|
3226
|
+
string;
|
|
3227
|
+
/** Data format for response. */
|
|
3228
|
+
alt?:
|
|
3229
|
+
string;
|
|
3230
|
+
/** JSONP */
|
|
3231
|
+
callback?:
|
|
3232
|
+
string;
|
|
3233
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3234
|
+
fields?:
|
|
3235
|
+
string;
|
|
3236
|
+
/** 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. */
|
|
3237
|
+
key?:
|
|
3238
|
+
string;
|
|
3239
|
+
/** OAuth 2.0 token for the current user. */
|
|
3240
|
+
oauth_token?:
|
|
3241
|
+
string;
|
|
3242
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`. */
|
|
3243
|
+
parent:
|
|
3244
|
+
string;
|
|
3245
|
+
/** Returns response with indentations and line breaks. */
|
|
3246
|
+
prettyPrint?:
|
|
3247
|
+
boolean;
|
|
3248
|
+
/** 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. */
|
|
3249
|
+
quotaUser?:
|
|
3250
|
+
string;
|
|
3251
|
+
/**
|
|
3252
|
+
* 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
|
|
3253
|
+
* 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
|
|
3254
|
+
* maximum length of 63 characters.
|
|
3255
|
+
*/
|
|
3256
|
+
rbacrolebindingId?:
|
|
3257
|
+
string;
|
|
3258
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3259
|
+
upload_protocol?:
|
|
3260
|
+
string;
|
|
3261
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3262
|
+
uploadType?:
|
|
3263
|
+
string;
|
|
3264
|
+
},
|
|
3265
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
3266
|
+
/** Deletes a Membership RBACRoleBinding. */
|
|
3267
|
+
delete(request?: {
|
|
3268
|
+
/** V1 error format. */
|
|
3269
|
+
"$.xgafv"?:
|
|
3270
|
+
string;
|
|
3271
|
+
/** OAuth access token. */
|
|
3272
|
+
access_token?:
|
|
3273
|
+
string;
|
|
3274
|
+
/** Data format for response. */
|
|
3275
|
+
alt?:
|
|
3276
|
+
string;
|
|
3277
|
+
/** JSONP */
|
|
3278
|
+
callback?:
|
|
3279
|
+
string;
|
|
3280
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3281
|
+
fields?:
|
|
3282
|
+
string;
|
|
3283
|
+
/** 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. */
|
|
3284
|
+
key?:
|
|
3285
|
+
string;
|
|
3286
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`. */
|
|
3287
|
+
name:
|
|
3288
|
+
string;
|
|
3289
|
+
/** OAuth 2.0 token for the current user. */
|
|
3290
|
+
oauth_token?:
|
|
3291
|
+
string;
|
|
3292
|
+
/** Returns response with indentations and line breaks. */
|
|
3293
|
+
prettyPrint?:
|
|
3294
|
+
boolean;
|
|
3295
|
+
/** 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. */
|
|
3296
|
+
quotaUser?:
|
|
3297
|
+
string;
|
|
3298
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3299
|
+
upload_protocol?:
|
|
3300
|
+
string;
|
|
3301
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3302
|
+
uploadType?:
|
|
3303
|
+
string;
|
|
3304
|
+
}): Request<Operation>;
|
|
3305
|
+
/** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */
|
|
3306
|
+
generateMembershipRBACRoleBindingYAML(request: {
|
|
3307
|
+
/** V1 error format. */
|
|
3308
|
+
"$.xgafv"?:
|
|
3309
|
+
string;
|
|
3310
|
+
/** OAuth access token. */
|
|
3311
|
+
access_token?:
|
|
3312
|
+
string;
|
|
3313
|
+
/** Data format for response. */
|
|
3314
|
+
alt?:
|
|
3315
|
+
string;
|
|
3316
|
+
/** JSONP */
|
|
3317
|
+
callback?:
|
|
3318
|
+
string;
|
|
3319
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3320
|
+
fields?:
|
|
3321
|
+
string;
|
|
3322
|
+
/** 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. */
|
|
3323
|
+
key?:
|
|
3324
|
+
string;
|
|
3325
|
+
/** OAuth 2.0 token for the current user. */
|
|
3326
|
+
oauth_token?:
|
|
3327
|
+
string;
|
|
3328
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`. */
|
|
3329
|
+
parent:
|
|
3330
|
+
string;
|
|
3331
|
+
/** Returns response with indentations and line breaks. */
|
|
3332
|
+
prettyPrint?:
|
|
3333
|
+
boolean;
|
|
3334
|
+
/** 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. */
|
|
3335
|
+
quotaUser?:
|
|
3336
|
+
string;
|
|
3337
|
+
/**
|
|
3338
|
+
* 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
|
|
3339
|
+
* 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
|
|
3340
|
+
* maximum length of 63 characters.
|
|
3341
|
+
*/
|
|
3342
|
+
rbacrolebindingId?:
|
|
3343
|
+
string;
|
|
3344
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3345
|
+
upload_protocol?:
|
|
3346
|
+
string;
|
|
3347
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3348
|
+
uploadType?:
|
|
3349
|
+
string;
|
|
3350
|
+
/** Request body */
|
|
3351
|
+
resource:
|
|
3352
|
+
RBACRoleBinding;
|
|
3353
|
+
}): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
|
|
3354
|
+
generateMembershipRBACRoleBindingYAML(request: {
|
|
3355
|
+
/** V1 error format. */
|
|
3356
|
+
"$.xgafv"?:
|
|
3357
|
+
string;
|
|
3358
|
+
/** OAuth access token. */
|
|
3359
|
+
access_token?:
|
|
3360
|
+
string;
|
|
3361
|
+
/** Data format for response. */
|
|
3362
|
+
alt?:
|
|
3363
|
+
string;
|
|
3364
|
+
/** JSONP */
|
|
3365
|
+
callback?:
|
|
3366
|
+
string;
|
|
3367
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3368
|
+
fields?:
|
|
3369
|
+
string;
|
|
3370
|
+
/** 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. */
|
|
3371
|
+
key?:
|
|
3372
|
+
string;
|
|
3373
|
+
/** OAuth 2.0 token for the current user. */
|
|
3374
|
+
oauth_token?:
|
|
3375
|
+
string;
|
|
3376
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`. */
|
|
3377
|
+
parent:
|
|
3378
|
+
string;
|
|
3379
|
+
/** Returns response with indentations and line breaks. */
|
|
3380
|
+
prettyPrint?:
|
|
3381
|
+
boolean;
|
|
3382
|
+
/** 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. */
|
|
3383
|
+
quotaUser?:
|
|
3384
|
+
string;
|
|
3385
|
+
/**
|
|
3386
|
+
* 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
|
|
3387
|
+
* 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
|
|
3388
|
+
* maximum length of 63 characters.
|
|
3389
|
+
*/
|
|
3390
|
+
rbacrolebindingId?:
|
|
3391
|
+
string;
|
|
3392
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3393
|
+
upload_protocol?:
|
|
3394
|
+
string;
|
|
3395
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3396
|
+
uploadType?:
|
|
3397
|
+
string;
|
|
3398
|
+
},
|
|
3399
|
+
body: RBACRoleBinding): Request<GenerateMembershipRBACRoleBindingYAMLResponse>;
|
|
3400
|
+
/** Returns the details of a Membership RBACRoleBinding. */
|
|
3401
|
+
get(request?: {
|
|
3402
|
+
/** V1 error format. */
|
|
3403
|
+
"$.xgafv"?:
|
|
3404
|
+
string;
|
|
3405
|
+
/** OAuth access token. */
|
|
3406
|
+
access_token?:
|
|
3407
|
+
string;
|
|
3408
|
+
/** Data format for response. */
|
|
3409
|
+
alt?:
|
|
3410
|
+
string;
|
|
3411
|
+
/** JSONP */
|
|
3412
|
+
callback?:
|
|
3413
|
+
string;
|
|
3414
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3415
|
+
fields?:
|
|
3416
|
+
string;
|
|
3417
|
+
/** 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. */
|
|
3418
|
+
key?:
|
|
3419
|
+
string;
|
|
3420
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`. */
|
|
3421
|
+
name:
|
|
3422
|
+
string;
|
|
3423
|
+
/** OAuth 2.0 token for the current user. */
|
|
3424
|
+
oauth_token?:
|
|
3425
|
+
string;
|
|
3426
|
+
/** Returns response with indentations and line breaks. */
|
|
3427
|
+
prettyPrint?:
|
|
3428
|
+
boolean;
|
|
3429
|
+
/** 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. */
|
|
3430
|
+
quotaUser?:
|
|
3431
|
+
string;
|
|
3432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3433
|
+
upload_protocol?:
|
|
3434
|
+
string;
|
|
3435
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3436
|
+
uploadType?:
|
|
3437
|
+
string;
|
|
3438
|
+
}): Request<RBACRoleBinding>;
|
|
3439
|
+
/** Lists all Membership RBACRoleBindings. */
|
|
3440
|
+
list(request?: {
|
|
3441
|
+
/** V1 error format. */
|
|
3442
|
+
"$.xgafv"?:
|
|
3443
|
+
string;
|
|
3444
|
+
/** OAuth access token. */
|
|
3445
|
+
access_token?:
|
|
3446
|
+
string;
|
|
3447
|
+
/** Data format for response. */
|
|
3448
|
+
alt?:
|
|
3449
|
+
string;
|
|
3450
|
+
/** JSONP */
|
|
3451
|
+
callback?:
|
|
3452
|
+
string;
|
|
3453
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3454
|
+
fields?:
|
|
3455
|
+
string;
|
|
3456
|
+
/** 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. */
|
|
3457
|
+
key?:
|
|
3458
|
+
string;
|
|
3459
|
+
/** OAuth 2.0 token for the current user. */
|
|
3460
|
+
oauth_token?:
|
|
3461
|
+
string;
|
|
3462
|
+
/** 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. */
|
|
3463
|
+
pageSize?:
|
|
3464
|
+
number;
|
|
3465
|
+
/** Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources. */
|
|
3466
|
+
pageToken?:
|
|
3467
|
+
string;
|
|
3468
|
+
/** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/memberships/*`. */
|
|
3469
|
+
parent:
|
|
3470
|
+
string;
|
|
3471
|
+
/** Returns response with indentations and line breaks. */
|
|
3472
|
+
prettyPrint?:
|
|
3473
|
+
boolean;
|
|
3474
|
+
/** 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. */
|
|
3475
|
+
quotaUser?:
|
|
3476
|
+
string;
|
|
3477
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3478
|
+
upload_protocol?:
|
|
3479
|
+
string;
|
|
3480
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3481
|
+
uploadType?:
|
|
3482
|
+
string;
|
|
3483
|
+
}): Request<ListMembershipRBACRoleBindingsResponse>;
|
|
3484
|
+
/** Updates a Membership RBACRoleBinding. */
|
|
3485
|
+
patch(request: {
|
|
3486
|
+
/** V1 error format. */
|
|
3487
|
+
"$.xgafv"?:
|
|
3488
|
+
string;
|
|
3489
|
+
/** OAuth access token. */
|
|
3490
|
+
access_token?:
|
|
3491
|
+
string;
|
|
3492
|
+
/** Data format for response. */
|
|
3493
|
+
alt?:
|
|
3494
|
+
string;
|
|
3495
|
+
/** JSONP */
|
|
3496
|
+
callback?:
|
|
3497
|
+
string;
|
|
3498
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3499
|
+
fields?:
|
|
3500
|
+
string;
|
|
3501
|
+
/** 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. */
|
|
3502
|
+
key?:
|
|
3503
|
+
string;
|
|
3504
|
+
/**
|
|
3505
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
3506
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
3507
|
+
*/
|
|
3508
|
+
name:
|
|
3509
|
+
string;
|
|
3510
|
+
/** OAuth 2.0 token for the current user. */
|
|
3511
|
+
oauth_token?:
|
|
3512
|
+
string;
|
|
3513
|
+
/** Returns response with indentations and line breaks. */
|
|
3514
|
+
prettyPrint?:
|
|
3515
|
+
boolean;
|
|
3516
|
+
/** 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. */
|
|
3517
|
+
quotaUser?:
|
|
3518
|
+
string;
|
|
3519
|
+
/** Required. The fields to be updated. */
|
|
3520
|
+
updateMask?:
|
|
3521
|
+
string;
|
|
3522
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3523
|
+
upload_protocol?:
|
|
3524
|
+
string;
|
|
3525
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3526
|
+
uploadType?:
|
|
3527
|
+
string;
|
|
3528
|
+
/** Request body */
|
|
3529
|
+
resource:
|
|
3530
|
+
RBACRoleBinding;
|
|
3531
|
+
}): Request<Operation>;
|
|
3532
|
+
patch(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
|
+
/**
|
|
3552
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
3553
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
3554
|
+
*/
|
|
3555
|
+
name:
|
|
3556
|
+
string;
|
|
3557
|
+
/** OAuth 2.0 token for the current user. */
|
|
3558
|
+
oauth_token?:
|
|
3559
|
+
string;
|
|
3560
|
+
/** Returns response with indentations and line breaks. */
|
|
3561
|
+
prettyPrint?:
|
|
3562
|
+
boolean;
|
|
3563
|
+
/** 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. */
|
|
3564
|
+
quotaUser?:
|
|
3565
|
+
string;
|
|
3566
|
+
/** Required. The fields to be updated. */
|
|
3567
|
+
updateMask?:
|
|
3568
|
+
string;
|
|
3569
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3570
|
+
upload_protocol?:
|
|
3571
|
+
string;
|
|
3572
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3573
|
+
uploadType?:
|
|
3574
|
+
string;
|
|
3575
|
+
},
|
|
3576
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
3577
|
+
}
|
|
3140
3578
|
interface MembershipsResource {
|
|
3141
3579
|
/**
|
|
3142
3580
|
* Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at
|
|
@@ -3853,6 +4291,8 @@ declare namespace gapi.client {
|
|
|
3853
4291
|
body: ValidateCreateMembershipRequest): Request<ValidateCreateMembershipResponse>;
|
|
3854
4292
|
bindings:
|
|
3855
4293
|
BindingsResource;
|
|
4294
|
+
rbacrolebindings:
|
|
4295
|
+
RbacrolebindingsResource;
|
|
3856
4296
|
}
|
|
3857
4297
|
interface RbacrolebindingsResource {
|
|
3858
4298
|
/** Creates a RBACRoleBinding. */
|
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: 20230620
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -122,10 +122,6 @@ gapi.load('client', async () => {
|
|
|
122
122
|
syncRev: "Test string",
|
|
123
123
|
syncWaitSecs: "Test string",
|
|
124
124
|
},
|
|
125
|
-
managed: {
|
|
126
|
-
enabled: true,
|
|
127
|
-
stopSyncing: true,
|
|
128
|
-
},
|
|
129
125
|
metricsGcpServiceAccountEmail: "Test string",
|
|
130
126
|
oci: {
|
|
131
127
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -136,12 +132,14 @@ gapi.load('client', async () => {
|
|
|
136
132
|
},
|
|
137
133
|
preventDrift: true,
|
|
138
134
|
sourceFormat: "Test string",
|
|
135
|
+
stopSyncing: true,
|
|
139
136
|
},
|
|
140
137
|
hierarchyController: {
|
|
141
138
|
enabled: true,
|
|
142
139
|
enableHierarchicalResourceQuota: true,
|
|
143
140
|
enablePodTreeLabels: true,
|
|
144
141
|
},
|
|
142
|
+
management: "Test string",
|
|
145
143
|
policyController: {
|
|
146
144
|
auditIntervalSeconds: "Test string",
|
|
147
145
|
enabled: true,
|
|
@@ -157,10 +155,10 @@ gapi.load('client', async () => {
|
|
|
157
155
|
mutationEnabled: true,
|
|
158
156
|
referentialRulesEnabled: true,
|
|
159
157
|
templateLibraryInstalled: true,
|
|
158
|
+
updateTime: "Test string",
|
|
160
159
|
},
|
|
161
160
|
version: "Test string",
|
|
162
161
|
},
|
|
163
|
-
fleetInherited: true,
|
|
164
162
|
fleetobservability: {
|
|
165
163
|
},
|
|
166
164
|
identityservice: {
|
|
@@ -202,6 +200,9 @@ gapi.load('client', async () => {
|
|
|
202
200
|
defaultChannel: "Test string",
|
|
203
201
|
management: "Test string",
|
|
204
202
|
},
|
|
203
|
+
origin: {
|
|
204
|
+
type: "Test string",
|
|
205
|
+
},
|
|
205
206
|
policycontroller: {
|
|
206
207
|
policyControllerHubConfig: {
|
|
207
208
|
auditIntervalSeconds: "Test string",
|
|
@@ -385,10 +386,6 @@ gapi.load('client', async () => {
|
|
|
385
386
|
syncRev: "Test string",
|
|
386
387
|
syncWaitSecs: "Test string",
|
|
387
388
|
},
|
|
388
|
-
managed: {
|
|
389
|
-
enabled: true,
|
|
390
|
-
stopSyncing: true,
|
|
391
|
-
},
|
|
392
389
|
metricsGcpServiceAccountEmail: "Test string",
|
|
393
390
|
oci: {
|
|
394
391
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -399,12 +396,14 @@ gapi.load('client', async () => {
|
|
|
399
396
|
},
|
|
400
397
|
preventDrift: true,
|
|
401
398
|
sourceFormat: "Test string",
|
|
399
|
+
stopSyncing: true,
|
|
402
400
|
},
|
|
403
401
|
hierarchyController: {
|
|
404
402
|
enabled: true,
|
|
405
403
|
enableHierarchicalResourceQuota: true,
|
|
406
404
|
enablePodTreeLabels: true,
|
|
407
405
|
},
|
|
406
|
+
management: "Test string",
|
|
408
407
|
policyController: {
|
|
409
408
|
auditIntervalSeconds: "Test string",
|
|
410
409
|
enabled: true,
|
|
@@ -420,6 +419,7 @@ gapi.load('client', async () => {
|
|
|
420
419
|
mutationEnabled: true,
|
|
421
420
|
referentialRulesEnabled: true,
|
|
422
421
|
templateLibraryInstalled: true,
|
|
422
|
+
updateTime: "Test string",
|
|
423
423
|
},
|
|
424
424
|
version: "Test string",
|
|
425
425
|
},
|
|
@@ -439,6 +439,7 @@ gapi.load('client', async () => {
|
|
|
439
439
|
gatekeeperMutation: "Test string",
|
|
440
440
|
},
|
|
441
441
|
migration: {
|
|
442
|
+
copyTime: "Test string",
|
|
442
443
|
stage: "Test string",
|
|
443
444
|
},
|
|
444
445
|
version: {
|
|
@@ -511,6 +512,10 @@ gapi.load('client', async () => {
|
|
|
511
512
|
state: "Test string",
|
|
512
513
|
}
|
|
513
514
|
},
|
|
515
|
+
referentialSyncConfigState: {
|
|
516
|
+
details: "Test string",
|
|
517
|
+
state: "Test string",
|
|
518
|
+
},
|
|
514
519
|
templateLibraryState: {
|
|
515
520
|
details: "Test string",
|
|
516
521
|
state: "Test string",
|
|
@@ -811,10 +816,6 @@ gapi.load('client', async () => {
|
|
|
811
816
|
syncRev: "Test string",
|
|
812
817
|
syncWaitSecs: "Test string",
|
|
813
818
|
},
|
|
814
|
-
managed: {
|
|
815
|
-
enabled: true,
|
|
816
|
-
stopSyncing: true,
|
|
817
|
-
},
|
|
818
819
|
metricsGcpServiceAccountEmail: "Test string",
|
|
819
820
|
oci: {
|
|
820
821
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -825,12 +826,14 @@ gapi.load('client', async () => {
|
|
|
825
826
|
},
|
|
826
827
|
preventDrift: true,
|
|
827
828
|
sourceFormat: "Test string",
|
|
829
|
+
stopSyncing: true,
|
|
828
830
|
},
|
|
829
831
|
hierarchyController: {
|
|
830
832
|
enabled: true,
|
|
831
833
|
enableHierarchicalResourceQuota: true,
|
|
832
834
|
enablePodTreeLabels: true,
|
|
833
835
|
},
|
|
836
|
+
management: "Test string",
|
|
834
837
|
policyController: {
|
|
835
838
|
auditIntervalSeconds: "Test string",
|
|
836
839
|
enabled: true,
|
|
@@ -846,10 +849,10 @@ gapi.load('client', async () => {
|
|
|
846
849
|
mutationEnabled: true,
|
|
847
850
|
referentialRulesEnabled: true,
|
|
848
851
|
templateLibraryInstalled: true,
|
|
852
|
+
updateTime: "Test string",
|
|
849
853
|
},
|
|
850
854
|
version: "Test string",
|
|
851
855
|
},
|
|
852
|
-
fleetInherited: true,
|
|
853
856
|
fleetobservability: {
|
|
854
857
|
},
|
|
855
858
|
identityservice: {
|
|
@@ -891,6 +894,9 @@ gapi.load('client', async () => {
|
|
|
891
894
|
defaultChannel: "Test string",
|
|
892
895
|
management: "Test string",
|
|
893
896
|
},
|
|
897
|
+
origin: {
|
|
898
|
+
type: "Test string",
|
|
899
|
+
},
|
|
894
900
|
policycontroller: {
|
|
895
901
|
policyControllerHubConfig: {
|
|
896
902
|
auditIntervalSeconds: "Test string",
|
|
@@ -1074,10 +1080,6 @@ gapi.load('client', async () => {
|
|
|
1074
1080
|
syncRev: "Test string",
|
|
1075
1081
|
syncWaitSecs: "Test string",
|
|
1076
1082
|
},
|
|
1077
|
-
managed: {
|
|
1078
|
-
enabled: true,
|
|
1079
|
-
stopSyncing: true,
|
|
1080
|
-
},
|
|
1081
1083
|
metricsGcpServiceAccountEmail: "Test string",
|
|
1082
1084
|
oci: {
|
|
1083
1085
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -1088,12 +1090,14 @@ gapi.load('client', async () => {
|
|
|
1088
1090
|
},
|
|
1089
1091
|
preventDrift: true,
|
|
1090
1092
|
sourceFormat: "Test string",
|
|
1093
|
+
stopSyncing: true,
|
|
1091
1094
|
},
|
|
1092
1095
|
hierarchyController: {
|
|
1093
1096
|
enabled: true,
|
|
1094
1097
|
enableHierarchicalResourceQuota: true,
|
|
1095
1098
|
enablePodTreeLabels: true,
|
|
1096
1099
|
},
|
|
1100
|
+
management: "Test string",
|
|
1097
1101
|
policyController: {
|
|
1098
1102
|
auditIntervalSeconds: "Test string",
|
|
1099
1103
|
enabled: true,
|
|
@@ -1109,6 +1113,7 @@ gapi.load('client', async () => {
|
|
|
1109
1113
|
mutationEnabled: true,
|
|
1110
1114
|
referentialRulesEnabled: true,
|
|
1111
1115
|
templateLibraryInstalled: true,
|
|
1116
|
+
updateTime: "Test string",
|
|
1112
1117
|
},
|
|
1113
1118
|
version: "Test string",
|
|
1114
1119
|
},
|
|
@@ -1128,6 +1133,7 @@ gapi.load('client', async () => {
|
|
|
1128
1133
|
gatekeeperMutation: "Test string",
|
|
1129
1134
|
},
|
|
1130
1135
|
migration: {
|
|
1136
|
+
copyTime: "Test string",
|
|
1131
1137
|
stage: "Test string",
|
|
1132
1138
|
},
|
|
1133
1139
|
version: {
|
|
@@ -1200,6 +1206,10 @@ gapi.load('client', async () => {
|
|
|
1200
1206
|
state: "Test string",
|
|
1201
1207
|
}
|
|
1202
1208
|
},
|
|
1209
|
+
referentialSyncConfigState: {
|
|
1210
|
+
details: "Test string",
|
|
1211
|
+
state: "Test string",
|
|
1212
|
+
},
|
|
1203
1213
|
templateLibraryState: {
|
|
1204
1214
|
details: "Test string",
|
|
1205
1215
|
state: "Test string",
|
|
@@ -1896,6 +1906,77 @@ gapi.load('client', async () => {
|
|
|
1896
1906
|
uid: "Test string",
|
|
1897
1907
|
updateTime: "Test string",
|
|
1898
1908
|
});
|
|
1909
|
+
/** Creates a Membership RBACRoleBinding. */
|
|
1910
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.create({
|
|
1911
|
+
parent: "Test string",
|
|
1912
|
+
rbacrolebindingId: "Test string",
|
|
1913
|
+
}, {
|
|
1914
|
+
createTime: "Test string",
|
|
1915
|
+
deleteTime: "Test string",
|
|
1916
|
+
group: "Test string",
|
|
1917
|
+
name: "Test string",
|
|
1918
|
+
role: {
|
|
1919
|
+
predefinedRole: "Test string",
|
|
1920
|
+
},
|
|
1921
|
+
state: {
|
|
1922
|
+
code: "Test string",
|
|
1923
|
+
},
|
|
1924
|
+
uid: "Test string",
|
|
1925
|
+
updateTime: "Test string",
|
|
1926
|
+
user: "Test string",
|
|
1927
|
+
});
|
|
1928
|
+
/** Deletes a Membership RBACRoleBinding. */
|
|
1929
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.delete({
|
|
1930
|
+
name: "Test string",
|
|
1931
|
+
});
|
|
1932
|
+
/** Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. */
|
|
1933
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.generateMembershipRBACRoleBindingYAML({
|
|
1934
|
+
parent: "Test string",
|
|
1935
|
+
rbacrolebindingId: "Test string",
|
|
1936
|
+
}, {
|
|
1937
|
+
createTime: "Test string",
|
|
1938
|
+
deleteTime: "Test string",
|
|
1939
|
+
group: "Test string",
|
|
1940
|
+
name: "Test string",
|
|
1941
|
+
role: {
|
|
1942
|
+
predefinedRole: "Test string",
|
|
1943
|
+
},
|
|
1944
|
+
state: {
|
|
1945
|
+
code: "Test string",
|
|
1946
|
+
},
|
|
1947
|
+
uid: "Test string",
|
|
1948
|
+
updateTime: "Test string",
|
|
1949
|
+
user: "Test string",
|
|
1950
|
+
});
|
|
1951
|
+
/** Returns the details of a Membership RBACRoleBinding. */
|
|
1952
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.get({
|
|
1953
|
+
name: "Test string",
|
|
1954
|
+
});
|
|
1955
|
+
/** Lists all Membership RBACRoleBindings. */
|
|
1956
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.list({
|
|
1957
|
+
pageSize: 42,
|
|
1958
|
+
pageToken: "Test string",
|
|
1959
|
+
parent: "Test string",
|
|
1960
|
+
});
|
|
1961
|
+
/** Updates a Membership RBACRoleBinding. */
|
|
1962
|
+
await gapi.client.gkehub.projects.locations.memberships.rbacrolebindings.patch({
|
|
1963
|
+
name: "Test string",
|
|
1964
|
+
updateMask: "Test string",
|
|
1965
|
+
}, {
|
|
1966
|
+
createTime: "Test string",
|
|
1967
|
+
deleteTime: "Test string",
|
|
1968
|
+
group: "Test string",
|
|
1969
|
+
name: "Test string",
|
|
1970
|
+
role: {
|
|
1971
|
+
predefinedRole: "Test string",
|
|
1972
|
+
},
|
|
1973
|
+
state: {
|
|
1974
|
+
code: "Test string",
|
|
1975
|
+
},
|
|
1976
|
+
uid: "Test string",
|
|
1977
|
+
updateTime: "Test string",
|
|
1978
|
+
user: "Test string",
|
|
1979
|
+
});
|
|
1899
1980
|
/** Creates a fleet namespace. */
|
|
1900
1981
|
await gapi.client.gkehub.projects.locations.namespaces.create({
|
|
1901
1982
|
namespaceId: "Test string",
|