files.com 1.1.514 → 1.1.516

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: 6461ae4f4b0555af233579277fdeb0913dd785a4e0d01c564eea280717fd53b9
4
- data.tar.gz: 37af1c72793600f15cb423f8d1748b9fb238e96795b3c0f70c6d1f75c789be2f
3
+ metadata.gz: b1dff2318d45d397a0e63be64509c26ce06cdb5509fa0f42124aa155d9ecbb95
4
+ data.tar.gz: 449248343a7585af2b5c9f9da37d3e7a7b904c216234d8cd25d03ec6744e76c3
5
5
  SHA512:
6
- metadata.gz: 25fca11abf654ff89c34b98289f3fe718ca3d3832867083ad4403b192603eb1c40923f08b95a8a7d0082960db36360b54dfabcd87bbe0759c461e12810c79790
7
- data.tar.gz: a086b4ea1b6945e8d19a6afcdec3597892ddbada5a23a25306348b11ca008a69e0251b293feca348bc5dd9780f24e9141dfc5d29f94f45d33f857b3f978e942f
6
+ metadata.gz: ddd2ae66c448edb0cd48322843f4ca2b36569bf54a6826806437998e08a8fa427a218b525e8b226dc401ed8ab602f60a205a88fb09c12f1019aa32569c0ddbca
7
+ data.tar.gz: 3c12c479bf0641d462d25fb0b1ee77f9c73c552928b1a8d4258ee3842c3d7f2eff5a080b0c1f0b635e62c1ae94bea071e1e4636c8b0a9ca7c368a65bc7a7f685
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.514
1
+ 1.1.516
data/docs/automation.md CHANGED
@@ -123,10 +123,10 @@
123
123
  * `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.
124
124
  * `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.
125
125
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
126
- * `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
126
+ * `human_readable_schedule` (string): If trigger is `custom_schedule` or `daily` with times, Human readable schedule description for when the automation should be run.
127
127
  * `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.
128
- * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
129
- * `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
128
+ * `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
129
+ * `schedule_time_zone` (string): Time zone for scheduled times. If not set, times are interpreted as UTC.
130
130
  * `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
131
131
  * `legacy_sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
132
132
  * `sync_ids` (array(int64)): IDs of syncs to run by this Automation. This is the new way to specify syncs, and it is recommended to use this instead of `legacy_sync_ids`.
@@ -136,7 +136,7 @@
136
136
  * `user_ids` (array(int64)): IDs of Users for the Automation (i.e. who to Request File from)
137
137
  * `value` (object): A Hash of attributes specific to the automation type.
138
138
  * `webhook_url` (string): If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
139
- * `holiday_region` (string): If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
139
+ * `holiday_region` (string): Skip automation if there is a formal, observed holiday for this region.
140
140
 
141
141
 
142
142
  ---
@@ -228,9 +228,9 @@ Files::Automation.create(
228
228
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
229
229
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
230
230
  * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
231
- * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
232
- * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
233
- * `holiday_region` (string): If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
231
+ * `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
232
+ * `schedule_time_zone` (string): Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
233
+ * `holiday_region` (string): Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
234
234
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
235
235
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
236
236
  * `description` (string): Description for the this Automation.
@@ -322,9 +322,9 @@ Files::Automation.update(id,
322
322
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
323
323
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
324
324
  * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
325
- * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
326
- * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
327
- * `holiday_region` (string): If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
325
+ * `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
326
+ * `schedule_time_zone` (string): Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
327
+ * `holiday_region` (string): Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
328
328
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
329
329
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
330
330
  * `description` (string): Description for the this Automation.
@@ -432,9 +432,9 @@ automation.update(
432
432
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
433
433
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
434
434
  * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
435
- * `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
436
- * `schedule_time_zone` (string): If trigger is `custom_schedule`. Time zone for the schedule.
437
- * `holiday_region` (string): If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
435
+ * `schedule_times_of_day` (array(string)): Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
436
+ * `schedule_time_zone` (string): Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
437
+ * `holiday_region` (string): Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
438
438
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
439
439
  * `always_serialize_jobs` (boolean): Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
440
440
  * `description` (string): Description for the this Automation.
@@ -54,7 +54,7 @@ Files::AutomationRun.list(
54
54
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
57
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
57
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
58
58
  * `automation_id` (int64): Required - ID of the associated Automation.
59
59
 
60
60
 
@@ -252,7 +252,7 @@ module Files
252
252
  @attributes[:schedule] = value
253
253
  end
254
254
 
255
- # string - If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
255
+ # string - If trigger is `custom_schedule` or `daily` with times, Human readable schedule description for when the automation should be run.
256
256
  def human_readable_schedule
257
257
  @attributes[:human_readable_schedule]
258
258
  end
@@ -270,7 +270,7 @@ module Files
270
270
  @attributes[:schedule_days_of_week] = value
271
271
  end
272
272
 
273
- # array(string) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
273
+ # array(string) - Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
274
274
  def schedule_times_of_day
275
275
  @attributes[:schedule_times_of_day]
276
276
  end
@@ -279,7 +279,7 @@ module Files
279
279
  @attributes[:schedule_times_of_day] = value
280
280
  end
281
281
 
282
- # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
282
+ # string - Time zone for scheduled times. If not set, times are interpreted as UTC.
283
283
  def schedule_time_zone
284
284
  @attributes[:schedule_time_zone]
285
285
  end
@@ -369,7 +369,7 @@ module Files
369
369
  @attributes[:webhook_url] = value
370
370
  end
371
371
 
372
- # string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
372
+ # string - Skip automation if there is a formal, observed holiday for this region.
373
373
  def holiday_region
374
374
  @attributes[:holiday_region]
375
375
  end
@@ -401,9 +401,9 @@ module Files
401
401
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
402
402
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
403
403
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
404
- # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
405
- # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
406
- # holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
404
+ # schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
405
+ # schedule_time_zone - string - Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
406
+ # holiday_region - string - Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
407
407
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
408
408
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
409
409
  # description - string - Description for the this Automation.
@@ -540,9 +540,9 @@ module Files
540
540
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
541
541
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
542
542
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
543
- # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
544
- # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
545
- # holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
543
+ # schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
544
+ # schedule_time_zone - string - Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
545
+ # holiday_region - string - Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
546
546
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
547
547
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
548
548
  # description - string - Description for the this Automation.
@@ -620,9 +620,9 @@ module Files
620
620
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
621
621
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
622
622
  # schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
623
- # schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
624
- # schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
625
- # holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
623
+ # schedule_times_of_day - array(string) - Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` triggers. Optional for `daily` triggers - if not set, runs at midnight UTC.
624
+ # schedule_time_zone - string - Time zone for scheduled times. Optional for both `custom_schedule` and `daily` triggers. If not set, times are interpreted as UTC.
625
+ # holiday_region - string - Skip automation on holidays in this region. Optional for both `custom_schedule` and `daily` triggers.
626
626
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
627
627
  # always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
628
628
  # description - string - Description for the this Automation.
@@ -84,7 +84,7 @@ module Files
84
84
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
85
85
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
86
86
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
87
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
87
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
88
88
  # automation_id (required) - int64 - ID of the associated Automation.
89
89
  def self.list(params = {}, options = {})
90
90
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.514"
4
+ VERSION = "1.1.516"
5
5
  end
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.1.514
4
+ version: 1.1.516
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com