files.com 1.1.246 → 1.1.247

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.
@@ -171,7 +171,7 @@ module Files
171
171
  @attributes[:username] = value
172
172
  end
173
173
 
174
- # string - Google Cloud Storage bucket name
174
+ # string - Google Cloud Storage: Bucket Name
175
175
  def google_cloud_storage_bucket
176
176
  @attributes[:google_cloud_storage_bucket]
177
177
  end
@@ -180,7 +180,7 @@ module Files
180
180
  @attributes[:google_cloud_storage_bucket] = value
181
181
  end
182
182
 
183
- # string - Google Cloud Project ID
183
+ # string - Google Cloud Storage: Project ID
184
184
  def google_cloud_storage_project_id
185
185
  @attributes[:google_cloud_storage_project_id]
186
186
  end
@@ -189,7 +189,25 @@ module Files
189
189
  @attributes[:google_cloud_storage_project_id] = value
190
190
  end
191
191
 
192
- # string - Backblaze B2 Cloud Storage S3 Endpoint
192
+ # string - Google Cloud Storage: Region
193
+ def google_cloud_storage_region
194
+ @attributes[:google_cloud_storage_region]
195
+ end
196
+
197
+ def google_cloud_storage_region=(value)
198
+ @attributes[:google_cloud_storage_region] = value
199
+ end
200
+
201
+ # string - Google Cloud Storage: S3-compatible Access Key.
202
+ def google_cloud_storage_s3_compatible_access_key
203
+ @attributes[:google_cloud_storage_s3_compatible_access_key]
204
+ end
205
+
206
+ def google_cloud_storage_s3_compatible_access_key=(value)
207
+ @attributes[:google_cloud_storage_s3_compatible_access_key] = value
208
+ end
209
+
210
+ # string - Backblaze B2 Cloud Storage: S3 Endpoint
193
211
  def backblaze_b2_s3_endpoint
194
212
  @attributes[:backblaze_b2_s3_endpoint]
195
213
  end
@@ -198,7 +216,7 @@ module Files
198
216
  @attributes[:backblaze_b2_s3_endpoint] = value
199
217
  end
200
218
 
201
- # string - Backblaze B2 Cloud Storage Bucket name
219
+ # string - Backblaze B2 Cloud Storage: Bucket name
202
220
  def backblaze_b2_bucket
203
221
  @attributes[:backblaze_b2_bucket]
204
222
  end
@@ -207,7 +225,7 @@ module Files
207
225
  @attributes[:backblaze_b2_bucket] = value
208
226
  end
209
227
 
210
- # string - Wasabi Bucket name
228
+ # string - Wasabi: Bucket name
211
229
  def wasabi_bucket
212
230
  @attributes[:wasabi_bucket]
213
231
  end
@@ -216,7 +234,7 @@ module Files
216
234
  @attributes[:wasabi_bucket] = value
217
235
  end
218
236
 
219
- # string - Wasabi region
237
+ # string - Wasabi: Region
220
238
  def wasabi_region
221
239
  @attributes[:wasabi_region]
222
240
  end
@@ -225,7 +243,7 @@ module Files
225
243
  @attributes[:wasabi_region] = value
226
244
  end
227
245
 
228
- # string - Wasabi access key.
246
+ # string - Wasabi: Access Key.
229
247
  def wasabi_access_key
230
248
  @attributes[:wasabi_access_key]
231
249
  end
@@ -234,7 +252,7 @@ module Files
234
252
  @attributes[:wasabi_access_key] = value
235
253
  end
236
254
 
237
- # string - Rackspace username used to login to the Rackspace Cloud Control Panel.
255
+ # string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
238
256
  def rackspace_username
239
257
  @attributes[:rackspace_username]
240
258
  end
@@ -243,7 +261,7 @@ module Files
243
261
  @attributes[:rackspace_username] = value
244
262
  end
245
263
 
246
- # string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
264
+ # string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
247
265
  def rackspace_region
248
266
  @attributes[:rackspace_region]
249
267
  end
@@ -252,7 +270,7 @@ module Files
252
270
  @attributes[:rackspace_region] = value
253
271
  end
254
272
 
255
- # string - The name of the container (top level directory) where files will sync.
273
+ # string - Rackspace: The name of the container (top level directory) where files will sync.
256
274
  def rackspace_container
257
275
  @attributes[:rackspace_container]
258
276
  end
@@ -279,7 +297,7 @@ module Files
279
297
  @attributes[:auth_account_name] = value
280
298
  end
281
299
 
282
- # string - Either personal or business_other account types
300
+ # string - OneDrive: Either personal or business_other account types
283
301
  def one_drive_account_type
284
302
  @attributes[:one_drive_account_type]
285
303
  end
@@ -288,7 +306,7 @@ module Files
288
306
  @attributes[:one_drive_account_type] = value
289
307
  end
290
308
 
291
- # string - Azure Blob Storage Account name
309
+ # string - Azure Blob Storage: Account name
292
310
  def azure_blob_storage_account
293
311
  @attributes[:azure_blob_storage_account]
294
312
  end
@@ -297,7 +315,7 @@ module Files
297
315
  @attributes[:azure_blob_storage_account] = value
298
316
  end
299
317
 
300
- # string - Azure Blob Storage Container name
318
+ # string - Azure Blob Storage: Container name
301
319
  def azure_blob_storage_container
302
320
  @attributes[:azure_blob_storage_container]
303
321
  end
@@ -306,7 +324,7 @@ module Files
306
324
  @attributes[:azure_blob_storage_container] = value
307
325
  end
308
326
 
309
- # boolean - Enable when storage account has hierarchical namespace feature enabled
327
+ # boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
310
328
  def azure_blob_storage_hierarchical_namespace
311
329
  @attributes[:azure_blob_storage_hierarchical_namespace]
312
330
  end
@@ -315,7 +333,7 @@ module Files
315
333
  @attributes[:azure_blob_storage_hierarchical_namespace] = value
316
334
  end
317
335
 
318
- # string - Custom DNS suffix
336
+ # string - Azure Blob Storage: Custom DNS suffix
319
337
  def azure_blob_storage_dns_suffix
320
338
  @attributes[:azure_blob_storage_dns_suffix]
321
339
  end
@@ -324,7 +342,7 @@ module Files
324
342
  @attributes[:azure_blob_storage_dns_suffix] = value
325
343
  end
326
344
 
327
- # string - Azure File Storage Account name
345
+ # string - Azure Files: Storage Account name
328
346
  def azure_files_storage_account
329
347
  @attributes[:azure_files_storage_account]
330
348
  end
@@ -333,7 +351,7 @@ module Files
333
351
  @attributes[:azure_files_storage_account] = value
334
352
  end
335
353
 
336
- # string - Azure File Storage Share name
354
+ # string - Azure Files: Storage Share name
337
355
  def azure_files_storage_share_name
338
356
  @attributes[:azure_files_storage_share_name]
339
357
  end
@@ -342,7 +360,7 @@ module Files
342
360
  @attributes[:azure_files_storage_share_name] = value
343
361
  end
344
362
 
345
- # string - Custom DNS suffix
363
+ # string - Azure Files: Custom DNS suffix
346
364
  def azure_files_storage_dns_suffix
347
365
  @attributes[:azure_files_storage_dns_suffix]
348
366
  end
@@ -351,7 +369,7 @@ module Files
351
369
  @attributes[:azure_files_storage_dns_suffix] = value
352
370
  end
353
371
 
354
- # string - S3-compatible Bucket name
372
+ # string - S3-compatible: Bucket name
355
373
  def s3_compatible_bucket
356
374
  @attributes[:s3_compatible_bucket]
357
375
  end
@@ -360,7 +378,7 @@ module Files
360
378
  @attributes[:s3_compatible_bucket] = value
361
379
  end
362
380
 
363
- # string - S3-compatible endpoint
381
+ # string - S3-compatible: endpoint
364
382
  def s3_compatible_endpoint
365
383
  @attributes[:s3_compatible_endpoint]
366
384
  end
@@ -369,7 +387,7 @@ module Files
369
387
  @attributes[:s3_compatible_endpoint] = value
370
388
  end
371
389
 
372
- # string - S3-compatible endpoint
390
+ # string - S3-compatible: region
373
391
  def s3_compatible_region
374
392
  @attributes[:s3_compatible_region]
375
393
  end
@@ -378,7 +396,7 @@ module Files
378
396
  @attributes[:s3_compatible_region] = value
379
397
  end
380
398
 
381
- # string - S3-compatible Access Key.
399
+ # string - S3-compatible: Access Key
382
400
  def s3_compatible_access_key
383
401
  @attributes[:s3_compatible_access_key]
384
402
  end
@@ -432,7 +450,7 @@ module Files
432
450
  @attributes[:files_agent_version] = value
433
451
  end
434
452
 
435
- # string - Filebase Bucket name
453
+ # string - Filebase: Bucket name
436
454
  def filebase_bucket
437
455
  @attributes[:filebase_bucket]
438
456
  end
@@ -441,7 +459,7 @@ module Files
441
459
  @attributes[:filebase_bucket] = value
442
460
  end
443
461
 
444
- # string - Filebase Access Key.
462
+ # string - Filebase: Access Key.
445
463
  def filebase_access_key
446
464
  @attributes[:filebase_access_key]
447
465
  end
@@ -450,7 +468,7 @@ module Files
450
468
  @attributes[:filebase_access_key] = value
451
469
  end
452
470
 
453
- # string - Cloudflare Bucket name
471
+ # string - Cloudflare: Bucket name
454
472
  def cloudflare_bucket
455
473
  @attributes[:cloudflare_bucket]
456
474
  end
@@ -459,7 +477,7 @@ module Files
459
477
  @attributes[:cloudflare_bucket] = value
460
478
  end
461
479
 
462
- # string - Cloudflare Access Key.
480
+ # string - Cloudflare: Access Key.
463
481
  def cloudflare_access_key
464
482
  @attributes[:cloudflare_access_key]
465
483
  end
@@ -468,7 +486,7 @@ module Files
468
486
  @attributes[:cloudflare_access_key] = value
469
487
  end
470
488
 
471
- # string - Cloudflare endpoint
489
+ # string - Cloudflare: endpoint
472
490
  def cloudflare_endpoint
473
491
  @attributes[:cloudflare_endpoint]
474
492
  end
@@ -477,7 +495,7 @@ module Files
477
495
  @attributes[:cloudflare_endpoint] = value
478
496
  end
479
497
 
480
- # boolean - List Team folders in root
498
+ # boolean - Dropbox: If true, list Team folders in root?
481
499
  def dropbox_teams
482
500
  @attributes[:dropbox_teams]
483
501
  end
@@ -486,7 +504,7 @@ module Files
486
504
  @attributes[:dropbox_teams] = value
487
505
  end
488
506
 
489
- # string - Linode Bucket name
507
+ # string - Linode: Bucket name
490
508
  def linode_bucket
491
509
  @attributes[:linode_bucket]
492
510
  end
@@ -495,7 +513,7 @@ module Files
495
513
  @attributes[:linode_bucket] = value
496
514
  end
497
515
 
498
- # string - Linode Access Key.
516
+ # string - Linode: Access Key
499
517
  def linode_access_key
500
518
  @attributes[:linode_access_key]
501
519
  end
@@ -504,7 +522,7 @@ module Files
504
522
  @attributes[:linode_access_key] = value
505
523
  end
506
524
 
507
- # string - Linode region
525
+ # string - Linode: region
508
526
  def linode_region
509
527
  @attributes[:linode_region]
510
528
  end
@@ -522,16 +540,7 @@ module Files
522
540
  @attributes[:supports_versioning] = value
523
541
  end
524
542
 
525
- # string - AWS secret key.
526
- def aws_secret_key
527
- @attributes[:aws_secret_key]
528
- end
529
-
530
- def aws_secret_key=(value)
531
- @attributes[:aws_secret_key] = value
532
- end
533
-
534
- # string - Password if needed.
543
+ # string - Password, if needed.
535
544
  def password
536
545
  @attributes[:password]
537
546
  end
@@ -540,7 +549,7 @@ module Files
540
549
  @attributes[:password] = value
541
550
  end
542
551
 
543
- # string - Private key if needed.
552
+ # string - Private key, if needed.
544
553
  def private_key
545
554
  @attributes[:private_key]
546
555
  end
