files.com 1.0.176 → 1.0.177

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03d3652fb19d7122d286a797d196ae127a0f3c5ee07f1e0f5f8f01c6549a9b40
4
- data.tar.gz: 2dca0d731de2e00202e42c2e9f229056fb1d07f6b4b1dcec3cefdb35f6903f11
3
+ metadata.gz: 6236a38036cb59b5c102a43cfff3b17a952724d11adb7e7cb40e4c6094625b12
4
+ data.tar.gz: 05bffaed64301d1a786b5d95ddb4c4b998069845667229e8fc58c8f24d897301
5
5
  SHA512:
6
- metadata.gz: c83aae1e826d78894d774119131283d9183b3e7c4c36e6958d96c56f2cecb72adab5416c5f54786d9757e66330c674b33e38632b259cfb745f066ae268371872
7
- data.tar.gz: 4648e05d2ed94d3b3e6eff3a6f5f3aa07fb3f6d8aeb699035cc0c5d746d5eaf138f5904ad016a6ce7901b460f88d4c7ff719e7a57add68a66f500fcb7f9b10a8
6
+ metadata.gz: 7c53856d76605d84b64a35641cd130fdc490cc01376e753fc196f735029ca030120b41b4205925d21504a4f46f539142c4fcc3eefc3ce49bcb5ad87196e15f53
7
+ data.tar.gz: 2393d1836cdaf127d1b6bd05897718fc96ef9247a0f29af0ab5aa771747dfc571e3753c9a6e82f6a12cdaddf857b39e6c66f4de32c91d70d5be263955da89fae
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.176
1
+ 1.0.177
@@ -22,8 +22,8 @@
22
22
  "google_cloud_storage_project_id": "my-project",
23
23
  "backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
24
24
  "backblaze_b2_bucket": "my-bucket",
25
- "wasabi_bucket": "us-west-1",
26
- "wasabi_region": "my-bucket",
25
+ "wasabi_bucket": "my-bucket",
26
+ "wasabi_region": "us-west-1",
27
27
  "rackspace_username": "rackspaceuser",
28
28
  "rackspace_region": "dfw",
29
29
  "rackspace_container": "my-container",
@@ -32,7 +32,10 @@
32
32
  "auth_account_name": "me@example.com",
33
33
  "one_drive_account_type": "personal",
34
34
  "azure_blob_storage_account": "storage-account-name",
35
- "azure_blob_storage_container": "container-name"
35
+ "azure_blob_storage_container": "container-name",
36
+ "s3_compatible_bucket": "my-bucket",
37
+ "s3_compatible_region": "us-east-1",
38
+ "s3_compatible_endpoint": "mys3platform.com"
36
39
  }
37
40
  ```
38
41
 
@@ -54,8 +57,8 @@
54
57
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
55
58
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
56
59
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
57
- * `wasabi_bucket` (string): Wasabi region
58
- * `wasabi_region` (string): Wasabi Bucket name
60
+ * `wasabi_bucket` (string): Wasabi Bucket name
61
+ * `wasabi_region` (string): Wasabi region
59
62
  * `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
60
63
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
61
64
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
@@ -65,6 +68,9 @@
65
68
  * `one_drive_account_type` (string): Either personal or business_other account types
66
69
  * `azure_blob_storage_account` (string): Azure Blob Storage Account name
67
70
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
71
+ * `s3_compatible_bucket` (string): S3-compatible Bucket name
72
+ * `s3_compatible_region` (string): S3-compatible Bucket name
73
+ * `s3_compatible_endpoint` (string): S3-compatible endpoint
68
74
  * `aws_access_key` (string): AWS Access Key.
69
75
  * `aws_secret_key` (string): AWS secret key.
70
76
  * `password` (string): Password if needed.
@@ -78,6 +84,8 @@
78
84
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
79
85
  * `reset_authentication` (boolean): Reset authenticated account
80
86
  * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
87
+ * `s3_compatible_access_key` (string): S3-compatible access key
88
+ * `s3_compatible_secret_key` (string): S3-compatible secret key
81
89
 
82
90
 
83
91
  ---
