@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230720 → 0.0.20230804
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 +735 -94
- package/package.json +2 -2
- package/tests.ts +133 -33
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: 20230804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -172,9 +172,6 @@ declare namespace gapi.client {
|
|
|
172
172
|
/** Current conditions of the feature. */
|
|
173
173
|
conditions?:
|
|
174
174
|
ClusterUpgradeGKEUpgradeFeatureCondition[];
|
|
175
|
-
/** Scope-level upgrade state. */
|
|
176
|
-
state?:
|
|
177
|
-
ClusterUpgradeScopeGKEUpgradeState[];
|
|
178
175
|
/** Upgrade state. It will eventually replace `state`. */
|
|
179
176
|
upgradeState?:
|
|
180
177
|
ClusterUpgradeGKEUpgradeState[];
|
|
@@ -230,17 +227,6 @@ declare namespace gapi.client {
|
|
|
230
227
|
soaking?:
|
|
231
228
|
string;
|
|
232
229
|
}
|
|
233
|
-
interface ClusterUpgradeScopeGKEUpgradeState {
|
|
234
|
-
/** Number of GKE clusters in each status code. */
|
|
235
|
-
stats?:
|
|
236
|
-
{ [P in string]: string };
|
|
237
|
-
/** Status of the upgrade. */
|
|
238
|
-
status?:
|
|
239
|
-
ClusterUpgradeUpgradeStatus;
|
|
240
|
-
/** Which upgrade to track the state. */
|
|
241
|
-
upgrade?:
|
|
242
|
-
ClusterUpgradeGKEUpgrade;
|
|
243
|
-
}
|
|
244
230
|
interface ClusterUpgradeScopeSpec {
|
|
245
231
|
/** Allow users to override some properties of each GKE upgrade. */
|
|
246
232
|
gkeUpgradeOverrides?:
|
|
@@ -997,6 +983,9 @@ declare namespace gapi.client {
|
|
|
997
983
|
/** Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant. */
|
|
998
984
|
tenant?:
|
|
999
985
|
string;
|
|
986
|
+
/** Optional. Claim in the AzureAD ID Token that holds the user details. */
|
|
987
|
+
userClaim?:
|
|
988
|
+
string;
|
|
1000
989
|
}
|
|
1001
990
|
interface IdentityServiceGoogleConfig {
|
|
1002
991
|
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
@@ -1204,6 +1193,22 @@ declare namespace gapi.client {
|
|
|
1204
1193
|
rbacrolebindings?:
|
|
1205
1194
|
RBACRoleBinding[];
|
|
1206
1195
|
}
|
|
1196
|
+
interface ListScopeNamespacesResponse {
|
|
1197
|
+
/** 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. */
|
|
1198
|
+
nextPageToken?:
|
|
1199
|
+
string;
|
|
1200
|
+
/** The list of fleet namespaces */
|
|
1201
|
+
scopeNamespaces?:
|
|
1202
|
+
Namespace[];
|
|
1203
|
+
}
|
|
1204
|
+
interface ListScopeRBACRoleBindingsResponse {
|
|
1205
|
+
/** 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. */
|
|
1206
|
+
nextPageToken?:
|
|
1207
|
+
string;
|
|
1208
|
+
/** The list of Scope RBACRoleBindings. */
|
|
1209
|
+
rbacrolebindings?:
|
|
1210
|
+
RBACRoleBinding[];
|
|
1211
|
+
}
|
|
1207
1212
|
interface ListScopesResponse {
|
|
1208
1213
|
/** 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
1214
|
nextPageToken?:
|
|
@@ -1492,6 +1497,12 @@ declare namespace gapi.client {
|
|
|
1492
1497
|
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
1493
1498
|
name?:
|
|
1494
1499
|
string;
|
|
1500
|
+
/**
|
|
1501
|
+
* 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
|
|
1502
|
+
* (`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.
|
|
1503
|
+
*/
|
|
1504
|
+
namespaceLabels?:
|
|
1505
|
+
{ [P in string]: string };
|
|
1495
1506
|
/** Required. Scope associated with the namespace */
|
|
1496
1507
|
scope?:
|
|
1497
1508
|
string;
|
|
@@ -1551,9 +1562,9 @@ declare namespace gapi.client {
|
|
|
1551
1562
|
name?:
|
|
1552
1563
|
string;
|
|
1553
1564
|
/**
|
|
1554
|
-
* The normal response of the operation
|
|
1555
|
-
*
|
|
1556
|
-
*
|
|
1565
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
1566
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
1567
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
1557
1568
|
*/
|
|
1558
1569
|
response?:
|
|
1559
1570
|
{ [P in string]: any };
|
|
@@ -1862,6 +1873,12 @@ declare namespace gapi.client {
|
|
|
1862
1873
|
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
1863
1874
|
name?:
|
|
1864
1875
|
string;
|
|
1876
|
+
/**
|
|
1877
|
+
* 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
|
|
1878
|
+
* precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
|
|
1879
|
+
*/
|
|
1880
|
+
namespaceLabels?:
|
|
1881
|
+
{ [P in string]: string };
|
|
1865
1882
|
/** Output only. State of the scope resource. */
|
|
1866
1883
|
state?:
|
|
1867
1884
|
ScopeLifecycleState;
|
|
@@ -5187,8 +5204,8 @@ declare namespace gapi.client {
|
|
|
5187
5204
|
string;
|
|
5188
5205
|
}): Request<ListOperationsResponse>;
|
|
5189
5206
|
}
|
|
5190
|
-
interface
|
|
5191
|
-
/** Creates a
|
|
5207
|
+
interface NamespacesResource {
|
|
5208
|
+
/** Creates a fleet namespace. */
|
|
5192
5209
|
create(request: {
|
|
5193
5210
|
/** V1 error format. */
|
|
5194
5211
|
"$.xgafv"?:
|
|
@@ -5211,7 +5228,7 @@ declare namespace gapi.client {
|
|
|
5211
5228
|
/** OAuth 2.0 token for the current user. */
|
|
5212
5229
|
oauth_token?:
|
|
5213
5230
|
string;
|
|
5214
|
-
/** Required. The parent (project and location) where the
|
|
5231
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5215
5232
|
parent:
|
|
5216
5233
|
string;
|
|
5217
5234
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5220,8 +5237,12 @@ declare namespace gapi.client {
|
|
|
5220
5237
|
/** 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
5238
|
quotaUser?:
|
|
5222
5239
|
string;
|
|
5223
|
-
/**
|
|
5224
|
-
|
|
5240
|
+
/**
|
|
5241
|
+
* 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
|
|
5242
|
+
* 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
|
|
5243
|
+
* length of 63 characters.
|
|
5244
|
+
*/
|
|
5245
|
+
scopeNamespaceId?:
|
|
5225
5246
|
string;
|
|
5226
5247
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5227
5248
|
upload_protocol?:
|
|
@@ -5231,7 +5252,7 @@ declare namespace gapi.client {
|
|
|
5231
5252
|
string;
|
|
5232
5253
|
/** Request body */
|
|
5233
5254
|
resource:
|
|
5234
|
-
|
|
5255
|
+
Namespace;
|
|
5235
5256
|
}): Request<Operation>;
|
|
5236
5257
|
create(request: {
|
|
5237
5258
|
/** V1 error format. */
|
|
@@ -5255,7 +5276,7 @@ declare namespace gapi.client {
|
|
|
5255
5276
|
/** OAuth 2.0 token for the current user. */
|
|
5256
5277
|
oauth_token?:
|
|
5257
5278
|
string;
|
|
5258
|
-
/** Required. The parent (project and location) where the
|
|
5279
|
+
/** Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5259
5280
|
parent:
|
|
5260
5281
|
string;
|
|
5261
5282
|
/** Returns response with indentations and line breaks. */
|
|
@@ -5264,8 +5285,12 @@ declare namespace gapi.client {
|
|
|
5264
5285
|
/** 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
5286
|
quotaUser?:
|
|
5266
5287
|
string;
|
|
5267
|
-
/**
|
|
5268
|
-
|
|
5288
|
+
/**
|
|
5289
|
+
* 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
|
|
5290
|
+
* 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
|
|
5291
|
+
* length of 63 characters.
|
|
5292
|
+
*/
|
|
5293
|
+
scopeNamespaceId?:
|
|
5269
5294
|
string;
|
|
5270
5295
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5271
5296
|
upload_protocol?:
|
|
@@ -5274,8 +5299,8 @@ declare namespace gapi.client {
|
|
|
5274
5299
|
uploadType?:
|
|
5275
5300
|
string;
|
|
5276
5301
|
},
|
|
5277
|
-
body:
|
|
5278
|
-
/** Deletes a
|
|
5302
|
+
body: Namespace): Request<Operation>;
|
|
5303
|
+
/** Deletes a fleet namespace. */
|
|
5279
5304
|
delete(request?: {
|
|
5280
5305
|
/** V1 error format. */
|
|
5281
5306
|
"$.xgafv"?:
|
|
@@ -5295,7 +5320,7 @@ declare namespace gapi.client {
|
|
|
5295
5320
|
/** 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
5321
|
key?:
|
|
5297
5322
|
string;
|
|
5298
|
-
/** Required. The
|
|
5323
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
5299
5324
|
name:
|
|
5300
5325
|
string;
|
|
5301
5326
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5314,7 +5339,7 @@ declare namespace gapi.client {
|
|
|
5314
5339
|
uploadType?:
|
|
5315
5340
|
string;
|
|
5316
5341
|
}): Request<Operation>;
|
|
5317
|
-
/** Returns the details of a
|
|
5342
|
+
/** Returns the details of a fleet namespace. */
|
|
5318
5343
|
get(request?: {
|
|
5319
5344
|
/** V1 error format. */
|
|
5320
5345
|
"$.xgafv"?:
|
|
@@ -5334,7 +5359,7 @@ declare namespace gapi.client {
|
|
|
5334
5359
|
/** 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
5360
|
key?:
|
|
5336
5361
|
string;
|
|
5337
|
-
/** Required. The
|
|
5362
|
+
/** Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`. */
|
|
5338
5363
|
name:
|
|
5339
5364
|
string;
|
|
5340
5365
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5352,9 +5377,9 @@ declare namespace gapi.client {
|
|
|
5352
5377
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5353
5378
|
uploadType?:
|
|
5354
5379
|
string;
|
|
5355
|
-
}): Request<
|
|
5356
|
-
/**
|
|
5357
|
-
|
|
5380
|
+
}): Request<Namespace>;
|
|
5381
|
+
/** Lists fleet namespaces. */
|
|
5382
|
+
list(request?: {
|
|
5358
5383
|
/** V1 error format. */
|
|
5359
5384
|
"$.xgafv"?:
|
|
5360
5385
|
string;
|
|
@@ -5376,36 +5401,30 @@ declare namespace gapi.client {
|
|
|
5376
5401
|
/** OAuth 2.0 token for the current user. */
|
|
5377
5402
|
oauth_token?:
|
|
5378
5403
|
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"?:
|
|
5404
|
+
/** 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. */
|
|
5405
|
+
pageSize?:
|
|
5387
5406
|
number;
|
|
5407
|
+
/** Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources. */
|
|
5408
|
+
pageToken?:
|
|
5409
|
+
string;
|
|
5410
|
+
/** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5411
|
+
parent:
|
|
5412
|
+
string;
|
|
5388
5413
|
/** Returns response with indentations and line breaks. */
|
|
5389
5414
|
prettyPrint?:
|
|
5390
5415
|
boolean;
|
|
5391
5416
|
/** 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
5417
|
quotaUser?:
|
|
5393
5418
|
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
5419
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5401
5420
|
upload_protocol?:
|
|
5402
5421
|
string;
|
|
5403
5422
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5404
5423
|
uploadType?:
|
|
5405
5424
|
string;
|
|
5406
|
-
}): Request<
|
|
5407
|
-
/**
|
|
5408
|
-
|
|
5425
|
+
}): Request<ListScopeNamespacesResponse>;
|
|
5426
|
+
/** Updates a fleet namespace. */
|
|
5427
|
+
patch(request: {
|
|
5409
5428
|
/** V1 error format. */
|
|
5410
5429
|
"$.xgafv"?:
|
|
5411
5430
|
string;
|
|
@@ -5424,32 +5443,31 @@ declare namespace gapi.client {
|
|
|
5424
5443
|
/** 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
5444
|
key?:
|
|
5426
5445
|
string;
|
|
5446
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
5447
|
+
name:
|
|
5448
|
+
string;
|
|
5427
5449
|
/** OAuth 2.0 token for the current user. */
|
|
5428
5450
|
oauth_token?:
|
|
5429
5451
|
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
5452
|
/** Returns response with indentations and line breaks. */
|
|
5440
5453
|
prettyPrint?:
|
|
5441
5454
|
boolean;
|
|
5442
5455
|
/** 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
5456
|
quotaUser?:
|
|
5444
5457
|
string;
|
|
5458
|
+
/** Required. The fields to be updated. */
|
|
5459
|
+
updateMask?:
|
|
5460
|
+
string;
|
|
5445
5461
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5446
5462
|
upload_protocol?:
|
|
5447
5463
|
string;
|
|
5448
5464
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5449
5465
|
uploadType?:
|
|
5450
5466
|
string;
|
|
5451
|
-
|
|
5452
|
-
|
|
5467
|
+
/** Request body */
|
|
5468
|
+
resource:
|
|
5469
|
+
Namespace;
|
|
5470
|
+
}): Request<Operation>;
|
|
5453
5471
|
patch(request: {
|
|
5454
5472
|
/** V1 error format. */
|
|
5455
5473
|
"$.xgafv"?:
|
|
@@ -5469,7 +5487,7 @@ declare namespace gapi.client {
|
|
|
5469
5487
|
/** 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
5488
|
key?:
|
|
5471
5489
|
string;
|
|
5472
|
-
/** The resource name for the
|
|
5490
|
+
/** The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
5473
5491
|
name:
|
|
5474
5492
|
string;
|
|
5475
5493
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -5490,11 +5508,12 @@ declare namespace gapi.client {
|
|
|
5490
5508
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5491
5509
|
uploadType?:
|
|
5492
5510
|
string;
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5511
|
+
},
|
|
5512
|
+
body: Namespace): Request<Operation>;
|
|
5513
|
+
}
|
|
5514
|
+
interface RbacrolebindingsResource {
|
|
5515
|
+
/** Creates a Scope RBACRoleBinding. */
|
|
5516
|
+
create(request: {
|
|
5498
5517
|
/** V1 error format. */
|
|
5499
5518
|
"$.xgafv"?:
|
|
5500
5519
|
string;
|
|
@@ -5513,20 +5532,24 @@ declare namespace gapi.client {
|
|
|
5513
5532
|
/** 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
5533
|
key?:
|
|
5515
5534
|
string;
|
|
5516
|
-
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
5517
|
-
name:
|
|
5518
|
-
string;
|
|
5519
5535
|
/** OAuth 2.0 token for the current user. */
|
|
5520
5536
|
oauth_token?:
|
|
5521
5537
|
string;
|
|
5538
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5539
|
+
parent:
|
|
5540
|
+
string;
|
|
5522
5541
|
/** Returns response with indentations and line breaks. */
|
|
5523
5542
|
prettyPrint?:
|
|
5524
5543
|
boolean;
|
|
5525
5544
|
/** 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
5545
|
quotaUser?:
|
|
5527
5546
|
string;
|
|
5528
|
-
/**
|
|
5529
|
-
|
|
5547
|
+
/**
|
|
5548
|
+
* 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
|
|
5549
|
+
* 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
|
|
5550
|
+
* maximum length of 63 characters.
|
|
5551
|
+
*/
|
|
5552
|
+
rbacrolebindingId?:
|
|
5530
5553
|
string;
|
|
5531
5554
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5532
5555
|
upload_protocol?:
|
|
@@ -5534,10 +5557,11 @@ declare namespace gapi.client {
|
|
|
5534
5557
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5535
5558
|
uploadType?:
|
|
5536
5559
|
string;
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5560
|
+
/** Request body */
|
|
5561
|
+
resource:
|
|
5562
|
+
RBACRoleBinding;
|
|
5563
|
+
}): Request<Operation>;
|
|
5564
|
+
create(request: {
|
|
5541
5565
|
/** V1 error format. */
|
|
5542
5566
|
"$.xgafv"?:
|
|
5543
5567
|
string;
|
|
@@ -5559,6 +5583,9 @@ declare namespace gapi.client {
|
|
|
5559
5583
|
/** OAuth 2.0 token for the current user. */
|
|
5560
5584
|
oauth_token?:
|
|
5561
5585
|
string;
|
|
5586
|
+
/** Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5587
|
+
parent:
|
|
5588
|
+
string;
|
|
5562
5589
|
/** Returns response with indentations and line breaks. */
|
|
5563
5590
|
prettyPrint?:
|
|
5564
5591
|
boolean;
|
|
@@ -5566,10 +5593,11 @@ declare namespace gapi.client {
|
|
|
5566
5593
|
quotaUser?:
|
|
5567
5594
|
string;
|
|
5568
5595
|
/**
|
|
5569
|
-
*
|
|
5570
|
-
*
|
|
5596
|
+
* 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
|
|
5597
|
+
* 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
|
|
5598
|
+
* maximum length of 63 characters.
|
|
5571
5599
|
*/
|
|
5572
|
-
|
|
5600
|
+
rbacrolebindingId?:
|
|
5573
5601
|
string;
|
|
5574
5602
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5575
5603
|
upload_protocol?:
|
|
@@ -5578,12 +5606,9 @@ declare namespace gapi.client {
|
|
|
5578
5606
|
uploadType?:
|
|
5579
5607
|
string;
|
|
5580
5608
|
},
|
|
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: {
|
|
5609
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
5610
|
+
/** Deletes a Scope RBACRoleBinding. */
|
|
5611
|
+
delete(request?: {
|
|
5587
5612
|
/** V1 error format. */
|
|
5588
5613
|
"$.xgafv"?:
|
|
5589
5614
|
string;
|
|
@@ -5602,6 +5627,9 @@ declare namespace gapi.client {
|
|
|
5602
5627
|
/** 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
5628
|
key?:
|
|
5604
5629
|
string;
|
|
5630
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. */
|
|
5631
|
+
name:
|
|
5632
|
+
string;
|
|
5605
5633
|
/** OAuth 2.0 token for the current user. */
|
|
5606
5634
|
oauth_token?:
|
|
5607
5635
|
string;
|
|
@@ -5611,11 +5639,44 @@ declare namespace gapi.client {
|
|
|
5611
5639
|
/** 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
5640
|
quotaUser?:
|
|
5613
5641
|
string;
|
|
5614
|
-
/**
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5642
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5643
|
+
upload_protocol?:
|
|
5644
|
+
string;
|
|
5645
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5646
|
+
uploadType?:
|
|
5647
|
+
string;
|
|
5648
|
+
}): Request<Operation>;
|
|
5649
|
+
/** Returns the details of a Scope RBACRoleBinding. */
|
|
5650
|
+
get(request?: {
|
|
5651
|
+
/** V1 error format. */
|
|
5652
|
+
"$.xgafv"?:
|
|
5653
|
+
string;
|
|
5654
|
+
/** OAuth access token. */
|
|
5655
|
+
access_token?:
|
|
5656
|
+
string;
|
|
5657
|
+
/** Data format for response. */
|
|
5658
|
+
alt?:
|
|
5659
|
+
string;
|
|
5660
|
+
/** JSONP */
|
|
5661
|
+
callback?:
|
|
5662
|
+
string;
|
|
5663
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5664
|
+
fields?:
|
|
5665
|
+
string;
|
|
5666
|
+
/** 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. */
|
|
5667
|
+
key?:
|
|
5668
|
+
string;
|
|
5669
|
+
/** Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`. */
|
|
5670
|
+
name:
|
|
5671
|
+
string;
|
|
5672
|
+
/** OAuth 2.0 token for the current user. */
|
|
5673
|
+
oauth_token?:
|
|
5674
|
+
string;
|
|
5675
|
+
/** Returns response with indentations and line breaks. */
|
|
5676
|
+
prettyPrint?:
|
|
5677
|
+
boolean;
|
|
5678
|
+
/** 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. */
|
|
5679
|
+
quotaUser?:
|
|
5619
5680
|
string;
|
|
5620
5681
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5621
5682
|
upload_protocol?:
|
|
@@ -5623,8 +5684,588 @@ declare namespace gapi.client {
|
|
|
5623
5684
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5624
5685
|
uploadType?:
|
|
5625
5686
|
string;
|
|
5626
|
-
}
|
|
5627
|
-
|
|
5687
|
+
}): Request<RBACRoleBinding>;
|
|
5688
|
+
/** Lists all Scope RBACRoleBindings. */
|
|
5689
|
+
list(request?: {
|
|
5690
|
+
/** V1 error format. */
|
|
5691
|
+
"$.xgafv"?:
|
|
5692
|
+
string;
|
|
5693
|
+
/** OAuth access token. */
|
|
5694
|
+
access_token?:
|
|
5695
|
+
string;
|
|
5696
|
+
/** Data format for response. */
|
|
5697
|
+
alt?:
|
|
5698
|
+
string;
|
|
5699
|
+
/** JSONP */
|
|
5700
|
+
callback?:
|
|
5701
|
+
string;
|
|
5702
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5703
|
+
fields?:
|
|
5704
|
+
string;
|
|
5705
|
+
/** 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. */
|
|
5706
|
+
key?:
|
|
5707
|
+
string;
|
|
5708
|
+
/** OAuth 2.0 token for the current user. */
|
|
5709
|
+
oauth_token?:
|
|
5710
|
+
string;
|
|
5711
|
+
/** 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. */
|
|
5712
|
+
pageSize?:
|
|
5713
|
+
number;
|
|
5714
|
+
/** Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources. */
|
|
5715
|
+
pageToken?:
|
|
5716
|
+
string;
|
|
5717
|
+
/** Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`. */
|
|
5718
|
+
parent:
|
|
5719
|
+
string;
|
|
5720
|
+
/** Returns response with indentations and line breaks. */
|
|
5721
|
+
prettyPrint?:
|
|
5722
|
+
boolean;
|
|
5723
|
+
/** 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. */
|
|
5724
|
+
quotaUser?:
|
|
5725
|
+
string;
|
|
5726
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5727
|
+
upload_protocol?:
|
|
5728
|
+
string;
|
|
5729
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5730
|
+
uploadType?:
|
|
5731
|
+
string;
|
|
5732
|
+
}): Request<ListScopeRBACRoleBindingsResponse>;
|
|
5733
|
+
/** Updates a Scope RBACRoleBinding. */
|
|
5734
|
+
patch(request: {
|
|
5735
|
+
/** V1 error format. */
|
|
5736
|
+
"$.xgafv"?:
|
|
5737
|
+
string;
|
|
5738
|
+
/** OAuth access token. */
|
|
5739
|
+
access_token?:
|
|
5740
|
+
string;
|
|
5741
|
+
/** Data format for response. */
|
|
5742
|
+
alt?:
|
|
5743
|
+
string;
|
|
5744
|
+
/** JSONP */
|
|
5745
|
+
callback?:
|
|
5746
|
+
string;
|
|
5747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5748
|
+
fields?:
|
|
5749
|
+
string;
|
|
5750
|
+
/** 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. */
|
|
5751
|
+
key?:
|
|
5752
|
+
string;
|
|
5753
|
+
/**
|
|
5754
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
5755
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
5756
|
+
*/
|
|
5757
|
+
name:
|
|
5758
|
+
string;
|
|
5759
|
+
/** OAuth 2.0 token for the current user. */
|
|
5760
|
+
oauth_token?:
|
|
5761
|
+
string;
|
|
5762
|
+
/** Returns response with indentations and line breaks. */
|
|
5763
|
+
prettyPrint?:
|
|
5764
|
+
boolean;
|
|
5765
|
+
/** 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. */
|
|
5766
|
+
quotaUser?:
|
|
5767
|
+
string;
|
|
5768
|
+
/** Required. The fields to be updated. */
|
|
5769
|
+
updateMask?:
|
|
5770
|
+
string;
|
|
5771
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5772
|
+
upload_protocol?:
|
|
5773
|
+
string;
|
|
5774
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5775
|
+
uploadType?:
|
|
5776
|
+
string;
|
|
5777
|
+
/** Request body */
|
|
5778
|
+
resource:
|
|
5779
|
+
RBACRoleBinding;
|
|
5780
|
+
}): Request<Operation>;
|
|
5781
|
+
patch(request: {
|
|
5782
|
+
/** V1 error format. */
|
|
5783
|
+
"$.xgafv"?:
|
|
5784
|
+
string;
|
|
5785
|
+
/** OAuth access token. */
|
|
5786
|
+
access_token?:
|
|
5787
|
+
string;
|
|
5788
|
+
/** Data format for response. */
|
|
5789
|
+
alt?:
|
|
5790
|
+
string;
|
|
5791
|
+
/** JSONP */
|
|
5792
|
+
callback?:
|
|
5793
|
+
string;
|
|
5794
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5795
|
+
fields?:
|
|
5796
|
+
string;
|
|
5797
|
+
/** 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. */
|
|
5798
|
+
key?:
|
|
5799
|
+
string;
|
|
5800
|
+
/**
|
|
5801
|
+
* The resource name for the rbacrolebinding `projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}` or
|
|
5802
|
+
* `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
|
|
5803
|
+
*/
|
|
5804
|
+
name:
|
|
5805
|
+
string;
|
|
5806
|
+
/** OAuth 2.0 token for the current user. */
|
|
5807
|
+
oauth_token?:
|
|
5808
|
+
string;
|
|
5809
|
+
/** Returns response with indentations and line breaks. */
|
|
5810
|
+
prettyPrint?:
|
|
5811
|
+
boolean;
|
|
5812
|
+
/** 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. */
|
|
5813
|
+
quotaUser?:
|
|
5814
|
+
string;
|
|
5815
|
+
/** Required. The fields to be updated. */
|
|
5816
|
+
updateMask?:
|
|
5817
|
+
string;
|
|
5818
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5819
|
+
upload_protocol?:
|
|
5820
|
+
string;
|
|
5821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5822
|
+
uploadType?:
|
|
5823
|
+
string;
|
|
5824
|
+
},
|
|
5825
|
+
body: RBACRoleBinding): Request<Operation>;
|
|
5826
|
+
}
|
|
5827
|
+
interface ScopesResource {
|
|
5828
|
+
/** Creates a Scope. */
|
|
5829
|
+
create(request: {
|
|
5830
|
+
/** V1 error format. */
|
|
5831
|
+
"$.xgafv"?:
|
|
5832
|
+
string;
|
|
5833
|
+
/** OAuth access token. */
|
|
5834
|
+
access_token?:
|
|
5835
|
+
string;
|
|
5836
|
+
/** Data format for response. */
|
|
5837
|
+
alt?:
|
|
5838
|
+
string;
|
|
5839
|
+
/** JSONP */
|
|
5840
|
+
callback?:
|
|
5841
|
+
string;
|
|
5842
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5843
|
+
fields?:
|
|
5844
|
+
string;
|
|
5845
|
+
/** 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. */
|
|
5846
|
+
key?:
|
|
5847
|
+
string;
|
|
5848
|
+
/** OAuth 2.0 token for the current user. */
|
|
5849
|
+
oauth_token?:
|
|
5850
|
+
string;
|
|
5851
|
+
/** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*/locations/*`. */
|
|
5852
|
+
parent:
|
|
5853
|
+
string;
|
|
5854
|
+
/** Returns response with indentations and line breaks. */
|
|
5855
|
+
prettyPrint?:
|
|
5856
|
+
boolean;
|
|
5857
|
+
/** 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. */
|
|
5858
|
+
quotaUser?:
|
|
5859
|
+
string;
|
|
5860
|
+
/** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
|
|
5861
|
+
scopeId?:
|
|
5862
|
+
string;
|
|
5863
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5864
|
+
upload_protocol?:
|
|
5865
|
+
string;
|
|
5866
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5867
|
+
uploadType?:
|
|
5868
|
+
string;
|
|
5869
|
+
/** Request body */
|
|
5870
|
+
resource:
|
|
5871
|
+
Scope;
|
|
5872
|
+
}): Request<Operation>;
|
|
5873
|
+
create(request: {
|
|
5874
|
+
/** V1 error format. */
|
|
5875
|
+
"$.xgafv"?:
|
|
5876
|
+
string;
|
|
5877
|
+
/** OAuth access token. */
|
|
5878
|
+
access_token?:
|
|
5879
|
+
string;
|
|
5880
|
+
/** Data format for response. */
|
|
5881
|
+
alt?:
|
|
5882
|
+
string;
|
|
5883
|
+
/** JSONP */
|
|
5884
|
+
callback?:
|
|
5885
|
+
string;
|
|
5886
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5887
|
+
fields?:
|
|
5888
|
+
string;
|
|
5889
|
+
/** 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. */
|
|
5890
|
+
key?:
|
|
5891
|
+
string;
|
|
5892
|
+
/** OAuth 2.0 token for the current user. */
|
|
5893
|
+
oauth_token?:
|
|
5894
|
+
string;
|
|
5895
|
+
/** Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*/locations/*`. */
|
|
5896
|
+
parent:
|
|
5897
|
+
string;
|
|
5898
|
+
/** Returns response with indentations and line breaks. */
|
|
5899
|
+
prettyPrint?:
|
|
5900
|
+
boolean;
|
|
5901
|
+
/** 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. */
|
|
5902
|
+
quotaUser?:
|
|
5903
|
+
string;
|
|
5904
|
+
/** Required. Client chosen ID for the Scope. `scope_id` must be a ???? */
|
|
5905
|
+
scopeId?:
|
|
5906
|
+
string;
|
|
5907
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5908
|
+
upload_protocol?:
|
|
5909
|
+
string;
|
|
5910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5911
|
+
uploadType?:
|
|
5912
|
+
string;
|
|
5913
|
+
},
|
|
5914
|
+
body: Scope): Request<Operation>;
|
|
5915
|
+
/** Deletes a Scope. */
|
|
5916
|
+
delete(request?: {
|
|
5917
|
+
/** V1 error format. */
|
|
5918
|
+
"$.xgafv"?:
|
|
5919
|
+
string;
|
|
5920
|
+
/** OAuth access token. */
|
|
5921
|
+
access_token?:
|
|
5922
|
+
string;
|
|
5923
|
+
/** Data format for response. */
|
|
5924
|
+
alt?:
|
|
5925
|
+
string;
|
|
5926
|
+
/** JSONP */
|
|
5927
|
+
callback?:
|
|
5928
|
+
string;
|
|
5929
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5930
|
+
fields?:
|
|
5931
|
+
string;
|
|
5932
|
+
/** 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. */
|
|
5933
|
+
key?:
|
|
5934
|
+
string;
|
|
5935
|
+
/** Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`. */
|
|
5936
|
+
name:
|
|
5937
|
+
string;
|
|
5938
|
+
/** OAuth 2.0 token for the current user. */
|
|
5939
|
+
oauth_token?:
|
|
5940
|
+
string;
|
|
5941
|
+
/** Returns response with indentations and line breaks. */
|
|
5942
|
+
prettyPrint?:
|
|
5943
|
+
boolean;
|
|
5944
|
+
/** 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. */
|
|
5945
|
+
quotaUser?:
|
|
5946
|
+
string;
|
|
5947
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5948
|
+
upload_protocol?:
|
|
5949
|
+
string;
|
|
5950
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5951
|
+
uploadType?:
|
|
5952
|
+
string;
|
|
5953
|
+
}): Request<Operation>;
|
|
5954
|
+
/** Returns the details of a Scope. */
|
|
5955
|
+
get(request?: {
|
|
5956
|
+
/** V1 error format. */
|
|
5957
|
+
"$.xgafv"?:
|
|
5958
|
+
string;
|
|
5959
|
+
/** OAuth access token. */
|
|
5960
|
+
access_token?:
|
|
5961
|
+
string;
|
|
5962
|
+
/** Data format for response. */
|
|
5963
|
+
alt?:
|
|
5964
|
+
string;
|
|
5965
|
+
/** JSONP */
|
|
5966
|
+
callback?:
|
|
5967
|
+
string;
|
|
5968
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5969
|
+
fields?:
|
|
5970
|
+
string;
|
|
5971
|
+
/** 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. */
|
|
5972
|
+
key?:
|
|
5973
|
+
string;
|
|
5974
|
+
/** Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`. */
|
|
5975
|
+
name:
|
|
5976
|
+
string;
|
|
5977
|
+
/** OAuth 2.0 token for the current user. */
|
|
5978
|
+
oauth_token?:
|
|
5979
|
+
string;
|
|
5980
|
+
/** Returns response with indentations and line breaks. */
|
|
5981
|
+
prettyPrint?:
|
|
5982
|
+
boolean;
|
|
5983
|
+
/** 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. */
|
|
5984
|
+
quotaUser?:
|
|
5985
|
+
string;
|
|
5986
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5987
|
+
upload_protocol?:
|
|
5988
|
+
string;
|
|
5989
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5990
|
+
uploadType?:
|
|
5991
|
+
string;
|
|
5992
|
+
}): Request<Scope>;
|
|
5993
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
5994
|
+
getIamPolicy(request?: {
|
|
5995
|
+
/** V1 error format. */
|
|
5996
|
+
"$.xgafv"?:
|
|
5997
|
+
string;
|
|
5998
|
+
/** OAuth access token. */
|
|
5999
|
+
access_token?:
|
|
6000
|
+
string;
|
|
6001
|
+
/** Data format for response. */
|
|
6002
|
+
alt?:
|
|
6003
|
+
string;
|
|
6004
|
+
/** JSONP */
|
|
6005
|
+
callback?:
|
|
6006
|
+
string;
|
|
6007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6008
|
+
fields?:
|
|
6009
|
+
string;
|
|
6010
|
+
/** 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. */
|
|
6011
|
+
key?:
|
|
6012
|
+
string;
|
|
6013
|
+
/** OAuth 2.0 token for the current user. */
|
|
6014
|
+
oauth_token?:
|
|
6015
|
+
string;
|
|
6016
|
+
/**
|
|
6017
|
+
* 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
|
|
6018
|
+
* 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
|
|
6019
|
+
* 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
|
|
6020
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
6021
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
6022
|
+
*/
|
|
6023
|
+
"options.requestedPolicyVersion"?:
|
|
6024
|
+
number;
|
|
6025
|
+
/** Returns response with indentations and line breaks. */
|
|
6026
|
+
prettyPrint?:
|
|
6027
|
+
boolean;
|
|
6028
|
+
/** 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. */
|
|
6029
|
+
quotaUser?:
|
|
6030
|
+
string;
|
|
6031
|
+
/**
|
|
6032
|
+
* 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
|
|
6033
|
+
* field.
|
|
6034
|
+
*/
|
|
6035
|
+
resource:
|
|
6036
|
+
string;
|
|
6037
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6038
|
+
upload_protocol?:
|
|
6039
|
+
string;
|
|
6040
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6041
|
+
uploadType?:
|
|
6042
|
+
string;
|
|
6043
|
+
}): Request<Policy>;
|
|
6044
|
+
/** Lists Scopes. */
|
|
6045
|
+
list(request?: {
|
|
6046
|
+
/** V1 error format. */
|
|
6047
|
+
"$.xgafv"?:
|
|
6048
|
+
string;
|
|
6049
|
+
/** OAuth access token. */
|
|
6050
|
+
access_token?:
|
|
6051
|
+
string;
|
|
6052
|
+
/** Data format for response. */
|
|
6053
|
+
alt?:
|
|
6054
|
+
string;
|
|
6055
|
+
/** JSONP */
|
|
6056
|
+
callback?:
|
|
6057
|
+
string;
|
|
6058
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6059
|
+
fields?:
|
|
6060
|
+
string;
|
|
6061
|
+
/** 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. */
|
|
6062
|
+
key?:
|
|
6063
|
+
string;
|
|
6064
|
+
/** OAuth 2.0 token for the current user. */
|
|
6065
|
+
oauth_token?:
|
|
6066
|
+
string;
|
|
6067
|
+
/** 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. */
|
|
6068
|
+
pageSize?:
|
|
6069
|
+
number;
|
|
6070
|
+
/** Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources. */
|
|
6071
|
+
pageToken?:
|
|
6072
|
+
string;
|
|
6073
|
+
/** Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`. */
|
|
6074
|
+
parent:
|
|
6075
|
+
string;
|
|
6076
|
+
/** Returns response with indentations and line breaks. */
|
|
6077
|
+
prettyPrint?:
|
|
6078
|
+
boolean;
|
|
6079
|
+
/** 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. */
|
|
6080
|
+
quotaUser?:
|
|
6081
|
+
string;
|
|
6082
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6083
|
+
upload_protocol?:
|
|
6084
|
+
string;
|
|
6085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6086
|
+
uploadType?:
|
|
6087
|
+
string;
|
|
6088
|
+
}): Request<ListScopesResponse>;
|
|
6089
|
+
/** Updates a scopes. */
|
|
6090
|
+
patch(request: {
|
|
6091
|
+
/** V1 error format. */
|
|
6092
|
+
"$.xgafv"?:
|
|
6093
|
+
string;
|
|
6094
|
+
/** OAuth access token. */
|
|
6095
|
+
access_token?:
|
|
6096
|
+
string;
|
|
6097
|
+
/** Data format for response. */
|
|
6098
|
+
alt?:
|
|
6099
|
+
string;
|
|
6100
|
+
/** JSONP */
|
|
6101
|
+
callback?:
|
|
6102
|
+
string;
|
|
6103
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6104
|
+
fields?:
|
|
6105
|
+
string;
|
|
6106
|
+
/** 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. */
|
|
6107
|
+
key?:
|
|
6108
|
+
string;
|
|
6109
|
+
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
6110
|
+
name:
|
|
6111
|
+
string;
|
|
6112
|
+
/** OAuth 2.0 token for the current user. */
|
|
6113
|
+
oauth_token?:
|
|
6114
|
+
string;
|
|
6115
|
+
/** Returns response with indentations and line breaks. */
|
|
6116
|
+
prettyPrint?:
|
|
6117
|
+
boolean;
|
|
6118
|
+
/** 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. */
|
|
6119
|
+
quotaUser?:
|
|
6120
|
+
string;
|
|
6121
|
+
/** Required. The fields to be updated. */
|
|
6122
|
+
updateMask?:
|
|
6123
|
+
string;
|
|
6124
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6125
|
+
upload_protocol?:
|
|
6126
|
+
string;
|
|
6127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6128
|
+
uploadType?:
|
|
6129
|
+
string;
|
|
6130
|
+
/** Request body */
|
|
6131
|
+
resource:
|
|
6132
|
+
Scope;
|
|
6133
|
+
}): Request<Operation>;
|
|
6134
|
+
patch(request: {
|
|
6135
|
+
/** V1 error format. */
|
|
6136
|
+
"$.xgafv"?:
|
|
6137
|
+
string;
|
|
6138
|
+
/** OAuth access token. */
|
|
6139
|
+
access_token?:
|
|
6140
|
+
string;
|
|
6141
|
+
/** Data format for response. */
|
|
6142
|
+
alt?:
|
|
6143
|
+
string;
|
|
6144
|
+
/** JSONP */
|
|
6145
|
+
callback?:
|
|
6146
|
+
string;
|
|
6147
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6148
|
+
fields?:
|
|
6149
|
+
string;
|
|
6150
|
+
/** 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. */
|
|
6151
|
+
key?:
|
|
6152
|
+
string;
|
|
6153
|
+
/** The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` */
|
|
6154
|
+
name:
|
|
6155
|
+
string;
|
|
6156
|
+
/** OAuth 2.0 token for the current user. */
|
|
6157
|
+
oauth_token?:
|
|
6158
|
+
string;
|
|
6159
|
+
/** Returns response with indentations and line breaks. */
|
|
6160
|
+
prettyPrint?:
|
|
6161
|
+
boolean;
|
|
6162
|
+
/** 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. */
|
|
6163
|
+
quotaUser?:
|
|
6164
|
+
string;
|
|
6165
|
+
/** Required. The fields to be updated. */
|
|
6166
|
+
updateMask?:
|
|
6167
|
+
string;
|
|
6168
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6169
|
+
upload_protocol?:
|
|
6170
|
+
string;
|
|
6171
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6172
|
+
uploadType?:
|
|
6173
|
+
string;
|
|
6174
|
+
},
|
|
6175
|
+
body: Scope): Request<Operation>;
|
|
6176
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
6177
|
+
setIamPolicy(request: {
|
|
6178
|
+
/** V1 error format. */
|
|
6179
|
+
"$.xgafv"?:
|
|
6180
|
+
string;
|
|
6181
|
+
/** OAuth access token. */
|
|
6182
|
+
access_token?:
|
|
6183
|
+
string;
|
|
6184
|
+
/** Data format for response. */
|
|
6185
|
+
alt?:
|
|
6186
|
+
string;
|
|
6187
|
+
/** JSONP */
|
|
6188
|
+
callback?:
|
|
6189
|
+
string;
|
|
6190
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6191
|
+
fields?:
|
|
6192
|
+
string;
|
|
6193
|
+
/** 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. */
|
|
6194
|
+
key?:
|
|
6195
|
+
string;
|
|
6196
|
+
/** OAuth 2.0 token for the current user. */
|
|
6197
|
+
oauth_token?:
|
|
6198
|
+
string;
|
|
6199
|
+
/** Returns response with indentations and line breaks. */
|
|
6200
|
+
prettyPrint?:
|
|
6201
|
+
boolean;
|
|
6202
|
+
/** 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. */
|
|
6203
|
+
quotaUser?:
|
|
6204
|
+
string;
|
|
6205
|
+
/**
|
|
6206
|
+
* 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
|
|
6207
|
+
* field.
|
|
6208
|
+
*/
|
|
6209
|
+
resource:
|
|
6210
|
+
string;
|
|
6211
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6212
|
+
upload_protocol?:
|
|
6213
|
+
string;
|
|
6214
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6215
|
+
uploadType?:
|
|
6216
|
+
string;
|
|
6217
|
+
},
|
|
6218
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
6219
|
+
/**
|
|
6220
|
+
* 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
|
|
6221
|
+
* 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.
|
|
6222
|
+
*/
|
|
6223
|
+
testIamPermissions(request: {
|
|
6224
|
+
/** V1 error format. */
|
|
6225
|
+
"$.xgafv"?:
|
|
6226
|
+
string;
|
|
6227
|
+
/** OAuth access token. */
|
|
6228
|
+
access_token?:
|
|
6229
|
+
string;
|
|
6230
|
+
/** Data format for response. */
|
|
6231
|
+
alt?:
|
|
6232
|
+
string;
|
|
6233
|
+
/** JSONP */
|
|
6234
|
+
callback?:
|
|
6235
|
+
string;
|
|
6236
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6237
|
+
fields?:
|
|
6238
|
+
string;
|
|
6239
|
+
/** 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. */
|
|
6240
|
+
key?:
|
|
6241
|
+
string;
|
|
6242
|
+
/** OAuth 2.0 token for the current user. */
|
|
6243
|
+
oauth_token?:
|
|
6244
|
+
string;
|
|
6245
|
+
/** Returns response with indentations and line breaks. */
|
|
6246
|
+
prettyPrint?:
|
|
6247
|
+
boolean;
|
|
6248
|
+
/** 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. */
|
|
6249
|
+
quotaUser?:
|
|
6250
|
+
string;
|
|
6251
|
+
/**
|
|
6252
|
+
* 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
|
|
6253
|
+
* this field.
|
|
6254
|
+
*/
|
|
6255
|
+
resource:
|
|
6256
|
+
string;
|
|
6257
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6258
|
+
upload_protocol?:
|
|
6259
|
+
string;
|
|
6260
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6261
|
+
uploadType?:
|
|
6262
|
+
string;
|
|
6263
|
+
},
|
|
6264
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
6265
|
+
namespaces:
|
|
6266
|
+
NamespacesResource;
|
|
6267
|
+
rbacrolebindings:
|
|
6268
|
+
RbacrolebindingsResource;
|
|
5628
6269
|
}
|
|
5629
6270
|
interface LocationsResource {
|
|
5630
6271
|
/** Gets information about a location. */
|