files.com 1.0.45 → 1.0.46

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: '08e2c52363d7f802f1635e25b4024133696039dd4ffade5c4d401be4a6234064'
4
- data.tar.gz: fd4e8a71310d6b1fbb023c402b21db3e54b4cc94f0aa833cf3f8df38dc4cbef2
3
+ metadata.gz: e2586721582cad1d4d26e6810a89aa572ba83459769d17f01b451a41cf573125
4
+ data.tar.gz: 15bb7c419a0da849c3a63fbdb3e5215ac580fd2e9d0575474758861af16681a8
5
5
  SHA512:
6
- metadata.gz: '0997a4140b141eab897c3e03ba1280de0ba336092eb1a347a920adbb0acedd476ab52f008c95fc5e4d54ee29ef6a88c9e659149e6b58d4c88d6d28b8cbdc5ec4'
7
- data.tar.gz: a294c9ad1558ae50baf32d22d7f0c5910b93b5256ef7733ba5254538e54d5313b290982ccdac6e15333556e442ae774f4f5fffba6ded16a2c120e2905574f6ec
6
+ metadata.gz: e4143de2a40ba6833b1ef69a77f99c4276a11702e39d1019bd200a1461108fd874c8ff3ec4015030376088a04c7312abe0a0518763158910854790bb24ed3014
7
+ data.tar.gz: 97af2c5a3e862ffba254fc58d1510ea3f60daf3aac77d7d9a3435170ba2616471b1215c55ba7781b4f5fbd6ad0dff1dcc2da3e849991a1ce3a1381b57a1678d0
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.45
1
+ 1.0.46
@@ -18,7 +18,7 @@
18
18
  "username": "user",
19
19
  "google_cloud_storage_bucket": "my-bucket",
20
20
  "google_cloud_storage_project_id": "my-project",
21
- "backblaze_b2_region": "us-west-001",
21
+ "backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
22
22
  "backblaze_b2_bucket": "my-bucket",
23
23
  "wasabi_bucket": "us-west-1",
24
24
  "wasabi_region": "my-bucket"
@@ -39,8 +39,8 @@
39
39
  * `username` (string): Remote server username. Not needed for S3 buckets.
40
40
  * `google_cloud_storage_bucket` (string): Google Cloud Storage bucket name
41
41
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
42
- * `backblaze_b2_region` (string): b2 region
43
- * `backblaze_b2_bucket` (string): b2 Bucket name
42
+ * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
43
+ * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
44
44
  * `wasabi_bucket` (string): Wasabi region
45
45
  * `wasabi_region` (string): Wasabi Bucket name
46
46
  * `aws_access_key` (string): AWS Access Key.
@@ -50,8 +50,8 @@
50
50
  * `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
51
51
  * `wasabi_access_key` (string): Wasabi access key.
52
52
  * `wasabi_secret_key` (string): Wasabi secret key.
53
- * `backblaze_b2_access_key` (string): Backblaze B2 Cloud Storage access key.
54
- * `backblaze_b2_secret_key` (string): Backblaze B2 Cloud Storage secret key.
53
+ * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
54
+ * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
55
55
 
56
56
 
57
57
  ---
@@ -104,7 +104,7 @@ Files::RemoteServer.create(
104
104
  google_cloud_storage_bucket: "my-bucket",
105
105
  google_cloud_storage_project_id: "my-project",
106
106
  backblaze_b2_bucket: "my-bucket",
107
- backblaze_b2_region: "us-west-001",
107
+ backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
108
108
  wasabi_bucket: "us-west-1",
109
109
  wasabi_region: "my-bucket"
110
110
  )
@@ -119,8 +119,8 @@ Files::RemoteServer.create(
119
119
  * `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
120
120
  * `wasabi_access_key` (string): Wasabi access key.
121
121
  * `wasabi_secret_key` (string): Wasabi secret key.
122
- * `backblaze_b2_access_key` (string): Backblaze B2 Cloud Storage access key.
123
- * `backblaze_b2_secret_key` (string): Backblaze B2 Cloud Storage secret key.
122
+ * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
123
+ * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
124
124
  * `hostname` (string): Hostname or IP address
125
125
  * `name` (string): Internal name for your reference