@@ -131,14 +139,17 @@ Files::RemoteServer.create(
131
139
  google_cloud_storage_project_id: "my-project",
132
140
  backblaze_b2_bucket: "my-bucket",
133
141
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
134
- wasabi_bucket: "us-west-1",
135
- wasabi_region: "my-bucket",
142
+ wasabi_bucket: "my-bucket",
143
+ wasabi_region: "us-west-1",
136
144
  rackspace_username: "rackspaceuser",
137
145
  rackspace_region: "dfw",
138
146
  rackspace_container: "my-container",
139
147
  one_drive_account_type: "personal",
140
148
  azure_blob_storage_account: "storage-account-name",
141
- azure_blob_storage_container: "container-name"
149
+ azure_blob_storage_container: "container-name",
150
+ s3_compatible_bucket: "my-bucket",
151
+ s3_compatible_region: "us-east-1",
152
+ s3_compatible_endpoint: "mys3platform.com"
142
153
  )
143
154
  ```
144
155
 
@@ -172,14 +183,19 @@ Files::RemoteServer.create(
172
183
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
173
184
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
174
185
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
175
- * `wasabi_bucket` (string): Wasabi region
176
- * `wasabi_region` (string): Wasabi Bucket name
186
+ * `wasabi_bucket` (string): Wasabi Bucket name
187
+ * `wasabi_region` (string): Wasabi region
177
188
  * `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
178
189
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
179
190
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
180
191
  * `one_drive_account_type` (string): Either personal or business_other account types
181
192
  * `azure_blob_storage_account` (string): Azure Blob Storage Account name
182
193
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
194
+ * `s3_compatible_bucket` (string): S3-compatible Bucket name
195
+ * `s3_compatible_region` (string): S3-compatible Bucket name
196
+ * `s3_compatible_endpoint` (string): S3-compatible endpoint
197
+ * `s3_compatible_access_key` (string): S3-compatible access key
198
+ * `s3_compatible_secret_key` (string): S3-compatible secret key
183
199
 
184
200
 
185
201
  ---
@@ -204,14 +220,17 @@ Files::RemoteServer.update(id,
204
220
  google_cloud_storage_project_id: "my-project",
205
221
  backblaze_b2_bucket: "my-bucket",
206
222
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
207
- wasabi_bucket: "us-west-1",
208
- wasabi_region: "my-bucket",
223
+ wasabi_bucket: "my-bucket",
224
+ wasabi_region: "us-west-1",
209
225
  rackspace_username: "rackspaceuser",
210
226
  rackspace_region: "dfw",
211
227
  rackspace_container: "my-container",
212
228
  one_drive_account_type: "personal",
213
229
  azure_blob_storage_account: "storage-account-name",
214
- azure_blob_storage_container: "container-name"
230
+ azure_blob_storage_container: "container-name",
231
+ s3_compatible_bucket: "my-bucket",
232
+ s3_compatible_region: "us-east-1",
233
+ s3_compatible_endpoint: "mys3platform.com"
215
234
  )
216
235
  ```
217
236
 
@@ -246,14 +265,19 @@ Files::RemoteServer.update(id,
246
265
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
247
266
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
248
267
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
249
- * `wasabi_bucket` (string): Wasabi region
250
- * `wasabi_region` (string): Wasabi Bucket name
268
+ * `wasabi_bucket` (string): Wasabi Bucket name
269
+ * `wasabi_region` (string): Wasabi region
251
270
  * `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
252
271
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
253
272
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
254
273
  * `one_drive_account_type` (string): Either personal or business_other account types
255
274
  * `azure_blob_storage_account` (string): Azure Blob Storage Account name
256
275
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
276
+ * `s3_compatible_bucket` (string): S3-compatible Bucket name
277
+ * `s3_compatible_region` (string): S3-compatible Bucket name
278
+ * `s3_compatible_endpoint` (string): S3-compatible endpoint
279
+ * `s3_compatible_access_key` (string): S3-compatible access key
280
+ * `s3_compatible_secret_key` (string): S3-compatible secret key
257
281
 
258
282
 
259
283
  ---
@@ -293,14 +317,17 @@ remote_server.update(
293
317
  google_cloud_storage_project_id: "my-project",
294
318
  backblaze_b2_bucket: "my-bucket",
295
319
  backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
296
- wasabi_bucket: "us-west-1",
297
- wasabi_region: "my-bucket",
320
+ wasabi_bucket: "my-bucket",
321
+ wasabi_region: "us-west-1",
298
322
  rackspace_username: "rackspaceuser",
299
323
  rackspace_region: "dfw",
300
324
  rackspace_container: "my-container",
301
325
  one_drive_account_type: "personal",
302
326
  azure_blob_storage_account: "storage-account-name",
303
- azure_blob_storage_container: "container-name"
327
+ azure_blob_storage_container: "container-name",
328
+ s3_compatible_bucket: "my-bucket",
329
+ s3_compatible_region: "us-east-1",
330
+ s3_compatible_endpoint: "mys3platform.com"
304
331
  )
