@maxim_mazurok/gapi.client.cloudbuild-v2 0.0.20250117 → 0.0.20250211
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 +22 -14
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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://cloudbuild.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250211
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Cloud Build API v2 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v2'
|
|
19
|
+
urlOrObject: 'https://cloudbuild.googleapis.com/$discovery/rest?version=v2',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'cloudbuild', version: 'v2'): Promise<void>;
|
|
@@ -284,6 +284,8 @@ declare namespace gapi.client {
|
|
|
284
284
|
connections?: Connection[];
|
|
285
285
|
/** A token identifying a page of results the server should return. */
|
|
286
286
|
nextPageToken?: string;
|
|
287
|
+
/** Locations that could not be reached. */
|
|
288
|
+
unreachable?: string[];
|
|
287
289
|
}
|
|
288
290
|
interface ListLocationsResponse {
|
|
289
291
|
/** A list of locations that matches the specified filter in the request. */
|
|
@@ -296,6 +298,8 @@ declare namespace gapi.client {
|
|
|
296
298
|
nextPageToken?: string;
|
|
297
299
|
/** The list of Repositories. */
|
|
298
300
|
repositories?: Repository[];
|
|
301
|
+
/** Locations that could not be reached. */
|
|
302
|
+
unreachable?: string[];
|
|
299
303
|
}
|
|
300
304
|
interface Location {
|
|
301
305
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
@@ -854,7 +858,7 @@ declare namespace gapi.client {
|
|
|
854
858
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
855
859
|
uploadType?: string;
|
|
856
860
|
},
|
|
857
|
-
body: FetchReadTokenRequest
|
|
861
|
+
body: FetchReadTokenRequest,
|
|
858
862
|
): Request<FetchReadTokenResponse>;
|
|
859
863
|
/** Fetches read/write token of a given repository. */
|
|
860
864
|
accessReadWriteToken(request: {
|
|
@@ -912,7 +916,7 @@ declare namespace gapi.client {
|
|
|
912
916
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
913
917
|
uploadType?: string;
|
|
914
918
|
},
|
|
915
|
-
body: FetchReadWriteTokenRequest
|
|
919
|
+
body: FetchReadWriteTokenRequest,
|
|
916
920
|
): Request<FetchReadWriteTokenResponse>;
|
|
917
921
|
/** Creates multiple repositories inside a connection. */
|
|
918
922
|
batchCreate(request: {
|
|
@@ -970,7 +974,7 @@ declare namespace gapi.client {
|
|
|
970
974
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
971
975
|
uploadType?: string;
|
|
972
976
|
},
|
|
973
|
-
body: BatchCreateRepositoriesRequest
|
|
977
|
+
body: BatchCreateRepositoriesRequest,
|
|
974
978
|
): Request<Operation>;
|
|
975
979
|
/** Creates a Repository. */
|
|
976
980
|
create(request: {
|
|
@@ -1032,7 +1036,7 @@ declare namespace gapi.client {
|
|
|
1032
1036
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1033
1037
|
uploadType?: string;
|
|
1034
1038
|
},
|
|
1035
|
-
body: Repository
|
|
1039
|
+
body: Repository,
|
|
1036
1040
|
): Request<Operation>;
|
|
1037
1041
|
/** Deletes a single repository. */
|
|
1038
1042
|
delete(request?: {
|
|
@@ -1153,6 +1157,8 @@ declare namespace gapi.client {
|
|
|
1153
1157
|
prettyPrint?: boolean;
|
|
1154
1158
|
/** 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. */
|
|
1155
1159
|
quotaUser?: string;
|
|
1160
|
+
/** Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will fail if any region is unreachable. */
|
|
1161
|
+
returnPartialSuccess?: boolean;
|
|
1156
1162
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1157
1163
|
upload_protocol?: string;
|
|
1158
1164
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -1220,7 +1226,7 @@ declare namespace gapi.client {
|
|
|
1220
1226
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1221
1227
|
uploadType?: string;
|
|
1222
1228
|
},
|
|
1223
|
-
body: Connection
|
|
1229
|
+
body: Connection,
|
|
1224
1230
|
): Request<Operation>;
|
|
1225
1231
|
/** Deletes a single connection. */
|
|
1226
1232
|
delete(request?: {
|
|
@@ -1366,6 +1372,8 @@ declare namespace gapi.client {
|
|
|
1366
1372
|
prettyPrint?: boolean;
|
|
1367
1373
|
/** 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. */
|
|
1368
1374
|
quotaUser?: string;
|
|
1375
|
+
/** Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will fail if any region is unreachable. */
|
|
1376
|
+
returnPartialSuccess?: boolean;
|
|
1369
1377
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1370
1378
|
upload_protocol?: string;
|
|
1371
1379
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -1439,7 +1447,7 @@ declare namespace gapi.client {
|
|
|
1439
1447
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1440
1448
|
uploadType?: string;
|
|
1441
1449
|
},
|
|
1442
|
-
body: Connection
|
|
1450
|
+
body: Connection,
|
|
1443
1451
|
): Request<Operation>;
|
|
1444
1452
|
/** ProcessWebhook is called by the external SCM for notifying of events. */
|
|
1445
1453
|
processWebhook(request: {
|
|
@@ -1467,7 +1475,7 @@ declare namespace gapi.client {
|
|
|
1467
1475
|
upload_protocol?: string;
|
|
1468
1476
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1469
1477
|
uploadType?: string;
|
|
1470
|
-
/** Arbitrary additional key to find the
|
|
1478
|
+
/** Arbitrary additional key to find the matching repository for a webhook event if needed. */
|
|
1471
1479
|
webhookKey?: string;
|
|
1472
1480
|
/** Request body */
|
|
1473
1481
|
resource: HttpBody;
|
|
@@ -1498,10 +1506,10 @@ declare namespace gapi.client {
|
|
|
1498
1506
|
upload_protocol?: string;
|
|
1499
1507
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1500
1508
|
uploadType?: string;
|
|
1501
|
-
/** Arbitrary additional key to find the
|
|
1509
|
+
/** Arbitrary additional key to find the matching repository for a webhook event if needed. */
|
|
1502
1510
|
webhookKey?: string;
|
|
1503
1511
|
},
|
|
1504
|
-
body: HttpBody
|
|
1512
|
+
body: HttpBody,
|
|
1505
1513
|
): Request<{}>;
|
|
1506
1514
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1507
1515
|
setIamPolicy(
|
|
@@ -1531,7 +1539,7 @@ declare namespace gapi.client {
|
|
|
1531
1539
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1532
1540
|
uploadType?: string;
|
|
1533
1541
|
},
|
|
1534
|
-
body: SetIamPolicyRequest
|
|
1542
|
+
body: SetIamPolicyRequest,
|
|
1535
1543
|
): Request<Policy>;
|
|
1536
1544
|
/** 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 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. */
|
|
1537
1545
|
testIamPermissions(
|
|
@@ -1561,7 +1569,7 @@ declare namespace gapi.client {
|
|
|
1561
1569
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1562
1570
|
uploadType?: string;
|
|
1563
1571
|
},
|
|
1564
|
-
body: TestIamPermissionsRequest
|
|
1572
|
+
body: TestIamPermissionsRequest,
|
|
1565
1573
|
): Request<TestIamPermissionsResponse>;
|
|
1566
1574
|
repositories: RepositoriesResource;
|
|
1567
1575
|
}
|
|
@@ -1622,7 +1630,7 @@ declare namespace gapi.client {
|
|
|
1622
1630
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1623
1631
|
uploadType?: string;
|
|
1624
1632
|
},
|
|
1625
|
-
body: CancelOperationRequest
|
|
1633
|
+
body: CancelOperationRequest,
|
|
1626
1634
|
): Request<{}>;
|
|
1627
1635
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1628
1636
|
get(request?: {
|
package/package.json
CHANGED
package/readme.md
CHANGED