@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230720 → 0.0.20230728
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +729 -77
- package/package.json +1 -1
- package/tests.ts +127 -1
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: 20230728
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1204,6 +1204,22 @@ declare namespace gapi.client {
|
|
|
1204
1204
|
rbacrolebindings?:
|
|
1205
1205
|
RBACRoleBinding[];
|
|
1206
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
|
+
}
|
|
1207
1223
|
interface ListScopesResponse {
|
|
1208
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. */
|
|
1209
1225
|
nextPageToken?:
|
|
@@ -1492,6 +1508,12 @@ declare namespace gapi.client {
|
|
|
1492
1508
|
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
1493
1509
|
name?:
|
|
1494
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 };
|
|
1495
1517
|
/** Required. Scope associated with the namespace */
|
|
1496
1518
|
scope?:
|
|
1497
1519
|
string;
|
|
@@ -1862,6 +1884,12 @@ declare namespace gapi.client {
|
|
|
1862
1884
|
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
1863
1885
|
name?:
|
|
1864
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 };
|
|
1865
1893
|
/** Output only. State of the scope resource. */
|
|
1866
1894
|
state?:
|
|
1867
1895
|
ScopeLifecycleState;
|
|
@@ -5187,8 +5215,8 @@ declare namespace gapi.client {
|
|
|
5187
5215
|
string;
|
|
5188
5216
|
}): Request<ListOperationsResponse>;
|
|
5189
5217
|
}
|
|
5190
|
-
interface
|
|
5191
|
-
/** Creates a
|
|
5218
|
+
interface NamespacesResource {
|
|
5219
|
+
/** Creates a fleet namespace. */
|
|
5192
5220
|
create(request: {
|
|
5193
5221
|
/** V1 error format. */
|
|
5194
5222
|
"$.xgafv"?:
|
|
@@ -5211,7 +5239,7 @@ declare namespace gapi.client {
|
|
|
5211
5239
|
/** OAuth 2.0 token for the current user. */
|
|
5212
5240
|
oauth_token?:
|
|
5213
5241
|
string;
|
|
5214
|
-
/** Required. The parent (project and location) where the
|
|
5242
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5215
5243
|
parent:
|
|
5216
5244
|
string;
|
|
5217
5245
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5220,8 +5248,12 @@ declare namespace gapi.client {
|
|
|
5220
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. */
|
|
5221
5249
|
quotaUser?:
|
|
5222
5250
|
string;
|
|
5223
|
-
/**
|
|
5224
|
-
|
|
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?:
|
|
5225
5257
|
string;
|
|
5226
5258
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5227
5259
|
upload_protocol?:
|
|
@@ -5231,7 +5263,7 @@ declare namespace gapi.client {
|
|
|
5231
5263
|
string;
|
|
5232
5264
|
/** Request body */
|
|
5233
5265
|
resource:
|
|
5234
|
-
|
|
5266
|
+
Namespace;
|
|
5235
5267
|
}): Request<Operation>;
|
|
5236
5268
|
create(request: {
|
|
5237
5269
|
/** V1 error format. */
|
|
@@ -5255,7 +5287,7 @@ declare namespace gapi.client {
|
|
|
5255
5287
|
/** OAuth 2.0 token for the current user. */
|
|
5256
5288
|
oauth_token?:
|
|
5257
5289
|
string;
|
|
5258
|
-
/** Required. The parent (project and location) where the
|
|
5290
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5259
5291
|
parent:
|
|
5260
5292
|
string;
|
|
5261
5293
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5264,8 +5296,12 @@ declare namespace gapi.client {
|
|
|
5264
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. */
|
|
5265
5297
|
quotaUser?:
|
|
5266
5298
|
string;
|
|
5267
|
-
/**
|
|
5268
|
-
|
|
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?:
|
|
5269
5305
|
string;
|
|
5270
5306
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5271
5307
|
upload_protocol?:
|
|
@@ -5274,8 +5310,8 @@ declare namespace gapi.client {
|
|
|
5274
5310
|
uploadType?:
|
|
5275
5311
|
string;
|
|
5276
5312
|
},
|
|
5277
|
-
body:
|
|
5278
|
-
/** Deletes a
|
|
5313
|
+
body: Namespace): Request<Operation>;
|
|
5314
|
+
/** Deletes a fleet namespace. */
|
|
5279
5315
|
delete(request?: {
|
|
5280
5316
|
/** V1 error format. */
|
|
5281
5317
|
"$.xgafv"?:
|
|
@@ -5295,7 +5331,7 @@ declare namespace gapi.client {
|
|
|
5295
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. */
|
|
5296
5332
|
key?:
|
|
5297
5333
|
string;
|
|
5298
|
-
/** Required. The
|
|
5334
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
5299
5335
|
name:
|
|
5300
5336
|
string;
|
|
5301
5337
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5314,7 +5350,7 @@ declare namespace gapi.client {
|
|
|
5314
5350
|
uploadType?:
|
|
5315
5351
|
string;
|
|
5316
5352
|
}): Request<Operation>;
|
|
5317
|
-
/** Returns the details of a
|
|
5353
|
+
/** Returns the details of a fleet namespace. */
|
|
5318
5354
|
get(request?: {
|
|
5319
5355
|
/** V1 error format. */
|
|
5320
5356
|
"$.xgafv"?:
|
|
@@ -5334,7 +5370,7 @@ declare namespace gapi.client {
|
|
|
5334
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. */
|
|
5335
5371
|
key?:
|
|
5336
5372
|
string;
|
|
5337
|
-
/** Required. The
|
|
5373
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
5338
5374
|
name:
|
|
5339
5375
|
string;
|
|
5340
5376
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5352,9 +5388,9 @@ declare namespace gapi.client {
|
|
|
5352
5388
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5353
5389
|
uploadType?:
|
|
5354
5390
|
string;
|
|
5355
|
-
}): Request<
|
|
5356
|
-
/**
|
|
5357
|
-
|
|
5391
|
+
}): Request<Namespace>;
|
|
5392
|
+
/** Lists fleet namespaces. */
|
|
5393
|
+
list(request?: {
|
|
5358
5394
|
/** V1 error format. */
|
|
5359
5395
|
"$.xgafv"?:
|
|
5360
5396
|
string;
|
|
@@ -5376,36 +5412,30 @@ declare namespace gapi.client {
|
|
|
5376
5412
|
/** OAuth 2.0 token for the current user. */
|
|
5377
5413
|
oauth_token?:
|
|
5378
5414
|
string;
|
|
5379
|
-
/**
|
|
5380
|
-
|
|
5381
|
-
* 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
|
|
5382
|
-
* 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
|
|
5383
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
5384
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
5385
|
-
*/
|
|
5386
|
-
"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?:
|
|
5387
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;
|
|
5388
5424
|
/** Returns response with indentations and line breaks. */
|
|
5389
5425
|
prettyPrint?:
|
|
5390
5426
|
boolean;
|
|
5391
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. */
|
|
5392
5428
|
quotaUser?:
|
|
5393
5429
|
string;
|
|
5394
|
-
/**
|
|
5395
|
-
* 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
|
|
5396
|
-
* field.
|
|
5397
|
-
*/
|
|
5398
|
-
resource:
|
|
5399
|
-
string;
|
|
5400
5430
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5401
5431
|
upload_protocol?:
|
|
5402
5432
|
string;
|
|
5403
5433
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5404
5434
|
uploadType?:
|
|
5405
5435
|
string;
|
|
5406
|
-
}): Request<
|
|
5407
|
-
/**
|
|
5408
|
-
|
|
5436
|
+
}): Request<ListScopeNamespacesResponse>;
|
|
5437
|
+
/** Updates a fleet namespace. */
|
|
5438
|
+
patch(request: {
|
|
5409
5439
|
/** V1 error format. */
|
|
5410
5440
|
"$.xgafv"?:
|
|
5411
5441
|
string;
|
|
@@ -5424,32 +5454,31 @@ declare namespace gapi.client {
|
|
|
5424
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. */
|
|
5425
5455
|
key?:
|
|
5426
5456
|
string;
|
|
5457
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
5458
|
+
name:
|
|
5459
|
+
string;
|
|
5427
5460
|
/** OAuth 2.0 token for the current user. */
|
|
5428
5461
|
oauth_token?:
|
|
5429
5462
|
string;
|
|
5430
|
-
/** 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. */
|
|
5431
|
-
pageSize?:
|
|
5432
|
-
number;
|
|
5433
|
-
/** Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources. */
|
|
5434
|
-
pageToken?:
|
|
5435
|
-
string;
|
|
5436
|
-
/** Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`. */
|
|
5437
|
-
parent:
|
|
5438
|
-
string;
|
|
5439
5463
|
/** Returns response with indentations and line breaks. */
|
|
5440
5464
|
prettyPrint?:
|
|
5441
5465
|
boolean;
|
|
5442
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. */
|
|
5443
5467
|
quotaUser?:
|
|
5444
5468
|
string;
|
|
5469
|
+
/** Required. The fields to be updated. */
|
|
5470
|
+
updateMask?:
|
|
5471
|
+
string;
|
|
5445
5472
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5446
5473
|
upload_protocol?:
|
|
5447
5474
|
string;
|
|
5448
5475
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5449
5476
|
uploadType?:
|
|
5450
5477
|
string;
|
|
5451
|
-
|
|
5452
|
-
|
|
5478
|
+
/** Request body */
|
|
5479
|
+
resource:
|
|
5480
|
+
Namespace;
|
|
5481
|
+
}): Request<Operation>;
|
|
5453
5482
|
patch(request: {
|
|
5454
5483
|
/** V1 error format. */
|
|
5455
5484
|
"$.xgafv"?:
|
|
@@ -5469,7 +5498,7 @@ declare namespace gapi.client {
|
|
|
5469
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. */
|
|
5470
5499
|
key?:
|
|
5471
5500
|
string;
|
|
5472
|
-
/** The resource name for the
|
|
5501
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
5473
5502
|
name:
|
|
5474
5503
|
string;
|
|
5475
5504
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5490,11 +5519,12 @@ declare namespace gapi.client {
|
|
|
5490
5519
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5491
5520
|
uploadType?:
|
|
5492
5521
|
string;
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5522
|
+
},
|
|
5523
|
+
body: Namespace): Request<Operation>;
|
|
5524
|
+
}
|
|
5525
|
+
interface RbacrolebindingsResource {
|
|
5526
|
+
/** Creates a Scope RBACRoleBinding. */
|
|
5527
|
+
create(request: {
|
|
5498
5528
|
/** V1 error format. */
|
|
5499
5529
|
"$.xgafv"?:
|
|
5500
5530
|
string;
|
|
@@ -5513,20 +5543,24 @@ declare namespace gapi.client {
|
|
|
5513
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. */
|
|
5514
5544
|
key?:
|
|
5515
5545
|
string;
|
|
5516
|
-
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
5517
|
-
name:
|
|
5518
|
-
string;
|
|
5519
5546
|
/** OAuth 2.0 token for the current user. */
|
|
5520
5547
|
oauth_token?:
|
|
5521
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;
|
|
5522
5552
|
/** Returns response with indentations and line breaks. */
|
|
5523
5553
|
prettyPrint?:
|
|
5524
5554
|
boolean;
|
|
5525
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. */
|
|
5526
5556
|
quotaUser?:
|
|
5527
5557
|
string;
|
|
5528
|
-
/**
|
|
5529
|
-
|
|
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?:
|
|
5530
5564
|
string;
|
|
5531
5565
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5532
5566
|
upload_protocol?:
|
|
@@ -5534,10 +5568,11 @@ declare namespace gapi.client {
|
|
|
5534
5568
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5535
5569
|
uploadType?:
|
|
5536
5570
|
string;
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5571
|
+
/** Request body */
|
|
5572
|
+
resource:
|
|
5573
|
+
RBACRoleBinding;
|
|
5574
|
+
}): Request<Operation>;
|
|
5575
|
+
create(request: {
|
|
5541
5576
|
/** V1 error format. */
|
|
5542
5577
|
"$.xgafv"?:
|
|
5543
5578
|
string;
|
|
@@ -5559,6 +5594,9 @@ declare namespace gapi.client {
|
|
|
5559
5594
|
/** OAuth 2.0 token for the current user. */
|
|
5560
5595
|
oauth_token?:
|
|
5561
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;
|
|
5562
5600
|
/** Returns response with indentations and line breaks. */
|
|
5563
5601
|
prettyPrint?:
|
|
5564
5602
|
boolean;
|
|
@@ -5566,10 +5604,11 @@ declare namespace gapi.client {
|
|
|
5566
5604
|
quotaUser?:
|
|
5567
5605
|
string;
|
|
5568
5606
|
/**
|
|
5569
|
-
*
|
|
5570
|
-
*
|
|
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.
|
|
5571
5610
|
*/
|
|
5572
|
-
|
|
5611
|
+
rbacrolebindingId?:
|
|
5573
5612
|
string;
|
|
5574
5613
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5575
5614
|
upload_protocol?:
|
|
@@ -5578,12 +5617,9 @@ declare namespace gapi.client {
|
|
|
5578
5617
|
uploadType?:
|
|
5579
5618
|
string;
|
|
5580
5619
|
},
|
|
5581
|
-
body:
|
|
5582
|
-
/**
|
|
5583
|
-
|
|
5584
|
-
* 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.
|
|
5585
|
-
*/
|
|
5586
|
-
testIamPermissions(request: {
|
|
5620
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
5621
|
+
/** Deletes a Scope RBACRoleBinding. */
|
|
5622
|
+
delete(request?: {
|
|
5587
5623
|
/** V1 error format. */
|
|
5588
5624
|
"$.xgafv"?:
|
|
5589
5625
|
string;
|
|
@@ -5602,6 +5638,9 @@ declare namespace gapi.client {
|
|
|
5602
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. */
|
|
5603
5639
|
key?:
|
|
5604
5640
|
string;
|
|
5641
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. */
|
|
5642
|
+
name:
|
|
5643
|
+
string;
|
|
5605
5644
|
/** OAuth 2.0 token for the current user. */
|
|
5606
5645
|
oauth_token?:
|
|
5607
5646
|
string;
|
|
@@ -5611,11 +5650,44 @@ declare namespace gapi.client {
|
|
|
5611
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. */
|
|
5612
5651
|
quotaUser?:
|
|
5613
5652
|
string;
|
|
5614
|
-
/**
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
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?:
|
|
5619
5691
|
string;
|
|
5620
5692
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5621
5693
|
upload_protocol?:
|
|
@@ -5623,8 +5695,588 @@ declare namespace gapi.client {
|
|
|
5623
5695
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5624
5696
|
uploadType?:
|
|
5625
5697
|
string;
|
|
5626
|
-
}
|
|
5627
|
-
|
|
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;
|
|
5628
6280
|
}
|
|
5629
6281
|
interface LocationsResource {
|
|
5630
6282
|
/** Gets information about a location. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230728
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2081,6 +2081,9 @@ gapi.load('client', async () => {
|
|
|
2081
2081
|
A: "Test string"
|
|
2082
2082
|
},
|
|
2083
2083
|
name: "Test string",
|
|
2084
|
+
namespaceLabels: {
|
|
2085
|
+
A: "Test string"
|
|
2086
|
+
},
|
|
2084
2087
|
scope: "Test string",
|
|
2085
2088
|
state: {
|
|
2086
2089
|
code: "Test string",
|
|
@@ -2113,6 +2116,9 @@ gapi.load('client', async () => {
|
|
|
2113
2116
|
A: "Test string"
|
|
2114
2117
|
},
|
|
2115
2118
|
name: "Test string",
|
|
2119
|
+
namespaceLabels: {
|
|
2120
|
+
A: "Test string"
|
|
2121
|
+
},
|
|
2116
2122
|
scope: "Test string",
|
|
2117
2123
|
state: {
|
|
2118
2124
|
code: "Test string",
|
|
@@ -2218,6 +2224,9 @@ gapi.load('client', async () => {
|
|
|
2218
2224
|
A: "Test string"
|
|
2219
2225
|
},
|
|
2220
2226
|
name: "Test string",
|
|
2227
|
+
namespaceLabels: {
|
|
2228
|
+
A: "Test string"
|
|
2229
|
+
},
|
|
2221
2230
|
state: {
|
|
2222
2231
|
code: "Test string",
|
|
2223
2232
|
},
|
|
@@ -2255,6 +2264,9 @@ gapi.load('client', async () => {
|
|
|
2255
2264
|
A: "Test string"
|
|
2256
2265
|
},
|
|
2257
2266
|
name: "Test string",
|
|
2267
|
+
namespaceLabels: {
|
|
2268
|
+
A: "Test string"
|
|
2269
|
+
},
|
|
2258
2270
|
state: {
|
|
2259
2271
|
code: "Test string",
|
|
2260
2272
|
},
|
|
@@ -2309,5 +2321,119 @@ gapi.load('client', async () => {
|
|
|
2309
2321
|
"Test string"
|
|
2310
2322
|
],
|
|
2311
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
|
+
});
|
|
2312
2438
|
}
|
|
2313
2439
|
});
|