305
332
  ```
306
333
 
@@ -335,14 +362,19 @@ remote_server.update(
335
362
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
336
363
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
337
364
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
338
- * `wasabi_bucket` (string): Wasabi region
339
- * `wasabi_region` (string): Wasabi Bucket name
365
+ * `wasabi_bucket` (string): Wasabi Bucket name
366
+ * `wasabi_region` (string): Wasabi region
340
367
  * `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
341
368
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
342
369
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
343
370
  * `one_drive_account_type` (string): Either personal or business_other account types
344
371
  * `azure_blob_storage_account` (string): Azure Blob Storage Account name
345
372
  * `azure_blob_storage_container` (string): Azure Blob Storage Container name
373
+ * `s3_compatible_bucket` (string): S3-compatible Bucket name
374
+ * `s3_compatible_region` (string): S3-compatible Bucket name
375
+ * `s3_compatible_endpoint` (string): S3-compatible endpoint
376
+ * `s3_compatible_access_key` (string): S3-compatible access key
377
+ * `s3_compatible_secret_key` (string): S3-compatible secret key
346
378
 
347
379
 
348
380
  ---
@@ -171,7 +171,7 @@ module Files
171
171
  @attributes[:backblaze_b2_bucket] = value
172
172
  end
173
173
 
174
- # string - Wasabi region
174
+ # string - Wasabi Bucket name
175
175
  def wasabi_bucket
176
176
  @attributes[:wasabi_bucket]
177
177
  end
@@ -180,7 +180,7 @@ module Files
180
180
  @attributes[:wasabi_bucket] = value
181
181
  end
182
182
 
183
- # string - Wasabi Bucket name
183
+ # string - Wasabi region
184
184
  def wasabi_region
185
185
  @attributes[:wasabi_region]
186
186
  end
@@ -270,6 +270,33 @@ module Files
270
270
  @attributes[:azure_blob_storage_container] = value
271
271
  end
272
272
 
273
+ # string - S3-compatible Bucket name
274
+ def s3_compatible_bucket
275
+ @attributes[:s3_compatible_bucket]
276
+ end
277
+
278
+ def s3_compatible_bucket=(value)
279
+ @attributes[:s3_compatible_bucket] = value
280
+ end
281
+
282
+ # string - S3-compatible Bucket name
283
+ def s3_compatible_region
284
+ @attributes[:s3_compatible_region]
285
+ end
286
+
287
+ def s3_compatible_region=(value)
288
+ @attributes[:s3_compatible_region] = value
289
+ end
290
+
291
+ # string - S3-compatible endpoint
292
+ def s3_compatible_endpoint
293
+ @attributes[:s3_compatible_endpoint]
294
+ end
295
+
296
+ def s3_compatible_endpoint=(value)
297
+ @attributes[:s3_compatible_endpoint] = value
298
+ end
299
+
273
300
  # string - AWS Access Key.
274
301
  def aws_access_key
275
302
  @attributes[:aws_access_key]
@@ -387,6 +414,24 @@ module Files
387
414
  @attributes[:azure_blob_storage_access_key] = value
388
415
  end
389
416
 
417
+ # string - S3-compatible access key
418
+ def s3_compatible_access_key
419
+ @attributes[:s3_compatible_access_key]
420
+ end
421
+
422
+ def s3_compatible_access_key=(value)
423
+ @attributes[:s3_compatible_access_key] = value
424
+ end
425
+
426
+ # string - S3-compatible secret key
427
+ def s3_compatible_secret_key
428
+ @attributes[:s3_compatible_secret_key]
429
+ end
430
+
431
+ def s3_compatible_secret_key=(value)
432
+ @attributes[:s3_compatible_secret_key] = value
433
+ end
434
+
390
435
  # Parameters:
391
436
  # aws_access_key - string - AWS Access Key.
392
437
  # aws_secret_key - string - AWS secret key.
