@maxim_mazurok/gapi.client.storage-v1 0.2.20260131 → 0.2.20260210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +28 -1
- package/package.json +1 -1
- package/readme.md +8 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://storage.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2149,6 +2149,33 @@ declare namespace gapi.client {
|
|
|
2149
2149
|
/** Deprecated. Please use quotaUser instead. */
|
|
2150
2150
|
userIp?: string;
|
|
2151
2151
|
}): Request<void>;
|
|
2152
|
+
/** Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled. */
|
|
2153
|
+
deleteRecursive(request?: {
|
|
2154
|
+
/** Data format for the response. */
|
|
2155
|
+
alt?: string;
|
|
2156
|
+
/** Name of the bucket in which the folder resides. */
|
|
2157
|
+
bucket: string;
|
|
2158
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2159
|
+
fields?: string;
|
|
2160
|
+
/** Name of a folder. */
|
|
2161
|
+
folder: string;
|
|
2162
|
+
/** If set, only deletes the folder if its metageneration matches this value. */
|
|
2163
|
+
ifMetagenerationMatch?: string;
|
|
2164
|
+
/** If set, only deletes the folder if its metageneration does not match this value. */
|
|
2165
|
+
ifMetagenerationNotMatch?: string;
|
|
2166
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2167
|
+
key?: string;
|
|
2168
|
+
/** OAuth 2.0 token for the current user. */
|
|
2169
|
+
oauth_token?: string;
|
|
2170
|
+
/** Returns response with indentations and line breaks. */
|
|
2171
|
+
prettyPrint?: boolean;
|
|
2172
|
+
/** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
|
|
2173
|
+
quotaUser?: string;
|
|
2174
|
+
/** Upload protocol for media (e.g. "media", "multipart", "resumable"). */
|
|
2175
|
+
uploadType?: string;
|
|
2176
|
+
/** Deprecated. Please use quotaUser instead. */
|
|
2177
|
+
userIp?: string;
|
|
2178
|
+
}): Request<GoogleLongrunningOperation>;
|
|
2152
2179
|
/** Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled. */
|
|
2153
2180
|
get(request?: {
|
|
2154
2181
|
/** Data format for the response. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -301,6 +301,14 @@ Permanently deletes a folder. Only applicable to buckets with hierarchical names
|
|
|
301
301
|
*/
|
|
302
302
|
await gapi.client.storage.folders.delete({bucket: 'bucket', folder: 'folder'});
|
|
303
303
|
|
|
304
|
+
/*
|
|
305
|
+
Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
|
|
306
|
+
*/
|
|
307
|
+
await gapi.client.storage.folders.deleteRecursive({
|
|
308
|
+
bucket: 'bucket',
|
|
309
|
+
folder: 'folder',
|
|
310
|
+
});
|
|
311
|
+
|
|
304
312
|
/*
|
|
305
313
|
Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled.
|
|
306
314
|
*/
|