@googleapis/storage 15.12.0 → 16.0.1
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/CHANGELOG.md +18 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +163 -163
- package/build/v1.js.map +1 -1
- package/build/v1beta2.d.ts +69 -69
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +439 -270
- package/v1beta2.ts +118 -118
package/build/v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace storage_v1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -1357,8 +1357,8 @@ export declare namespace storage_v1 {
|
|
|
1357
1357
|
* @param callback - Optional callback that handles the response.
|
|
1358
1358
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1359
1359
|
*/
|
|
1360
|
-
disable(params: Params$Resource$Anywherecaches$Disable, options: StreamMethodOptions):
|
|
1361
|
-
disable(params?: Params$Resource$Anywherecaches$Disable, options?: MethodOptions):
|
|
1360
|
+
disable(params: Params$Resource$Anywherecaches$Disable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1361
|
+
disable(params?: Params$Resource$Anywherecaches$Disable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AnywhereCache>>;
|
|
1362
1362
|
disable(params: Params$Resource$Anywherecaches$Disable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1363
1363
|
disable(params: Params$Resource$Anywherecaches$Disable, options: MethodOptions | BodyResponseCallback<Schema$AnywhereCache>, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
1364
1364
|
disable(params: Params$Resource$Anywherecaches$Disable, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
@@ -1371,8 +1371,8 @@ export declare namespace storage_v1 {
|
|
|
1371
1371
|
* @param callback - Optional callback that handles the response.
|
|
1372
1372
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1373
1373
|
*/
|
|
1374
|
-
get(params: Params$Resource$Anywherecaches$Get, options: StreamMethodOptions):
|
|
1375
|
-
get(params?: Params$Resource$Anywherecaches$Get, options?: MethodOptions):
|
|
1374
|
+
get(params: Params$Resource$Anywherecaches$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1375
|
+
get(params?: Params$Resource$Anywherecaches$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AnywhereCache>>;
|
|
1376
1376
|
get(params: Params$Resource$Anywherecaches$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1377
1377
|
get(params: Params$Resource$Anywherecaches$Get, options: MethodOptions | BodyResponseCallback<Schema$AnywhereCache>, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
1378
1378
|
get(params: Params$Resource$Anywherecaches$Get, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
@@ -1385,8 +1385,8 @@ export declare namespace storage_v1 {
|
|
|
1385
1385
|
* @param callback - Optional callback that handles the response.
|
|
1386
1386
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1387
1387
|
*/
|
|
1388
|
-
insert(params: Params$Resource$Anywherecaches$Insert, options: StreamMethodOptions):
|
|
1389
|
-
insert(params?: Params$Resource$Anywherecaches$Insert, options?: MethodOptions):
|
|
1388
|
+
insert(params: Params$Resource$Anywherecaches$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1389
|
+
insert(params?: Params$Resource$Anywherecaches$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
1390
1390
|
insert(params: Params$Resource$Anywherecaches$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1391
1391
|
insert(params: Params$Resource$Anywherecaches$Insert, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
1392
1392
|
insert(params: Params$Resource$Anywherecaches$Insert, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -1399,8 +1399,8 @@ export declare namespace storage_v1 {
|
|
|
1399
1399
|
* @param callback - Optional callback that handles the response.
|
|
1400
1400
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1401
1401
|
*/
|
|
1402
|
-
list(params: Params$Resource$Anywherecaches$List, options: StreamMethodOptions):
|
|
1403
|
-
list(params?: Params$Resource$Anywherecaches$List, options?: MethodOptions):
|
|
1402
|
+
list(params: Params$Resource$Anywherecaches$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1403
|
+
list(params?: Params$Resource$Anywherecaches$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AnywhereCaches>>;
|
|
1404
1404
|
list(params: Params$Resource$Anywherecaches$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1405
1405
|
list(params: Params$Resource$Anywherecaches$List, options: MethodOptions | BodyResponseCallback<Schema$AnywhereCaches>, callback: BodyResponseCallback<Schema$AnywhereCaches>): void;
|
|
1406
1406
|
list(params: Params$Resource$Anywherecaches$List, callback: BodyResponseCallback<Schema$AnywhereCaches>): void;
|
|
@@ -1413,8 +1413,8 @@ export declare namespace storage_v1 {
|
|
|
1413
1413
|
* @param callback - Optional callback that handles the response.
|
|
1414
1414
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1415
1415
|
*/
|
|
1416
|
-
pause(params: Params$Resource$Anywherecaches$Pause, options: StreamMethodOptions):
|
|
1417
|
-
pause(params?: Params$Resource$Anywherecaches$Pause, options?: MethodOptions):
|
|
1416
|
+
pause(params: Params$Resource$Anywherecaches$Pause, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1417
|
+
pause(params?: Params$Resource$Anywherecaches$Pause, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AnywhereCache>>;
|
|
1418
1418
|
pause(params: Params$Resource$Anywherecaches$Pause, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1419
1419
|
pause(params: Params$Resource$Anywherecaches$Pause, options: MethodOptions | BodyResponseCallback<Schema$AnywhereCache>, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
1420
1420
|
pause(params: Params$Resource$Anywherecaches$Pause, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
@@ -1427,8 +1427,8 @@ export declare namespace storage_v1 {
|
|
|
1427
1427
|
* @param callback - Optional callback that handles the response.
|
|
1428
1428
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1429
1429
|
*/
|
|
1430
|
-
resume(params: Params$Resource$Anywherecaches$Resume, options: StreamMethodOptions):
|
|
1431
|
-
resume(params?: Params$Resource$Anywherecaches$Resume, options?: MethodOptions):
|
|
1430
|
+
resume(params: Params$Resource$Anywherecaches$Resume, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1431
|
+
resume(params?: Params$Resource$Anywherecaches$Resume, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AnywhereCache>>;
|
|
1432
1432
|
resume(params: Params$Resource$Anywherecaches$Resume, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1433
1433
|
resume(params: Params$Resource$Anywherecaches$Resume, options: MethodOptions | BodyResponseCallback<Schema$AnywhereCache>, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
1434
1434
|
resume(params: Params$Resource$Anywherecaches$Resume, callback: BodyResponseCallback<Schema$AnywhereCache>): void;
|
|
@@ -1441,8 +1441,8 @@ export declare namespace storage_v1 {
|
|
|
1441
1441
|
* @param callback - Optional callback that handles the response.
|
|
1442
1442
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1443
1443
|
*/
|
|
1444
|
-
update(params: Params$Resource$Anywherecaches$Update, options: StreamMethodOptions):
|
|
1445
|
-
update(params?: Params$Resource$Anywherecaches$Update, options?: MethodOptions):
|
|
1444
|
+
update(params: Params$Resource$Anywherecaches$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1445
|
+
update(params?: Params$Resource$Anywherecaches$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
1446
1446
|
update(params: Params$Resource$Anywherecaches$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1447
1447
|
update(params: Params$Resource$Anywherecaches$Update, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
1448
1448
|
update(params: Params$Resource$Anywherecaches$Update, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -1537,8 +1537,8 @@ export declare namespace storage_v1 {
|
|
|
1537
1537
|
* @param callback - Optional callback that handles the response.
|
|
1538
1538
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1539
1539
|
*/
|
|
1540
|
-
delete(params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions):
|
|
1541
|
-
delete(params?: Params$Resource$Bucketaccesscontrols$Delete, options?: MethodOptions):
|
|
1540
|
+
delete(params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1541
|
+
delete(params?: Params$Resource$Bucketaccesscontrols$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
1542
1542
|
delete(params: Params$Resource$Bucketaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1543
1543
|
delete(params: Params$Resource$Bucketaccesscontrols$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
1544
1544
|
delete(params: Params$Resource$Bucketaccesscontrols$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -1551,8 +1551,8 @@ export declare namespace storage_v1 {
|
|
|
1551
1551
|
* @param callback - Optional callback that handles the response.
|
|
1552
1552
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1553
1553
|
*/
|
|
1554
|
-
get(params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions):
|
|
1555
|
-
get(params?: Params$Resource$Bucketaccesscontrols$Get, options?: MethodOptions):
|
|
1554
|
+
get(params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1555
|
+
get(params?: Params$Resource$Bucketaccesscontrols$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketAccessControl>>;
|
|
1556
1556
|
get(params: Params$Resource$Bucketaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1557
1557
|
get(params: Params$Resource$Bucketaccesscontrols$Get, options: MethodOptions | BodyResponseCallback<Schema$BucketAccessControl>, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
1558
1558
|
get(params: Params$Resource$Bucketaccesscontrols$Get, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
@@ -1565,8 +1565,8 @@ export declare namespace storage_v1 {
|
|
|
1565
1565
|
* @param callback - Optional callback that handles the response.
|
|
1566
1566
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1567
1567
|
*/
|
|
1568
|
-
insert(params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions):
|
|
1569
|
-
insert(params?: Params$Resource$Bucketaccesscontrols$Insert, options?: MethodOptions):
|
|
1568
|
+
insert(params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1569
|
+
insert(params?: Params$Resource$Bucketaccesscontrols$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketAccessControl>>;
|
|
1570
1570
|
insert(params: Params$Resource$Bucketaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1571
1571
|
insert(params: Params$Resource$Bucketaccesscontrols$Insert, options: MethodOptions | BodyResponseCallback<Schema$BucketAccessControl>, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
1572
1572
|
insert(params: Params$Resource$Bucketaccesscontrols$Insert, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
@@ -1579,8 +1579,8 @@ export declare namespace storage_v1 {
|
|
|
1579
1579
|
* @param callback - Optional callback that handles the response.
|
|
1580
1580
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1581
1581
|
*/
|
|
1582
|
-
list(params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions):
|
|
1583
|
-
list(params?: Params$Resource$Bucketaccesscontrols$List, options?: MethodOptions):
|
|
1582
|
+
list(params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1583
|
+
list(params?: Params$Resource$Bucketaccesscontrols$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketAccessControls>>;
|
|
1584
1584
|
list(params: Params$Resource$Bucketaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1585
1585
|
list(params: Params$Resource$Bucketaccesscontrols$List, options: MethodOptions | BodyResponseCallback<Schema$BucketAccessControls>, callback: BodyResponseCallback<Schema$BucketAccessControls>): void;
|
|
1586
1586
|
list(params: Params$Resource$Bucketaccesscontrols$List, callback: BodyResponseCallback<Schema$BucketAccessControls>): void;
|
|
@@ -1593,8 +1593,8 @@ export declare namespace storage_v1 {
|
|
|
1593
1593
|
* @param callback - Optional callback that handles the response.
|
|
1594
1594
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1595
1595
|
*/
|
|
1596
|
-
patch(params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions):
|
|
1597
|
-
patch(params?: Params$Resource$Bucketaccesscontrols$Patch, options?: MethodOptions):
|
|
1596
|
+
patch(params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1597
|
+
patch(params?: Params$Resource$Bucketaccesscontrols$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketAccessControl>>;
|
|
1598
1598
|
patch(params: Params$Resource$Bucketaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1599
1599
|
patch(params: Params$Resource$Bucketaccesscontrols$Patch, options: MethodOptions | BodyResponseCallback<Schema$BucketAccessControl>, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
1600
1600
|
patch(params: Params$Resource$Bucketaccesscontrols$Patch, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
@@ -1607,8 +1607,8 @@ export declare namespace storage_v1 {
|
|
|
1607
1607
|
* @param callback - Optional callback that handles the response.
|
|
1608
1608
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1609
1609
|
*/
|
|
1610
|
-
update(params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions):
|
|
1611
|
-
update(params?: Params$Resource$Bucketaccesscontrols$Update, options?: MethodOptions):
|
|
1610
|
+
update(params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1611
|
+
update(params?: Params$Resource$Bucketaccesscontrols$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketAccessControl>>;
|
|
1612
1612
|
update(params: Params$Resource$Bucketaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1613
1613
|
update(params: Params$Resource$Bucketaccesscontrols$Update, options: MethodOptions | BodyResponseCallback<Schema$BucketAccessControl>, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
1614
1614
|
update(params: Params$Resource$Bucketaccesscontrols$Update, callback: BodyResponseCallback<Schema$BucketAccessControl>): void;
|
|
@@ -1713,8 +1713,8 @@ export declare namespace storage_v1 {
|
|
|
1713
1713
|
* @param callback - Optional callback that handles the response.
|
|
1714
1714
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1715
1715
|
*/
|
|
1716
|
-
delete(params: Params$Resource$Buckets$Delete, options: StreamMethodOptions):
|
|
1717
|
-
delete(params?: Params$Resource$Buckets$Delete, options?: MethodOptions):
|
|
1716
|
+
delete(params: Params$Resource$Buckets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1717
|
+
delete(params?: Params$Resource$Buckets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
1718
1718
|
delete(params: Params$Resource$Buckets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1719
1719
|
delete(params: Params$Resource$Buckets$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
1720
1720
|
delete(params: Params$Resource$Buckets$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -1727,8 +1727,8 @@ export declare namespace storage_v1 {
|
|
|
1727
1727
|
* @param callback - Optional callback that handles the response.
|
|
1728
1728
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1729
1729
|
*/
|
|
1730
|
-
get(params: Params$Resource$Buckets$Get, options: StreamMethodOptions):
|
|
1731
|
-
get(params?: Params$Resource$Buckets$Get, options?: MethodOptions):
|
|
1730
|
+
get(params: Params$Resource$Buckets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1731
|
+
get(params?: Params$Resource$Buckets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1732
1732
|
get(params: Params$Resource$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1733
1733
|
get(params: Params$Resource$Buckets$Get, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1734
1734
|
get(params: Params$Resource$Buckets$Get, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -1741,8 +1741,8 @@ export declare namespace storage_v1 {
|
|
|
1741
1741
|
* @param callback - Optional callback that handles the response.
|
|
1742
1742
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1743
1743
|
*/
|
|
1744
|
-
getIamPolicy(params: Params$Resource$Buckets$Getiampolicy, options: StreamMethodOptions):
|
|
1745
|
-
getIamPolicy(params?: Params$Resource$Buckets$Getiampolicy, options?: MethodOptions):
|
|
1744
|
+
getIamPolicy(params: Params$Resource$Buckets$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1745
|
+
getIamPolicy(params?: Params$Resource$Buckets$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
1746
1746
|
getIamPolicy(params: Params$Resource$Buckets$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1747
1747
|
getIamPolicy(params: Params$Resource$Buckets$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1748
1748
|
getIamPolicy(params: Params$Resource$Buckets$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -1755,8 +1755,8 @@ export declare namespace storage_v1 {
|
|
|
1755
1755
|
* @param callback - Optional callback that handles the response.
|
|
1756
1756
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1757
1757
|
*/
|
|
1758
|
-
getStorageLayout(params: Params$Resource$Buckets$Getstoragelayout, options: StreamMethodOptions):
|
|
1759
|
-
getStorageLayout(params?: Params$Resource$Buckets$Getstoragelayout, options?: MethodOptions):
|
|
1758
|
+
getStorageLayout(params: Params$Resource$Buckets$Getstoragelayout, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1759
|
+
getStorageLayout(params?: Params$Resource$Buckets$Getstoragelayout, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BucketStorageLayout>>;
|
|
1760
1760
|
getStorageLayout(params: Params$Resource$Buckets$Getstoragelayout, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1761
1761
|
getStorageLayout(params: Params$Resource$Buckets$Getstoragelayout, options: MethodOptions | BodyResponseCallback<Schema$BucketStorageLayout>, callback: BodyResponseCallback<Schema$BucketStorageLayout>): void;
|
|
1762
1762
|
getStorageLayout(params: Params$Resource$Buckets$Getstoragelayout, callback: BodyResponseCallback<Schema$BucketStorageLayout>): void;
|
|
@@ -1769,8 +1769,8 @@ export declare namespace storage_v1 {
|
|
|
1769
1769
|
* @param callback - Optional callback that handles the response.
|
|
1770
1770
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1771
1771
|
*/
|
|
1772
|
-
insert(params: Params$Resource$Buckets$Insert, options: StreamMethodOptions):
|
|
1773
|
-
insert(params?: Params$Resource$Buckets$Insert, options?: MethodOptions):
|
|
1772
|
+
insert(params: Params$Resource$Buckets$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1773
|
+
insert(params?: Params$Resource$Buckets$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1774
1774
|
insert(params: Params$Resource$Buckets$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1775
1775
|
insert(params: Params$Resource$Buckets$Insert, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1776
1776
|
insert(params: Params$Resource$Buckets$Insert, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -1783,8 +1783,8 @@ export declare namespace storage_v1 {
|
|
|
1783
1783
|
* @param callback - Optional callback that handles the response.
|
|
1784
1784
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1785
1785
|
*/
|
|
1786
|
-
list(params: Params$Resource$Buckets$List, options: StreamMethodOptions):
|
|
1787
|
-
list(params?: Params$Resource$Buckets$List, options?: MethodOptions):
|
|
1786
|
+
list(params: Params$Resource$Buckets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1787
|
+
list(params?: Params$Resource$Buckets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Buckets>>;
|
|
1788
1788
|
list(params: Params$Resource$Buckets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1789
1789
|
list(params: Params$Resource$Buckets$List, options: MethodOptions | BodyResponseCallback<Schema$Buckets>, callback: BodyResponseCallback<Schema$Buckets>): void;
|
|
1790
1790
|
list(params: Params$Resource$Buckets$List, callback: BodyResponseCallback<Schema$Buckets>): void;
|
|
@@ -1797,8 +1797,8 @@ export declare namespace storage_v1 {
|
|
|
1797
1797
|
* @param callback - Optional callback that handles the response.
|
|
1798
1798
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1799
1799
|
*/
|
|
1800
|
-
lockRetentionPolicy(params: Params$Resource$Buckets$Lockretentionpolicy, options: StreamMethodOptions):
|
|
1801
|
-
lockRetentionPolicy(params?: Params$Resource$Buckets$Lockretentionpolicy, options?: MethodOptions):
|
|
1800
|
+
lockRetentionPolicy(params: Params$Resource$Buckets$Lockretentionpolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1801
|
+
lockRetentionPolicy(params?: Params$Resource$Buckets$Lockretentionpolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1802
1802
|
lockRetentionPolicy(params: Params$Resource$Buckets$Lockretentionpolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1803
1803
|
lockRetentionPolicy(params: Params$Resource$Buckets$Lockretentionpolicy, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1804
1804
|
lockRetentionPolicy(params: Params$Resource$Buckets$Lockretentionpolicy, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -1811,8 +1811,8 @@ export declare namespace storage_v1 {
|
|
|
1811
1811
|
* @param callback - Optional callback that handles the response.
|
|
1812
1812
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1813
1813
|
*/
|
|
1814
|
-
patch(params: Params$Resource$Buckets$Patch, options: StreamMethodOptions):
|
|
1815
|
-
patch(params?: Params$Resource$Buckets$Patch, options?: MethodOptions):
|
|
1814
|
+
patch(params: Params$Resource$Buckets$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1815
|
+
patch(params?: Params$Resource$Buckets$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1816
1816
|
patch(params: Params$Resource$Buckets$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1817
1817
|
patch(params: Params$Resource$Buckets$Patch, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1818
1818
|
patch(params: Params$Resource$Buckets$Patch, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -1825,8 +1825,8 @@ export declare namespace storage_v1 {
|
|
|
1825
1825
|
* @param callback - Optional callback that handles the response.
|
|
1826
1826
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1827
1827
|
*/
|
|
1828
|
-
relocate(params: Params$Resource$Buckets$Relocate, options: StreamMethodOptions):
|
|
1829
|
-
relocate(params?: Params$Resource$Buckets$Relocate, options?: MethodOptions):
|
|
1828
|
+
relocate(params: Params$Resource$Buckets$Relocate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1829
|
+
relocate(params?: Params$Resource$Buckets$Relocate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
1830
1830
|
relocate(params: Params$Resource$Buckets$Relocate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1831
1831
|
relocate(params: Params$Resource$Buckets$Relocate, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
1832
1832
|
relocate(params: Params$Resource$Buckets$Relocate, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -1839,8 +1839,8 @@ export declare namespace storage_v1 {
|
|
|
1839
1839
|
* @param callback - Optional callback that handles the response.
|
|
1840
1840
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1841
1841
|
*/
|
|
1842
|
-
restore(params: Params$Resource$Buckets$Restore, options: StreamMethodOptions):
|
|
1843
|
-
restore(params?: Params$Resource$Buckets$Restore, options?: MethodOptions):
|
|
1842
|
+
restore(params: Params$Resource$Buckets$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1843
|
+
restore(params?: Params$Resource$Buckets$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1844
1844
|
restore(params: Params$Resource$Buckets$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1845
1845
|
restore(params: Params$Resource$Buckets$Restore, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1846
1846
|
restore(params: Params$Resource$Buckets$Restore, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -1853,8 +1853,8 @@ export declare namespace storage_v1 {
|
|
|
1853
1853
|
* @param callback - Optional callback that handles the response.
|
|
1854
1854
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1855
1855
|
*/
|
|
1856
|
-
setIamPolicy(params: Params$Resource$Buckets$Setiampolicy, options: StreamMethodOptions):
|
|
1857
|
-
setIamPolicy(params?: Params$Resource$Buckets$Setiampolicy, options?: MethodOptions):
|
|
1856
|
+
setIamPolicy(params: Params$Resource$Buckets$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1857
|
+
setIamPolicy(params?: Params$Resource$Buckets$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
1858
1858
|
setIamPolicy(params: Params$Resource$Buckets$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1859
1859
|
setIamPolicy(params: Params$Resource$Buckets$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
1860
1860
|
setIamPolicy(params: Params$Resource$Buckets$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -1867,8 +1867,8 @@ export declare namespace storage_v1 {
|
|
|
1867
1867
|
* @param callback - Optional callback that handles the response.
|
|
1868
1868
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1869
1869
|
*/
|
|
1870
|
-
testIamPermissions(params: Params$Resource$Buckets$Testiampermissions, options: StreamMethodOptions):
|
|
1871
|
-
testIamPermissions(params?: Params$Resource$Buckets$Testiampermissions, options?: MethodOptions):
|
|
1870
|
+
testIamPermissions(params: Params$Resource$Buckets$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1871
|
+
testIamPermissions(params?: Params$Resource$Buckets$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
1872
1872
|
testIamPermissions(params: Params$Resource$Buckets$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1873
1873
|
testIamPermissions(params: Params$Resource$Buckets$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
1874
1874
|
testIamPermissions(params: Params$Resource$Buckets$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -1881,8 +1881,8 @@ export declare namespace storage_v1 {
|
|
|
1881
1881
|
* @param callback - Optional callback that handles the response.
|
|
1882
1882
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
1883
1883
|
*/
|
|
1884
|
-
update(params: Params$Resource$Buckets$Update, options: StreamMethodOptions):
|
|
1885
|
-
update(params?: Params$Resource$Buckets$Update, options?: MethodOptions):
|
|
1884
|
+
update(params: Params$Resource$Buckets$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1885
|
+
update(params?: Params$Resource$Buckets$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Bucket>>;
|
|
1886
1886
|
update(params: Params$Resource$Buckets$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
1887
1887
|
update(params: Params$Resource$Buckets$Update, options: MethodOptions | BodyResponseCallback<Schema$Bucket>, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
1888
1888
|
update(params: Params$Resource$Buckets$Update, callback: BodyResponseCallback<Schema$Bucket>): void;
|
|
@@ -2169,8 +2169,8 @@ export declare namespace storage_v1 {
|
|
|
2169
2169
|
* @param callback - Optional callback that handles the response.
|
|
2170
2170
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2171
2171
|
*/
|
|
2172
|
-
stop(params: Params$Resource$Channels$Stop, options: StreamMethodOptions):
|
|
2173
|
-
stop(params?: Params$Resource$Channels$Stop, options?: MethodOptions):
|
|
2172
|
+
stop(params: Params$Resource$Channels$Stop, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2173
|
+
stop(params?: Params$Resource$Channels$Stop, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2174
2174
|
stop(params: Params$Resource$Channels$Stop, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2175
2175
|
stop(params: Params$Resource$Channels$Stop, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2176
2176
|
stop(params: Params$Resource$Channels$Stop, callback: BodyResponseCallback<void>): void;
|
|
@@ -2193,8 +2193,8 @@ export declare namespace storage_v1 {
|
|
|
2193
2193
|
* @param callback - Optional callback that handles the response.
|
|
2194
2194
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2195
2195
|
*/
|
|
2196
|
-
delete(params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions):
|
|
2197
|
-
delete(params?: Params$Resource$Defaultobjectaccesscontrols$Delete, options?: MethodOptions):
|
|
2196
|
+
delete(params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2197
|
+
delete(params?: Params$Resource$Defaultobjectaccesscontrols$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2198
2198
|
delete(params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2199
2199
|
delete(params: Params$Resource$Defaultobjectaccesscontrols$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2200
2200
|
delete(params: Params$Resource$Defaultobjectaccesscontrols$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -2207,8 +2207,8 @@ export declare namespace storage_v1 {
|
|
|
2207
2207
|
* @param callback - Optional callback that handles the response.
|
|
2208
2208
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2209
2209
|
*/
|
|
2210
|
-
get(params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions):
|
|
2211
|
-
get(params?: Params$Resource$Defaultobjectaccesscontrols$Get, options?: MethodOptions):
|
|
2210
|
+
get(params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2211
|
+
get(params?: Params$Resource$Defaultobjectaccesscontrols$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2212
2212
|
get(params: Params$Resource$Defaultobjectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2213
2213
|
get(params: Params$Resource$Defaultobjectaccesscontrols$Get, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2214
2214
|
get(params: Params$Resource$Defaultobjectaccesscontrols$Get, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2221,8 +2221,8 @@ export declare namespace storage_v1 {
|
|
|
2221
2221
|
* @param callback - Optional callback that handles the response.
|
|
2222
2222
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2223
2223
|
*/
|
|
2224
|
-
insert(params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions):
|
|
2225
|
-
insert(params?: Params$Resource$Defaultobjectaccesscontrols$Insert, options?: MethodOptions):
|
|
2224
|
+
insert(params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2225
|
+
insert(params?: Params$Resource$Defaultobjectaccesscontrols$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2226
2226
|
insert(params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2227
2227
|
insert(params: Params$Resource$Defaultobjectaccesscontrols$Insert, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2228
2228
|
insert(params: Params$Resource$Defaultobjectaccesscontrols$Insert, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2235,8 +2235,8 @@ export declare namespace storage_v1 {
|
|
|
2235
2235
|
* @param callback - Optional callback that handles the response.
|
|
2236
2236
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2237
2237
|
*/
|
|
2238
|
-
list(params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions):
|
|
2239
|
-
list(params?: Params$Resource$Defaultobjectaccesscontrols$List, options?: MethodOptions):
|
|
2238
|
+
list(params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2239
|
+
list(params?: Params$Resource$Defaultobjectaccesscontrols$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControls>>;
|
|
2240
2240
|
list(params: Params$Resource$Defaultobjectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2241
2241
|
list(params: Params$Resource$Defaultobjectaccesscontrols$List, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControls>, callback: BodyResponseCallback<Schema$ObjectAccessControls>): void;
|
|
2242
2242
|
list(params: Params$Resource$Defaultobjectaccesscontrols$List, callback: BodyResponseCallback<Schema$ObjectAccessControls>): void;
|
|
@@ -2249,8 +2249,8 @@ export declare namespace storage_v1 {
|
|
|
2249
2249
|
* @param callback - Optional callback that handles the response.
|
|
2250
2250
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2251
2251
|
*/
|
|
2252
|
-
patch(params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions):
|
|
2253
|
-
patch(params?: Params$Resource$Defaultobjectaccesscontrols$Patch, options?: MethodOptions):
|
|
2252
|
+
patch(params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2253
|
+
patch(params?: Params$Resource$Defaultobjectaccesscontrols$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2254
2254
|
patch(params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2255
2255
|
patch(params: Params$Resource$Defaultobjectaccesscontrols$Patch, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2256
2256
|
patch(params: Params$Resource$Defaultobjectaccesscontrols$Patch, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2263,8 +2263,8 @@ export declare namespace storage_v1 {
|
|
|
2263
2263
|
* @param callback - Optional callback that handles the response.
|
|
2264
2264
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2265
2265
|
*/
|
|
2266
|
-
update(params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions):
|
|
2267
|
-
update(params?: Params$Resource$Defaultobjectaccesscontrols$Update, options?: MethodOptions):
|
|
2266
|
+
update(params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2267
|
+
update(params?: Params$Resource$Defaultobjectaccesscontrols$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2268
2268
|
update(params: Params$Resource$Defaultobjectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2269
2269
|
update(params: Params$Resource$Defaultobjectaccesscontrols$Update, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2270
2270
|
update(params: Params$Resource$Defaultobjectaccesscontrols$Update, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2377,8 +2377,8 @@ export declare namespace storage_v1 {
|
|
|
2377
2377
|
* @param callback - Optional callback that handles the response.
|
|
2378
2378
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2379
2379
|
*/
|
|
2380
|
-
delete(params: Params$Resource$Folders$Delete, options: StreamMethodOptions):
|
|
2381
|
-
delete(params?: Params$Resource$Folders$Delete, options?: MethodOptions):
|
|
2380
|
+
delete(params: Params$Resource$Folders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2381
|
+
delete(params?: Params$Resource$Folders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2382
2382
|
delete(params: Params$Resource$Folders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2383
2383
|
delete(params: Params$Resource$Folders$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2384
2384
|
delete(params: Params$Resource$Folders$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -2391,8 +2391,8 @@ export declare namespace storage_v1 {
|
|
|
2391
2391
|
* @param callback - Optional callback that handles the response.
|
|
2392
2392
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2393
2393
|
*/
|
|
2394
|
-
get(params: Params$Resource$Folders$Get, options: StreamMethodOptions):
|
|
2395
|
-
get(params?: Params$Resource$Folders$Get, options?: MethodOptions):
|
|
2394
|
+
get(params: Params$Resource$Folders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2395
|
+
get(params?: Params$Resource$Folders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
|
|
2396
2396
|
get(params: Params$Resource$Folders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2397
2397
|
get(params: Params$Resource$Folders$Get, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
|
|
2398
2398
|
get(params: Params$Resource$Folders$Get, callback: BodyResponseCallback<Schema$Folder>): void;
|
|
@@ -2405,8 +2405,8 @@ export declare namespace storage_v1 {
|
|
|
2405
2405
|
* @param callback - Optional callback that handles the response.
|
|
2406
2406
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2407
2407
|
*/
|
|
2408
|
-
insert(params: Params$Resource$Folders$Insert, options: StreamMethodOptions):
|
|
2409
|
-
insert(params?: Params$Resource$Folders$Insert, options?: MethodOptions):
|
|
2408
|
+
insert(params: Params$Resource$Folders$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2409
|
+
insert(params?: Params$Resource$Folders$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folder>>;
|
|
2410
2410
|
insert(params: Params$Resource$Folders$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2411
2411
|
insert(params: Params$Resource$Folders$Insert, options: MethodOptions | BodyResponseCallback<Schema$Folder>, callback: BodyResponseCallback<Schema$Folder>): void;
|
|
2412
2412
|
insert(params: Params$Resource$Folders$Insert, callback: BodyResponseCallback<Schema$Folder>): void;
|
|
@@ -2419,8 +2419,8 @@ export declare namespace storage_v1 {
|
|
|
2419
2419
|
* @param callback - Optional callback that handles the response.
|
|
2420
2420
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2421
2421
|
*/
|
|
2422
|
-
list(params: Params$Resource$Folders$List, options: StreamMethodOptions):
|
|
2423
|
-
list(params?: Params$Resource$Folders$List, options?: MethodOptions):
|
|
2422
|
+
list(params: Params$Resource$Folders$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2423
|
+
list(params?: Params$Resource$Folders$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Folders>>;
|
|
2424
2424
|
list(params: Params$Resource$Folders$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2425
2425
|
list(params: Params$Resource$Folders$List, options: MethodOptions | BodyResponseCallback<Schema$Folders>, callback: BodyResponseCallback<Schema$Folders>): void;
|
|
2426
2426
|
list(params: Params$Resource$Folders$List, callback: BodyResponseCallback<Schema$Folders>): void;
|
|
@@ -2433,8 +2433,8 @@ export declare namespace storage_v1 {
|
|
|
2433
2433
|
* @param callback - Optional callback that handles the response.
|
|
2434
2434
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2435
2435
|
*/
|
|
2436
|
-
rename(params: Params$Resource$Folders$Rename, options: StreamMethodOptions):
|
|
2437
|
-
rename(params?: Params$Resource$Folders$Rename, options?: MethodOptions):
|
|
2436
|
+
rename(params: Params$Resource$Folders$Rename, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2437
|
+
rename(params?: Params$Resource$Folders$Rename, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
2438
2438
|
rename(params: Params$Resource$Folders$Rename, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2439
2439
|
rename(params: Params$Resource$Folders$Rename, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
2440
2440
|
rename(params: Params$Resource$Folders$Rename, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -2553,8 +2553,8 @@ export declare namespace storage_v1 {
|
|
|
2553
2553
|
* @param callback - Optional callback that handles the response.
|
|
2554
2554
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2555
2555
|
*/
|
|
2556
|
-
delete(params: Params$Resource$Managedfolders$Delete, options: StreamMethodOptions):
|
|
2557
|
-
delete(params?: Params$Resource$Managedfolders$Delete, options?: MethodOptions):
|
|
2556
|
+
delete(params: Params$Resource$Managedfolders$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2557
|
+
delete(params?: Params$Resource$Managedfolders$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2558
2558
|
delete(params: Params$Resource$Managedfolders$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2559
2559
|
delete(params: Params$Resource$Managedfolders$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2560
2560
|
delete(params: Params$Resource$Managedfolders$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -2567,8 +2567,8 @@ export declare namespace storage_v1 {
|
|
|
2567
2567
|
* @param callback - Optional callback that handles the response.
|
|
2568
2568
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2569
2569
|
*/
|
|
2570
|
-
get(params: Params$Resource$Managedfolders$Get, options: StreamMethodOptions):
|
|
2571
|
-
get(params?: Params$Resource$Managedfolders$Get, options?: MethodOptions):
|
|
2570
|
+
get(params: Params$Resource$Managedfolders$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2571
|
+
get(params?: Params$Resource$Managedfolders$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedFolder>>;
|
|
2572
2572
|
get(params: Params$Resource$Managedfolders$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2573
2573
|
get(params: Params$Resource$Managedfolders$Get, options: MethodOptions | BodyResponseCallback<Schema$ManagedFolder>, callback: BodyResponseCallback<Schema$ManagedFolder>): void;
|
|
2574
2574
|
get(params: Params$Resource$Managedfolders$Get, callback: BodyResponseCallback<Schema$ManagedFolder>): void;
|
|
@@ -2581,8 +2581,8 @@ export declare namespace storage_v1 {
|
|
|
2581
2581
|
* @param callback - Optional callback that handles the response.
|
|
2582
2582
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2583
2583
|
*/
|
|
2584
|
-
getIamPolicy(params: Params$Resource$Managedfolders$Getiampolicy, options: StreamMethodOptions):
|
|
2585
|
-
getIamPolicy(params?: Params$Resource$Managedfolders$Getiampolicy, options?: MethodOptions):
|
|
2584
|
+
getIamPolicy(params: Params$Resource$Managedfolders$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2585
|
+
getIamPolicy(params?: Params$Resource$Managedfolders$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
2586
2586
|
getIamPolicy(params: Params$Resource$Managedfolders$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2587
2587
|
getIamPolicy(params: Params$Resource$Managedfolders$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2588
2588
|
getIamPolicy(params: Params$Resource$Managedfolders$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -2595,8 +2595,8 @@ export declare namespace storage_v1 {
|
|
|
2595
2595
|
* @param callback - Optional callback that handles the response.
|
|
2596
2596
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2597
2597
|
*/
|
|
2598
|
-
insert(params: Params$Resource$Managedfolders$Insert, options: StreamMethodOptions):
|
|
2599
|
-
insert(params?: Params$Resource$Managedfolders$Insert, options?: MethodOptions):
|
|
2598
|
+
insert(params: Params$Resource$Managedfolders$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2599
|
+
insert(params?: Params$Resource$Managedfolders$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedFolder>>;
|
|
2600
2600
|
insert(params: Params$Resource$Managedfolders$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2601
2601
|
insert(params: Params$Resource$Managedfolders$Insert, options: MethodOptions | BodyResponseCallback<Schema$ManagedFolder>, callback: BodyResponseCallback<Schema$ManagedFolder>): void;
|
|
2602
2602
|
insert(params: Params$Resource$Managedfolders$Insert, callback: BodyResponseCallback<Schema$ManagedFolder>): void;
|
|
@@ -2609,8 +2609,8 @@ export declare namespace storage_v1 {
|
|
|
2609
2609
|
* @param callback - Optional callback that handles the response.
|
|
2610
2610
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2611
2611
|
*/
|
|
2612
|
-
list(params: Params$Resource$Managedfolders$List, options: StreamMethodOptions):
|
|
2613
|
-
list(params?: Params$Resource$Managedfolders$List, options?: MethodOptions):
|
|
2612
|
+
list(params: Params$Resource$Managedfolders$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2613
|
+
list(params?: Params$Resource$Managedfolders$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ManagedFolders>>;
|
|
2614
2614
|
list(params: Params$Resource$Managedfolders$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2615
2615
|
list(params: Params$Resource$Managedfolders$List, options: MethodOptions | BodyResponseCallback<Schema$ManagedFolders>, callback: BodyResponseCallback<Schema$ManagedFolders>): void;
|
|
2616
2616
|
list(params: Params$Resource$Managedfolders$List, callback: BodyResponseCallback<Schema$ManagedFolders>): void;
|
|
@@ -2623,8 +2623,8 @@ export declare namespace storage_v1 {
|
|
|
2623
2623
|
* @param callback - Optional callback that handles the response.
|
|
2624
2624
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2625
2625
|
*/
|
|
2626
|
-
setIamPolicy(params: Params$Resource$Managedfolders$Setiampolicy, options: StreamMethodOptions):
|
|
2627
|
-
setIamPolicy(params?: Params$Resource$Managedfolders$Setiampolicy, options?: MethodOptions):
|
|
2626
|
+
setIamPolicy(params: Params$Resource$Managedfolders$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2627
|
+
setIamPolicy(params?: Params$Resource$Managedfolders$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
2628
2628
|
setIamPolicy(params: Params$Resource$Managedfolders$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2629
2629
|
setIamPolicy(params: Params$Resource$Managedfolders$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
2630
2630
|
setIamPolicy(params: Params$Resource$Managedfolders$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -2637,8 +2637,8 @@ export declare namespace storage_v1 {
|
|
|
2637
2637
|
* @param callback - Optional callback that handles the response.
|
|
2638
2638
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2639
2639
|
*/
|
|
2640
|
-
testIamPermissions(params: Params$Resource$Managedfolders$Testiampermissions, options: StreamMethodOptions):
|
|
2641
|
-
testIamPermissions(params?: Params$Resource$Managedfolders$Testiampermissions, options?: MethodOptions):
|
|
2640
|
+
testIamPermissions(params: Params$Resource$Managedfolders$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2641
|
+
testIamPermissions(params?: Params$Resource$Managedfolders$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
2642
2642
|
testIamPermissions(params: Params$Resource$Managedfolders$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2643
2643
|
testIamPermissions(params: Params$Resource$Managedfolders$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
2644
2644
|
testIamPermissions(params: Params$Resource$Managedfolders$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -2777,8 +2777,8 @@ export declare namespace storage_v1 {
|
|
|
2777
2777
|
* @param callback - Optional callback that handles the response.
|
|
2778
2778
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2779
2779
|
*/
|
|
2780
|
-
delete(params: Params$Resource$Notifications$Delete, options: StreamMethodOptions):
|
|
2781
|
-
delete(params?: Params$Resource$Notifications$Delete, options?: MethodOptions):
|
|
2780
|
+
delete(params: Params$Resource$Notifications$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2781
|
+
delete(params?: Params$Resource$Notifications$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2782
2782
|
delete(params: Params$Resource$Notifications$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2783
2783
|
delete(params: Params$Resource$Notifications$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2784
2784
|
delete(params: Params$Resource$Notifications$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -2791,8 +2791,8 @@ export declare namespace storage_v1 {
|
|
|
2791
2791
|
* @param callback - Optional callback that handles the response.
|
|
2792
2792
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2793
2793
|
*/
|
|
2794
|
-
get(params: Params$Resource$Notifications$Get, options: StreamMethodOptions):
|
|
2795
|
-
get(params?: Params$Resource$Notifications$Get, options?: MethodOptions):
|
|
2794
|
+
get(params: Params$Resource$Notifications$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2795
|
+
get(params?: Params$Resource$Notifications$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Notification>>;
|
|
2796
2796
|
get(params: Params$Resource$Notifications$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2797
2797
|
get(params: Params$Resource$Notifications$Get, options: MethodOptions | BodyResponseCallback<Schema$Notification>, callback: BodyResponseCallback<Schema$Notification>): void;
|
|
2798
2798
|
get(params: Params$Resource$Notifications$Get, callback: BodyResponseCallback<Schema$Notification>): void;
|
|
@@ -2805,8 +2805,8 @@ export declare namespace storage_v1 {
|
|
|
2805
2805
|
* @param callback - Optional callback that handles the response.
|
|
2806
2806
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2807
2807
|
*/
|
|
2808
|
-
insert(params: Params$Resource$Notifications$Insert, options: StreamMethodOptions):
|
|
2809
|
-
insert(params?: Params$Resource$Notifications$Insert, options?: MethodOptions):
|
|
2808
|
+
insert(params: Params$Resource$Notifications$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2809
|
+
insert(params?: Params$Resource$Notifications$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Notification>>;
|
|
2810
2810
|
insert(params: Params$Resource$Notifications$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2811
2811
|
insert(params: Params$Resource$Notifications$Insert, options: MethodOptions | BodyResponseCallback<Schema$Notification>, callback: BodyResponseCallback<Schema$Notification>): void;
|
|
2812
2812
|
insert(params: Params$Resource$Notifications$Insert, callback: BodyResponseCallback<Schema$Notification>): void;
|
|
@@ -2819,8 +2819,8 @@ export declare namespace storage_v1 {
|
|
|
2819
2819
|
* @param callback - Optional callback that handles the response.
|
|
2820
2820
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2821
2821
|
*/
|
|
2822
|
-
list(params: Params$Resource$Notifications$List, options: StreamMethodOptions):
|
|
2823
|
-
list(params?: Params$Resource$Notifications$List, options?: MethodOptions):
|
|
2822
|
+
list(params: Params$Resource$Notifications$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2823
|
+
list(params?: Params$Resource$Notifications$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Notifications>>;
|
|
2824
2824
|
list(params: Params$Resource$Notifications$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2825
2825
|
list(params: Params$Resource$Notifications$List, options: MethodOptions | BodyResponseCallback<Schema$Notifications>, callback: BodyResponseCallback<Schema$Notifications>): void;
|
|
2826
2826
|
list(params: Params$Resource$Notifications$List, callback: BodyResponseCallback<Schema$Notifications>): void;
|
|
@@ -2889,8 +2889,8 @@ export declare namespace storage_v1 {
|
|
|
2889
2889
|
* @param callback - Optional callback that handles the response.
|
|
2890
2890
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2891
2891
|
*/
|
|
2892
|
-
delete(params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions):
|
|
2893
|
-
delete(params?: Params$Resource$Objectaccesscontrols$Delete, options?: MethodOptions):
|
|
2892
|
+
delete(params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2893
|
+
delete(params?: Params$Resource$Objectaccesscontrols$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
2894
2894
|
delete(params: Params$Resource$Objectaccesscontrols$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2895
2895
|
delete(params: Params$Resource$Objectaccesscontrols$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
2896
2896
|
delete(params: Params$Resource$Objectaccesscontrols$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -2903,8 +2903,8 @@ export declare namespace storage_v1 {
|
|
|
2903
2903
|
* @param callback - Optional callback that handles the response.
|
|
2904
2904
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2905
2905
|
*/
|
|
2906
|
-
get(params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions):
|
|
2907
|
-
get(params?: Params$Resource$Objectaccesscontrols$Get, options?: MethodOptions):
|
|
2906
|
+
get(params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2907
|
+
get(params?: Params$Resource$Objectaccesscontrols$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2908
2908
|
get(params: Params$Resource$Objectaccesscontrols$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2909
2909
|
get(params: Params$Resource$Objectaccesscontrols$Get, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2910
2910
|
get(params: Params$Resource$Objectaccesscontrols$Get, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2917,8 +2917,8 @@ export declare namespace storage_v1 {
|
|
|
2917
2917
|
* @param callback - Optional callback that handles the response.
|
|
2918
2918
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2919
2919
|
*/
|
|
2920
|
-
insert(params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions):
|
|
2921
|
-
insert(params?: Params$Resource$Objectaccesscontrols$Insert, options?: MethodOptions):
|
|
2920
|
+
insert(params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2921
|
+
insert(params?: Params$Resource$Objectaccesscontrols$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2922
2922
|
insert(params: Params$Resource$Objectaccesscontrols$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2923
2923
|
insert(params: Params$Resource$Objectaccesscontrols$Insert, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2924
2924
|
insert(params: Params$Resource$Objectaccesscontrols$Insert, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2931,8 +2931,8 @@ export declare namespace storage_v1 {
|
|
|
2931
2931
|
* @param callback - Optional callback that handles the response.
|
|
2932
2932
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2933
2933
|
*/
|
|
2934
|
-
list(params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions):
|
|
2935
|
-
list(params?: Params$Resource$Objectaccesscontrols$List, options?: MethodOptions):
|
|
2934
|
+
list(params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2935
|
+
list(params?: Params$Resource$Objectaccesscontrols$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControls>>;
|
|
2936
2936
|
list(params: Params$Resource$Objectaccesscontrols$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2937
2937
|
list(params: Params$Resource$Objectaccesscontrols$List, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControls>, callback: BodyResponseCallback<Schema$ObjectAccessControls>): void;
|
|
2938
2938
|
list(params: Params$Resource$Objectaccesscontrols$List, callback: BodyResponseCallback<Schema$ObjectAccessControls>): void;
|
|
@@ -2945,8 +2945,8 @@ export declare namespace storage_v1 {
|
|
|
2945
2945
|
* @param callback - Optional callback that handles the response.
|
|
2946
2946
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2947
2947
|
*/
|
|
2948
|
-
patch(params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions):
|
|
2949
|
-
patch(params?: Params$Resource$Objectaccesscontrols$Patch, options?: MethodOptions):
|
|
2948
|
+
patch(params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2949
|
+
patch(params?: Params$Resource$Objectaccesscontrols$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2950
2950
|
patch(params: Params$Resource$Objectaccesscontrols$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2951
2951
|
patch(params: Params$Resource$Objectaccesscontrols$Patch, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2952
2952
|
patch(params: Params$Resource$Objectaccesscontrols$Patch, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -2959,8 +2959,8 @@ export declare namespace storage_v1 {
|
|
|
2959
2959
|
* @param callback - Optional callback that handles the response.
|
|
2960
2960
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2961
2961
|
*/
|
|
2962
|
-
update(params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions):
|
|
2963
|
-
update(params?: Params$Resource$Objectaccesscontrols$Update, options?: MethodOptions):
|
|
2962
|
+
update(params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
2963
|
+
update(params?: Params$Resource$Objectaccesscontrols$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ObjectAccessControl>>;
|
|
2964
2964
|
update(params: Params$Resource$Objectaccesscontrols$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2965
2965
|
update(params: Params$Resource$Objectaccesscontrols$Update, options: MethodOptions | BodyResponseCallback<Schema$ObjectAccessControl>, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
2966
2966
|
update(params: Params$Resource$Objectaccesscontrols$Update, callback: BodyResponseCallback<Schema$ObjectAccessControl>): void;
|
|
@@ -3113,8 +3113,8 @@ export declare namespace storage_v1 {
|
|
|
3113
3113
|
* @param callback - Optional callback that handles the response.
|
|
3114
3114
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3115
3115
|
*/
|
|
3116
|
-
bulkRestore(params: Params$Resource$Objects$Bulkrestore, options: StreamMethodOptions):
|
|
3117
|
-
bulkRestore(params?: Params$Resource$Objects$Bulkrestore, options?: MethodOptions):
|
|
3116
|
+
bulkRestore(params: Params$Resource$Objects$Bulkrestore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3117
|
+
bulkRestore(params?: Params$Resource$Objects$Bulkrestore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
3118
3118
|
bulkRestore(params: Params$Resource$Objects$Bulkrestore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3119
3119
|
bulkRestore(params: Params$Resource$Objects$Bulkrestore, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
3120
3120
|
bulkRestore(params: Params$Resource$Objects$Bulkrestore, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -3127,8 +3127,8 @@ export declare namespace storage_v1 {
|
|
|
3127
3127
|
* @param callback - Optional callback that handles the response.
|
|
3128
3128
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3129
3129
|
*/
|
|
3130
|
-
compose(params: Params$Resource$Objects$Compose, options: StreamMethodOptions):
|
|
3131
|
-
compose(params?: Params$Resource$Objects$Compose, options?: MethodOptions):
|
|
3130
|
+
compose(params: Params$Resource$Objects$Compose, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3131
|
+
compose(params?: Params$Resource$Objects$Compose, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3132
3132
|
compose(params: Params$Resource$Objects$Compose, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3133
3133
|
compose(params: Params$Resource$Objects$Compose, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3134
3134
|
compose(params: Params$Resource$Objects$Compose, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3141,8 +3141,8 @@ export declare namespace storage_v1 {
|
|
|
3141
3141
|
* @param callback - Optional callback that handles the response.
|
|
3142
3142
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3143
3143
|
*/
|
|
3144
|
-
copy(params: Params$Resource$Objects$Copy, options: StreamMethodOptions):
|
|
3145
|
-
copy(params?: Params$Resource$Objects$Copy, options?: MethodOptions):
|
|
3144
|
+
copy(params: Params$Resource$Objects$Copy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3145
|
+
copy(params?: Params$Resource$Objects$Copy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3146
3146
|
copy(params: Params$Resource$Objects$Copy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3147
3147
|
copy(params: Params$Resource$Objects$Copy, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3148
3148
|
copy(params: Params$Resource$Objects$Copy, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3155,8 +3155,8 @@ export declare namespace storage_v1 {
|
|
|
3155
3155
|
* @param callback - Optional callback that handles the response.
|
|
3156
3156
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3157
3157
|
*/
|
|
3158
|
-
delete(params: Params$Resource$Objects$Delete, options: StreamMethodOptions):
|
|
3159
|
-
delete(params?: Params$Resource$Objects$Delete, options?: MethodOptions):
|
|
3158
|
+
delete(params: Params$Resource$Objects$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3159
|
+
delete(params?: Params$Resource$Objects$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
3160
3160
|
delete(params: Params$Resource$Objects$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3161
3161
|
delete(params: Params$Resource$Objects$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
3162
3162
|
delete(params: Params$Resource$Objects$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -3169,8 +3169,8 @@ export declare namespace storage_v1 {
|
|
|
3169
3169
|
* @param callback - Optional callback that handles the response.
|
|
3170
3170
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3171
3171
|
*/
|
|
3172
|
-
get(params: Params$Resource$Objects$Get, options: StreamMethodOptions):
|
|
3173
|
-
get(params?: Params$Resource$Objects$Get, options?: MethodOptions):
|
|
3172
|
+
get(params: Params$Resource$Objects$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3173
|
+
get(params?: Params$Resource$Objects$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3174
3174
|
get(params: Params$Resource$Objects$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3175
3175
|
get(params: Params$Resource$Objects$Get, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3176
3176
|
get(params: Params$Resource$Objects$Get, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3183,8 +3183,8 @@ export declare namespace storage_v1 {
|
|
|
3183
3183
|
* @param callback - Optional callback that handles the response.
|
|
3184
3184
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3185
3185
|
*/
|
|
3186
|
-
getIamPolicy(params: Params$Resource$Objects$Getiampolicy, options: StreamMethodOptions):
|
|
3187
|
-
getIamPolicy(params?: Params$Resource$Objects$Getiampolicy, options?: MethodOptions):
|
|
3186
|
+
getIamPolicy(params: Params$Resource$Objects$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3187
|
+
getIamPolicy(params?: Params$Resource$Objects$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3188
3188
|
getIamPolicy(params: Params$Resource$Objects$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3189
3189
|
getIamPolicy(params: Params$Resource$Objects$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3190
3190
|
getIamPolicy(params: Params$Resource$Objects$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3197,8 +3197,8 @@ export declare namespace storage_v1 {
|
|
|
3197
3197
|
* @param callback - Optional callback that handles the response.
|
|
3198
3198
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3199
3199
|
*/
|
|
3200
|
-
insert(params: Params$Resource$Objects$Insert, options: StreamMethodOptions):
|
|
3201
|
-
insert(params?: Params$Resource$Objects$Insert, options?: MethodOptions):
|
|
3200
|
+
insert(params: Params$Resource$Objects$Insert, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3201
|
+
insert(params?: Params$Resource$Objects$Insert, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3202
3202
|
insert(params: Params$Resource$Objects$Insert, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3203
3203
|
insert(params: Params$Resource$Objects$Insert, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3204
3204
|
insert(params: Params$Resource$Objects$Insert, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3211,8 +3211,8 @@ export declare namespace storage_v1 {
|
|
|
3211
3211
|
* @param callback - Optional callback that handles the response.
|
|
3212
3212
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3213
3213
|
*/
|
|
3214
|
-
list(params: Params$Resource$Objects$List, options: StreamMethodOptions):
|
|
3215
|
-
list(params?: Params$Resource$Objects$List, options?: MethodOptions):
|
|
3214
|
+
list(params: Params$Resource$Objects$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3215
|
+
list(params?: Params$Resource$Objects$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Objects>>;
|
|
3216
3216
|
list(params: Params$Resource$Objects$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3217
3217
|
list(params: Params$Resource$Objects$List, options: MethodOptions | BodyResponseCallback<Schema$Objects>, callback: BodyResponseCallback<Schema$Objects>): void;
|
|
3218
3218
|
list(params: Params$Resource$Objects$List, callback: BodyResponseCallback<Schema$Objects>): void;
|
|
@@ -3225,8 +3225,8 @@ export declare namespace storage_v1 {
|
|
|
3225
3225
|
* @param callback - Optional callback that handles the response.
|
|
3226
3226
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3227
3227
|
*/
|
|
3228
|
-
move(params: Params$Resource$Objects$Move, options: StreamMethodOptions):
|
|
3229
|
-
move(params?: Params$Resource$Objects$Move, options?: MethodOptions):
|
|
3228
|
+
move(params: Params$Resource$Objects$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3229
|
+
move(params?: Params$Resource$Objects$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3230
3230
|
move(params: Params$Resource$Objects$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3231
3231
|
move(params: Params$Resource$Objects$Move, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3232
3232
|
move(params: Params$Resource$Objects$Move, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3239,8 +3239,8 @@ export declare namespace storage_v1 {
|
|
|
3239
3239
|
* @param callback - Optional callback that handles the response.
|
|
3240
3240
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3241
3241
|
*/
|
|
3242
|
-
patch(params: Params$Resource$Objects$Patch, options: StreamMethodOptions):
|
|
3243
|
-
patch(params?: Params$Resource$Objects$Patch, options?: MethodOptions):
|
|
3242
|
+
patch(params: Params$Resource$Objects$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3243
|
+
patch(params?: Params$Resource$Objects$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3244
3244
|
patch(params: Params$Resource$Objects$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3245
3245
|
patch(params: Params$Resource$Objects$Patch, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3246
3246
|
patch(params: Params$Resource$Objects$Patch, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3253,8 +3253,8 @@ export declare namespace storage_v1 {
|
|
|
3253
3253
|
* @param callback - Optional callback that handles the response.
|
|
3254
3254
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3255
3255
|
*/
|
|
3256
|
-
restore(params: Params$Resource$Objects$Restore, options: StreamMethodOptions):
|
|
3257
|
-
restore(params?: Params$Resource$Objects$Restore, options?: MethodOptions):
|
|
3256
|
+
restore(params: Params$Resource$Objects$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3257
|
+
restore(params?: Params$Resource$Objects$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3258
3258
|
restore(params: Params$Resource$Objects$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3259
3259
|
restore(params: Params$Resource$Objects$Restore, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3260
3260
|
restore(params: Params$Resource$Objects$Restore, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3267,8 +3267,8 @@ export declare namespace storage_v1 {
|
|
|
3267
3267
|
* @param callback - Optional callback that handles the response.
|
|
3268
3268
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3269
3269
|
*/
|
|
3270
|
-
rewrite(params: Params$Resource$Objects$Rewrite, options: StreamMethodOptions):
|
|
3271
|
-
rewrite(params?: Params$Resource$Objects$Rewrite, options?: MethodOptions):
|
|
3270
|
+
rewrite(params: Params$Resource$Objects$Rewrite, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3271
|
+
rewrite(params?: Params$Resource$Objects$Rewrite, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RewriteResponse>>;
|
|
3272
3272
|
rewrite(params: Params$Resource$Objects$Rewrite, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3273
3273
|
rewrite(params: Params$Resource$Objects$Rewrite, options: MethodOptions | BodyResponseCallback<Schema$RewriteResponse>, callback: BodyResponseCallback<Schema$RewriteResponse>): void;
|
|
3274
3274
|
rewrite(params: Params$Resource$Objects$Rewrite, callback: BodyResponseCallback<Schema$RewriteResponse>): void;
|
|
@@ -3281,8 +3281,8 @@ export declare namespace storage_v1 {
|
|
|
3281
3281
|
* @param callback - Optional callback that handles the response.
|
|
3282
3282
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3283
3283
|
*/
|
|
3284
|
-
setIamPolicy(params: Params$Resource$Objects$Setiampolicy, options: StreamMethodOptions):
|
|
3285
|
-
setIamPolicy(params?: Params$Resource$Objects$Setiampolicy, options?: MethodOptions):
|
|
3284
|
+
setIamPolicy(params: Params$Resource$Objects$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3285
|
+
setIamPolicy(params?: Params$Resource$Objects$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3286
3286
|
setIamPolicy(params: Params$Resource$Objects$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3287
3287
|
setIamPolicy(params: Params$Resource$Objects$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3288
3288
|
setIamPolicy(params: Params$Resource$Objects$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3295,8 +3295,8 @@ export declare namespace storage_v1 {
|
|
|
3295
3295
|
* @param callback - Optional callback that handles the response.
|
|
3296
3296
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3297
3297
|
*/
|
|
3298
|
-
testIamPermissions(params: Params$Resource$Objects$Testiampermissions, options: StreamMethodOptions):
|
|
3299
|
-
testIamPermissions(params?: Params$Resource$Objects$Testiampermissions, options?: MethodOptions):
|
|
3298
|
+
testIamPermissions(params: Params$Resource$Objects$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3299
|
+
testIamPermissions(params?: Params$Resource$Objects$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
3300
3300
|
testIamPermissions(params: Params$Resource$Objects$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3301
3301
|
testIamPermissions(params: Params$Resource$Objects$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3302
3302
|
testIamPermissions(params: Params$Resource$Objects$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -3309,8 +3309,8 @@ export declare namespace storage_v1 {
|
|
|
3309
3309
|
* @param callback - Optional callback that handles the response.
|
|
3310
3310
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3311
3311
|
*/
|
|
3312
|
-
update(params: Params$Resource$Objects$Update, options: StreamMethodOptions):
|
|
3313
|
-
update(params?: Params$Resource$Objects$Update, options?: MethodOptions):
|
|
3312
|
+
update(params: Params$Resource$Objects$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3313
|
+
update(params?: Params$Resource$Objects$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Object>>;
|
|
3314
3314
|
update(params: Params$Resource$Objects$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3315
3315
|
update(params: Params$Resource$Objects$Update, options: MethodOptions | BodyResponseCallback<Schema$Object>, callback: BodyResponseCallback<Schema$Object>): void;
|
|
3316
3316
|
update(params: Params$Resource$Objects$Update, callback: BodyResponseCallback<Schema$Object>): void;
|
|
@@ -3323,8 +3323,8 @@ export declare namespace storage_v1 {
|
|
|
3323
3323
|
* @param callback - Optional callback that handles the response.
|
|
3324
3324
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3325
3325
|
*/
|
|
3326
|
-
watchAll(params: Params$Resource$Objects$Watchall, options: StreamMethodOptions):
|
|
3327
|
-
watchAll(params?: Params$Resource$Objects$Watchall, options?: MethodOptions):
|
|
3326
|
+
watchAll(params: Params$Resource$Objects$Watchall, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3327
|
+
watchAll(params?: Params$Resource$Objects$Watchall, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Channel>>;
|
|
3328
3328
|
watchAll(params: Params$Resource$Objects$Watchall, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3329
3329
|
watchAll(params: Params$Resource$Objects$Watchall, options: MethodOptions | BodyResponseCallback<Schema$Channel>, callback: BodyResponseCallback<Schema$Channel>): void;
|
|
3330
3330
|
watchAll(params: Params$Resource$Objects$Watchall, callback: BodyResponseCallback<Schema$Channel>): void;
|
|
@@ -4054,8 +4054,8 @@ export declare namespace storage_v1 {
|
|
|
4054
4054
|
* @param callback - Optional callback that handles the response.
|
|
4055
4055
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4056
4056
|
*/
|
|
4057
|
-
advanceRelocateBucket(params: Params$Resource$Operations$Advancerelocatebucket, options: StreamMethodOptions):
|
|
4058
|
-
advanceRelocateBucket(params?: Params$Resource$Operations$Advancerelocatebucket, options?: MethodOptions):
|
|
4057
|
+
advanceRelocateBucket(params: Params$Resource$Operations$Advancerelocatebucket, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4058
|
+
advanceRelocateBucket(params?: Params$Resource$Operations$Advancerelocatebucket, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
4059
4059
|
advanceRelocateBucket(params: Params$Resource$Operations$Advancerelocatebucket, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4060
4060
|
advanceRelocateBucket(params: Params$Resource$Operations$Advancerelocatebucket, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
4061
4061
|
advanceRelocateBucket(params: Params$Resource$Operations$Advancerelocatebucket, callback: BodyResponseCallback<void>): void;
|
|
@@ -4068,8 +4068,8 @@ export declare namespace storage_v1 {
|
|
|
4068
4068
|
* @param callback - Optional callback that handles the response.
|
|
4069
4069
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4070
4070
|
*/
|
|
4071
|
-
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions):
|
|
4072
|
-
cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions):
|
|
4071
|
+
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4072
|
+
cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
4073
4073
|
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4074
4074
|
cancel(params: Params$Resource$Operations$Cancel, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
4075
4075
|
cancel(params: Params$Resource$Operations$Cancel, callback: BodyResponseCallback<void>): void;
|
|
@@ -4082,8 +4082,8 @@ export declare namespace storage_v1 {
|
|
|
4082
4082
|
* @param callback - Optional callback that handles the response.
|
|
4083
4083
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4084
4084
|
*/
|
|
4085
|
-
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions):
|
|
4086
|
-
get(params?: Params$Resource$Operations$Get, options?: MethodOptions):
|
|
4085
|
+
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4086
|
+
get(params?: Params$Resource$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
|
|
4087
4087
|
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4088
4088
|
get(params: Params$Resource$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningOperation>, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
4089
4089
|
get(params: Params$Resource$Operations$Get, callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>): void;
|
|
@@ -4096,8 +4096,8 @@ export declare namespace storage_v1 {
|
|
|
4096
4096
|
* @param callback - Optional callback that handles the response.
|
|
4097
4097
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4098
4098
|
*/
|
|
4099
|
-
list(params: Params$Resource$Operations$List, options: StreamMethodOptions):
|
|
4100
|
-
list(params?: Params$Resource$Operations$List, options?: MethodOptions):
|
|
4099
|
+
list(params: Params$Resource$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4100
|
+
list(params?: Params$Resource$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>>;
|
|
4101
4101
|
list(params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4102
4102
|
list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
|
|
4103
4103
|
list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>): void;
|
|
@@ -4172,8 +4172,8 @@ export declare namespace storage_v1 {
|
|
|
4172
4172
|
* @param callback - Optional callback that handles the response.
|
|
4173
4173
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4174
4174
|
*/
|
|
4175
|
-
create(params: Params$Resource$Projects$Hmackeys$Create, options: StreamMethodOptions):
|
|
4176
|
-
create(params?: Params$Resource$Projects$Hmackeys$Create, options?: MethodOptions):
|
|
4175
|
+
create(params: Params$Resource$Projects$Hmackeys$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4176
|
+
create(params?: Params$Resource$Projects$Hmackeys$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HmacKey>>;
|
|
4177
4177
|
create(params: Params$Resource$Projects$Hmackeys$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4178
4178
|
create(params: Params$Resource$Projects$Hmackeys$Create, options: MethodOptions | BodyResponseCallback<Schema$HmacKey>, callback: BodyResponseCallback<Schema$HmacKey>): void;
|
|
4179
4179
|
create(params: Params$Resource$Projects$Hmackeys$Create, callback: BodyResponseCallback<Schema$HmacKey>): void;
|
|
@@ -4186,8 +4186,8 @@ export declare namespace storage_v1 {
|
|
|
4186
4186
|
* @param callback - Optional callback that handles the response.
|
|
4187
4187
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4188
4188
|
*/
|
|
4189
|
-
delete(params: Params$Resource$Projects$Hmackeys$Delete, options: StreamMethodOptions):
|
|
4190
|
-
delete(params?: Params$Resource$Projects$Hmackeys$Delete, options?: MethodOptions):
|
|
4189
|
+
delete(params: Params$Resource$Projects$Hmackeys$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4190
|
+
delete(params?: Params$Resource$Projects$Hmackeys$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<void>>;
|
|
4191
4191
|
delete(params: Params$Resource$Projects$Hmackeys$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4192
4192
|
delete(params: Params$Resource$Projects$Hmackeys$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
|
|
4193
4193
|
delete(params: Params$Resource$Projects$Hmackeys$Delete, callback: BodyResponseCallback<void>): void;
|
|
@@ -4200,8 +4200,8 @@ export declare namespace storage_v1 {
|
|
|
4200
4200
|
* @param callback - Optional callback that handles the response.
|
|
4201
4201
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4202
4202
|
*/
|
|
4203
|
-
get(params: Params$Resource$Projects$Hmackeys$Get, options: StreamMethodOptions):
|
|
4204
|
-
get(params?: Params$Resource$Projects$Hmackeys$Get, options?: MethodOptions):
|
|
4203
|
+
get(params: Params$Resource$Projects$Hmackeys$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4204
|
+
get(params?: Params$Resource$Projects$Hmackeys$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HmacKeyMetadata>>;
|
|
4205
4205
|
get(params: Params$Resource$Projects$Hmackeys$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4206
4206
|
get(params: Params$Resource$Projects$Hmackeys$Get, options: MethodOptions | BodyResponseCallback<Schema$HmacKeyMetadata>, callback: BodyResponseCallback<Schema$HmacKeyMetadata>): void;
|
|
4207
4207
|
get(params: Params$Resource$Projects$Hmackeys$Get, callback: BodyResponseCallback<Schema$HmacKeyMetadata>): void;
|
|
@@ -4214,8 +4214,8 @@ export declare namespace storage_v1 {
|
|
|
4214
4214
|
* @param callback - Optional callback that handles the response.
|
|
4215
4215
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4216
4216
|
*/
|
|
4217
|
-
list(params: Params$Resource$Projects$Hmackeys$List, options: StreamMethodOptions):
|
|
4218
|
-
list(params?: Params$Resource$Projects$Hmackeys$List, options?: MethodOptions):
|
|
4217
|
+
list(params: Params$Resource$Projects$Hmackeys$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4218
|
+
list(params?: Params$Resource$Projects$Hmackeys$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HmacKeysMetadata>>;
|
|
4219
4219
|
list(params: Params$Resource$Projects$Hmackeys$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4220
4220
|
list(params: Params$Resource$Projects$Hmackeys$List, options: MethodOptions | BodyResponseCallback<Schema$HmacKeysMetadata>, callback: BodyResponseCallback<Schema$HmacKeysMetadata>): void;
|
|
4221
4221
|
list(params: Params$Resource$Projects$Hmackeys$List, callback: BodyResponseCallback<Schema$HmacKeysMetadata>): void;
|
|
@@ -4228,8 +4228,8 @@ export declare namespace storage_v1 {
|
|
|
4228
4228
|
* @param callback - Optional callback that handles the response.
|
|
4229
4229
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4230
4230
|
*/
|
|
4231
|
-
update(params: Params$Resource$Projects$Hmackeys$Update, options: StreamMethodOptions):
|
|
4232
|
-
update(params?: Params$Resource$Projects$Hmackeys$Update, options?: MethodOptions):
|
|
4231
|
+
update(params: Params$Resource$Projects$Hmackeys$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4232
|
+
update(params?: Params$Resource$Projects$Hmackeys$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HmacKeyMetadata>>;
|
|
4233
4233
|
update(params: Params$Resource$Projects$Hmackeys$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4234
4234
|
update(params: Params$Resource$Projects$Hmackeys$Update, options: MethodOptions | BodyResponseCallback<Schema$HmacKeyMetadata>, callback: BodyResponseCallback<Schema$HmacKeyMetadata>): void;
|
|
4235
4235
|
update(params: Params$Resource$Projects$Hmackeys$Update, callback: BodyResponseCallback<Schema$HmacKeyMetadata>): void;
|
|
@@ -4332,8 +4332,8 @@ export declare namespace storage_v1 {
|
|
|
4332
4332
|
* @param callback - Optional callback that handles the response.
|
|
4333
4333
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4334
4334
|
*/
|
|
4335
|
-
get(params: Params$Resource$Projects$Serviceaccount$Get, options: StreamMethodOptions):
|
|
4336
|
-
get(params?: Params$Resource$Projects$Serviceaccount$Get, options?: MethodOptions):
|
|
4335
|
+
get(params: Params$Resource$Projects$Serviceaccount$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4336
|
+
get(params?: Params$Resource$Projects$Serviceaccount$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ServiceAccount>>;
|
|
4337
4337
|
get(params: Params$Resource$Projects$Serviceaccount$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4338
4338
|
get(params: Params$Resource$Projects$Serviceaccount$Get, options: MethodOptions | BodyResponseCallback<Schema$ServiceAccount>, callback: BodyResponseCallback<Schema$ServiceAccount>): void;
|
|
4339
4339
|
get(params: Params$Resource$Projects$Serviceaccount$Get, callback: BodyResponseCallback<Schema$ServiceAccount>): void;
|