@@ -416,14 +461,19 @@ module Files
416
461
  # google_cloud_storage_project_id - string - Google Cloud Project ID
417
462
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
418
463
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
419
- # wasabi_bucket - string - Wasabi region
420
- # wasabi_region - string - Wasabi Bucket name
464
+ # wasabi_bucket - string - Wasabi Bucket name
465
+ # wasabi_region - string - Wasabi region
421
466
  # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
422
467
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
423
468
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
424
469
  # one_drive_account_type - string - Either personal or business_other account types
425
470
  # azure_blob_storage_account - string - Azure Blob Storage Account name
426
471
  # azure_blob_storage_container - string - Azure Blob Storage Container name
472
+ # s3_compatible_bucket - string - S3-compatible Bucket name
473
+ # s3_compatible_region - string - S3-compatible Bucket name
474
+ # s3_compatible_endpoint - string - S3-compatible endpoint
475
+ # s3_compatible_access_key - string - S3-compatible access key
476
+ # s3_compatible_secret_key - string - S3-compatible secret key
427
477
  def update(params = {})
428
478
  params ||= {}
429
479
  params[:id] = @attributes[:id]
@@ -464,6 +514,11 @@ module Files
464
514
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
465
515
  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)
466
516
  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)
517
+ 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)
518
+ 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)
519
+ 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)
520
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
521
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
467
522
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
468
523
 
469
524
  Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
@@ -553,14 +608,19 @@ module Files
553
608
  # google_cloud_storage_project_id - string - Google Cloud Project ID
554
609
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
555
610
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
556
- # wasabi_bucket - string - Wasabi region
557
- # wasabi_region - string - Wasabi Bucket name
611
+ # wasabi_bucket - string - Wasabi Bucket name
612
+ # wasabi_region - string - Wasabi region
558
613
  # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
559
614
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
560
615
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
561
616
  # one_drive_account_type - string - Either personal or business_other account types
562
617
  # azure_blob_storage_account - string - Azure Blob Storage Account name
563
618
  # azure_blob_storage_container - string - Azure Blob Storage Container name
619
+ # s3_compatible_bucket - string - S3-compatible Bucket name
620
+ # s3_compatible_region - string - S3-compatible Bucket name
621
+ # s3_compatible_endpoint - string - S3-compatible endpoint
622
+ # s3_compatible_access_key - string - S3-compatible access key
623
+ # s3_compatible_secret_key - string - S3-compatible secret key
564
624
  def self.create(params = {}, options = {})
565
625
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
566
626
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
@@ -597,6 +657,11 @@ module Files
597
657
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
598
658
  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)
599
659
  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)
660
+ 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)
661
+ 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)
662
+ 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)
663
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
664
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
600
665
 
601
666
  response, options = Api.send_request("/remote_servers", :post, params, options)
602
667
  RemoteServer.new(response.data, options)
@@ -631,14 +696,19 @@ module Files
631
696
  # google_cloud_storage_project_id - string - Google Cloud Project ID
632
697
  # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
633
698
  # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
634
- # wasabi_bucket - string - Wasabi region
635
- # wasabi_region - string - Wasabi Bucket name
699
+ # wasabi_bucket - string - Wasabi Bucket name
700
+ # wasabi_region - string - Wasabi region
636
701
  # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
637
702
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
638
703
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
639
704
  # one_drive_account_type - string - Either personal or business_other account types
640
705
  # azure_blob_storage_account - string - Azure Blob Storage Account name
641
706
  # azure_blob_storage_container - string - Azure Blob Storage Container name
707
+ # s3_compatible_bucket - string - S3-compatible Bucket name
708
+ # s3_compatible_region - string - S3-compatible Bucket name
709
+ # s3_compatible_endpoint - string - S3-compatible endpoint
710
+ # s3_compatible_access_key - string - S3-compatible access key
711
+ # s3_compatible_secret_key - string - S3-compatible secret key
642
712
  def self.update(id, params = {}, options = {})
643
713
  params ||= {}
644
714
  params[:id] = id
@@ -678,6 +748,11 @@ module Files
678
748
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
679
749
  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)
680
750
  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)
751
+ 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)
752
+ 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)
753
+ 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)
754
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
755
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
681
756
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
682
757
 
683
758
  response, options = Api.send_request("/remote_servers/#{params[:id]}", :patch, params, options)
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.176
4
+ version: 1.0.177
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable