files.com 1.1.211 → 1.1.213
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 +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +8 -8
- data/docs/automation_run.md +4 -2
- data/lib/files.com/models/automation.rb +8 -8
- data/lib/files.com/models/automation_run.rb +10 -5
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aa1b1dabdffac54052c89ac87f15ee9ac650bdc965d70828f4e1bc4e7751ec3
|
4
|
+
data.tar.gz: 7ddc9231cfbb86f353f343e89214aa36618fade837ca97f615d555b6d502a95a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d80ba5f257c67eddd460a67a60f5f857e21bbddd2f7afbb73e96786d5e2a1358b78ff8971e5e73f4227fe9fe2f1c921135e5f0d9d670a0101a1c2a999ce81fc6
|
7
|
+
data.tar.gz: 3f373231f8e777bc9eec36c09301732b5d1b30a346c52bbce762429ebbef2b22459352450880308b3ed6f4c49e688d7d86ab366e93cc7ecb5c5ca4734a29d436
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.213
|
data/docs/automation.md
CHANGED
@@ -100,8 +100,8 @@
|
|
100
100
|
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
101
101
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
102
102
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
103
|
-
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
104
|
-
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
103
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
104
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
105
105
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
106
106
|
* `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
|
107
107
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
@@ -214,8 +214,8 @@ Files::Automation.create(
|
|
214
214
|
* `name` (string): Name for this automation.
|
215
215
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
216
216
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
217
|
-
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
218
|
-
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
217
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
218
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
219
219
|
* `trigger` (string): How this automation is triggered to run.
|
220
220
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
221
221
|
* `value` (object): A Hash of attributes specific to the automation type.
|
@@ -301,8 +301,8 @@ Files::Automation.update(id,
|
|
301
301
|
* `name` (string): Name for this automation.
|
302
302
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
303
303
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
304
|
-
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
305
|
-
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
304
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
305
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
306
306
|
* `trigger` (string): How this automation is triggered to run.
|
307
307
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
308
308
|
* `value` (object): A Hash of attributes specific to the automation type.
|
@@ -405,8 +405,8 @@ automation.update(
|
|
405
405
|
* `name` (string): Name for this automation.
|
406
406
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
407
407
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
408
|
-
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
409
|
-
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
408
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
409
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
410
410
|
* `trigger` (string): How this automation is triggered to run.
|
411
411
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
412
412
|
* `value` (object): A Hash of attributes specific to the automation type.
|
data/docs/automation_run.md
CHANGED
@@ -8,9 +8,10 @@
|
|
8
8
|
"automation_id": 1,
|
9
9
|
"completed_at": "2000-01-01T01:00:00Z",
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
11
|
+
"retry_at": "example",
|
11
12
|
"retried_at": "2000-01-01T01:00:00Z",
|
12
|
-
"retry_of_run_id": 1,
|
13
13
|
"retried_in_run_id": 1,
|
14
|
+
"retry_of_run_id": 1,
|
14
15
|
"runtime": 1.0,
|
15
16
|
"status": "success",
|
16
17
|
"successful_operations": 1,
|
@@ -23,9 +24,10 @@
|
|
23
24
|
* `automation_id` (int64): ID of the associated Automation.
|
24
25
|
* `completed_at` (date-time): Automation run completion/failure date/time.
|
25
26
|
* `created_at` (date-time): Automation run start date/time.
|
27
|
+
* `retry_at` (string): If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
|
26
28
|
* `retried_at` (date-time): If set, this Automation run was retried due to `failure` or `partial_failure`.
|
27
|
-
* `retry_of_run_id` (int64): ID of the original run that this run is retrying.
|
28
29
|
* `retried_in_run_id` (int64): ID of the run that is or will be retrying this run.
|
30
|
+
* `retry_of_run_id` (int64): ID of the original run that this run is retrying.
|
29
31
|
* `runtime` (double): Automation run runtime.
|
30
32
|
* `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
|
31
33
|
* `successful_operations` (int64): Count of successful operations.
|
@@ -207,7 +207,7 @@ module Files
|
|
207
207
|
@attributes[:recurring_day] = value
|
208
208
|
end
|
209
209
|
|
210
|
-
# int64 - If the Automation fails, retry at this interval (in minutes).
|
210
|
+
# int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
211
211
|
def retry_on_failure_interval_in_minutes
|
212
212
|
@attributes[:retry_on_failure_interval_in_minutes]
|
213
213
|
end
|
@@ -216,7 +216,7 @@ module Files
|
|
216
216
|
@attributes[:retry_on_failure_interval_in_minutes] = value
|
217
217
|
end
|
218
218
|
|
219
|
-
# int64 - If the Automation fails, retry at most this many times.
|
219
|
+
# int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
220
220
|
def retry_on_failure_number_of_attempts
|
221
221
|
@attributes[:retry_on_failure_number_of_attempts]
|
222
222
|
end
|
@@ -377,8 +377,8 @@ module Files
|
|
377
377
|
# name - string - Name for this automation.
|
378
378
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
379
379
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
380
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
381
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
380
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
381
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
382
382
|
# trigger - string - How this automation is triggered to run.
|
383
383
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
384
384
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -511,8 +511,8 @@ module Files
|
|
511
511
|
# name - string - Name for this automation.
|
512
512
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
513
513
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
514
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
515
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
514
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
515
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
516
516
|
# trigger - string - How this automation is triggered to run.
|
517
517
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
518
518
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -584,8 +584,8 @@ module Files
|
|
584
584
|
# name - string - Name for this automation.
|
585
585
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
586
586
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
587
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
588
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
587
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
588
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
589
589
|
# trigger - string - How this automation is triggered to run.
|
590
590
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
591
591
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -29,21 +29,26 @@ module Files
|
|
29
29
|
@attributes[:created_at]
|
30
30
|
end
|
31
31
|
|
32
|
+
# string - If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
|
33
|
+
def retry_at
|
34
|
+
@attributes[:retry_at]
|
35
|
+
end
|
36
|
+
|
32
37
|
# date-time - If set, this Automation run was retried due to `failure` or `partial_failure`.
|
33
38
|
def retried_at
|
34
39
|
@attributes[:retried_at]
|
35
40
|
end
|
36
41
|
|
37
|
-
# int64 - ID of the original run that this run is retrying.
|
38
|
-
def retry_of_run_id
|
39
|
-
@attributes[:retry_of_run_id]
|
40
|
-
end
|
41
|
-
|
42
42
|
# int64 - ID of the run that is or will be retrying this run.
|
43
43
|
def retried_in_run_id
|
44
44
|
@attributes[:retried_in_run_id]
|
45
45
|
end
|
46
46
|
|
47
|
+
# int64 - ID of the original run that this run is retrying.
|
48
|
+
def retry_of_run_id
|
49
|
+
@attributes[:retry_of_run_id]
|
50
|
+
end
|
51
|
+
|
47
52
|
# double - Automation run runtime.
|
48
53
|
def runtime
|
49
54
|
@attributes[:runtime]
|
data/lib/files.com/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.213
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|