@@ -558,6 +567,15 @@ module Files
558
567
  @attributes[:private_key_passphrase] = value
559
568
  end
560
569
 
570
+ # boolean - Reset authenticated account?
571
+ def reset_authentication
572
+ @attributes[:reset_authentication]
573
+ end
574
+
575
+ def reset_authentication=(value)
576
+ @attributes[:reset_authentication] = value
577
+ end
578
+
561
579
  # string - SSL client certificate.
562
580
  def ssl_certificate
563
581
  @attributes[:ssl_certificate]
@@ -567,130 +585,139 @@ module Files
567
585
  @attributes[:ssl_certificate] = value
568
586
  end
569
587
 
570
- # string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
571
- def google_cloud_storage_credentials_json
572
- @attributes[:google_cloud_storage_credentials_json]
588
+ # string - AWS: secret key.
589
+ def aws_secret_key
590
+ @attributes[:aws_secret_key]
573
591
  end
574
592
 
575
- def google_cloud_storage_credentials_json=(value)
576
- @attributes[:google_cloud_storage_credentials_json] = value
593
+ def aws_secret_key=(value)
594
+ @attributes[:aws_secret_key] = value
577
595
  end
578
596
 
579
- # string - Wasabi secret key.
580
- def wasabi_secret_key
581
- @attributes[:wasabi_secret_key]
597
+ # string - Azure Blob Storage: Access Key
598
+ def azure_blob_storage_access_key
599
+ @attributes[:azure_blob_storage_access_key]
582
600
  end
583
601
 
584
- def wasabi_secret_key=(value)
585
- @attributes[:wasabi_secret_key] = value
602
+ def azure_blob_storage_access_key=(value)
603
+ @attributes[:azure_blob_storage_access_key] = value
586
604
  end
587
605
 
588
- # string - Backblaze B2 Cloud Storage keyID.
589
- def backblaze_b2_key_id
590
- @attributes[:backblaze_b2_key_id]
606
+ # string - Azure Blob Storage: Shared Access Signature (SAS) token
607
+ def azure_blob_storage_sas_token
608
+ @attributes[:azure_blob_storage_sas_token]
591
609
  end
592
610
 
593
- def backblaze_b2_key_id=(value)
594
- @attributes[:backblaze_b2_key_id] = value
611
+ def azure_blob_storage_sas_token=(value)
612
+ @attributes[:azure_blob_storage_sas_token] = value
595
613
  end
596
614
 
597
- # string - Backblaze B2 Cloud Storage applicationKey.
598
- def backblaze_b2_application_key
599
- @attributes[:backblaze_b2_application_key]
615
+ # string - Azure File Storage: Access Key
616
+ def azure_files_storage_access_key
617
+ @attributes[:azure_files_storage_access_key]
600
618
  end
601
619
 
602
- def backblaze_b2_application_key=(value)
603
- @attributes[:backblaze_b2_application_key] = value
620
+ def azure_files_storage_access_key=(value)
621
+ @attributes[:azure_files_storage_access_key] = value
604
622
  end
605
623
 
606
- # string - Rackspace API key from the Rackspace Cloud Control Panel.
607
- def rackspace_api_key
608
- @attributes[:rackspace_api_key]
624
+ # string - Azure File Storage: Shared Access Signature (SAS) token
625
+ def azure_files_storage_sas_token
626
+ @attributes[:azure_files_storage_sas_token]
609
627
  end
610
628
 
611
- def rackspace_api_key=(value)
612
- @attributes[:rackspace_api_key] = value
629
+ def azure_files_storage_sas_token=(value)
630
+ @attributes[:azure_files_storage_sas_token] = value
613
631
  end
614
632
 
615
- # boolean - Reset authenticated account
616
- def reset_authentication
617
- @attributes[:reset_authentication]
633
+ # string - Backblaze B2 Cloud Storage: applicationKey
634
+ def backblaze_b2_application_key
635
+ @attributes[:backblaze_b2_application_key]
618
636
  end
619
637
 
620
- def reset_authentication=(value)
621
- @attributes[:reset_authentication] = value
638
+ def backblaze_b2_application_key=(value)
639
+ @attributes[:backblaze_b2_application_key] = value
622
640
  end
623
641
 
624
- # string - Azure Blob Storage secret key.
625
- def azure_blob_storage_access_key
626
- @attributes[:azure_blob_storage_access_key]
642
+ # string - Backblaze B2 Cloud Storage: keyID
643
+ def backblaze_b2_key_id
644
+ @attributes[:backblaze_b2_key_id]
627
645
  end
628
646
 
629
- def azure_blob_storage_access_key=(value)
630
- @attributes[:azure_blob_storage_access_key] = value
647
+ def backblaze_b2_key_id=(value)
648
+ @attributes[:backblaze_b2_key_id] = value
631
649
  end
632
650
 
633
- # string - Azure File Storage access key.
634
- def azure_files_storage_access_key
635
- @attributes[:azure_files_storage_access_key]
651
+ # string - Cloudflare: Secret Key
652
+ def cloudflare_secret_key
653
+ @attributes[:cloudflare_secret_key]
636
654
  end
637
655
 
638
- def azure_files_storage_access_key=(value)
639
- @attributes[:azure_files_storage_access_key] = value
656
+ def cloudflare_secret_key=(value)
657
+ @attributes[:cloudflare_secret_key] = value
640
658
  end
641
659
 
642
- # string - Shared Access Signature (SAS) token
643
- def azure_blob_storage_sas_token
644
- @attributes[:azure_blob_storage_sas_token]
660
+ # string - Filebase: Secret Key
661
+ def filebase_secret_key
662
+ @attributes[:filebase_secret_key]
645
663
  end
646
664
 
647
- def azure_blob_storage_sas_token=(value)
648
- @attributes[:azure_blob_storage_sas_token] = value
665
+ def filebase_secret_key=(value)
666
+ @attributes[:filebase_secret_key] = value
649
667
  end
650
668
 
651
- # string - Shared Access Signature (SAS) token
652
- def azure_files_storage_sas_token
653
- @attributes[:azure_files_storage_sas_token]
669
+ # string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
670
+ def google_cloud_storage_credentials_json
671
+ @attributes[:google_cloud_storage_credentials_json]
654
672
  end
