files.com 1.0.268 → 1.0.269
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/remote_server.md +28 -0
- data/lib/files.com/models/remote_server.rb +60 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f7d5741e5a074ffc263428163493ee698ba74e47eff8831df17a8afe14782f
|
4
|
+
data.tar.gz: 7eadd3b651469836aa2df05306bee98bb7ed152c725e12d7dc6756b60bb179e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9810121edb8ccdc3983a88a80d1497b4ae460c967976823862a7848842c1e62452f62872f19c839b7cb5c503e802e9fb133f7166a5eb1a1c88166850351fae2c
|
7
|
+
data.tar.gz: 8dd811fed564147ceef129e62c22a1496b52814eed863866bd4a52ac653549a7a3e844c49d285bc457ab72dc3e0d70727c6ca775b8d464c00151859565b8f5bc
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.269
|
data/docs/remote_server.md
CHANGED
@@ -37,6 +37,9 @@
|
|
37
37
|
"azure_blob_storage_account": "storage-account-name",
|
38
38
|
"azure_blob_storage_sas_token": "storage-sas-token",
|
39
39
|
"azure_blob_storage_container": "container-name",
|
40
|
+
"azure_files_storage_account": "storage-account-name",
|
41
|
+
"azure_files_sas_token": "storage-sas-token",
|
42
|
+
"azure_files_share_name": "share-name",
|
40
43
|
"s3_compatible_bucket": "my-bucket",
|
41
44
|
"s3_compatible_endpoint": "mys3platform.com",
|
42
45
|
"s3_compatible_region": "us-east-1",
|
@@ -78,6 +81,9 @@
|
|
78
81
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
79
82
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
80
83
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
84
|
+
* `azure_files_storage_account` (string): Azure File Storage Account name
|
85
|
+
* `azure_files_sas_token` (string): Shared Access Signature (SAS) token
|
86
|
+
* `azure_files_share_name` (string): Azure File Storage Share name
|
81
87
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
82
88
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
83
89
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -94,6 +100,7 @@
|
|
94
100
|
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
95
101
|
* `reset_authentication` (boolean): Reset authenticated account
|
96
102
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
103
|
+
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
97
104
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
98
105
|
|
99
106
|
|
@@ -157,6 +164,9 @@ Files::RemoteServer.create(
|
|
157
164
|
azure_blob_storage_account: "storage-account-name",
|
158
165
|
azure_blob_storage_container: "container-name",
|
159
166
|
azure_blob_storage_sas_token: "storage-sas-token",
|
167
|
+
azure_files_storage_account: "storage-account-name",
|
168
|
+
azure_files_share_name: "share-name",
|
169
|
+
azure_files_sas_token: "storage-sas-token",
|
160
170
|
s3_compatible_bucket: "my-bucket",
|
161
171
|
s3_compatible_endpoint: "mys3platform.com",
|
162
172
|
s3_compatible_region: "us-east-1",
|
@@ -179,6 +189,7 @@ Files::RemoteServer.create(
|
|
179
189
|
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
180
190
|
* `reset_authentication` (boolean): Reset authenticated account
|
181
191
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
192
|
+
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
182
193
|
* `hostname` (string): Hostname or IP address
|
183
194
|
* `name` (string): Internal name for your reference
|
184
195
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -203,6 +214,9 @@ Files::RemoteServer.create(
|
|
203
214
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
204
215
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
205
216
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
217
|
+
* `azure_files_storage_account` (string): Azure File Storage Account name
|
218
|
+
* `azure_files_share_name` (string): Azure File Storage Share name
|
219
|
+
* `azure_files_sas_token` (string): Shared Access Signature (SAS) token
|
206
220
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
207
221
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
208
222
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -242,6 +256,9 @@ Files::RemoteServer.update(id,
|
|
242
256
|
azure_blob_storage_account: "storage-account-name",
|
243
257
|
azure_blob_storage_container: "container-name",
|
244
258
|
azure_blob_storage_sas_token: "storage-sas-token",
|
259
|
+
azure_files_storage_account: "storage-account-name",
|
260
|
+
azure_files_share_name: "share-name",
|
261
|
+
azure_files_sas_token: "storage-sas-token",
|
245
262
|
s3_compatible_bucket: "my-bucket",
|
246
263
|
s3_compatible_endpoint: "mys3platform.com",
|
247
264
|
s3_compatible_region: "us-east-1",
|
@@ -265,6 +282,7 @@ Files::RemoteServer.update(id,
|
|
265
282
|
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
266
283
|
* `reset_authentication` (boolean): Reset authenticated account
|
267
284
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
285
|
+
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
268
286
|
* `hostname` (string): Hostname or IP address
|
269
287
|
* `name` (string): Internal name for your reference
|
270
288
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -289,6 +307,9 @@ Files::RemoteServer.update(id,
|
|
289
307
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
290
308
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
291
309
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
310
|
+
* `azure_files_storage_account` (string): Azure File Storage Account name
|
311
|
+
* `azure_files_share_name` (string): Azure File Storage Share name
|
312
|
+
* `azure_files_sas_token` (string): Shared Access Signature (SAS) token
|
292
313
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
293
314
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
294
315
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -343,6 +364,9 @@ remote_server.update(
|
|
343
364
|
azure_blob_storage_account: "storage-account-name",
|
344
365
|
azure_blob_storage_container: "container-name",
|
345
366
|
azure_blob_storage_sas_token: "storage-sas-token",
|
367
|
+
azure_files_storage_account: "storage-account-name",
|
368
|
+
azure_files_share_name: "share-name",
|
369
|
+
azure_files_sas_token: "storage-sas-token",
|
346
370
|
s3_compatible_bucket: "my-bucket",
|
347
371
|
s3_compatible_endpoint: "mys3platform.com",
|
348
372
|
s3_compatible_region: "us-east-1",
|
@@ -366,6 +390,7 @@ remote_server.update(
|
|
366
390
|
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
367
391
|
* `reset_authentication` (boolean): Reset authenticated account
|
368
392
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
393
|
+
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
369
394
|
* `hostname` (string): Hostname or IP address
|
370
395
|
* `name` (string): Internal name for your reference
|
371
396
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -390,6 +415,9 @@ remote_server.update(
|
|
390
415
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
391
416
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
392
417
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
418
|
+
* `azure_files_storage_account` (string): Azure File Storage Account name
|
419
|
+
* `azure_files_share_name` (string): Azure File Storage Share name
|
420
|
+
* `azure_files_sas_token` (string): Shared Access Signature (SAS) token
|
393
421
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
394
422
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
395
423
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -306,6 +306,33 @@ module Files
|
|
306
306
|
@attributes[:azure_blob_storage_container] = value
|
307
307
|
end
|
308
308
|
|
309
|
+
# string - Azure File Storage Account name
|
310
|
+
def azure_files_storage_account
|
311
|
+
@attributes[:azure_files_storage_account]
|
312
|
+
end
|
313
|
+
|
314
|
+
def azure_files_storage_account=(value)
|
315
|
+
@attributes[:azure_files_storage_account] = value
|
316
|
+
end
|
317
|
+
|
318
|
+
# string - Shared Access Signature (SAS) token
|
319
|
+
def azure_files_sas_token
|
320
|
+
@attributes[:azure_files_sas_token]
|
321
|
+
end
|
322
|
+
|
323
|
+
def azure_files_sas_token=(value)
|
324
|
+
@attributes[:azure_files_sas_token] = value
|
325
|
+
end
|
326
|
+
|
327
|
+
# string - Azure File Storage Share name
|
328
|
+
def azure_files_share_name
|
329
|
+
@attributes[:azure_files_share_name]
|
330
|
+
end
|
331
|
+
|
332
|
+
def azure_files_share_name=(value)
|
333
|
+
@attributes[:azure_files_share_name] = value
|
334
|
+
end
|
335
|
+
|
309
336
|
# string - S3-compatible Bucket name
|
310
337
|
def s3_compatible_bucket
|
311
338
|
@attributes[:s3_compatible_bucket]
|
@@ -450,6 +477,15 @@ module Files
|
|
450
477
|
@attributes[:azure_blob_storage_access_key] = value
|
451
478
|
end
|
452
479
|
|
480
|
+
# string - Azure File Storage access key.
|
481
|
+
def azure_files_storage_access_key
|
482
|
+
@attributes[:azure_files_storage_access_key]
|
483
|
+
end
|
484
|
+
|
485
|
+
def azure_files_storage_access_key=(value)
|
486
|
+
@attributes[:azure_files_storage_access_key] = value
|
487
|
+
end
|
488
|
+
|
453
489
|
# string - S3-compatible secret key
|
454
490
|
def s3_compatible_secret_key
|
455
491
|
@attributes[:s3_compatible_secret_key]
|
@@ -473,6 +509,7 @@ module Files
|
|
473
509
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
474
510
|
# reset_authentication - boolean - Reset authenticated account
|
475
511
|
# azure_blob_storage_access_key - string - Azure Blob Storage secret key.
|
512
|
+
# azure_files_storage_access_key - string - Azure File Storage access key.
|
476
513
|
# hostname - string - Hostname or IP address
|
477
514
|
# name - string - Internal name for your reference
|
478
515
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -497,6 +534,9 @@ module Files
|
|
497
534
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
498
535
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
499
536
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
537
|
+
# azure_files_storage_account - string - Azure File Storage Account name
|
538
|
+
# azure_files_share_name - string - Azure File Storage Share name
|
539
|
+
# azure_files_sas_token - string - Shared Access Signature (SAS) token
|
500
540
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
501
541
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
502
542
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -520,6 +560,7 @@ module Files
|
|
520
560
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
|
521
561
|
raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
|
522
562
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
|
563
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params.dig(:azure_files_storage_access_key) and !params.dig(:azure_files_storage_access_key).is_a?(String)
|
523
564
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
|
524
565
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
525
566
|
raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
|
@@ -544,6 +585,9 @@ module Files
|
|
544
585
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
545
586
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
546
587
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
588
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
589
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_share_name must be an String") if params.dig(:azure_files_share_name) and !params.dig(:azure_files_share_name).is_a?(String)
|
590
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_sas_token must be an String") if params.dig(:azure_files_sas_token) and !params.dig(:azure_files_sas_token).is_a?(String)
|
547
591
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
548
592
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
549
593
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
@@ -623,6 +667,7 @@ module Files
|
|
623
667
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
624
668
|
# reset_authentication - boolean - Reset authenticated account
|
625
669
|
# azure_blob_storage_access_key - string - Azure Blob Storage secret key.
|
670
|
+
# azure_files_storage_access_key - string - Azure File Storage access key.
|
626
671
|
# hostname - string - Hostname or IP address
|
627
672
|
# name - string - Internal name for your reference
|
628
673
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -647,6 +692,9 @@ module Files
|
|
647
692
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
648
693
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
649
694
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
695
|
+
# azure_files_storage_account - string - Azure File Storage Account name
|
696
|
+
# azure_files_share_name - string - Azure File Storage Share name
|
697
|
+
# azure_files_sas_token - string - Shared Access Signature (SAS) token
|
650
698
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
651
699
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
652
700
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -666,6 +714,7 @@ module Files
|
|
666
714
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
|
667
715
|
raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
|
668
716
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
|
717
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params.dig(:azure_files_storage_access_key) and !params.dig(:azure_files_storage_access_key).is_a?(String)
|
669
718
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
|
670
719
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
671
720
|
raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
|
@@ -690,6 +739,9 @@ module Files
|
|
690
739
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
691
740
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
692
741
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
742
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
743
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_share_name must be an String") if params.dig(:azure_files_share_name) and !params.dig(:azure_files_share_name).is_a?(String)
|
744
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_sas_token must be an String") if params.dig(:azure_files_sas_token) and !params.dig(:azure_files_sas_token).is_a?(String)
|
693
745
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
694
746
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
695
747
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
@@ -714,6 +766,7 @@ module Files
|
|
714
766
|
# rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
|
715
767
|
# reset_authentication - boolean - Reset authenticated account
|
716
768
|
# azure_blob_storage_access_key - string - Azure Blob Storage secret key.
|
769
|
+
# azure_files_storage_access_key - string - Azure File Storage access key.
|
717
770
|
# hostname - string - Hostname or IP address
|
718
771
|
# name - string - Internal name for your reference
|
719
772
|
# max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -738,6 +791,9 @@ module Files
|
|
738
791
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
739
792
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
740
793
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
794
|
+
# azure_files_storage_account - string - Azure File Storage Account name
|
795
|
+
# azure_files_share_name - string - Azure File Storage Share name
|
796
|
+
# azure_files_sas_token - string - Shared Access Signature (SAS) token
|
741
797
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
742
798
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
743
799
|
# s3_compatible_region - string - S3-compatible endpoint
|
@@ -760,6 +816,7 @@ module Files
|
|
760
816
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
|
761
817
|
raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
|
762
818
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
|
819
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params.dig(:azure_files_storage_access_key) and !params.dig(:azure_files_storage_access_key).is_a?(String)
|
763
820
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
|
764
821
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
765
822
|
raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
|
@@ -784,6 +841,9 @@ module Files
|
|
784
841
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
785
842
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
786
843
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params.dig(:azure_blob_storage_sas_token) and !params.dig(:azure_blob_storage_sas_token).is_a?(String)
|
844
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params.dig(:azure_files_storage_account) and !params.dig(:azure_files_storage_account).is_a?(String)
|
845
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_share_name must be an String") if params.dig(:azure_files_share_name) and !params.dig(:azure_files_share_name).is_a?(String)
|
846
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_sas_token must be an String") if params.dig(:azure_files_sas_token) and !params.dig(:azure_files_sas_token).is_a?(String)
|
787
847
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
788
848
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
789
849
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.269
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|