files.com 1.0.83 → 1.0.84

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 006441fb28a84982b4ee2960d7dac9521bc3da4cf322f94384d52d290364e05a
4
- data.tar.gz: f12f3f8953ba55bdc5e34cdd2729804385ea860a761e88ee8e88a0a30fa4e881
3
+ metadata.gz: 0741a8ed2013b476c86572a9d38dc4864c23febec027a8ffe466e6d3ebdba3e1
4
+ data.tar.gz: e1daa596cc9143d72ee07c06765f9e889150ac759cf8607ac53bedd1086098d0
5
5
  SHA512:
6
- metadata.gz: f9b2cef26cd02577de07509902c20690a0308425756c4c65630aee0580002ef6ec4ea7ed56055657f8c9172bdcba61fa2197ad173cd207f5641f8e34b44db18c
7
- data.tar.gz: 37fefaa5025389fae566ffeb3fce600102b5e1793f9bf1e3f63e6c05ef9c6a8ba42ba7ad9cd39e6a7eec457a4421161985421e83716d90299b7a6d7a6a6d81b6
6
+ metadata.gz: 7b5a662c8426e5fddfe6bab29d269f9b995ff45bf32448ce970f5200abad0d7d203afdc262e1bd0bc769b24dbee7d56120b66d6761a096ead04f92fddde9eb23
7
+ data.tar.gz: 336b27d99c16d94398fca3557624894e98553cab0f978936d49b517c6ec5784a3f875052e206f76cd61d2d98d5a0dc9d2df0d9fdaf27ae60bfea0d34f3ce5d90
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.83
1
+ 1.0.84
@@ -21,7 +21,7 @@
21
21
 
22
22
  ---
23
23
 
24
- ## List Ip Addresses
24
+ ## List IP Addresses associated with the current site
25
25
 
26
26
  ```
27
27
  Files::IpAddress.list(
@@ -29,7 +29,9 @@
29
29
  "auth_setup_link": "auth/:provider",
30
30
  "auth_status": "in_setup",
31
31
  "auth_account_name": "me@example.com",
32
- "one_drive_account_type": "personal"
32
+ "one_drive_account_type": "personal",
33
+ "azure_blob_storage_account": "storage-account-name",
34
+ "azure_blob_storage_container": "container-name"
33
35
  }
34
36
  ```
35
37
 
@@ -59,6 +61,8 @@
59
61
  * `auth_status` (string): Either `in_setup` or `complete`
60
62
  * `auth_account_name` (string): Describes the authorized account
61
63
  * `one_drive_account_type` (string): Either personal or business_other account types
64
+ * `azure_blob_storage_account` (string): Azure Blob Storage Account name
65
+ * `azure_blob_storage_container` (string): Azure Blob Storage Container name
62
66
  * `aws_access_key` (string): AWS Access Key.
63
67
  * `aws_secret_key` (string): AWS secret key.
64
68
  * `password` (string): Password if needed.
@@ -70,6 +74,7 @@
70
74
  * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
71
75
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
72
76
  * `reset_authentication` (boolean): Reset authenticated account
77
+ * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
73
78
 
74
79
 
75
80
  ---
@@ -130,7 +135,9 @@ Files::RemoteServer.create(
130
135
  rackspace_username: "rackspaceuser",
131
136
  rackspace_region: "dfw",
132
137
  rackspace_container: "my-container",
133
- one_drive_account_type: "personal"
138
+ one_drive_account_type: "personal",
139
+ azure_blob_storage_account: "storage-account-name",
140
+ azure_blob_storage_container: "container-name"
134
141
  )