655
673
 
656
- def azure_files_storage_sas_token=(value)
657
- @attributes[:azure_files_storage_sas_token] = value
674
+ def google_cloud_storage_credentials_json=(value)
675
+ @attributes[:google_cloud_storage_credentials_json] = value
658
676
  end
659
677
 
660
- # string - S3-compatible secret key
661
- def s3_compatible_secret_key
662
- @attributes[:s3_compatible_secret_key]
678
+ # string - Google Cloud Storage: S3-compatible secret key
679
+ def google_cloud_storage_s3_compatible_secret_key
680
+ @attributes[:google_cloud_storage_s3_compatible_secret_key]
663
681
  end
664
682
 
665
- def s3_compatible_secret_key=(value)
666
- @attributes[:s3_compatible_secret_key] = value
683
+ def google_cloud_storage_s3_compatible_secret_key=(value)
684
+ @attributes[:google_cloud_storage_s3_compatible_secret_key] = value
667
685
  end
668
686
 
669
- # string - Filebase secret key
670
- def filebase_secret_key
671
- @attributes[:filebase_secret_key]
687
+ # string - Linode: Secret Key
688
+ def linode_secret_key
689
+ @attributes[:linode_secret_key]
672
690
  end
673
691
 
674
- def filebase_secret_key=(value)
675
- @attributes[:filebase_secret_key] = value
692
+ def linode_secret_key=(value)
693
+ @attributes[:linode_secret_key] = value
676
694
  end
677
695
 
678
- # string - Cloudflare secret key
679
- def cloudflare_secret_key
680
- @attributes[:cloudflare_secret_key]
696
+ # string - Rackspace: API key from the Rackspace Cloud Control Panel
697
+ def rackspace_api_key
698
+ @attributes[:rackspace_api_key]
681
699
  end
682
700
 
683
- def cloudflare_secret_key=(value)
684
- @attributes[:cloudflare_secret_key] = value
701
+ def rackspace_api_key=(value)
702
+ @attributes[:rackspace_api_key] = value
685
703
  end
686
704
 
687
- # string - Linode secret key
688
- def linode_secret_key
689
- @attributes[:linode_secret_key]
705
+ # string - S3-compatible: Secret Key
706
+ def s3_compatible_secret_key
707
+ @attributes[:s3_compatible_secret_key]
690
708
  end
691
709
 
692
- def linode_secret_key=(value)
693
- @attributes[:linode_secret_key] = value
710
+ def s3_compatible_secret_key=(value)
711
+ @attributes[:s3_compatible_secret_key] = value
712
+ end
713
+
714
+ # string - Wasabi: Secret Key
715
+ def wasabi_secret_key
716
+ @attributes[:wasabi_secret_key]
717
+ end
718
+
719
+ def wasabi_secret_key=(value)
720
+ @attributes[:wasabi_secret_key] = value
694
721
  end
695
722
 
696
723
  # Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
@@ -729,140 +756,146 @@ module Files
729
756
  end
730
757
 
731
758
  # Parameters:
732
- # aws_access_key - string - AWS Access Key.
733
- # aws_secret_key - string - AWS secret key.
734
- # password - string - Password if needed.
735
- # private_key - string - Private key if needed.
759
+ # password - string - Password, if needed.
760
+ # private_key - string - Private key, if needed.
736
761
  # private_key_passphrase - string - Passphrase for private key if needed.
762
+ # reset_authentication - boolean - Reset authenticated account?
737
763
  # ssl_certificate - string - SSL client certificate.
738
- # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
739
- # wasabi_access_key - string - Wasabi access key.
740
- # wasabi_secret_key - string - Wasabi secret key.
741
- # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
742
- # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
743
- # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
744
- # reset_authentication - boolean - Reset authenticated account
745
- # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
746
- # azure_files_storage_access_key - string - Azure File Storage access key.
764
+ # aws_secret_key - string - AWS: secret key.
765
+ # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
766
+ # azure_blob_storage_sas_token - string - Azure Blob Storage: Shared Access Signature (SAS) token
767
+ # azure_files_storage_access_key - string - Azure File Storage: Access Key
768
+ # azure_files_storage_sas_token - string - Azure File Storage: Shared Access Signature (SAS) token
769
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage: applicationKey
770
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage: keyID
771
+ # cloudflare_secret_key - string - Cloudflare: Secret Key
772
+ # filebase_secret_key - string - Filebase: Secret Key
773
+ # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
774
+ # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
775
+ # linode_secret_key - string - Linode: Secret Key
776
+ # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
777
+ # s3_compatible_secret_key - string - S3-compatible: Secret Key
778
+ # wasabi_secret_key - string - Wasabi: Secret Key
779
+ # aws_access_key - string - AWS Access Key.
780
+ # azure_blob_storage_account - string - Azure Blob Storage: Account name
781
+ # azure_blob_storage_container - string - Azure Blob Storage: Container name
782
+ # azure_blob_storage_dns_suffix - string - Azure Blob Storage: Custom DNS suffix
783
+ # azure_blob_storage_hierarchical_namespace - boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
784
+ # azure_files_storage_account - string - Azure Files: Storage Account name
785
+ # azure_files_storage_dns_suffix - string - Azure Files: Custom DNS suffix
786
+ # azure_files_storage_share_name - string - Azure Files: Storage Share name
787
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
788
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
789
+ # cloudflare_access_key - string - Cloudflare: Access Key.
790
+ # cloudflare_bucket - string - Cloudflare: Bucket name
791
+ # cloudflare_endpoint - string - Cloudflare: endpoint
792
+ # dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
793
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
794
+ # filebase_access_key - string - Filebase: Access Key.
795
+ # filebase_bucket - string - Filebase: Bucket name
796
+ # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
797
+ # files_agent_root - string - Agent local root path
798
+ # files_agent_version - string - Files Agent version
799
+ # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
800
+ # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
801
+ # google_cloud_storage_region - string - Google Cloud Storage: Region
802
+ # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
747
803
  # hostname - string - Hostname or IP address
748
- # name - string - Internal name for your reference
804
+ # linode_access_key - string - Linode: Access Key
805
+ # linode_bucket - string - Linode: Bucket name
806
+ # linode_region - string - Linode: region
749
807
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
808
+ # name - string - Internal name for your reference
809
+ # one_drive_account_type - string - OneDrive: Either personal or business_other account types
750
810
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
751
811
  # port - int64 - Port for remote server. Not needed for S3.
812
+ # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
813
+ # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
814
+ # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
752
815
  # s3_bucket - string - S3 bucket name
816
+ # s3_compatible_access_key - string - S3-compatible: Access Key
817
+ # s3_compatible_bucket - string - S3-compatible: Bucket name
818
+ # s3_compatible_endpoint - string - S3-compatible: endpoint
819
+ # s3_compatible_region - string - S3-compatible: region
753
820
  # s3_region - string - S3 region
754
821
  # server_certificate - string - Remote server certificate
755
822
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
756
823
  # server_type - string - Remote server type.
757
824
  # ssl - string - Should we require SSL?
758
825
  # username - string - Remote server username. Not needed for S3 buckets.
759
- # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
760
- # google_cloud_storage_project_id - string - Google Cloud Project ID
761
- # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
762
- # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
763
- # wasabi_bucket - string - Wasabi Bucket name
764
- # wasabi_region - string - Wasabi region
765
- # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
766
- # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
767
- # rackspace_container - string - The name of the container (top level directory) where files will sync.
768
- # one_drive_account_type - string - Either personal or business_other account types
769
- # azure_blob_storage_account - string - Azure Blob Storage Account name
770
- # azure_blob_storage_container - string - Azure Blob Storage Container name
771
- # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
772
- # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
773
- # azure_blob_storage_dns_suffix - string - Custom DNS suffix
774
- # azure_files_storage_account - string - Azure File Storage Account name
775
- # azure_files_storage_share_name - string - Azure File Storage Share name
776
- # azure_files_storage_dns_suffix - string - Custom DNS suffix
777
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
778
- # s3_compatible_bucket - string - S3-compatible Bucket name
779
- # s3_compatible_endpoint - string - S3-compatible endpoint
780
- # s3_compatible_region - string - S3-compatible endpoint
781
- # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
782
- # s3_compatible_access_key - string - S3-compatible Access Key.
783
- # s3_compatible_secret_key - string - S3-compatible secret key
784
- # files_agent_root - string - Agent local root path
785
- # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
786
- # files_agent_version - string - Files Agent version
787
- # filebase_access_key - string - Filebase Access Key.
788
- # filebase_secret_key - string - Filebase secret key
789
- # filebase_bucket - string - Filebase Bucket name
790
- # cloudflare_access_key - string - Cloudflare Access Key.
791
- # cloudflare_secret_key - string - Cloudflare secret key
792
- # cloudflare_bucket - string - Cloudflare Bucket name
793
- # cloudflare_endpoint - string - Cloudflare endpoint
794
- # dropbox_teams - boolean - List Team folders in root
795
- # linode_access_key - string - Linode Access Key.
796
- # linode_secret_key - string - Linode secret key
797
- # linode_bucket - string - Linode Bucket name
798
- # linode_region - string - Linode region
826
+ # wasabi_access_key - string - Wasabi: Access Key.
827
+ # wasabi_bucket - string - Wasabi: Bucket name
828
+ # wasabi_region - string - Wasabi: Region
799
829
  def update(params = {})
800
830
  params ||= {}
801
831
  params[:id] = @attributes[:id]
802
832
  raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
803
833
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
804
- raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
805
- raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
806
834
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
807
835
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
808
836
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
809
837
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
810
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
811
- raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
812
- raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
813
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
814
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
815
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
838
+ raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
816
839
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
840
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
817
841
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params[:azure_files_storage_access_key] and !params[:azure_files_storage_access_key].is_a?(String)
842
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
843
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
844
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
845
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
846
+ raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
847
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
848
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
849
+ raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
850
+ raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
851
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
852
+ raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
853
+ raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
854
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
855
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
856
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
857
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
858
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
859
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
860
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
861
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
862
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
863
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
864
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
865
+ raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
866
+ raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
867
+ raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
868
+ raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
869
+ raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
870
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
871
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
872
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
873
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
818
874
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
819
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
875
+ raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
876
+ raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
877
+ raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
820
878
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params[:max_connections] and !params[:max_connections].is_a?(Integer)
879
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
880
+ raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
821
881
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
882
+ raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
883
+ raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
884
+ raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
822
885
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
886
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
887
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
888
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
889
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
823
890
  raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
824
891
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
825
892
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
826
893
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
827
894
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
828
895
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
829
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
830
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
831
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
832
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
896
+ raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
833
897
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params[:wasabi_bucket] and !params[:wasabi_bucket].is_a?(String)
834
898
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params[:wasabi_region] and !params[:wasabi_region].is_a?(String)
835
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
836
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
837
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
838
- raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
839
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
840
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
841
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
842
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
843
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
844
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
845
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
846
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
847
- raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
848
- raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
849
- raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
850
- raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
851
- raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
852
- raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
853
- raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
854
- raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
855
- raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
856
- raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
857
- raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
858
- raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
859
- raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
860
- raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
861
- raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
862
- raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
863
- raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
864
- raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
865
- raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
866
899
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
867
900
 
868
901
  Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
@@ -945,136 +978,142 @@ module Files
945
978
  end
946
979
 
947
980
  # Parameters:
948
- # aws_access_key - string - AWS Access Key.
949
- # aws_secret_key - string - AWS secret key.
950
- # password - string - Password if needed.
951
- # private_key - string - Private key if needed.
981
+ # password - string - Password, if needed.
982
+ # private_key - string - Private key, if needed.
952
983
  # private_key_passphrase - string - Passphrase for private key if needed.
984
+ # reset_authentication - boolean - Reset authenticated account?
953
985
  # ssl_certificate - string - SSL client certificate.
954
- # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
955
- # wasabi_access_key - string - Wasabi access key.
956
- # wasabi_secret_key - string - Wasabi secret key.
957
- # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
958
- # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
959
- # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
960
- # reset_authentication - boolean - Reset authenticated account
961
- # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
962
- # azure_files_storage_access_key - string - Azure File Storage access key.
986
+ # aws_secret_key - string - AWS: secret key.
987
+ # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
988
+ # azure_blob_storage_sas_token - string - Azure Blob Storage: Shared Access Signature (SAS) token
989
+ # azure_files_storage_access_key - string - Azure File Storage: Access Key
990
+ # azure_files_storage_sas_token - string - Azure File Storage: Shared Access Signature (SAS) token
991
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage: applicationKey
992
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage: keyID
993
+ # cloudflare_secret_key - string - Cloudflare: Secret Key
994
+ # filebase_secret_key - string - Filebase: Secret Key
995
+ # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
996
+ # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
997
+ # linode_secret_key - string - Linode: Secret Key
998
+ # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
999
+ # s3_compatible_secret_key - string - S3-compatible: Secret Key
1000
+ # wasabi_secret_key - string - Wasabi: Secret Key
1001
+ # aws_access_key - string - AWS Access Key.
1002
+ # azure_blob_storage_account - string - Azure Blob Storage: Account name
1003
+ # azure_blob_storage_container - string - Azure Blob Storage: Container name
1004
+ # azure_blob_storage_dns_suffix - string - Azure Blob Storage: Custom DNS suffix
1005
+ # azure_blob_storage_hierarchical_namespace - boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
1006
+ # azure_files_storage_account - string - Azure Files: Storage Account name
1007
+ # azure_files_storage_dns_suffix - string - Azure Files: Custom DNS suffix
1008
+ # azure_files_storage_share_name - string - Azure Files: Storage Share name
1009
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
1010
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
1011
+ # cloudflare_access_key - string - Cloudflare: Access Key.
1012
+ # cloudflare_bucket - string - Cloudflare: Bucket name
1013
+ # cloudflare_endpoint - string - Cloudflare: endpoint
1014
+ # dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
1015
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1016
+ # filebase_access_key - string - Filebase: Access Key.
1017
+ # filebase_bucket - string - Filebase: Bucket name
1018
+ # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1019
+ # files_agent_root - string - Agent local root path
1020
+ # files_agent_version - string - Files Agent version
1021
+ # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1022
+ # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1023
+ # google_cloud_storage_region - string - Google Cloud Storage: Region
1024
+ # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
963
1025
  # hostname - string - Hostname or IP address
964
- # name - string - Internal name for your reference
1026
+ # linode_access_key - string - Linode: Access Key
1027
+ # linode_bucket - string - Linode: Bucket name
1028
+ # linode_region - string - Linode: region
965
1029
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1030
+ # name - string - Internal name for your reference
1031
+ # one_drive_account_type - string - OneDrive: Either personal or business_other account types
966
1032
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
967
1033
  # port - int64 - Port for remote server. Not needed for S3.
1034
+ # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
1035
+ # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1036
+ # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
968
1037
  # s3_bucket - string - S3 bucket name
1038
+ # s3_compatible_access_key - string - S3-compatible: Access Key
1039
+ # s3_compatible_bucket - string - S3-compatible: Bucket name
1040
+ # s3_compatible_endpoint - string - S3-compatible: endpoint
1041
+ # s3_compatible_region - string - S3-compatible: region
969
1042
  # s3_region - string - S3 region
970
1043
  # server_certificate - string - Remote server certificate
971
1044
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
972
1045
  # server_type - string - Remote server type.
973
1046
  # ssl - string - Should we require SSL?
974
1047
  # username - string - Remote server username. Not needed for S3 buckets.
975
- # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
976
- # google_cloud_storage_project_id - string - Google Cloud Project ID
977
- # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
978
- # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
979
- # wasabi_bucket - string - Wasabi Bucket name
980
- # wasabi_region - string - Wasabi region
981
- # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
982
- # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
983
- # rackspace_container - string - The name of the container (top level directory) where files will sync.
984
- # one_drive_account_type - string - Either personal or business_other account types
985
- # azure_blob_storage_account - string - Azure Blob Storage Account name
986
- # azure_blob_storage_container - string - Azure Blob Storage Container name
987
- # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
988
- # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
989
- # azure_blob_storage_dns_suffix - string - Custom DNS suffix
990
- # azure_files_storage_account - string - Azure File Storage Account name
991
- # azure_files_storage_share_name - string - Azure File Storage Share name
992
- # azure_files_storage_dns_suffix - string - Custom DNS suffix
993
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
994
- # s3_compatible_bucket - string - S3-compatible Bucket name
995
- # s3_compatible_endpoint - string - S3-compatible endpoint
996
- # s3_compatible_region - string - S3-compatible endpoint
997
- # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
998
- # s3_compatible_access_key - string - S3-compatible Access Key.
999
- # s3_compatible_secret_key - string - S3-compatible secret key
1000
- # files_agent_root - string - Agent local root path
1001
- # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1002
- # files_agent_version - string - Files Agent version
1003
- # filebase_access_key - string - Filebase Access Key.
1004
- # filebase_secret_key - string - Filebase secret key
1005
- # filebase_bucket - string - Filebase Bucket name
1006
- # cloudflare_access_key - string - Cloudflare Access Key.
1007
- # cloudflare_secret_key - string - Cloudflare secret key
1008
- # cloudflare_bucket - string - Cloudflare Bucket name
1009
- # cloudflare_endpoint - string - Cloudflare endpoint
1010
- # dropbox_teams - boolean - List Team folders in root
1011
- # linode_access_key - string - Linode Access Key.
1012
- # linode_secret_key - string - Linode secret key
1013
- # linode_bucket - string - Linode Bucket name
1014
- # linode_region - string - Linode region
1048
+ # wasabi_access_key - string - Wasabi: Access Key.
1049
+ # wasabi_bucket - string - Wasabi: Bucket name
1050
+ # wasabi_region - string - Wasabi: Region
1015
1051
  def self.create(params = {}, options = {})
1016
- raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
1017
- raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1018
1052
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
1019
1053
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
1020
1054
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
1021
1055
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
1022
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1023
- raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
1024
- raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1025
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
1026
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
1027
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1056
+ raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1028
1057
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
1058
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1029
1059
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params[:azure_files_storage_access_key] and !params[:azure_files_storage_access_key].is_a?(String)
1060
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
1061
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
1062
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
1063
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
1064
+ raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
1065
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1066
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
1067
+ raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1068
+ raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1069
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1070
+ raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1071
+ raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
1072
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1073
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1074
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1075
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1076
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
1077
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1078
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1079
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1080
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1081
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1082
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
1083
+ raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
1084
+ raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
1085
+ raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
1086
+ raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
1087
+ raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1088
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1089
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1090
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
1091
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1030
1092
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
1031
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1093
+ raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
1094
+ raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
1095
+ raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
1032
1096
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params[:max_connections] and !params[:max_connections].is_a?(Integer)
1097
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1098
+ raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1033
1099
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1100
+ raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1101
+ raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1102
+ raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1034
1103
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1104
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1105
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
1106
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
1107
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
1035
1108
  raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
1036
1109
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
1037
1110
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
1038
1111
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
1039
1112
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
1040
1113
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1041
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1042
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1043
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1044
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1114
+ raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
1045
1115
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params[:wasabi_bucket] and !params[:wasabi_bucket].is_a?(String)
1046
1116
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params[:wasabi_region] and !params[:wasabi_region].is_a?(String)
1047
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1048
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1049
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1050
- raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1051
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1052
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1053
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1054
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1055
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1056
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1057
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
1058
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
1059
- raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
1060
- raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
1061
- raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
1062
- raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1063
- raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1064
- raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
1065
- raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
1066
- raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1067
- raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
1068
- raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
1069
- raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
1070
- raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1071
- raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
1072
- raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1073
- raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
1074
- raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
1075
- raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1076
- raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
1077
- raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
1078
1117
 
1079
1118
  response, options = Api.send_request("/remote_servers", :post, params, options)
1080
1119
  RemoteServer.new(response.data, options)
@@ -1116,139 +1155,145 @@ module Files
1116
1155
  end
1117
1156
 
1118
1157
  # Parameters:
1119
- # aws_access_key - string - AWS Access Key.
1120
- # aws_secret_key - string - AWS secret key.
1121
- # password - string - Password if needed.
1122
- # private_key - string - Private key if needed.
1158
+ # password - string - Password, if needed.
1159
+ # private_key - string - Private key, if needed.
1123
1160
  # private_key_passphrase - string - Passphrase for private key if needed.
1161
+ # reset_authentication - boolean - Reset authenticated account?
1124
1162
  # ssl_certificate - string - SSL client certificate.
1125
- # google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
1126
- # wasabi_access_key - string - Wasabi access key.
1127
- # wasabi_secret_key - string - Wasabi secret key.
1128
- # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
1129
- # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
1130
- # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
1131
- # reset_authentication - boolean - Reset authenticated account
1132
- # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
1133
- # azure_files_storage_access_key - string - Azure File Storage access key.
1163
+ # aws_secret_key - string - AWS: secret key.
1164
+ # azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
1165
+ # azure_blob_storage_sas_token - string - Azure Blob Storage: Shared Access Signature (SAS) token
1166
+ # azure_files_storage_access_key - string - Azure File Storage: Access Key
1167
+ # azure_files_storage_sas_token - string - Azure File Storage: Shared Access Signature (SAS) token
1168
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage: applicationKey
1169
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage: keyID
1170
+ # cloudflare_secret_key - string - Cloudflare: Secret Key
1171
+ # filebase_secret_key - string - Filebase: Secret Key
1172
+ # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
1173
+ # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
1174
+ # linode_secret_key - string - Linode: Secret Key
1175
+ # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
1176
+ # s3_compatible_secret_key - string - S3-compatible: Secret Key
1177
+ # wasabi_secret_key - string - Wasabi: Secret Key
1178
+ # aws_access_key - string - AWS Access Key.
1179
+ # azure_blob_storage_account - string - Azure Blob Storage: Account name
1180
+ # azure_blob_storage_container - string - Azure Blob Storage: Container name
1181
+ # azure_blob_storage_dns_suffix - string - Azure Blob Storage: Custom DNS suffix
1182
+ # azure_blob_storage_hierarchical_namespace - boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
1183
+ # azure_files_storage_account - string - Azure Files: Storage Account name
1184
+ # azure_files_storage_dns_suffix - string - Azure Files: Custom DNS suffix
1185
+ # azure_files_storage_share_name - string - Azure Files: Storage Share name
1186
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
1187
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
1188
+ # cloudflare_access_key - string - Cloudflare: Access Key.
1189
+ # cloudflare_bucket - string - Cloudflare: Bucket name
1190
+ # cloudflare_endpoint - string - Cloudflare: endpoint
1191
+ # dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
1192
+ # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1193
+ # filebase_access_key - string - Filebase: Access Key.
1194
+ # filebase_bucket - string - Filebase: Bucket name
1195
+ # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1196
+ # files_agent_root - string - Agent local root path
1197
+ # files_agent_version - string - Files Agent version
1198
+ # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1199
+ # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1200
+ # google_cloud_storage_region - string - Google Cloud Storage: Region
1201
+ # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1134
1202
  # hostname - string - Hostname or IP address
1135
- # name - string - Internal name for your reference
1203
+ # linode_access_key - string - Linode: Access Key
1204
+ # linode_bucket - string - Linode: Bucket name
1205
+ # linode_region - string - Linode: region
1136
1206
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1207
+ # name - string - Internal name for your reference
1208
+ # one_drive_account_type - string - OneDrive: Either personal or business_other account types
1137
1209
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
1138
1210
  # port - int64 - Port for remote server. Not needed for S3.
1211
+ # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
1212
+ # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1213
+ # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
1139
1214
  # s3_bucket - string - S3 bucket name
1215
+ # s3_compatible_access_key - string - S3-compatible: Access Key
1216
+ # s3_compatible_bucket - string - S3-compatible: Bucket name
1217
+ # s3_compatible_endpoint - string - S3-compatible: endpoint
1218
+ # s3_compatible_region - string - S3-compatible: region
1140
1219
  # s3_region - string - S3 region
1141
1220
  # server_certificate - string - Remote server certificate
1142
1221
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1143
1222
  # server_type - string - Remote server type.
1144
1223
  # ssl - string - Should we require SSL?
1145
1224
  # username - string - Remote server username. Not needed for S3 buckets.
