files.com 1.1.246 → 1.1.248

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