@maxim_mazurok/gapi.client.gkehub-v1alpha 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.
Files changed (3) hide show
  1. package/index.d.ts +730 -81
  2. package/package.json +1 -1
  3. package/tests.ts +127 -7
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20230712
12
+ // Revision: 20230728
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -356,7 +356,7 @@ declare namespace gapi.client {
356
356
  ConfigManagementGitConfig;
357
357
  /**
358
358
  * 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
359
- * have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be binded
359
+ * have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound
360
360
  * to the GSA. This field is required when automatic Feature management is enabled.
361
361
  */
362
362
  metricsGcpServiceAccountEmail?:
@@ -997,9 +997,6 @@ declare namespace gapi.client {
997
997
  /** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
998
998
  tenant?:
999
999
  string;
1000
- /** Optional. Claim in the AzureAD ID Token that holds the user details. */
1001
- userClaim?:
1002
- string;
1003
1000
  }
1004
1001
  interface IdentityServiceGoogleConfig {
1005
1002
  /** Disable automatic configuration of Google Plugin on supported platforms. */
@@ -1207,6 +1204,22 @@ declare namespace gapi.client {
1207
1204
  rbacrolebindings?:
1208
1205
  RBACRoleBinding[];
1209
1206
  }
1207
+ interface ListScopeNamespacesResponse {
1208
+ /** 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. */
1209
+ nextPageToken?:
1210
+ string;
1211
+ /** The list of fleet namespaces */
1212
+ scopeNamespaces?:
1213
+ Namespace[];
1214
+ }
1215
+ interface ListScopeRBACRoleBindingsResponse {
1216
+ /** 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. */
1217
+ nextPageToken?:
1218
+ string;
1219
+ /** The list of Scope RBACRoleBindings. */
1220
+ rbacrolebindings?:
1221
+ RBACRoleBinding[];
1222
+ }
1210
1223
  interface ListScopesResponse {
1211
1224
  /** 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. */
1212
1225
  nextPageToken?:
@@ -1495,6 +1508,12 @@ declare namespace gapi.client {
1495
1508
  /** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
1496
1509
  name?:
1497
1510
  string;
1511
+ /**
1512
+ * 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
1513
+ * (`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.
1514
+ */
1515
+ namespaceLabels?:
1516
+ { [P in string]: string };
1498
1517
  /** Required. Scope associated with the namespace */
1499
1518
  scope?:
1500
1519
  string;
@@ -1865,6 +1884,12 @@ declare namespace gapi.client {
1865
1884
  /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
1866
1885
  name?:
1867
1886
  string;
1887
+ /**
1888
+ * 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
1889
+ * precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
1890
+ */
1891
+ namespaceLabels?:
1892
+ { [P in string]: string };
1868
1893
  /** Output only. State of the scope resource. */
1869
1894
  state?:
1870
1895
  ScopeLifecycleState;
@@ -5190,8 +5215,8 @@ declare namespace gapi.client {
5190
5215
  string;
5191
5216
  }): Request<ListOperationsResponse>;
5192
5217
  }
5193
- interface ScopesResource {
5194
- /** Creates a Scope. */
5218
+ interface NamespacesResource {
5219
+ /** Creates a fleet namespace. */
5195
5220
  create(request: {
5196
5221
  /** V1 error format. */
5197
5222
  "$.xgafv"?:
@@ -5214,7 +5239,7 @@ declare namespace gapi.client {
5214
5239
  /** OAuth 2.0 token for the current user. */
5215
5240
  oauth_token?:
5216
5241
  string;
5217
- /** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*‍/locations/*`. */
5242
+ /** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5218
5243
  parent:
5219
5244
  string;
5220
5245
  /** Returns response with indentations and line breaks. */
@@ -5223,8 +5248,12 @@ declare namespace gapi.client {
5223
5248
  /** 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. */
5224
5249
  quotaUser?:
5225
5250
  string;
5226
- /** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
5227
- scopeId?:
5251
+ /**
5252
+ * 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
5253
+ * 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
5254
+ * length of 63 characters.
5255
+ */
5256
+ scopeNamespaceId?:
5228
5257
  string;
5229
5258
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5230
5259
  upload_protocol?:
@@ -5234,7 +5263,7 @@ declare namespace gapi.client {
5234
5263
  string;
5235
5264
  /** Request body */
5236
5265
  resource:
5237
- Scope;
5266
+ Namespace;
5238
5267
  }): Request<Operation>;
5239
5268
  create(request: {
5240
5269
  /** V1 error format. */
@@ -5258,7 +5287,7 @@ declare namespace gapi.client {
5258
5287
  /** OAuth 2.0 token for the current user. */
5259
5288
  oauth_token?:
5260
5289
  string;
5261
- /** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*‍/locations/*`. */
5290
+ /** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5262
5291
  parent:
5263
5292
  string;
5264
5293
  /** Returns response with indentations and line breaks. */
@@ -5267,8 +5296,12 @@ declare namespace gapi.client {
5267
5296
  /** 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. */
5268
5297
  quotaUser?:
5269
5298
  string;
5270
- /** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
5271
- scopeId?:
5299
+ /**
5300
+ * 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
5301
+ * 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
5302
+ * length of 63 characters.
5303
+ */
5304
+ scopeNamespaceId?:
5272
5305
  string;
5273
5306
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5274
5307
  upload_protocol?:
@@ -5277,8 +5310,8 @@ declare namespace gapi.client {
5277
5310
  uploadType?:
5278
5311
  string;
5279
5312
  },
5280
- body: Scope): Request<Operation>;
5281
- /** Deletes a Scope. */
5313
+ body: Namespace): Request<Operation>;
5314
+ /** Deletes a fleet namespace. */
5282
5315
  delete(request?: {
5283
5316
  /** V1 error format. */
5284
5317
  "$.xgafv"?:
@@ -5298,7 +5331,7 @@ declare namespace gapi.client {
5298
5331
  /** 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. */
5299
5332
  key?:
5300
5333
  string;
5301
- /** Required. The Scope resource name in the format `projects/*‍/locations/*‍/scopes/*`. */
5334
+ /** Required. The Namespace resource name in the format `projects/*‍/locations/*‍/scopes/*‍/namespaces/*`. */
5302
5335
  name:
5303
5336
  string;
5304
5337
  /** OAuth 2.0 token for the current user. */
@@ -5317,7 +5350,7 @@ declare namespace gapi.client {
5317
5350
  uploadType?:
5318
5351
  string;
5319
5352
  }): Request<Operation>;
5320
- /** Returns the details of a Scope. */
5353
+ /** Returns the details of a fleet namespace. */
5321
5354
  get(request?: {
5322
5355
  /** V1 error format. */
5323
5356
  "$.xgafv"?:
@@ -5337,7 +5370,7 @@ declare namespace gapi.client {
5337
5370
  /** 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. */
5338
5371
  key?:
5339
5372
  string;
5340
- /** Required. The Scope resource name in the format `projects/*‍/locations/*‍/scopes/*`. */
5373
+ /** Required. The Namespace resource name in the format `projects/*‍/locations/*‍/scopes/*‍/namespaces/*`. */
5341
5374
  name:
5342
5375
  string;
5343
5376
  /** OAuth 2.0 token for the current user. */
@@ -5355,9 +5388,9 @@ declare namespace gapi.client {
5355
5388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5356
5389
  uploadType?:
5357
5390
  string;
5358
- }): Request<Scope>;
5359
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
5360
- getIamPolicy(request?: {
5391
+ }): Request<Namespace>;
5392
+ /** Lists fleet namespaces. */
5393
+ list(request?: {
5361
5394
  /** V1 error format. */
5362
5395
  "$.xgafv"?:
5363
5396
  string;
@@ -5379,36 +5412,30 @@ declare namespace gapi.client {
5379
5412
  /** OAuth 2.0 token for the current user. */
5380
5413
  oauth_token?:
5381
5414
  string;
5382
- /**
5383
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
5384
- * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
5385
- * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
5386
- * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
5387
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
5388
- */
5389
- "options.requestedPolicyVersion"?:
5415
+ /** 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. */
5416
+ pageSize?:
5390
5417
  number;
5418
+ /** Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources. */
5419
+ pageToken?:
5420
+ string;
5421
+ /** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5422
+ parent:
5423
+ string;
5391
5424
  /** Returns response with indentations and line breaks. */
5392
5425
  prettyPrint?:
5393
5426
  boolean;
5394
5427
  /** 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. */
5395
5428
  quotaUser?:
5396
5429
  string;
5397
- /**
5398
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
5399
- * field.
5400
- */
5401
- resource:
5402
- string;
5403
5430
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5404
5431
  upload_protocol?:
5405
5432
  string;
5406
5433
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5407
5434
  uploadType?:
5408
5435
  string;
5409
- }): Request<Policy>;
5410
- /** Lists Scopes. */
5411
- list(request?: {
5436
+ }): Request<ListScopeNamespacesResponse>;
5437
+ /** Updates a fleet namespace. */
5438
+ patch(request: {
5412
5439
  /** V1 error format. */
5413
5440
  "$.xgafv"?:
5414
5441
  string;
@@ -5427,32 +5454,31 @@ declare namespace gapi.client {
5427
5454
  /** 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. */
5428
5455
  key?:
5429
5456
  string;
5457
+ /** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
5458
+ name:
5459
+ string;
5430
5460
  /** OAuth 2.0 token for the current user. */
5431
5461
  oauth_token?:
5432
5462
  string;
5433
- /** 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. */
5434
- pageSize?:
5435
- number;
5436
- /** Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources. */
5437
- pageToken?:
5438
- string;
5439
- /** Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*‍/locations/*`. */
5440
- parent:
5441
- string;
5442
5463
  /** Returns response with indentations and line breaks. */
5443
5464
  prettyPrint?:
5444
5465
  boolean;
5445
5466
  /** 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. */
5446
5467
  quotaUser?:
5447
5468
  string;
5469
+ /** Required. The fields to be updated. */
5470
+ updateMask?:
5471
+ string;
5448
5472
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5449
5473
  upload_protocol?:
5450
5474
  string;
5451
5475
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5452
5476
  uploadType?:
5453
5477
  string;
5454
- }): Request<ListScopesResponse>;
5455
- /** Updates a scopes. */
5478
+ /** Request body */
5479
+ resource:
5480
+ Namespace;
5481
+ }): Request<Operation>;
5456
5482
  patch(request: {
5457
5483
  /** V1 error format. */
5458
5484
  "$.xgafv"?:
@@ -5472,7 +5498,7 @@ declare namespace gapi.client {
5472
5498
  /** 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. */
5473
5499
  key?:
5474
5500
  string;
5475
- /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
5501
+ /** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
5476
5502
  name:
5477
5503
  string;
5478
5504
  /** OAuth 2.0 token for the current user. */
@@ -5493,11 +5519,12 @@ declare namespace gapi.client {
5493
5519
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5494
5520
  uploadType?:
5495
5521
  string;
5496
- /** Request body */
5497
- resource:
5498
- Scope;
5499
- }): Request<Operation>;
5500
- patch(request: {
5522
+ },
5523
+ body: Namespace): Request<Operation>;
5524
+ }
5525
+ interface RbacrolebindingsResource {
5526
+ /** Creates a Scope RBACRoleBinding. */
5527
+ create(request: {
5501
5528
  /** V1 error format. */
5502
5529
  "$.xgafv"?:
5503
5530
  string;
@@ -5516,20 +5543,24 @@ declare namespace gapi.client {
5516
5543
  /** 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. */
5517
5544
  key?:
5518
5545
  string;
5519
- /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
5520
- name:
5521
- string;
5522
5546
  /** OAuth 2.0 token for the current user. */
5523
5547
  oauth_token?:
5524
5548
  string;
5549
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5550
+ parent:
5551
+ string;
5525
5552
  /** Returns response with indentations and line breaks. */
5526
5553
  prettyPrint?:
5527
5554
  boolean;
5528
5555
  /** 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. */
5529
5556
  quotaUser?:
5530
5557
  string;
5531
- /** Required. The fields to be updated. */
5532
- updateMask?:
5558
+ /**
5559
+ * 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
5560
+ * 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
5561
+ * maximum length of 63 characters.
5562
+ */
5563
+ rbacrolebindingId?:
5533
5564
  string;
5534
5565
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5535
5566
  upload_protocol?:
@@ -5537,10 +5568,11 @@ declare namespace gapi.client {
5537
5568
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5538
5569
  uploadType?:
5539
5570
  string;
5540
- },
5541
- body: Scope): Request<Operation>;
5542
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
5543
- setIamPolicy(request: {
5571
+ /** Request body */
5572
+ resource:
5573
+ RBACRoleBinding;
5574
+ }): Request<Operation>;
5575
+ create(request: {
5544
5576
  /** V1 error format. */
5545
5577
  "$.xgafv"?:
5546
5578
  string;
@@ -5562,6 +5594,9 @@ declare namespace gapi.client {
5562
5594
  /** OAuth 2.0 token for the current user. */
5563
5595
  oauth_token?:
5564
5596
  string;
5597
+ /** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5598
+ parent:
5599
+ string;
5565
5600
  /** Returns response with indentations and line breaks. */
5566
5601
  prettyPrint?:
5567
5602
  boolean;
@@ -5569,10 +5604,11 @@ declare namespace gapi.client {
5569
5604
  quotaUser?:
5570
5605
  string;
5571
5606
  /**
5572
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
5573
- * field.
5607
+ * 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
5608
+ * 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
5609
+ * maximum length of 63 characters.
5574
5610
  */
5575
- resource:
5611
+ rbacrolebindingId?:
5576
5612
  string;
5577
5613
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5578
5614
  upload_protocol?:
@@ -5581,12 +5617,9 @@ declare namespace gapi.client {
5581
5617
  uploadType?:
5582
5618
  string;
5583
5619
  },
5584
- body: SetIamPolicyRequest): Request<Policy>;
5585
- /**
5586
- * 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
5587
- * 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.
5588
- */
5589
- testIamPermissions(request: {
5620
+ body: RBACRoleBinding): Request<Operation>;
5621
+ /** Deletes a Scope RBACRoleBinding. */
5622
+ delete(request?: {
5590
5623
  /** V1 error format. */
5591
5624
  "$.xgafv"?:
5592
5625
  string;
@@ -5605,6 +5638,9 @@ declare namespace gapi.client {
5605
5638
  /** 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. */
5606
5639
  key?:
5607
5640
  string;
5641
+ /** Required. The RBACRoleBinding resource name in the format `projects/*‍/locations/*‍/scopes/*‍/rbacrolebindings/*`. */
5642
+ name:
5643
+ string;
5608
5644
  /** OAuth 2.0 token for the current user. */
5609
5645
  oauth_token?:
5610
5646
  string;
@@ -5614,11 +5650,44 @@ declare namespace gapi.client {
5614
5650
  /** 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. */
5615
5651
  quotaUser?:
5616
5652
  string;
5617
- /**
5618
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
5619
- * this field.
5620
- */
5621
- resource:
5653
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5654
+ upload_protocol?:
5655
+ string;
5656
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5657
+ uploadType?:
5658
+ string;
5659
+ }): Request<Operation>;
5660
+ /** Returns the details of a Scope RBACRoleBinding. */
5661
+ get(request?: {
5662
+ /** V1 error format. */
5663
+ "$.xgafv"?:
5664
+ string;
5665
+ /** OAuth access token. */
5666
+ access_token?:
5667
+ string;
5668
+ /** Data format for response. */
5669
+ alt?:
5670
+ string;
5671
+ /** JSONP */
5672
+ callback?:
5673
+ string;
5674
+ /** Selector specifying which fields to include in a partial response. */
5675
+ fields?:
5676
+ string;
5677
+ /** 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. */
5678
+ key?:
5679
+ string;
5680
+ /** Required. The RBACRoleBinding resource name in the format `projects/*‍/locations/*‍/scopes/*‍/rbacrolebindings/*`. */
5681
+ name:
5682
+ string;
5683
+ /** OAuth 2.0 token for the current user. */
5684
+ oauth_token?:
5685
+ string;
5686
+ /** Returns response with indentations and line breaks. */
5687
+ prettyPrint?:
5688
+ boolean;
5689
+ /** 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. */
5690
+ quotaUser?:
5622
5691
  string;
5623
5692
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5624
5693
  upload_protocol?:
@@ -5626,8 +5695,588 @@ declare namespace gapi.client {
5626
5695
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5627
5696
  uploadType?:
5628
5697
  string;
5629
- },
5630
- body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
5698
+ }): Request<RBACRoleBinding>;
5699
+ /** Lists all Scope RBACRoleBindings. */
5700
+ list(request?: {
5701
+ /** V1 error format. */
5702
+ "$.xgafv"?:
5703
+ string;
5704
+ /** OAuth access token. */
5705
+ access_token?:
5706
+ string;
5707
+ /** Data format for response. */
5708
+ alt?:
5709
+ string;
5710
+ /** JSONP */
5711
+ callback?:
5712
+ string;
5713
+ /** Selector specifying which fields to include in a partial response. */
5714
+ fields?:
5715
+ string;
5716
+ /** 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. */
5717
+ key?:
5718
+ string;
5719
+ /** OAuth 2.0 token for the current user. */
5720
+ oauth_token?:
5721
+ string;
5722
+ /** 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. */
5723
+ pageSize?:
5724
+ number;
5725
+ /** Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources. */
5726
+ pageToken?:
5727
+ string;
5728
+ /** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*‍/locations/*‍/scopes/*`. */
5729
+ parent:
5730
+ string;
5731
+ /** Returns response with indentations and line breaks. */
5732
+ prettyPrint?:
5733
+ boolean;
5734
+ /** 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. */
5735
+ quotaUser?:
5736
+ string;
5737
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5738
+ upload_protocol?:
5739
+ string;
5740
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5741
+ uploadType?:
5742
+ string;
5743
+ }): Request<ListScopeRBACRoleBindingsResponse>;
5744
+ /** Updates a Scope RBACRoleBinding. */
5745
+ patch(request: {
5746
+ /** V1 error format. */
5747
+ "$.xgafv"?:
5748
+ string;
5749
+ /** OAuth access token. */
5750
+ access_token?:
5751
+ string;
5752
+ /** Data format for response. */
5753
+ alt?:
5754
+ string;
5755
+ /** JSONP */
5756
+ callback?:
5757
+ string;
5758
+ /** Selector specifying which fields to include in a partial response. */
5759
+ fields?:
5760
+ string;
5761
+ /** 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. */
5762
+ key?:
5763
+ string;
5764
+ /**
5765
+ * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
5766
+ * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
5767
+ */
5768
+ name:
5769
+ string;
5770
+ /** OAuth 2.0 token for the current user. */
5771
+ oauth_token?:
5772
+ string;
5773
+ /** Returns response with indentations and line breaks. */
5774
+ prettyPrint?:
5775
+ boolean;
5776
+ /** 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. */
5777
+ quotaUser?:
5778
+ string;
5779
+ /** Required. The fields to be updated. */
5780
+ updateMask?:
5781
+ string;
5782
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5783
+ upload_protocol?:
5784
+ string;
5785
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5786
+ uploadType?:
5787
+ string;
5788
+ /** Request body */
5789
+ resource:
5790
+ RBACRoleBinding;
5791
+ }): Request<Operation>;
5792
+ patch(request: {
5793
+ /** V1 error format. */
5794
+ "$.xgafv"?:
5795
+ string;
5796
+ /** OAuth access token. */
5797
+ access_token?:
5798
+ string;
5799
+ /** Data format for response. */
5800
+ alt?:
5801
+ string;
5802
+ /** JSONP */
5803
+ callback?:
5804
+ string;
5805
+ /** Selector specifying which fields to include in a partial response. */
5806
+ fields?:
5807
+ string;
5808
+ /** 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. */
5809
+ key?:
5810
+ string;
5811
+ /**
5812
+ * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
5813
+ * `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
5814
+ */
5815
+ name:
5816
+ string;
5817
+ /** OAuth 2.0 token for the current user. */
5818
+ oauth_token?:
5819
+ string;
5820
+ /** Returns response with indentations and line breaks. */
5821
+ prettyPrint?:
5822
+ boolean;
5823
+ /** 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. */
5824
+ quotaUser?:
5825
+ string;
5826
+ /** Required. The fields to be updated. */
5827
+ updateMask?:
5828
+ string;
5829
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5830
+ upload_protocol?:
5831
+ string;
5832
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5833
+ uploadType?:
5834
+ string;
5835
+ },
5836
+ body: RBACRoleBinding): Request<Operation>;
5837
+ }
5838
+ interface ScopesResource {
5839
+ /** Creates a Scope. */
5840
+ create(request: {
5841
+ /** V1 error format. */
5842
+ "$.xgafv"?:
5843
+ string;
5844
+ /** OAuth access token. */
5845
+ access_token?:
5846
+ string;
5847
+ /** Data format for response. */
5848
+ alt?:
5849
+ string;
5850
+ /** JSONP */
5851
+ callback?:
5852
+ string;
5853
+ /** Selector specifying which fields to include in a partial response. */
5854
+ fields?:
5855
+ string;
5856
+ /** 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. */
5857
+ key?:
5858
+ string;
5859
+ /** OAuth 2.0 token for the current user. */
5860
+ oauth_token?:
5861
+ string;
5862
+ /** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*‍/locations/*`. */
5863
+ parent:
5864
+ string;
5865
+ /** Returns response with indentations and line breaks. */
5866
+ prettyPrint?:
5867
+ boolean;
5868
+ /** 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. */
5869
+ quotaUser?:
5870
+ string;
5871
+ /** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
5872
+ scopeId?:
5873
+ string;
5874
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5875
+ upload_protocol?:
5876
+ string;
5877
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5878
+ uploadType?:
5879
+ string;
5880
+ /** Request body */
5881
+ resource:
5882
+ Scope;
5883
+ }): Request<Operation>;
5884
+ create(request: {
5885
+ /** V1 error format. */
5886
+ "$.xgafv"?:
5887
+ string;
5888
+ /** OAuth access token. */
5889
+ access_token?:
5890
+ string;
5891
+ /** Data format for response. */
5892
+ alt?:
5893
+ string;
5894
+ /** JSONP */
5895
+ callback?:
5896
+ string;
5897
+ /** Selector specifying which fields to include in a partial response. */
5898
+ fields?:
5899
+ string;
5900
+ /** 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. */
5901
+ key?:
5902
+ string;
5903
+ /** OAuth 2.0 token for the current user. */
5904
+ oauth_token?:
5905
+ string;
5906
+ /** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*‍/locations/*`. */
5907
+ parent:
5908
+ string;
5909
+ /** Returns response with indentations and line breaks. */
5910
+ prettyPrint?:
5911
+ boolean;
5912
+ /** 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. */
5913
+ quotaUser?:
5914
+ string;
5915
+ /** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
5916
+ scopeId?:
5917
+ string;
5918
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5919
+ upload_protocol?:
5920
+ string;
5921
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5922
+ uploadType?:
5923
+ string;
5924
+ },
5925
+ body: Scope): Request<Operation>;
5926
+ /** Deletes a Scope. */
5927
+ delete(request?: {
5928
+ /** V1 error format. */
5929
+ "$.xgafv"?:
5930
+ string;
5931
+ /** OAuth access token. */
5932
+ access_token?:
5933
+ string;
5934
+ /** Data format for response. */
5935
+ alt?:
5936
+ string;
5937
+ /** JSONP */
5938
+ callback?:
5939
+ string;
5940
+ /** Selector specifying which fields to include in a partial response. */
5941
+ fields?:
5942
+ string;
5943
+ /** 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. */
5944
+ key?:
5945
+ string;
5946
+ /** Required. The Scope resource name in the format `projects/*‍/locations/*‍/scopes/*`. */
5947
+ name:
5948
+ string;
5949
+ /** OAuth 2.0 token for the current user. */
5950
+ oauth_token?:
5951
+ string;
5952
+ /** Returns response with indentations and line breaks. */
5953
+ prettyPrint?:
5954
+ boolean;
5955
+ /** 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. */
5956
+ quotaUser?:
5957
+ string;
5958
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5959
+ upload_protocol?:
5960
+ string;
5961
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5962
+ uploadType?:
5963
+ string;
5964
+ }): Request<Operation>;
5965
+ /** Returns the details of a Scope. */
5966
+ get(request?: {
5967
+ /** V1 error format. */
5968
+ "$.xgafv"?:
5969
+ string;
5970
+ /** OAuth access token. */
5971
+ access_token?:
5972
+ string;
5973
+ /** Data format for response. */
5974
+ alt?:
5975
+ string;
5976
+ /** JSONP */
5977
+ callback?:
5978
+ string;
5979
+ /** Selector specifying which fields to include in a partial response. */
5980
+ fields?:
5981
+ string;
5982
+ /** 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. */
5983
+ key?:
5984
+ string;
5985
+ /** Required. The Scope resource name in the format `projects/*‍/locations/*‍/scopes/*`. */
5986
+ name:
5987
+ string;
5988
+ /** OAuth 2.0 token for the current user. */
5989
+ oauth_token?:
5990
+ string;
5991
+ /** Returns response with indentations and line breaks. */
5992
+ prettyPrint?:
5993
+ boolean;
5994
+ /** 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. */
5995
+ quotaUser?:
5996
+ string;
5997
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5998
+ upload_protocol?:
5999
+ string;
6000
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6001
+ uploadType?:
6002
+ string;
6003
+ }): Request<Scope>;
6004
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
6005
+ getIamPolicy(request?: {
6006
+ /** V1 error format. */
6007
+ "$.xgafv"?:
6008
+ string;
6009
+ /** OAuth access token. */
6010
+ access_token?:
6011
+ string;
6012
+ /** Data format for response. */
6013
+ alt?:
6014
+ string;
6015
+ /** JSONP */
6016
+ callback?:
6017
+ string;
6018
+ /** Selector specifying which fields to include in a partial response. */
6019
+ fields?:
6020
+ string;
6021
+ /** 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. */
6022
+ key?:
6023
+ string;
6024
+ /** OAuth 2.0 token for the current user. */
6025
+ oauth_token?:
6026
+ string;
6027
+ /**
6028
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
6029
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
6030
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
6031
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
6032
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6033
+ */
6034
+ "options.requestedPolicyVersion"?:
6035
+ number;
6036
+ /** Returns response with indentations and line breaks. */
6037
+ prettyPrint?:
6038
+ boolean;
6039
+ /** 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. */
6040
+ quotaUser?:
6041
+ string;
6042
+ /**
6043
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
6044
+ * field.
6045
+ */
6046
+ resource:
6047
+ string;
6048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6049
+ upload_protocol?:
6050
+ string;
6051
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6052
+ uploadType?:
6053
+ string;
6054
+ }): Request<Policy>;
6055
+ /** Lists Scopes. */
6056
+ list(request?: {
6057
+ /** V1 error format. */
6058
+ "$.xgafv"?:
6059
+ string;
6060
+ /** OAuth access token. */
6061
+ access_token?:
6062
+ string;
6063
+ /** Data format for response. */
6064
+ alt?:
6065
+ string;
6066
+ /** JSONP */
6067
+ callback?:
6068
+ string;
6069
+ /** Selector specifying which fields to include in a partial response. */
6070
+ fields?:
6071
+ string;
6072
+ /** 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. */
6073
+ key?:
6074
+ string;
6075
+ /** OAuth 2.0 token for the current user. */
6076
+ oauth_token?:
6077
+ string;
6078
+ /** 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. */
6079
+ pageSize?:
6080
+ number;
6081
+ /** Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources. */
6082
+ pageToken?:
6083
+ string;
6084
+ /** Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*‍/locations/*`. */
6085
+ parent:
6086
+ string;
6087
+ /** Returns response with indentations and line breaks. */
6088
+ prettyPrint?:
6089
+ boolean;
6090
+ /** 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. */
6091
+ quotaUser?:
6092
+ string;
6093
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6094
+ upload_protocol?:
6095
+ string;
6096
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6097
+ uploadType?:
6098
+ string;
6099
+ }): Request<ListScopesResponse>;
6100
+ /** Updates a scopes. */
6101
+ patch(request: {
6102
+ /** V1 error format. */
6103
+ "$.xgafv"?:
6104
+ string;
6105
+ /** OAuth access token. */
6106
+ access_token?:
6107
+ string;
6108
+ /** Data format for response. */
6109
+ alt?:
6110
+ string;
6111
+ /** JSONP */
6112
+ callback?:
6113
+ string;
6114
+ /** Selector specifying which fields to include in a partial response. */
6115
+ fields?:
6116
+ string;
6117
+ /** 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. */
6118
+ key?:
6119
+ string;
6120
+ /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
6121
+ name:
6122
+ string;
6123
+ /** OAuth 2.0 token for the current user. */
6124
+ oauth_token?:
6125
+ string;
6126
+ /** Returns response with indentations and line breaks. */
6127
+ prettyPrint?:
6128
+ boolean;
6129
+ /** 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. */
6130
+ quotaUser?:
6131
+ string;
6132
+ /** Required. The fields to be updated. */
6133
+ updateMask?:
6134
+ string;
6135
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6136
+ upload_protocol?:
6137
+ string;
6138
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6139
+ uploadType?:
6140
+ string;
6141
+ /** Request body */
6142
+ resource:
6143
+ Scope;
6144
+ }): Request<Operation>;
6145
+ patch(request: {
6146
+ /** V1 error format. */
6147
+ "$.xgafv"?:
6148
+ string;
6149
+ /** OAuth access token. */
6150
+ access_token?:
6151
+ string;
6152
+ /** Data format for response. */
6153
+ alt?:
6154
+ string;
6155
+ /** JSONP */
6156
+ callback?:
6157
+ string;
6158
+ /** Selector specifying which fields to include in a partial response. */
6159
+ fields?:
6160
+ string;
6161
+ /** 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. */
6162
+ key?:
6163
+ string;
6164
+ /** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
6165
+ name:
6166
+ string;
6167
+ /** OAuth 2.0 token for the current user. */
6168
+ oauth_token?:
6169
+ string;
6170
+ /** Returns response with indentations and line breaks. */
6171
+ prettyPrint?:
6172
+ boolean;
6173
+ /** 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. */
6174
+ quotaUser?:
6175
+ string;
6176
+ /** Required. The fields to be updated. */
6177
+ updateMask?:
6178
+ string;
6179
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6180
+ upload_protocol?:
6181
+ string;
6182
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6183
+ uploadType?:
6184
+ string;
6185
+ },
6186
+ body: Scope): Request<Operation>;
6187
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
6188
+ setIamPolicy(request: {
6189
+ /** V1 error format. */
6190
+ "$.xgafv"?:
6191
+ string;
6192
+ /** OAuth access token. */
6193
+ access_token?:
6194
+ string;
6195
+ /** Data format for response. */
6196
+ alt?:
6197
+ string;
6198
+ /** JSONP */
6199
+ callback?:
6200
+ string;
6201
+ /** Selector specifying which fields to include in a partial response. */
6202
+ fields?:
6203
+ string;
6204
+ /** 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. */
6205
+ key?:
6206
+ string;
6207
+ /** OAuth 2.0 token for the current user. */
6208
+ oauth_token?:
6209
+ string;
6210
+ /** Returns response with indentations and line breaks. */
6211
+ prettyPrint?:
6212
+ boolean;
6213
+ /** 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. */
6214
+ quotaUser?:
6215
+ string;
6216
+ /**
6217
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
6218
+ * field.
6219
+ */
6220
+ resource:
6221
+ string;
6222
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6223
+ upload_protocol?:
6224
+ string;
6225
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6226
+ uploadType?:
6227
+ string;
6228
+ },
6229
+ body: SetIamPolicyRequest): Request<Policy>;
6230
+ /**
6231
+ * 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
6232
+ * 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.
6233
+ */
6234
+ testIamPermissions(request: {
6235
+ /** V1 error format. */
6236
+ "$.xgafv"?:
6237
+ string;
6238
+ /** OAuth access token. */
6239
+ access_token?:
6240
+ string;
6241
+ /** Data format for response. */
6242
+ alt?:
6243
+ string;
6244
+ /** JSONP */
6245
+ callback?:
6246
+ string;
6247
+ /** Selector specifying which fields to include in a partial response. */
6248
+ fields?:
6249
+ string;
6250
+ /** 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. */
6251
+ key?:
6252
+ string;
6253
+ /** OAuth 2.0 token for the current user. */
6254
+ oauth_token?:
6255
+ string;
6256
+ /** Returns response with indentations and line breaks. */
6257
+ prettyPrint?:
6258
+ boolean;
6259
+ /** 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. */
6260
+ quotaUser?:
6261
+ string;
6262
+ /**
6263
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
6264
+ * this field.
6265
+ */
6266
+ resource:
6267
+ string;
6268
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6269
+ upload_protocol?:
6270
+ string;
6271
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6272
+ uploadType?:
6273
+ string;
6274
+ },
6275
+ body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
6276
+ namespaces:
6277
+ NamespacesResource;
6278
+ rbacrolebindings:
6279
+ RbacrolebindingsResource;
5631
6280
  }
5632
6281
  interface LocationsResource {
5633
6282
  /** Gets information about a location. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gkehub-v1alpha",
3
- "version": "0.0.20230712",
3
+ "version": "0.0.20230728",
4
4
  "description": "TypeScript typings for GKE Hub API v1alpha",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230712
6
+ // Revision: 20230728
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -64,7 +64,6 @@ gapi.load('client', async () => {
64
64
  encryptedClientSecret: "Test string",
65
65
  kubectlRedirectUri: "Test string",
66
66
  tenant: "Test string",
67
- userClaim: "Test string",
68
67
  },
69
68
  googleConfig: {
70
69
  disable: true,
@@ -171,7 +170,6 @@ gapi.load('client', async () => {
171
170
  encryptedClientSecret: "Test string",
172
171
  kubectlRedirectUri: "Test string",
173
172
  tenant: "Test string",
174
- userClaim: "Test string",
175
173
  },
176
174
  googleConfig: {
177
175
  disable: true,
@@ -458,7 +456,6 @@ gapi.load('client', async () => {
458
456
  encryptedClientSecret: "Test string",
459
457
  kubectlRedirectUri: "Test string",
460
458
  tenant: "Test string",
461
- userClaim: "Test string",
462
459
  },
463
460
  googleConfig: {
464
461
  disable: true,
@@ -797,7 +794,6 @@ gapi.load('client', async () => {
797
794
  encryptedClientSecret: "Test string",
798
795
  kubectlRedirectUri: "Test string",
799
796
  tenant: "Test string",
800
- userClaim: "Test string",
801
797
  },
802
798
  googleConfig: {
803
799
  disable: true,
@@ -904,7 +900,6 @@ gapi.load('client', async () => {
904
900
  encryptedClientSecret: "Test string",
905
901
  kubectlRedirectUri: "Test string",
906
902
  tenant: "Test string",
907
- userClaim: "Test string",
908
903
  },
909
904
  googleConfig: {
910
905
  disable: true,
@@ -1191,7 +1186,6 @@ gapi.load('client', async () => {
1191
1186
  encryptedClientSecret: "Test string",
1192
1187
  kubectlRedirectUri: "Test string",
1193
1188
  tenant: "Test string",
1194
- userClaim: "Test string",
1195
1189
  },
1196
1190
  googleConfig: {
1197
1191
  disable: true,
@@ -2087,6 +2081,9 @@ gapi.load('client', async () => {
2087
2081
  A: "Test string"
2088
2082
  },
2089
2083
  name: "Test string",
2084
+ namespaceLabels: {
2085
+ A: "Test string"
2086
+ },
2090
2087
  scope: "Test string",
2091
2088
  state: {
2092
2089
  code: "Test string",
@@ -2119,6 +2116,9 @@ gapi.load('client', async () => {
2119
2116
  A: "Test string"
2120
2117
  },
2121
2118
  name: "Test string",
2119
+ namespaceLabels: {
2120
+ A: "Test string"
2121
+ },
2122
2122
  scope: "Test string",
2123
2123
  state: {
2124
2124
  code: "Test string",
@@ -2224,6 +2224,9 @@ gapi.load('client', async () => {
2224
2224
  A: "Test string"
2225
2225
  },
2226
2226
  name: "Test string",
2227
+ namespaceLabels: {
2228
+ A: "Test string"
2229
+ },
2227
2230
  state: {
2228
2231
  code: "Test string",
2229
2232
  },
@@ -2261,6 +2264,9 @@ gapi.load('client', async () => {
2261
2264
  A: "Test string"
2262
2265
  },
2263
2266
  name: "Test string",
2267
+ namespaceLabels: {
2268
+ A: "Test string"
2269
+ },
2264
2270
  state: {
2265
2271
  code: "Test string",
2266
2272
  },
@@ -2315,5 +2321,119 @@ gapi.load('client', async () => {
2315
2321
  "Test string"
2316
2322
  ],
2317
2323
  });
2324
+ /** Creates a fleet namespace. */
2325
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.create({
2326
+ parent: "Test string",
2327
+ scopeNamespaceId: "Test string",
2328
+ }, {
2329
+ createTime: "Test string",
2330
+ deleteTime: "Test string",
2331
+ labels: {
2332
+ A: "Test string"
2333
+ },
2334
+ name: "Test string",
2335
+ namespaceLabels: {
2336
+ A: "Test string"
2337
+ },
2338
+ scope: "Test string",
2339
+ state: {
2340
+ code: "Test string",
2341
+ },
2342
+ uid: "Test string",
2343
+ updateTime: "Test string",
2344
+ });
2345
+ /** Deletes a fleet namespace. */
2346
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.delete({
2347
+ name: "Test string",
2348
+ });
2349
+ /** Returns the details of a fleet namespace. */
2350
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.get({
2351
+ name: "Test string",
2352
+ });
2353
+ /** Lists fleet namespaces. */
2354
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.list({
2355
+ pageSize: 42,
2356
+ pageToken: "Test string",
2357
+ parent: "Test string",
2358
+ });
2359
+ /** Updates a fleet namespace. */
2360
+ await gapi.client.gkehub.projects.locations.scopes.namespaces.patch({
2361
+ name: "Test string",
2362
+ updateMask: "Test string",
2363
+ }, {
2364
+ createTime: "Test string",
2365
+ deleteTime: "Test string",
2366
+ labels: {
2367
+ A: "Test string"
2368
+ },
2369
+ name: "Test string",
2370
+ namespaceLabels: {
2371
+ A: "Test string"
2372
+ },
2373
+ scope: "Test string",
2374
+ state: {
2375
+ code: "Test string",
2376
+ },
2377
+ uid: "Test string",
2378
+ updateTime: "Test string",
2379
+ });
2380
+ /** Creates a Scope RBACRoleBinding. */
2381
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.create({
2382
+ parent: "Test string",
2383
+ rbacrolebindingId: "Test string",
2384
+ }, {
2385
+ createTime: "Test string",
2386
+ deleteTime: "Test string",
2387
+ group: "Test string",
2388
+ labels: {
2389
+ A: "Test string"
2390
+ },
2391
+ name: "Test string",
2392
+ role: {
2393
+ predefinedRole: "Test string",
2394
+ },
2395
+ state: {
2396
+ code: "Test string",
2397
+ },
2398
+ uid: "Test string",
2399
+ updateTime: "Test string",
2400
+ user: "Test string",
2401
+ });
2402
+ /** Deletes a Scope RBACRoleBinding. */
2403
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.delete({
2404
+ name: "Test string",
2405
+ });
2406
+ /** Returns the details of a Scope RBACRoleBinding. */
2407
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.get({
2408
+ name: "Test string",
2409
+ });
2410
+ /** Lists all Scope RBACRoleBindings. */
2411
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.list({
2412
+ pageSize: 42,
2413
+ pageToken: "Test string",
2414
+ parent: "Test string",
2415
+ });
2416
+ /** Updates a Scope RBACRoleBinding. */
2417
+ await gapi.client.gkehub.projects.locations.scopes.rbacrolebindings.patch({
2418
+ name: "Test string",
2419
+ updateMask: "Test string",
2420
+ }, {
2421
+ createTime: "Test string",
2422
+ deleteTime: "Test string",
2423
+ group: "Test string",
2424
+ labels: {
2425
+ A: "Test string"
2426
+ },
2427
+ name: "Test string",
2428
+ role: {
2429
+ predefinedRole: "Test string",
2430
+ },
2431
+ state: {
2432
+ code: "Test string",
2433
+ },
2434
+ uid: "Test string",
2435
+ updateTime: "Test string",
2436
+ user: "Test string",
2437
+ });
2318
2438
  }
2319
2439
  });