126
126
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -133,8 +133,8 @@ Files::RemoteServer.create(
133
133
  * `username` (string): Remote server username. Not needed for S3 buckets.
134
134
  * `google_cloud_storage_bucket` (string): Google Cloud Storage bucket name
135
135
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
136
- * `backblaze_b2_bucket` (string): b2 Bucket name
137
- * `backblaze_b2_region` (string): b2 region
136
+ * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
137
+ * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
138
138
  * `wasabi_bucket` (string): Wasabi region
139
139
  * `wasabi_region` (string): Wasabi Bucket name
140
140
 
@@ -158,7 +158,7 @@ Files::RemoteServer.update(id,
158
158
  google_cloud_storage_bucket: "my-bucket",
159
159
  google_cloud_storage_project_id: "my-project",
160
160
  backblaze_b2_bucket: "my-bucket",
161
- backblaze_b2_region: "us-west-001",
161
+ backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
162
162
  wasabi_bucket: "us-west-1",
163
163
  wasabi_region: "my-bucket"
164
164
  )
@@ -174,8 +174,8 @@ Files::RemoteServer.update(id,
174
174
  * `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
175
175
  * `wasabi_access_key` (string): Wasabi access key.
176
176
  * `wasabi_secret_key` (string): Wasabi secret key.
177
- * `backblaze_b2_access_key` (string): Backblaze B2 Cloud Storage access key.
178
- * `backblaze_b2_secret_key` (string): Backblaze B2 Cloud Storage secret key.
177
+ * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
178
+ * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
179
179
  * `hostname` (string): Hostname or IP address
180
180
  * `name` (string): Internal name for your reference
181
181
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -188,8 +188,8 @@ Files::RemoteServer.update(id,
188
188
  * `username` (string): Remote server username. Not needed for S3 buckets.
189
189
  * `google_cloud_storage_bucket` (string): Google Cloud Storage bucket name
190
190
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
191
- * `backblaze_b2_bucket` (string): b2 Bucket name
192
- * `backblaze_b2_region` (string): b2 region
191
+ * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
192
+ * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
193
193
  * `wasabi_bucket` (string): Wasabi region
194
194
  * `wasabi_region` (string): Wasabi Bucket name
195
195
 
@@ -227,7 +227,7 @@ remote_server.update(
227
227
  google_cloud_storage_bucket: "my-bucket",
228
228
  google_cloud_storage_project_id: "my-project",
229
229
  backblaze_b2_bucket: "my-bucket",
230
- backblaze_b2_region: "us-west-001",
230
+ backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
231
231
  wasabi_bucket: "us-west-1",
232
232
  wasabi_region: "my-bucket"
233
233
  )
@@ -243,8 +243,8 @@ remote_server.update(
243
243
  * `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
244
244
  * `wasabi_access_key` (string): Wasabi access key.
245
245
  * `wasabi_secret_key` (string): Wasabi secret key.
246
- * `backblaze_b2_access_key` (string): Backblaze B2 Cloud Storage access key.
247
- * `backblaze_b2_secret_key` (string): Backblaze B2 Cloud Storage secret key.
246
+ * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
247
+ * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
248
248
  * `hostname` (string): Hostname or IP address
249
249
  * `name` (string): Internal name for your reference
250
250
  * `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -257,8 +257,8 @@ remote_server.update(
257
257
  * `username` (string): Remote server username. Not needed for S3 buckets.
258
258
  * `google_cloud_storage_bucket` (string): Google Cloud Storage bucket name
259
259
  * `google_cloud_storage_project_id` (string): Google Cloud Project ID
260
- * `backblaze_b2_bucket` (string): b2 Bucket name
261
- * `backblaze_b2_region` (string): b2 region
260
+ * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
261
+ * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
262
262
  * `wasabi_bucket` (string): Wasabi region
263
263
  * `wasabi_region` (string): Wasabi Bucket name
264
264
 
@@ -135,16 +135,16 @@ module Files
135
135
  @attributes[:google_cloud_storage_project_id] = value
136
136
  end
137
137
 
138
- # string - b2 region
139
- def backblaze_b2_region
140
- @attributes[:backblaze_b2_region]
138
+ # string - Backblaze B2 Cloud Storage S3 Endpoint
139
+ def backblaze_b2_s3_endpoint
140
+ @attributes[:backblaze_b2_s3_endpoint]
141
141
  end
142
142
 
143
- def backblaze_b2_region=(value)
144
- @attributes[:backblaze_b2_region] = value
143
+ def backblaze_b2_s3_endpoint=(value)
144
+ @attributes[:backblaze_b2_s3_endpoint] = value
145
145
  end
146
146
 
147
- # string - b2 Bucket name
147
+ # string - Backblaze B2 Cloud Storage Bucket name
148
148
  def backblaze_b2_bucket
149
149
  @attributes[:backblaze_b2_bucket]
150
150
  end
@@ -234,22 +234,22 @@ module Files
234
234
  @attributes[:wasabi_secret_key] = value
235
235
  end
236
236
 
237
- # string - Backblaze B2 Cloud Storage access key.
238
- def backblaze_b2_access_key
239
- @attributes[:backblaze_b2_access_key]
237
+ # string - Backblaze B2 Cloud Storage keyID.
238
+ def backblaze_b2_key_id
239
+ @attributes[:backblaze_b2_key_id]
240
240
  end
241
241
 
242
- def backblaze_b2_access_key=(value)
243
- @attributes[:backblaze_b2_access_key] = value
242
+ def backblaze_b2_key_id=(value)
243
+ @attributes[:backblaze_b2_key_id] = value
244
244
  end
245
245
 
246
- # string - Backblaze B2 Cloud Storage secret key.
247
- def backblaze_b2_secret_key
248
- @attributes[:backblaze_b2_secret_key]
246
+ # string - Backblaze B2 Cloud Storage applicationKey.
247
+ def backblaze_b2_application_key
248
+ @attributes[:backblaze_b2_application_key]
249
249
  end
250
250
 
251
- def backblaze_b2_secret_key=(value)
252
- @attributes[:backblaze_b2_secret_key] = value
251
+ def backblaze_b2_application_key=(value)
252
+ @attributes[:backblaze_b2_application_key] = value
253
253
  end
254
254
 
255
255
  # Parameters:
@@ -260,8 +260,8 @@ module Files
260
260
  # 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
261
261
  # wasabi_access_key - string - Wasabi access key.
262
262
  # wasabi_secret_key - string - Wasabi secret key.
263
- # backblaze_b2_access_key - string - Backblaze B2 Cloud Storage access key.
264
- # backblaze_b2_secret_key - string - Backblaze B2 Cloud Storage secret key.
263
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
264
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
265
265
  # hostname - string - Hostname or IP address
266
266
  # name - string - Internal name for your reference
267
267
  # max_connections - integer - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -274,8 +274,8 @@ module Files
274
274
  # username - string - Remote server username. Not needed for S3 buckets.
275
275
  # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
276
276
  # google_cloud_storage_project_id - string - Google Cloud Project ID
277
- # backblaze_b2_bucket - string - b2 Bucket name
278
- # backblaze_b2_region - string - b2 region
277
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
278
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
279
279
  # wasabi_bucket - string - Wasabi region
280
280
  # wasabi_region - string - Wasabi Bucket name
281
281
  def update(params = {})
@@ -290,8 +290,8 @@ module Files
290
290
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
291
291
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
292
292
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
293
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_access_key must be an String") if params.dig(:backblaze_b2_access_key) and !params.dig(:backblaze_b2_access_key).is_a?(String)
294
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_secret_key must be an String") if params.dig(:backblaze_b2_secret_key) and !params.dig(:backblaze_b2_secret_key).is_a?(String)
293
+ 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)
294
+ 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)
295
295
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
296
296
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
297
297
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -305,7 +305,7 @@ module Files
305
305
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params.dig(:google_cloud_storage_bucket) and !params.dig(:google_cloud_storage_bucket).is_a?(String)
306
306
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params.dig(:google_cloud_storage_project_id) and !params.dig(:google_cloud_storage_project_id).is_a?(String)
307
307
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params.dig(:backblaze_b2_bucket) and !params.dig(:backblaze_b2_bucket).is_a?(String)
308
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_region must be an String") if params.dig(:backblaze_b2_region) and !params.dig(:backblaze_b2_region).is_a?(String)
308
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params.dig(:backblaze_b2_s3_endpoint) and !params.dig(:backblaze_b2_s3_endpoint).is_a?(String)
309
309
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params.dig(:wasabi_bucket) and !params.dig(:wasabi_bucket).is_a?(String)
310
310
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params.dig(:wasabi_region) and !params.dig(:wasabi_region).is_a?(String)
311
311
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
@@ -376,8 +376,8 @@ module Files
376
376
  # 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
377
377
  # wasabi_access_key - string - Wasabi access key.
378
378
  # wasabi_secret_key - string - Wasabi secret key.
379
- # backblaze_b2_access_key - string - Backblaze B2 Cloud Storage access key.
380
- # backblaze_b2_secret_key - string - Backblaze B2 Cloud Storage secret key.
379
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
380
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
381
381
  # hostname - string - Hostname or IP address
382
382
  # name - string - Internal name for your reference
383
383
  # max_connections - integer - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -390,8 +390,8 @@ module Files
390
390
  # username - string - Remote server username. Not needed for S3 buckets.
391
391
  # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
392
392
  # google_cloud_storage_project_id - string - Google Cloud Project ID
393
- # backblaze_b2_bucket - string - b2 Bucket name
394
- # backblaze_b2_region - string - b2 region
393
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
394
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
395
395
  # wasabi_bucket - string - Wasabi region
396
396
  # wasabi_region - string - Wasabi Bucket name
397
397
  def self.create(params = {}, options = {})
@@ -402,8 +402,8 @@ module Files
402
402
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
403
403
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
404
404
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
405
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_access_key must be an String") if params.dig(:backblaze_b2_access_key) and !params.dig(:backblaze_b2_access_key).is_a?(String)
406
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_secret_key must be an String") if params.dig(:backblaze_b2_secret_key) and !params.dig(:backblaze_b2_secret_key).is_a?(String)
405
+ 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)
406
+ 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)
407
407
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
408
408
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
409
409
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -417,7 +417,7 @@ module Files
417
417
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params.dig(:google_cloud_storage_bucket) and !params.dig(:google_cloud_storage_bucket).is_a?(String)
418
418
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params.dig(:google_cloud_storage_project_id) and !params.dig(:google_cloud_storage_project_id).is_a?(String)
419
419
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params.dig(:backblaze_b2_bucket) and !params.dig(:backblaze_b2_bucket).is_a?(String)
420
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_region must be an String") if params.dig(:backblaze_b2_region) and !params.dig(:backblaze_b2_region).is_a?(String)
420
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params.dig(:backblaze_b2_s3_endpoint) and !params.dig(:backblaze_b2_s3_endpoint).is_a?(String)
421
421
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params.dig(:wasabi_bucket) and !params.dig(:wasabi_bucket).is_a?(String)
422
422
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params.dig(:wasabi_region) and !params.dig(:wasabi_region).is_a?(String)
423
423
 
@@ -433,8 +433,8 @@ module Files
433
433
  # 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
434
434
  # wasabi_access_key - string - Wasabi access key.
435
435
  # wasabi_secret_key - string - Wasabi secret key.
436
- # backblaze_b2_access_key - string - Backblaze B2 Cloud Storage access key.
437
- # backblaze_b2_secret_key - string - Backblaze B2 Cloud Storage secret key.
436
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
437
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
438
438
  # hostname - string - Hostname or IP address
439
439
  # name - string - Internal name for your reference
440
440
  # max_connections - integer - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
@@ -447,8 +447,8 @@ module Files
447
447
  # username - string - Remote server username. Not needed for S3 buckets.
448
448
  # google_cloud_storage_bucket - string - Google Cloud Storage bucket name
449
449
  # google_cloud_storage_project_id - string - Google Cloud Project ID
450
- # backblaze_b2_bucket - string - b2 Bucket name
451
- # backblaze_b2_region - string - b2 region
450
+ # backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
451
+ # backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
452
452
  # wasabi_bucket - string - Wasabi region
453
453
  # wasabi_region - string - Wasabi Bucket name
454
454
  def self.update(id, params = {}, options = {})
@@ -462,8 +462,8 @@ module Files
462
462
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
463
463
  raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
464
464
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
465
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_access_key must be an String") if params.dig(:backblaze_b2_access_key) and !params.dig(:backblaze_b2_access_key).is_a?(String)
466
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_secret_key must be an String") if params.dig(:backblaze_b2_secret_key) and !params.dig(:backblaze_b2_secret_key).is_a?(String)
465
+ 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)
466
+ 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)
467
467
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
468
468
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
469
469
  raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
@@ -477,7 +477,7 @@ module Files
477
477
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params.dig(:google_cloud_storage_bucket) and !params.dig(:google_cloud_storage_bucket).is_a?(String)
478
478
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params.dig(:google_cloud_storage_project_id) and !params.dig(:google_cloud_storage_project_id).is_a?(String)
479
479
  raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params.dig(:backblaze_b2_bucket) and !params.dig(:backblaze_b2_bucket).is_a?(String)
480
- raise InvalidParameterError.new("Bad parameter: backblaze_b2_region must be an String") if params.dig(:backblaze_b2_region) and !params.dig(:backblaze_b2_region).is_a?(String)
480
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params.dig(:backblaze_b2_s3_endpoint) and !params.dig(:backblaze_b2_s3_endpoint).is_a?(String)
481
481
  raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params.dig(:wasabi_bucket) and !params.dig(:wasabi_bucket).is_a?(String)
482
482
  raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params.dig(:wasabi_region) and !params.dig(:wasabi_region).is_a?(String)
483
483
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.45
4
+ version: 1.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-13 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday