@google-cloud/storage-control 0.1.0 → 0.1.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 +7 -0
- package/README.md +4 -0
- package/build/protos/google/storage/control/v2/storage_control.proto +244 -19
- package/build/protos/protos.d.ts +786 -0
- package/build/protos/protos.js +1928 -0
- package/build/protos/protos.json +310 -0
- package/build/src/v2/storage_control_client.d.ts +271 -14
- package/build/src/v2/storage_control_client.js +319 -9
- package/build/src/v2/storage_control_client.js.map +1 -1
- package/build/src/v2/storage_control_client_config.json +20 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
@@ -164,6 +164,94 @@
|
|
164
164
|
"(google.api.method_signature)": "name"
|
165
165
|
}
|
166
166
|
]
|
167
|
+
},
|
168
|
+
"CreateManagedFolder": {
|
169
|
+
"requestType": "CreateManagedFolderRequest",
|
170
|
+
"responseType": "ManagedFolder",
|
171
|
+
"options": {
|
172
|
+
"(google.api.routing).routing_parameters.field": "parent",
|
173
|
+
"(google.api.routing).routing_parameters.path_template": "{bucket=**}",
|
174
|
+
"(google.api.method_signature)": "parent,managed_folder,managed_folder_id"
|
175
|
+
},
|
176
|
+
"parsedOptions": [
|
177
|
+
{
|
178
|
+
"(google.api.routing)": {
|
179
|
+
"routing_parameters": {
|
180
|
+
"field": "parent",
|
181
|
+
"path_template": "{bucket=**}"
|
182
|
+
}
|
183
|
+
}
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"(google.api.method_signature)": "parent,managed_folder,managed_folder_id"
|
187
|
+
}
|
188
|
+
]
|
189
|
+
},
|
190
|
+
"DeleteManagedFolder": {
|
191
|
+
"requestType": "DeleteManagedFolderRequest",
|
192
|
+
"responseType": "google.protobuf.Empty",
|
193
|
+
"options": {
|
194
|
+
"(google.api.routing).routing_parameters.field": "name",
|
195
|
+
"(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**",
|
196
|
+
"(google.api.method_signature)": "name"
|
197
|
+
},
|
198
|
+
"parsedOptions": [
|
199
|
+
{
|
200
|
+
"(google.api.routing)": {
|
201
|
+
"routing_parameters": {
|
202
|
+
"field": "name",
|
203
|
+
"path_template": "{bucket=projects/*/buckets/*}/**"
|
204
|
+
}
|
205
|
+
}
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"(google.api.method_signature)": "name"
|
209
|
+
}
|
210
|
+
]
|
211
|
+
},
|
212
|
+
"GetManagedFolder": {
|
213
|
+
"requestType": "GetManagedFolderRequest",
|
214
|
+
"responseType": "ManagedFolder",
|
215
|
+
"options": {
|
216
|
+
"(google.api.routing).routing_parameters.field": "name",
|
217
|
+
"(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**",
|
218
|
+
"(google.api.method_signature)": "name"
|
219
|
+
},
|
220
|
+
"parsedOptions": [
|
221
|
+
{
|
222
|
+
"(google.api.routing)": {
|
223
|
+
"routing_parameters": {
|
224
|
+
"field": "name",
|
225
|
+
"path_template": "{bucket=projects/*/buckets/*}/**"
|
226
|
+
}
|
227
|
+
}
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"(google.api.method_signature)": "name"
|
231
|
+
}
|
232
|
+
]
|
233
|
+
},
|
234
|
+
"ListManagedFolders": {
|
235
|
+
"requestType": "ListManagedFoldersRequest",
|
236
|
+
"responseType": "ListManagedFoldersResponse",
|
237
|
+
"options": {
|
238
|
+
"(google.api.routing).routing_parameters.field": "parent",
|
239
|
+
"(google.api.routing).routing_parameters.path_template": "{bucket=**}",
|
240
|
+
"(google.api.method_signature)": "parent"
|
241
|
+
},
|
242
|
+
"parsedOptions": [
|
243
|
+
{
|
244
|
+
"(google.api.routing)": {
|
245
|
+
"routing_parameters": {
|
246
|
+
"field": "parent",
|
247
|
+
"path_template": "{bucket=**}"
|
248
|
+
}
|
249
|
+
}
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"(google.api.method_signature)": "parent"
|
253
|
+
}
|
254
|
+
]
|
167
255
|
}
|
168
256
|
}
|
169
257
|
},
|
@@ -631,6 +719,228 @@
|
|
631
719
|
}
|
632
720
|
}
|
633
721
|
}
|
722
|
+
},
|
723
|
+
"ManagedFolder": {
|
724
|
+
"options": {
|
725
|
+
"(google.api.resource).type": "storage.googleapis.com/ManagedFolder",
|
726
|
+
"(google.api.resource).pattern": "projects/{project}/buckets/{bucket}/managedFolders/{managed_folder=**}",
|
727
|
+
"(google.api.resource).plural": "managedFolders",
|
728
|
+
"(google.api.resource).singular": "managedFolder"
|
729
|
+
},
|
730
|
+
"fields": {
|
731
|
+
"name": {
|
732
|
+
"type": "string",
|
733
|
+
"id": 1,
|
734
|
+
"options": {
|
735
|
+
"(google.api.field_behavior)": "IDENTIFIER"
|
736
|
+
}
|
737
|
+
},
|
738
|
+
"metageneration": {
|
739
|
+
"type": "int64",
|
740
|
+
"id": 3,
|
741
|
+
"options": {
|
742
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
743
|
+
}
|
744
|
+
},
|
745
|
+
"createTime": {
|
746
|
+
"type": "google.protobuf.Timestamp",
|
747
|
+
"id": 4,
|
748
|
+
"options": {
|
749
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
750
|
+
}
|
751
|
+
},
|
752
|
+
"updateTime": {
|
753
|
+
"type": "google.protobuf.Timestamp",
|
754
|
+
"id": 5,
|
755
|
+
"options": {
|
756
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
757
|
+
}
|
758
|
+
}
|
759
|
+
}
|
760
|
+
},
|
761
|
+
"GetManagedFolderRequest": {
|
762
|
+
"oneofs": {
|
763
|
+
"_ifMetagenerationMatch": {
|
764
|
+
"oneof": [
|
765
|
+
"ifMetagenerationMatch"
|
766
|
+
]
|
767
|
+
},
|
768
|
+
"_ifMetagenerationNotMatch": {
|
769
|
+
"oneof": [
|
770
|
+
"ifMetagenerationNotMatch"
|
771
|
+
]
|
772
|
+
}
|
773
|
+
},
|
774
|
+
"fields": {
|
775
|
+
"name": {
|
776
|
+
"type": "string",
|
777
|
+
"id": 6,
|
778
|
+
"options": {
|
779
|
+
"(google.api.field_behavior)": "REQUIRED",
|
780
|
+
"(google.api.resource_reference).type": "storage.googleapis.com/ManagedFolder"
|
781
|
+
}
|
782
|
+
},
|
783
|
+
"ifMetagenerationMatch": {
|
784
|
+
"type": "int64",
|
785
|
+
"id": 3,
|
786
|
+
"options": {
|
787
|
+
"proto3_optional": true
|
788
|
+
}
|
789
|
+
},
|
790
|
+
"ifMetagenerationNotMatch": {
|
791
|
+
"type": "int64",
|
792
|
+
"id": 4,
|
793
|
+
"options": {
|
794
|
+
"proto3_optional": true
|
795
|
+
}
|
796
|
+
},
|
797
|
+
"requestId": {
|
798
|
+
"type": "string",
|
799
|
+
"id": 5,
|
800
|
+
"options": {
|
801
|
+
"(google.api.field_info).format": "UUID4",
|
802
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
803
|
+
}
|
804
|
+
}
|
805
|
+
}
|
806
|
+
},
|
807
|
+
"CreateManagedFolderRequest": {
|
808
|
+
"fields": {
|
809
|
+
"parent": {
|
810
|
+
"type": "string",
|
811
|
+
"id": 1,
|
812
|
+
"options": {
|
813
|
+
"(google.api.field_behavior)": "REQUIRED",
|
814
|
+
"(google.api.resource_reference).child_type": "storage.googleapis.com/ManagedFolder"
|
815
|
+
}
|
816
|
+
},
|
817
|
+
"managedFolder": {
|
818
|
+
"type": "ManagedFolder",
|
819
|
+
"id": 2,
|
820
|
+
"options": {
|
821
|
+
"(google.api.field_behavior)": "REQUIRED"
|
822
|
+
}
|
823
|
+
},
|
824
|
+
"managedFolderId": {
|
825
|
+
"type": "string",
|
826
|
+
"id": 3,
|
827
|
+
"options": {
|
828
|
+
"(google.api.field_behavior)": "REQUIRED"
|
829
|
+
}
|
830
|
+
},
|
831
|
+
"requestId": {
|
832
|
+
"type": "string",
|
833
|
+
"id": 4,
|
834
|
+
"options": {
|
835
|
+
"(google.api.field_info).format": "UUID4",
|
836
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
837
|
+
}
|
838
|
+
}
|
839
|
+
}
|
840
|
+
},
|
841
|
+
"DeleteManagedFolderRequest": {
|
842
|
+
"oneofs": {
|
843
|
+
"_ifMetagenerationMatch": {
|
844
|
+
"oneof": [
|
845
|
+
"ifMetagenerationMatch"
|
846
|
+
]
|
847
|
+
},
|
848
|
+
"_ifMetagenerationNotMatch": {
|
849
|
+
"oneof": [
|
850
|
+
"ifMetagenerationNotMatch"
|
851
|
+
]
|
852
|
+
}
|
853
|
+
},
|
854
|
+
"fields": {
|
855
|
+
"name": {
|
856
|
+
"type": "string",
|
857
|
+
"id": 7,
|
858
|
+
"options": {
|
859
|
+
"(google.api.field_behavior)": "REQUIRED",
|
860
|
+
"(google.api.resource_reference).type": "storage.googleapis.com/ManagedFolder"
|
861
|
+
}
|
862
|
+
},
|
863
|
+
"ifMetagenerationMatch": {
|
864
|
+
"type": "int64",
|
865
|
+
"id": 3,
|
866
|
+
"options": {
|
867
|
+
"proto3_optional": true
|
868
|
+
}
|
869
|
+
},
|
870
|
+
"ifMetagenerationNotMatch": {
|
871
|
+
"type": "int64",
|
872
|
+
"id": 4,
|
873
|
+
"options": {
|
874
|
+
"proto3_optional": true
|
875
|
+
}
|
876
|
+
},
|
877
|
+
"allowNonEmpty": {
|
878
|
+
"type": "bool",
|
879
|
+
"id": 5
|
880
|
+
},
|
881
|
+
"requestId": {
|
882
|
+
"type": "string",
|
883
|
+
"id": 6,
|
884
|
+
"options": {
|
885
|
+
"(google.api.field_info).format": "UUID4",
|
886
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
887
|
+
}
|
888
|
+
}
|
889
|
+
}
|
890
|
+
},
|
891
|
+
"ListManagedFoldersRequest": {
|
892
|
+
"fields": {
|
893
|
+
"parent": {
|
894
|
+
"type": "string",
|
895
|
+
"id": 1,
|
896
|
+
"options": {
|
897
|
+
"(google.api.field_behavior)": "REQUIRED",
|
898
|
+
"(google.api.resource_reference).child_type": "storage.googleapis.com/ManagedFolder"
|
899
|
+
}
|
900
|
+
},
|
901
|
+
"pageSize": {
|
902
|
+
"type": "int32",
|
903
|
+
"id": 2,
|
904
|
+
"options": {
|
905
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
906
|
+
}
|
907
|
+
},
|
908
|
+
"pageToken": {
|
909
|
+
"type": "string",
|
910
|
+
"id": 3,
|
911
|
+
"options": {
|
912
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
913
|
+
}
|
914
|
+
},
|
915
|
+
"prefix": {
|
916
|
+
"type": "string",
|
917
|
+
"id": 4,
|
918
|
+
"options": {
|
919
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
920
|
+
}
|
921
|
+
},
|
922
|
+
"requestId": {
|
923
|
+
"type": "string",
|
924
|
+
"id": 5,
|
925
|
+
"options": {
|
926
|
+
"(google.api.field_info).format": "UUID4",
|
927
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
928
|
+
}
|
929
|
+
}
|
930
|
+
}
|
931
|
+
},
|
932
|
+
"ListManagedFoldersResponse": {
|
933
|
+
"fields": {
|
934
|
+
"managedFolders": {
|
935
|
+
"rule": "repeated",
|
936
|
+
"type": "ManagedFolder",
|
937
|
+
"id": 1
|
938
|
+
},
|
939
|
+
"nextPageToken": {
|
940
|
+
"type": "string",
|
941
|
+
"id": 2
|
942
|
+
}
|
943
|
+
}
|
634
944
|
}
|
635
945
|
}
|
636
946
|
}
|