files.com 1.0.207 → 1.0.211
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation_run.md +35 -0
- data/docs/file.md +1 -22
- data/docs/priority.md +30 -0
- data/docs/remote_server.md +0 -8
- data/lib/files.com/errors.rb +3 -0
- data/lib/files.com/models/automation_run.rb +48 -0
- data/lib/files.com/models/file.rb +2 -20
- data/lib/files.com/models/priority.rb +43 -0
- data/lib/files.com/models/remote_server.rb +0 -15
- data/lib/files.com.rb +2 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67f2512d48c8972612804b1fa4847652a4b4cc28ad3fd1720c15ecc525d92ab0
|
4
|
+
data.tar.gz: e36e60d409ad93cdd6038c8ef7bbd38f383517e9d2e7dc64e17fa93050f576a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33e9d96ca582e97d1b91f3af0022433a2aa967b96ca6d13d20ec518ae86603540dd7ede9e5a9abb8bbff0e9a7cd6c6e542f7b7ff57901a7cf1d685a4d0ba4c25
|
7
|
+
data.tar.gz: e41dc8e333884f93d9b7f76dffb71d6358f6729b56d936147d2cabf49bdcf9b28f41bb35a23af70f4acea5e29a47bce6f00a9f50c29a0dc7479528c9dcc8d12a
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.211
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# AutomationRun
|
2
|
+
|
3
|
+
## Example AutomationRun Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"automation_id": 1,
|
8
|
+
"status": "success",
|
9
|
+
"status_messages_url": "https://www.example.com/log_file.txt"
|
10
|
+
}
|
11
|
+
```
|
12
|
+
|
13
|
+
* `automation_id` (int64): ID of the associated Automation.
|
14
|
+
* `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
|
15
|
+
* `status_messages_url` (string): Link to status messages log file.
|
16
|
+
|
17
|
+
|
18
|
+
---
|
19
|
+
|
20
|
+
## List Automation Runs
|
21
|
+
|
22
|
+
```
|
23
|
+
Files::AutomationRun.list(
|
24
|
+
user_id: 1,
|
25
|
+
per_page: 1,
|
26
|
+
automation_id: 1
|
27
|
+
)
|
28
|
+
```
|
29
|
+
|
30
|
+
### Parameters
|
31
|
+
|
32
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
33
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
34
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
|
+
* `automation_id` (int64): Required - ID of the associated Automation.
|
data/docs/file.md
CHANGED
@@ -153,7 +153,7 @@ Files::File.delete(path,
|
|
153
153
|
## Return metadata for file/folder
|
154
154
|
|
155
155
|
```
|
156
|
-
Files::File.
|
156
|
+
Files::File.find_by(path,
|
157
157
|
with_previews: true,
|
158
158
|
with_priority_color: true
|
159
159
|
)
|
@@ -287,27 +287,6 @@ file.delete(
|
|
287
287
|
* `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
|
288
288
|
|
289
289
|
|
290
|
-
---
|
291
|
-
|
292
|
-
## Return metadata for file/folder
|
293
|
-
|
294
|
-
```
|
295
|
-
file = Files::File.list_for(path).first
|
296
|
-
|
297
|
-
file.metadata(
|
298
|
-
with_previews: true,
|
299
|
-
with_priority_color: true
|
300
|
-
)
|
301
|
-
```
|
302
|
-
|
303
|
-
### Parameters
|
304
|
-
|
305
|
-
* `path` (string): Required - Path to operate on.
|
306
|
-
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
307
|
-
* `with_previews` (boolean): Include file preview information?
|
308
|
-
* `with_priority_color` (boolean): Include file priority color information?
|
309
|
-
|
310
|
-
|
311
290
|
---
|
312
291
|
|
313
292
|
## Copy file/folder
|
data/docs/priority.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Priority
|
2
|
+
|
3
|
+
## Example Priority Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"path": "foo/bar",
|
8
|
+
"color": "pink"
|
9
|
+
}
|
10
|
+
```
|
11
|
+
|
12
|
+
* `path` (string): The path corresponding to the priority color This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
13
|
+
* `color` (string): The priority color
|
14
|
+
|
15
|
+
|
16
|
+
---
|
17
|
+
|
18
|
+
## List Priorities
|
19
|
+
|
20
|
+
```
|
21
|
+
Files::Priority.list(path,
|
22
|
+
per_page: 1
|
23
|
+
)
|
24
|
+
```
|
25
|
+
|
26
|
+
### Parameters
|
27
|
+
|
28
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
29
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
|
+
* `path` (string): Required - The path to query for priorities
|
data/docs/remote_server.md
CHANGED
@@ -34,7 +34,6 @@
|
|
34
34
|
"azure_blob_storage_account": "storage-account-name",
|
35
35
|
"azure_blob_storage_container": "container-name",
|
36
36
|
"s3_compatible_bucket": "my-bucket",
|
37
|
-
"s3_compatible_region": "us-east-1",
|
38
37
|
"s3_compatible_endpoint": "mys3platform.com",
|
39
38
|
"enable_dedicated_ips": true
|
40
39
|
}
|
@@ -70,7 +69,6 @@
|
|
70
69
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
71
70
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
72
71
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
73
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
74
72
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
75
73
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
76
74
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -150,7 +148,6 @@ Files::RemoteServer.create(
|
|
150
148
|
azure_blob_storage_account: "storage-account-name",
|
151
149
|
azure_blob_storage_container: "container-name",
|
152
150
|
s3_compatible_bucket: "my-bucket",
|
153
|
-
s3_compatible_region: "us-east-1",
|
154
151
|
s3_compatible_endpoint: "mys3platform.com",
|
155
152
|
enable_dedicated_ips: true
|
156
153
|
)
|
@@ -195,7 +192,6 @@ Files::RemoteServer.create(
|
|
195
192
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
196
193
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
197
194
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
198
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
199
195
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
200
196
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
201
197
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
@@ -233,7 +229,6 @@ Files::RemoteServer.update(id,
|
|
233
229
|
azure_blob_storage_account: "storage-account-name",
|
234
230
|
azure_blob_storage_container: "container-name",
|
235
231
|
s3_compatible_bucket: "my-bucket",
|
236
|
-
s3_compatible_region: "us-east-1",
|
237
232
|
s3_compatible_endpoint: "mys3platform.com",
|
238
233
|
enable_dedicated_ips: true
|
239
234
|
)
|
@@ -279,7 +274,6 @@ Files::RemoteServer.update(id,
|
|
279
274
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
280
275
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
281
276
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
282
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
283
277
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
284
278
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
285
279
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
@@ -332,7 +326,6 @@ remote_server.update(
|
|
332
326
|
azure_blob_storage_account: "storage-account-name",
|
333
327
|
azure_blob_storage_container: "container-name",
|
334
328
|
s3_compatible_bucket: "my-bucket",
|
335
|
-
s3_compatible_region: "us-east-1",
|
336
329
|
s3_compatible_endpoint: "mys3platform.com",
|
337
330
|
enable_dedicated_ips: true
|
338
331
|
)
|
@@ -378,7 +371,6 @@ remote_server.update(
|
|
378
371
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
379
372
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
380
373
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
381
|
-
* `s3_compatible_region` (string): S3-compatible Bucket name
|
382
374
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
383
375
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
384
376
|
* `s3_compatible_access_key` (string): S3-compatible access key
|
data/lib/files.com/errors.rb
CHANGED
@@ -191,6 +191,9 @@ module Files
|
|
191
191
|
class TooManyLoginAttemptsError < RateLimitedError; end
|
192
192
|
class TooManyRequestsError < RateLimitedError; end
|
193
193
|
|
194
|
+
class ServiceUnavailableError < APIError; end
|
195
|
+
class UploadsUnavailableError < ServiceUnavailableError; end
|
196
|
+
|
194
197
|
class SiteConfigurationError < APIError; end
|
195
198
|
class AccountAlreadyExistsError < SiteConfigurationError; end
|
196
199
|
class AccountOverdueError < SiteConfigurationError; end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Files
|
4
|
+
class AutomationRun
|
5
|
+
attr_reader :options, :attributes
|
6
|
+
|
7
|
+
def initialize(attributes = {}, options = {})
|
8
|
+
@attributes = attributes || {}
|
9
|
+
@options = options || {}
|
10
|
+
end
|
11
|
+
|
12
|
+
# int64 - ID of the associated Automation.
|
13
|
+
def automation_id
|
14
|
+
@attributes[:automation_id]
|
15
|
+
end
|
16
|
+
|
17
|
+
# string - The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
|
18
|
+
def status
|
19
|
+
@attributes[:status]
|
20
|
+
end
|
21
|
+
|
22
|
+
# string - Link to status messages log file.
|
23
|
+
def status_messages_url
|
24
|
+
@attributes[:status_messages_url]
|
25
|
+
end
|
26
|
+
|
27
|
+
# Parameters:
|
28
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
29
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
30
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
31
|
+
# automation_id (required) - int64 - ID of the associated Automation.
|
32
|
+
def self.list(params = {}, options = {})
|
33
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
34
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
35
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
36
|
+
raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params.dig(:automation_id) and !params.dig(:automation_id).is_a?(Integer)
|
37
|
+
raise MissingParameterError.new("Parameter missing: automation_id") unless params.dig(:automation_id)
|
38
|
+
|
39
|
+
List.new(AutomationRun, params) do
|
40
|
+
Api.send_request("/automation_runs", :get, params, options)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.all(params = {}, options = {})
|
45
|
+
list(params, options)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -867,23 +867,6 @@ module Files
|
|
867
867
|
delete(params)
|
868
868
|
end
|
869
869
|
|
870
|
-
# Return metadata for file/folder
|
871
|
-
#
|
872
|
-
# Parameters:
|
873
|
-
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
874
|
-
# with_previews - boolean - Include file preview information?
|
875
|
-
# with_priority_color - boolean - Include file priority color information?
|
876
|
-
def metadata(params = {})
|
877
|
-
params ||= {}
|
878
|
-
params[:path] = @attributes[:path]
|
879
|
-
raise MissingParameterError.new("Current object doesn't have a path") unless @attributes[:path]
|
880
|
-
raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
|
881
|
-
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params.dig(:preview_size) and !params.dig(:preview_size).is_a?(String)
|
882
|
-
raise MissingParameterError.new("Parameter missing: path") unless params.dig(:path)
|
883
|
-
|
884
|
-
Api.send_request("/file_actions/metadata/#{@attributes[:path]}", :get, params, @options)
|
885
|
-
end
|
886
|
-
|
887
870
|
# Copy file/folder
|
888
871
|
#
|
889
872
|
# Parameters:
|
@@ -1029,13 +1012,12 @@ module Files
|
|
1029
1012
|
delete(path, params, options)
|
1030
1013
|
end
|
1031
1014
|
|
1032
|
-
# Return metadata for file/folder
|
1033
|
-
#
|
1034
1015
|
# Parameters:
|
1016
|
+
# path (required) - string - Path to operate on.
|
1035
1017
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
1036
1018
|
# with_previews - boolean - Include file preview information?
|
1037
1019
|
# with_priority_color - boolean - Include file priority color information?
|
1038
|
-
def self.
|
1020
|
+
def self.find_by(path, params = {}, options = {})
|
1039
1021
|
params ||= {}
|
1040
1022
|
params[:path] = path
|
1041
1023
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Files
|
4
|
+
class Priority
|
5
|
+
attr_reader :options, :attributes
|
6
|
+
|
7
|
+
def initialize(attributes = {}, options = {})
|
8
|
+
@attributes = attributes || {}
|
9
|
+
@options = options || {}
|
10
|
+
end
|
11
|
+
|
12
|
+
# string - The path corresponding to the priority color This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
13
|
+
def path
|
14
|
+
@attributes[:path]
|
15
|
+
end
|
16
|
+
|
17
|
+
# string - The priority color
|
18
|
+
def color
|
19
|
+
@attributes[:color]
|
20
|
+
end
|
21
|
+
|
22
|
+
# Parameters:
|
23
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
24
|
+
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
25
|
+
# path (required) - string - The path to query for priorities
|
26
|
+
def self.list(path, params = {}, options = {})
|
27
|
+
params ||= {}
|
28
|
+
params[:path] = path
|
29
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
30
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
31
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
|
32
|
+
raise MissingParameterError.new("Parameter missing: path") unless params.dig(:path)
|
33
|
+
|
34
|
+
List.new(Priority, params) do
|
35
|
+
Api.send_request("/priorities", :get, params, options)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.all(path, params = {}, options = {})
|
40
|
+
list(path, params, options)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -279,15 +279,6 @@ module Files
|
|
279
279
|
@attributes[:s3_compatible_bucket] = value
|
280
280
|
end
|
281
281
|
|
282
|
-
# string - S3-compatible Bucket name
|
283
|
-
def s3_compatible_region
|
284
|
-
@attributes[:s3_compatible_region]
|
285
|
-
end
|
286
|
-
|
287
|
-
def s3_compatible_region=(value)
|
288
|
-
@attributes[:s3_compatible_region] = value
|
289
|
-
end
|
290
|
-
|
291
282
|
# string - S3-compatible endpoint
|
292
283
|
def s3_compatible_endpoint
|
293
284
|
@attributes[:s3_compatible_endpoint]
|
@@ -479,7 +470,6 @@ module Files
|
|
479
470
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
480
471
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
481
472
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
482
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
483
473
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
484
474
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
485
475
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -525,7 +515,6 @@ module Files
|
|
525
515
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
526
516
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
527
517
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
528
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
529
518
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
530
519
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
531
520
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
@@ -627,7 +616,6 @@ module Files
|
|
627
616
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
628
617
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
629
618
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
630
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
631
619
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
632
620
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
633
621
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -669,7 +657,6 @@ module Files
|
|
669
657
|
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)
|
670
658
|
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)
|
671
659
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
672
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
673
660
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
674
661
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
675
662
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
@@ -716,7 +703,6 @@ module Files
|
|
716
703
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
717
704
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
718
705
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
719
|
-
# s3_compatible_region - string - S3-compatible Bucket name
|
720
706
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
721
707
|
# enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
|
722
708
|
# s3_compatible_access_key - string - S3-compatible access key
|
@@ -761,7 +747,6 @@ module Files
|
|
761
747
|
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)
|
762
748
|
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)
|
763
749
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params.dig(:s3_compatible_bucket) and !params.dig(:s3_compatible_bucket).is_a?(String)
|
764
|
-
raise InvalidParameterError.new("Bad parameter: s3_compatible_region must be an String") if params.dig(:s3_compatible_region) and !params.dig(:s3_compatible_region).is_a?(String)
|
765
750
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params.dig(:s3_compatible_endpoint) and !params.dig(:s3_compatible_endpoint).is_a?(String)
|
766
751
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params.dig(:s3_compatible_access_key) and !params.dig(:s3_compatible_access_key).is_a?(String)
|
767
752
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params.dig(:s3_compatible_secret_key) and !params.dig(:s3_compatible_secret_key).is_a?(String)
|
data/lib/files.com.rb
CHANGED
@@ -37,6 +37,7 @@ require "files.com/models/app"
|
|
37
37
|
require "files.com/models/as2_key"
|
38
38
|
require "files.com/models/auto"
|
39
39
|
require "files.com/models/automation"
|
40
|
+
require "files.com/models/automation_run"
|
40
41
|
require "files.com/models/bandwidth_snapshot"
|
41
42
|
require "files.com/models/behavior"
|
42
43
|
require "files.com/models/bundle"
|
@@ -78,6 +79,7 @@ require "files.com/models/payment"
|
|
78
79
|
require "files.com/models/payment_line_item"
|
79
80
|
require "files.com/models/permission"
|
80
81
|
require "files.com/models/preview"
|
82
|
+
require "files.com/models/priority"
|
81
83
|
require "files.com/models/project"
|
82
84
|
require "files.com/models/public_ip_address"
|
83
85
|
require "files.com/models/public_key"
|
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.
|
4
|
+
version: 1.0.211
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- docs/as2_key.md
|
97
97
|
- docs/auto.md
|
98
98
|
- docs/automation.md
|
99
|
+
- docs/automation_run.md
|
99
100
|
- docs/bandwidth_snapshot.md
|
100
101
|
- docs/behavior.md
|
101
102
|
- docs/bundle.md
|
@@ -138,6 +139,7 @@ files:
|
|
138
139
|
- docs/payment_line_item.md
|
139
140
|
- docs/permission.md
|
140
141
|
- docs/preview.md
|
142
|
+
- docs/priority.md
|
141
143
|
- docs/project.md
|
142
144
|
- docs/public_ip_address.md
|
143
145
|
- docs/public_key.md
|
@@ -172,6 +174,7 @@ files:
|
|
172
174
|
- lib/files.com/models/as2_key.rb
|
173
175
|
- lib/files.com/models/auto.rb
|
174
176
|
- lib/files.com/models/automation.rb
|
177
|
+
- lib/files.com/models/automation_run.rb
|
175
178
|
- lib/files.com/models/bandwidth_snapshot.rb
|
176
179
|
- lib/files.com/models/behavior.rb
|
177
180
|
- lib/files.com/models/bundle.rb
|
@@ -215,6 +218,7 @@ files:
|
|
215
218
|
- lib/files.com/models/payment_line_item.rb
|
216
219
|
- lib/files.com/models/permission.rb
|
217
220
|
- lib/files.com/models/preview.rb
|
221
|
+
- lib/files.com/models/priority.rb
|
218
222
|
- lib/files.com/models/project.rb
|
219
223
|
- lib/files.com/models/public_ip_address.rb
|
220
224
|
- lib/files.com/models/public_key.rb
|