135
142
  ```
136
143
 
@@ -147,6 +154,7 @@ Files::RemoteServer.create(
147
154
  * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
148
155
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
149
156
  * `reset_authentication` (boolean): Reset authenticated account
157
+ * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
150
158
  * `hostname` (string): Hostname or IP address
151
159
  * `name` (string): Internal name for your reference
152
160
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -168,6 +176,8 @@ Files::RemoteServer.create(
168
176
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
169
177
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
170
178
  * `one_drive_account_type` (string): Either personal or business_other account types
179
+ * `azure_blob_storage_account` (string): Azure Blob Storage Account name
180
+ * `azure_blob_storage_container` (string): Azure Blob Storage Container name
171
181
 
172
182
 
173
183
  ---
@@ -197,7 +207,9 @@ Files::RemoteServer.update(id,
197
207
  rackspace_username: "rackspaceuser",
198
208
  rackspace_region: "dfw",
199
209
  rackspace_container: "my-container",
200
- one_drive_account_type: "personal"
210
+ one_drive_account_type: "personal",
211
+ azure_blob_storage_account: "storage-account-name",
212
+ azure_blob_storage_container: "container-name"
201
213
  )
202
214
  ```
203
215
 
@@ -215,6 +227,7 @@ Files::RemoteServer.update(id,
215
227
  * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
216
228
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
217
229
  * `reset_authentication` (boolean): Reset authenticated account
230
+ * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
218
231
  * `hostname` (string): Hostname or IP address
219
232
  * `name` (string): Internal name for your reference
220
233
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -236,6 +249,8 @@ Files::RemoteServer.update(id,
236
249
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
237
250
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
238
251
  * `one_drive_account_type` (string): Either personal or business_other account types
252
+ * `azure_blob_storage_account` (string): Azure Blob Storage Account name
253
+ * `azure_blob_storage_container` (string): Azure Blob Storage Container name
239
254
 
240
255
 
241
256
  ---
@@ -280,7 +295,9 @@ remote_server.update(
280
295
  rackspace_username: "rackspaceuser",
281
296
  rackspace_region: "dfw",
282
297
  rackspace_container: "my-container",
283
- one_drive_account_type: "personal"
298
+ one_drive_account_type: "personal",
299
+ azure_blob_storage_account: "storage-account-name",
300
+ azure_blob_storage_container: "container-name"
284
301
  )
285
302
  ```
286
303
 
@@ -298,6 +315,7 @@ remote_server.update(
298
315
  * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
299
316
  * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
300
317
  * `reset_authentication` (boolean): Reset authenticated account
318
+ * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
301
319
  * `hostname` (string): Hostname or IP address
302
320
  * `name` (string): Internal name for your reference
303
321
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -319,6 +337,8 @@ remote_server.update(
319
337
  * `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
320
338
  * `rackspace_container` (string): The name of the container (top level directory) where files will sync.
321
339
  * `one_drive_account_type` (string): Either personal or business_other account types
340
+ * `azure_blob_storage_account` (string): Azure Blob Storage Account name
341
+ * `azure_blob_storage_container` (string): Azure Blob Storage Container name
322
342
 
323
343
 
324
344
  ---
@@ -243,6 +243,24 @@ module Files
243
243
  @attributes[:one_drive_account_type] = value
244
244
  end
245
245
 
246
+ # string - Azure Blob Storage Account name
247
+ def azure_blob_storage_account
248
+ @attributes[:azure_blob_storage_account]
249
+ end
250
+
251
+ def azure_blob_storage_account=(value)
252
+ @attributes[:azure_blob_storage_account] = value
253
+ end
254
+
255
+ # string - Azure Blob Storage Container name
256
+ def azure_blob_storage_container
257
+ @attributes[:azure_blob_storage_container]
258
+ end
259
+
260
+ def azure_blob_storage_container=(value)
261
+ @attributes[:azure_blob_storage_container] = value
262
+ end
263
+
246
264
  # string - AWS Access Key.
247
265
  def aws_access_key
248
266
  @attributes[:aws_access_key]
@@ -342,6 +360,15 @@ module Files
342
360
  @attributes[:reset_authentication] = value
343
361
  end
344
362
 
363
+ # string - Azure Blob Storage secret key.
364
+ def azure_blob_storage_access_key
365
+ @attributes[:azure_blob_storage_access_key]
366
+ end
367
+
368
+ def azure_blob_storage_access_key=(value)
369
+ @attributes[:azure_blob_storage_access_key] = value
370
+ end
371
+
345
372
  # Parameters:
346
373
  # aws_access_key - string - AWS Access Key.
347
374
  # aws_secret_key - string - AWS secret key.
@@ -354,6 +381,7 @@ module Files
354
381
  # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
355
382
  # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
356
383
  # reset_authentication - boolean - Reset authenticated account
384
+ # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
357
385
  # hostname - string - Hostname or IP address
358
386
  # name - string - Internal name for your reference
359
387
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -375,6 +403,8 @@ module Files
375
403
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
376
404
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
377
405
  # one_drive_account_type - string - Either personal or business_other account types
406
+ # azure_blob_storage_account - string - Azure Blob Storage Account name
407
+ # azure_blob_storage_container - string - Azure Blob Storage Container name
378
408
  def update(params = {})
379
409
  params ||= {}
380
410
  params[:id] = @attributes[:id]
@@ -390,6 +420,7 @@ module Files
390
420
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params.dig(:backblaze_b2_key_id) and !params.dig(:backblaze_b2_key_id).is_a?(String)
391
421
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
392
422
  raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
423
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
393
424
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
394
425
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
395
426
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -411,6 +442,8 @@ module Files
411
442
  raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
412
443
  raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
413
444
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
445
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
446
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
414
447
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
415
448
 
416
449
  Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
@@ -486,6 +519,7 @@ module Files
486
519
  # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
487
520
  # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
488
521
  # reset_authentication - boolean - Reset authenticated account
522
+ # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
489
523
  # hostname - string - Hostname or IP address
490
524
  # name - string - Internal name for your reference
491
525
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -507,6 +541,8 @@ module Files
507
541
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
508
542
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
509
543
  # one_drive_account_type - string - Either personal or business_other account types
544
+ # azure_blob_storage_account - string - Azure Blob Storage Account name
545
+ # azure_blob_storage_container - string - Azure Blob Storage Container name
510
546
  def self.create(params = {}, options = {})
511
547
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
512
548
  raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
@@ -518,6 +554,7 @@ module Files
518
554
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params.dig(:backblaze_b2_key_id) and !params.dig(:backblaze_b2_key_id).is_a?(String)
519
555
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
520
556
  raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
557
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
521
558
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
522
559
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
523
560
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -539,6 +576,8 @@ module Files
539
576
  raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
540
577
  raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
541
578
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
579
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
580
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
542
581
 
543
582
  response, options = Api.send_request("/remote_servers", :post, params, options)
544
583
  RemoteServer.new(response.data, options)
@@ -556,6 +595,7 @@ module Files
556
595
  # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
557
596
  # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
558
597
  # reset_authentication - boolean - Reset authenticated account
598
+ # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
559
599
  # hostname - string - Hostname or IP address
560
600
  # name - string - Internal name for your reference
561
601
  # max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -577,6 +617,8 @@ module Files
577
617
  # rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
578
618
  # rackspace_container - string - The name of the container (top level directory) where files will sync.
579
619
  # one_drive_account_type - string - Either personal or business_other account types
620
+ # azure_blob_storage_account - string - Azure Blob Storage Account name
621
+ # azure_blob_storage_container - string - Azure Blob Storage Container name
580
622
  def self.update(id, params = {}, options = {})
581
623
  params ||= {}
582
624
  params[:id] = id
@@ -591,6 +633,7 @@ module Files
591
633
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params.dig(:backblaze_b2_key_id) and !params.dig(:backblaze_b2_key_id).is_a?(String)
592
634
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
593
635
  raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
636
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
594
637
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
595
638
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
596
639
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -612,6 +655,8 @@ module Files
612
655
  raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
613
656
  raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
614
657
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
658
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
659
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
615
660
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
616
661
 
617
662
  response, options = Api.send_request("/remote_servers/#{params[:id]}", :patch, params, options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.83
4
+ version: 1.0.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com