@maxim_mazurok/gapi.client.storage-v1 0.0.20230613 → 0.0.20230617
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 +50 -32
- package/package.json +1 -1
- package/tests.ts +1 -1
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: 20230617
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2408,7 +2408,7 @@ declare namespace gapi.client {
|
|
|
2408
2408
|
/** OAuth 2.0 token for the current user. */
|
|
2409
2409
|
oauth_token?:
|
|
2410
2410
|
string;
|
|
2411
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2411
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2412
2412
|
object:
|
|
2413
2413
|
string;
|
|
2414
2414
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2450,7 +2450,7 @@ declare namespace gapi.client {
|
|
|
2450
2450
|
/** OAuth 2.0 token for the current user. */
|
|
2451
2451
|
oauth_token?:
|
|
2452
2452
|
string;
|
|
2453
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2453
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2454
2454
|
object:
|
|
2455
2455
|
string;
|
|
2456
2456
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2489,7 +2489,7 @@ declare namespace gapi.client {
|
|
|
2489
2489
|
/** OAuth 2.0 token for the current user. */
|
|
2490
2490
|
oauth_token?:
|
|
2491
2491
|
string;
|
|
2492
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2492
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2493
2493
|
object:
|
|
2494
2494
|
string;
|
|
2495
2495
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2530,7 +2530,7 @@ declare namespace gapi.client {
|
|
|
2530
2530
|
/** OAuth 2.0 token for the current user. */
|
|
2531
2531
|
oauth_token?:
|
|
2532
2532
|
string;
|
|
2533
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2533
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2534
2534
|
object:
|
|
2535
2535
|
string;
|
|
2536
2536
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2570,7 +2570,7 @@ declare namespace gapi.client {
|
|
|
2570
2570
|
/** OAuth 2.0 token for the current user. */
|
|
2571
2571
|
oauth_token?:
|
|
2572
2572
|
string;
|
|
2573
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2573
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2574
2574
|
object:
|
|
2575
2575
|
string;
|
|
2576
2576
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2612,7 +2612,7 @@ declare namespace gapi.client {
|
|
|
2612
2612
|
/** OAuth 2.0 token for the current user. */
|
|
2613
2613
|
oauth_token?:
|
|
2614
2614
|
string;
|
|
2615
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2615
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2616
2616
|
object:
|
|
2617
2617
|
string;
|
|
2618
2618
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2656,7 +2656,7 @@ declare namespace gapi.client {
|
|
|
2656
2656
|
/** OAuth 2.0 token for the current user. */
|
|
2657
2657
|
oauth_token?:
|
|
2658
2658
|
string;
|
|
2659
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2659
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2660
2660
|
object:
|
|
2661
2661
|
string;
|
|
2662
2662
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2699,7 +2699,7 @@ declare namespace gapi.client {
|
|
|
2699
2699
|
/** OAuth 2.0 token for the current user. */
|
|
2700
2700
|
oauth_token?:
|
|
2701
2701
|
string;
|
|
2702
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2702
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2703
2703
|
object:
|
|
2704
2704
|
string;
|
|
2705
2705
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2743,7 +2743,7 @@ declare namespace gapi.client {
|
|
|
2743
2743
|
/** OAuth 2.0 token for the current user. */
|
|
2744
2744
|
oauth_token?:
|
|
2745
2745
|
string;
|
|
2746
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
2746
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
2747
2747
|
object:
|
|
2748
2748
|
string;
|
|
2749
2749
|
/** Returns response with indentations and line breaks. */
|
|
@@ -2773,7 +2773,10 @@ declare namespace gapi.client {
|
|
|
2773
2773
|
/** Name of the bucket containing the source objects. The destination object is stored in this bucket. */
|
|
2774
2774
|
destinationBucket:
|
|
2775
2775
|
string;
|
|
2776
|
-
/**
|
|
2776
|
+
/**
|
|
2777
|
+
* Name of the new object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
2778
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
2779
|
+
*/
|
|
2777
2780
|
destinationObject:
|
|
2778
2781
|
string;
|
|
2779
2782
|
/** Apply a predefined set of access controls to the destination object. */
|
|
@@ -2831,7 +2834,10 @@ declare namespace gapi.client {
|
|
|
2831
2834
|
/** Name of the bucket containing the source objects. The destination object is stored in this bucket. */
|
|
2832
2835
|
destinationBucket:
|
|
2833
2836
|
string;
|
|
2834
|
-
/**
|
|
2837
|
+
/**
|
|
2838
|
+
* Name of the new object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
2839
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
2840
|
+
*/
|
|
2835
2841
|
destinationObject:
|
|
2836
2842
|
string;
|
|
2837
2843
|
/** Apply a predefined set of access controls to the destination object. */
|
|
@@ -2887,7 +2893,7 @@ declare namespace gapi.client {
|
|
|
2887
2893
|
string;
|
|
2888
2894
|
/**
|
|
2889
2895
|
* Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be
|
|
2890
|
-
* path safe, see Encoding URI Path Parts.
|
|
2896
|
+
* path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
2891
2897
|
*/
|
|
2892
2898
|
destinationBucket:
|
|
2893
2899
|
string;
|
|
@@ -2957,7 +2963,10 @@ declare namespace gapi.client {
|
|
|
2957
2963
|
/** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */
|
|
2958
2964
|
sourceGeneration?:
|
|
2959
2965
|
string;
|
|
2960
|
-
/**
|
|
2966
|
+
/**
|
|
2967
|
+
* Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
2968
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
2969
|
+
*/
|
|
2961
2970
|
sourceObject:
|
|
2962
2971
|
string;
|
|
2963
2972
|
/** Upload protocol for media (e.g. "media", "multipart", "resumable"). */
|
|
@@ -2982,7 +2991,7 @@ declare namespace gapi.client {
|
|
|
2982
2991
|
string;
|
|
2983
2992
|
/**
|
|
2984
2993
|
* Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be
|
|
2985
|
-
* path safe, see Encoding URI Path Parts.
|
|
2994
|
+
* path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
2986
2995
|
*/
|
|
2987
2996
|
destinationBucket:
|
|
2988
2997
|
string;
|
|
@@ -3052,7 +3061,10 @@ declare namespace gapi.client {
|
|
|
3052
3061
|
/** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */
|
|
3053
3062
|
sourceGeneration?:
|
|
3054
3063
|
string;
|
|
3055
|
-
/**
|
|
3064
|
+
/**
|
|
3065
|
+
* Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
3066
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3067
|
+
*/
|
|
3056
3068
|
sourceObject:
|
|
3057
3069
|
string;
|
|
3058
3070
|
/** Upload protocol for media (e.g. "media", "multipart", "resumable"). */
|
|
@@ -3107,7 +3119,7 @@ declare namespace gapi.client {
|
|
|
3107
3119
|
/** OAuth 2.0 token for the current user. */
|
|
3108
3120
|
oauth_token?:
|
|
3109
3121
|
string;
|
|
3110
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3122
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3111
3123
|
object:
|
|
3112
3124
|
string;
|
|
3113
3125
|
/** Returns response with indentations and line breaks. */
|
|
@@ -3164,7 +3176,7 @@ declare namespace gapi.client {
|
|
|
3164
3176
|
/** OAuth 2.0 token for the current user. */
|
|
3165
3177
|
oauth_token?:
|
|
3166
3178
|
string;
|
|
3167
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3179
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3168
3180
|
object:
|
|
3169
3181
|
string;
|
|
3170
3182
|
/** Returns response with indentations and line breaks. */
|
|
@@ -3208,7 +3220,7 @@ declare namespace gapi.client {
|
|
|
3208
3220
|
/** OAuth 2.0 token for the current user. */
|
|
3209
3221
|
oauth_token?:
|
|
3210
3222
|
string;
|
|
3211
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3223
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3212
3224
|
object:
|
|
3213
3225
|
string;
|
|
3214
3226
|
/** Returns response with indentations and line breaks. */
|
|
@@ -3273,7 +3285,7 @@ declare namespace gapi.client {
|
|
|
3273
3285
|
string;
|
|
3274
3286
|
/**
|
|
3275
3287
|
* Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode
|
|
3276
|
-
* object names to be path safe, see Encoding URI Path Parts.
|
|
3288
|
+
* object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3277
3289
|
*/
|
|
3278
3290
|
name?:
|
|
3279
3291
|
string;
|
|
@@ -3353,7 +3365,7 @@ declare namespace gapi.client {
|
|
|
3353
3365
|
string;
|
|
3354
3366
|
/**
|
|
3355
3367
|
* Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode
|
|
3356
|
-
* object names to be path safe, see Encoding URI Path Parts.
|
|
3368
|
+
* object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3357
3369
|
*/
|
|
3358
3370
|
name?:
|
|
3359
3371
|
string;
|
|
@@ -3499,7 +3511,7 @@ declare namespace gapi.client {
|
|
|
3499
3511
|
/** OAuth 2.0 token for the current user. */
|
|
3500
3512
|
oauth_token?:
|
|
3501
3513
|
string;
|
|
3502
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3514
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3503
3515
|
object:
|
|
3504
3516
|
string;
|
|
3505
3517
|
/** Apply a predefined set of access controls to this object. */
|
|
@@ -3567,7 +3579,7 @@ declare namespace gapi.client {
|
|
|
3567
3579
|
/** OAuth 2.0 token for the current user. */
|
|
3568
3580
|
oauth_token?:
|
|
3569
3581
|
string;
|
|
3570
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3582
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3571
3583
|
object:
|
|
3572
3584
|
string;
|
|
3573
3585
|
/** Apply a predefined set of access controls to this object. */
|
|
@@ -3612,7 +3624,7 @@ declare namespace gapi.client {
|
|
|
3612
3624
|
string;
|
|
3613
3625
|
/**
|
|
3614
3626
|
* Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode
|
|
3615
|
-
* object names to be path safe, see Encoding URI Path Parts.
|
|
3627
|
+
* object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3616
3628
|
*/
|
|
3617
3629
|
destinationObject:
|
|
3618
3630
|
string;
|
|
@@ -3686,7 +3698,10 @@ declare namespace gapi.client {
|
|
|
3686
3698
|
/** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */
|
|
3687
3699
|
sourceGeneration?:
|
|
3688
3700
|
string;
|
|
3689
|
-
/**
|
|
3701
|
+
/**
|
|
3702
|
+
* Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
3703
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3704
|
+
*/
|
|
3690
3705
|
sourceObject:
|
|
3691
3706
|
string;
|
|
3692
3707
|
/** Upload protocol for media (e.g. "media", "multipart", "resumable"). */
|
|
@@ -3718,7 +3733,7 @@ declare namespace gapi.client {
|
|
|
3718
3733
|
string;
|
|
3719
3734
|
/**
|
|
3720
3735
|
* Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode
|
|
3721
|
-
* object names to be path safe, see Encoding URI Path Parts.
|
|
3736
|
+
* object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3722
3737
|
*/
|
|
3723
3738
|
destinationObject:
|
|
3724
3739
|
string;
|
|
@@ -3792,7 +3807,10 @@ declare namespace gapi.client {
|
|
|
3792
3807
|
/** If present, selects a specific revision of the source object (as opposed to the latest version, the default). */
|
|
3793
3808
|
sourceGeneration?:
|
|
3794
3809
|
string;
|
|
3795
|
-
/**
|
|
3810
|
+
/**
|
|
3811
|
+
* Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path
|
|
3812
|
+
* Parts](http://cloud/storage/docs/request-endpoints#encoding).
|
|
3813
|
+
*/
|
|
3796
3814
|
sourceObject:
|
|
3797
3815
|
string;
|
|
3798
3816
|
/** Upload protocol for media (e.g. "media", "multipart", "resumable"). */
|
|
@@ -3827,7 +3845,7 @@ declare namespace gapi.client {
|
|
|
3827
3845
|
/** OAuth 2.0 token for the current user. */
|
|
3828
3846
|
oauth_token?:
|
|
3829
3847
|
string;
|
|
3830
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3848
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3831
3849
|
object:
|
|
3832
3850
|
string;
|
|
3833
3851
|
/** Returns response with indentations and line breaks. */
|
|
@@ -3868,7 +3886,7 @@ declare namespace gapi.client {
|
|
|
3868
3886
|
/** OAuth 2.0 token for the current user. */
|
|
3869
3887
|
oauth_token?:
|
|
3870
3888
|
string;
|
|
3871
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3889
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3872
3890
|
object:
|
|
3873
3891
|
string;
|
|
3874
3892
|
/** Returns response with indentations and line breaks. */
|
|
@@ -3908,7 +3926,7 @@ declare namespace gapi.client {
|
|
|
3908
3926
|
/** OAuth 2.0 token for the current user. */
|
|
3909
3927
|
oauth_token?:
|
|
3910
3928
|
string;
|
|
3911
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3929
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3912
3930
|
object:
|
|
3913
3931
|
string;
|
|
3914
3932
|
/** Permissions to test. */
|
|
@@ -3968,7 +3986,7 @@ declare namespace gapi.client {
|
|
|
3968
3986
|
/** OAuth 2.0 token for the current user. */
|
|
3969
3987
|
oauth_token?:
|
|
3970
3988
|
string;
|
|
3971
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
3989
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
3972
3990
|
object:
|
|
3973
3991
|
string;
|
|
3974
3992
|
/** Apply a predefined set of access controls to this object. */
|
|
@@ -4036,7 +4054,7 @@ declare namespace gapi.client {
|
|
|
4036
4054
|
/** OAuth 2.0 token for the current user. */
|
|
4037
4055
|
oauth_token?:
|
|
4038
4056
|
string;
|
|
4039
|
-
/** Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. */
|
|
4057
|
+
/** Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](http://cloud/storage/docs/request-endpoints#encoding). */
|
|
4040
4058
|
object:
|
|
4041
4059
|
string;
|
|
4042
4060
|
/** Apply a predefined set of access controls to this object. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230617
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|