1146
- # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
1147
- # google_cloud_storage_project_id - string - Google Cloud Project ID
1148
- # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
1149
- # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
1150
- # wasabi_bucket - string - Wasabi Bucket name
1151
- # wasabi_region - string - Wasabi region
1152
- # rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
1153
- # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1154
- # rackspace_container - string - The name of the container (top level directory) where files will sync.
1155
- # one_drive_account_type - string - Either personal or business_other account types
1156
- # azure_blob_storage_account - string - Azure Blob Storage Account name
1157
- # azure_blob_storage_container - string - Azure Blob Storage Container name
1158
- # azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
1159
- # azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
1160
- # azure_blob_storage_dns_suffix - string - Custom DNS suffix
1161
- # azure_files_storage_account - string - Azure File Storage Account name
1162
- # azure_files_storage_share_name - string - Azure File Storage Share name
1163
- # azure_files_storage_dns_suffix - string - Custom DNS suffix
1164
- # azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
1165
- # s3_compatible_bucket - string - S3-compatible Bucket name
1166
- # s3_compatible_endpoint - string - S3-compatible endpoint
1167
- # s3_compatible_region - string - S3-compatible endpoint
1168
- # enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1169
- # s3_compatible_access_key - string - S3-compatible Access Key.
1170
- # s3_compatible_secret_key - string - S3-compatible secret key
1171
- # files_agent_root - string - Agent local root path
1172
- # files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1173
- # files_agent_version - string - Files Agent version
1174
- # filebase_access_key - string - Filebase Access Key.
1175
- # filebase_secret_key - string - Filebase secret key
1176
- # filebase_bucket - string - Filebase Bucket name
1177
- # cloudflare_access_key - string - Cloudflare Access Key.
1178
- # cloudflare_secret_key - string - Cloudflare secret key
1179
- # cloudflare_bucket - string - Cloudflare Bucket name
1180
- # cloudflare_endpoint - string - Cloudflare endpoint
1181
- # dropbox_teams - boolean - List Team folders in root
1182
- # linode_access_key - string - Linode Access Key.
1183
- # linode_secret_key - string - Linode secret key
1184
- # linode_bucket - string - Linode Bucket name
1185
- # linode_region - string - Linode region
1225
+ # wasabi_access_key - string - Wasabi: Access Key.
1226
+ # wasabi_bucket - string - Wasabi: Bucket name
1227
+ # wasabi_region - string - Wasabi: Region
1186
1228
  def self.update(id, params = {}, options = {})
1187
1229
  params ||= {}
1188
1230
  params[:id] = id
1189
1231
  raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
1190
- raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
1191
- raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1192
1232
  raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
1193
1233
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
1194
1234
  raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params[:private_key_passphrase] and !params[:private_key_passphrase].is_a?(String)
1195
1235
  raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params[:ssl_certificate] and !params[:ssl_certificate].is_a?(String)
1196
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1197
- raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
1198
- raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1199
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
1200
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
1201
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1236
+ raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
1202
1237
  raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params[:azure_blob_storage_access_key] and !params[:azure_blob_storage_access_key].is_a?(String)
1238
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1203
1239
  raise InvalidParameterError.new("Bad parameter: azure_files_storage_access_key must be an String") if params[:azure_files_storage_access_key] and !params[:azure_files_storage_access_key].is_a?(String)
1240
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
1241
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params[:backblaze_b2_application_key] and !params[:backblaze_b2_application_key].is_a?(String)
1242
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params[:backblaze_b2_key_id] and !params[:backblaze_b2_key_id].is_a?(String)
1243
+ raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
1244
+ raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
1245
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1246
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
1247
+ raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1248
+ raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1249
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1250
+ raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1251
+ raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
1252
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1253
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1254
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1255
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1256
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
1257
+ raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1258
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1259
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1260
+ raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1261
+ raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1262
+ raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
1263
+ raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
1264
+ raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
1265
+ raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
1266
+ raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
1267
+ raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1268
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1269
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1270
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
1271
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1204
1272
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
1205
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1273
+ raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
1274
+ raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
1275
+ raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
1206
1276
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params[:max_connections] and !params[:max_connections].is_a?(Integer)
1277
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1278
+ raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1207
1279
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1280
+ raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1281
+ raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1282
+ raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1208
1283
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1284
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1285
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
1286
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
1287
+ raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
1209
1288
  raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params[:s3_region] and !params[:s3_region].is_a?(String)
1210
1289
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
1211
1290
  raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
1212
1291
  raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params[:server_type] and !params[:server_type].is_a?(String)
1213
1292
  raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params[:ssl] and !params[:ssl].is_a?(String)
1214
1293
  raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1215
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1216
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1217
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
1218
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
1294
+ raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params[:wasabi_access_key] and !params[:wasabi_access_key].is_a?(String)
1219
1295
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params[:wasabi_bucket] and !params[:wasabi_bucket].is_a?(String)
1220
1296
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params[:wasabi_region] and !params[:wasabi_region].is_a?(String)
1221
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1222
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1223
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1224
- raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1225
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
1226
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
1227
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
1228
- raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
1229
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
1230
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
1231
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
1232
- raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
1233
- raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
1234
- raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
1235
- raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params[:s3_compatible_region] and !params[:s3_compatible_region].is_a?(String)
1236
- raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1237
- raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1238
- raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
1239
- raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
1240
- raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1241
- raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
1242
- raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
1243
- raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
1244
- raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
1245
- raise InvalidParameterError.new("Bad parameter: cloudflare_secret_key must be an String") if params[:cloudflare_secret_key] and !params[:cloudflare_secret_key].is_a?(String)
1246
- raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
1247
- raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
1248
- raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
1249
- raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1250
- raise InvalidParameterError.new("Bad parameter: linode_bucket must be an String") if params[:linode_bucket] and !params[:linode_bucket].is_a?(String)
1251
- raise InvalidParameterError.new("Bad parameter: linode_region must be an String") if params[:linode_region] and !params[:linode_region].is_a?(String)
1252
1297
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1253
1298
 
1254
1299
  response, options = Api.send_request("/remote_servers/#{params[:id]}", :patch, params, options)