@maxim_mazurok/gapi.client.storage-v1 0.2.20260127 → 0.2.20260204
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 +36 -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: 20260204
|
|
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. */
|
|
@@ -2979,6 +3006,8 @@ declare namespace gapi.client {
|
|
|
2979
3006
|
destinationObject: string;
|
|
2980
3007
|
/** Apply a predefined set of access controls to the destination object. */
|
|
2981
3008
|
destinationPredefinedAcl?: string;
|
|
3009
|
+
/** Specifies which groups of Object Contexts from the source object(s) should be dropped from the destination object. */
|
|
3010
|
+
dropContextGroups?: string | string[];
|
|
2982
3011
|
/** Selector specifying which fields to include in a partial response. */
|
|
2983
3012
|
fields?: string;
|
|
2984
3013
|
/** Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. */
|
|
@@ -3014,6 +3043,8 @@ declare namespace gapi.client {
|
|
|
3014
3043
|
destinationObject: string;
|
|
3015
3044
|
/** Apply a predefined set of access controls to the destination object. */
|
|
3016
3045
|
destinationPredefinedAcl?: string;
|
|
3046
|
+
/** Specifies which groups of Object Contexts from the source object(s) should be dropped from the destination object. */
|
|
3047
|
+
dropContextGroups?: string | string[];
|
|
3017
3048
|
/** Selector specifying which fields to include in a partial response. */
|
|
3018
3049
|
fields?: string;
|
|
3019
3050
|
/** Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. */
|
|
@@ -3571,6 +3602,8 @@ declare namespace gapi.client {
|
|
|
3571
3602
|
destinationObject: string;
|
|
3572
3603
|
/** Apply a predefined set of access controls to the destination object. */
|
|
3573
3604
|
destinationPredefinedAcl?: string;
|
|
3605
|
+
/** Specifies which groups of Object Contexts from the source object should be dropped from the destination object. */
|
|
3606
|
+
dropContextGroups?: string | string[];
|
|
3574
3607
|
/** Selector specifying which fields to include in a partial response. */
|
|
3575
3608
|
fields?: string;
|
|
3576
3609
|
/** Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. */
|
|
@@ -3630,6 +3663,8 @@ declare namespace gapi.client {
|
|
|
3630
3663
|
destinationObject: string;
|
|
3631
3664
|
/** Apply a predefined set of access controls to the destination object. */
|
|
3632
3665
|
destinationPredefinedAcl?: string;
|
|
3666
|
+
/** Specifies which groups of Object Contexts from the source object should be dropped from the destination object. */
|
|
3667
|
+
dropContextGroups?: string | string[];
|
|
3633
3668
|
/** Selector specifying which fields to include in a partial response. */
|
|
3634
3669
|
fields?: string;
|
|
3635
3670
|
/** Makes the operation conditional on whether the object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. */
|
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
|
*/
|