files.com 1.1.583 → 1.1.585

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: 315f62b11f8a9240a25e1c9fd14edab02f41af734f0218abbeb6853550768a15
4
- data.tar.gz: 9d9e3d5020c9043c5c346a98bce3b306a23f6445160d1ffccb72a05514b3a727
3
+ metadata.gz: b4a4cc4151955a415daf9786a88904d61f7da7ea8c9e3ed003939c69507ba043
4
+ data.tar.gz: 7274f729bb0342b7b6061eef5e73bfd133df854c11ac48fc726147e2aaba92a8
5
5
  SHA512:
6
- metadata.gz: b2cf49865ebdd57be968a2279b473789ede631e3bb68a13fd31f51153ba39e4b2036a94a92cd37f7eb37f5b54b244bba0cab14a03894a98725bd3db6f06ff6c8
7
- data.tar.gz: 57cc111c49b1cac777631bbc9c455f8f3dbc1a0c4438511b41ce0269461524d7e682729749bd1cdc8d78e6850d4ce832bb174c57ea4462009edd6dd7c2a17577
6
+ metadata.gz: 6897940df2fe0490ca63febcc65c559e57cdd3688e47d926553649df7b0e7a842a267926eaae661f6c990bf685b5d13151a49e42186dfe4c4793c9c970a44a49
7
+ data.tar.gz: 20619d61edad5ac394afc578b64518e24a74e5032fc8e1ba53f6423c010bbabb40c5f40678e464bba35bed63f47099e117c32fa24186cec4cb36b3fa35d17e3e
data/README.md CHANGED
@@ -159,7 +159,9 @@ The Ruby SDK is configured by setting attributes on the `Files` object.
159
159
 
160
160
  #### Base URL
161
161
 
162
- Setting the base URL for the API is required if your site is configured to disable global acceleration.
162
+ Set this to the full https:// URL of your Files.com subdomain (e.g. `https://MY-SUBDOMAIN.files.com`).
163
+ This is not required in most cases, but one benefit of setting it is that it ensures that authentication failures will be logged to your site's API logs. Without setting this, we won't know which site to associate the authentication failure with, and it won't be logged to your site's API logs.
164
+ This is always required if your site is configured to disable global acceleration.
163
165
  This can also be set to use a mock server in development or CI.
164
166
 
165
167
  ```ruby title="Example setting"
@@ -603,6 +605,8 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
603
605
  |`DestinationParentConflictError`| `ProcessingFailureError` |
604
606
  |`DestinationParentDoesNotExistError`| `ProcessingFailureError` |
605
607
  |`ExceededRuntimeLimitError`| `ProcessingFailureError` |
608
+ |`ExpectationAlreadyHasOpenWindowError`| `ProcessingFailureError` |
609
+ |`ExpectationNotManualTriggerError`| `ProcessingFailureError` |
606
610
  |`ExpiredPrivateKeyError`| `ProcessingFailureError` |
607
611
  |`ExpiredPublicKeyError`| `ProcessingFailureError` |
608
612
  |`ExportFailureError`| `ProcessingFailureError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.583
1
+ 1.1.585
@@ -0,0 +1,318 @@
1
+ # Expectation
2
+
3
+ ## Example Expectation Object
4
+
5
+ ```
6
+ {
7
+ "id": 1,
8
+ "workspace_id": 1,
9
+ "name": "Daily Vendor Feed",
10
+ "description": "Wait for the vendor CSV every morning.",
11
+ "path": "incoming/vendor_a",
12
+ "source": "*.csv",
13
+ "exclude_pattern": "*.tmp",
14
+ "disabled": true,
15
+ "expectations_version": 1,
16
+ "trigger": "manual",
17
+ "interval": "day",
18
+ "recurring_day": 3,
19
+ "schedule_days_of_week": [
20
+ 1,
21
+ 3,
22
+ 5
23
+ ],
24
+ "schedule_times_of_day": [
25
+ "06:00"
26
+ ],
27
+ "schedule_time_zone": "UTC",
28
+ "holiday_region": "us",
29
+ "lookback_interval": 3600,
30
+ "late_acceptance_interval": 900,
31
+ "inactivity_interval": 300,
32
+ "max_open_interval": 43200,
33
+ "criteria": {
34
+ "count": {
35
+ "exact": 1
36
+ },
37
+ "extensions": [
38
+ "csv"
39
+ ]
40
+ },
41
+ "last_evaluated_at": "2000-01-01T01:00:00Z",
42
+ "last_success_at": "2000-01-01T01:00:00Z",
43
+ "last_failure_at": "2000-01-01T01:00:00Z",
44
+ "last_result": "success",
45
+ "created_at": "2000-01-01T01:00:00Z",
46
+ "updated_at": "2000-01-01T01:00:00Z"
47
+ }
48
+ ```
49
+
50
+ * `id` (int64): Expectation ID
51
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
52
+ * `name` (string): Expectation name.
53
+ * `description` (string): Expectation description.
54
+ * `path` (string): Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
55
+ * `source` (string): Source glob used to select candidate files.
56
+ * `exclude_pattern` (string): Optional source exclusion glob.
57
+ * `disabled` (boolean): If true, the expectation is disabled.
58
+ * `expectations_version` (int64): Criteria schema version for this expectation.
59
+ * `trigger` (string): How this expectation opens windows.
60
+ * `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
61
+ * `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
62
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
63
+ * `schedule_times_of_day` (array(string)): Times of day in HH:MM format for schedule-driven expectations.
64
+ * `schedule_time_zone` (string): Time zone used by the expectation schedule.
65
+ * `holiday_region` (string): Optional holiday region used by schedule-driven expectations.
66
+ * `lookback_interval` (int64): How many seconds before the due boundary the window starts.
67
+ * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
68
+ * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
69
+ * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
70
+ * `criteria` (object): Structured criteria v1 definition for the expectation.
71
+ * `last_evaluated_at` (date-time): Last time this expectation was evaluated.
72
+ * `last_success_at` (date-time): Last time this expectation closed successfully.
73
+ * `last_failure_at` (date-time): Last time this expectation closed with a failure result.
74
+ * `last_result` (string): Most recent terminal result for this expectation.
75
+ * `created_at` (date-time): Creation time.
76
+ * `updated_at` (date-time): Last update time.
77
+
78
+
79
+ ---
80
+
81
+ ## List Expectations
82
+
83
+ ```
84
+ Files::Expectation.list
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ * `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.
90
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
91
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `disabled`.
92
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled` and `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
93
+
94
+
95
+ ---
96
+
97
+ ## Show Expectation
98
+
99
+ ```
100
+ Files::Expectation.find(id)
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+ * `id` (int64): Required - Expectation ID.
106
+
107
+
108
+ ---
109
+
110
+ ## Create Expectation
111
+
112
+ ```
113
+ Files::Expectation.create(
114
+ name: "Daily Vendor Feed",
115
+ description: "Wait for the vendor CSV every morning.",
116
+ path: "incoming/vendor_a",
117
+ source: "*.csv",
118
+ exclude_pattern: "*.tmp",
119
+ disabled: true,
120
+ trigger: "manual",
121
+ interval: "day",
122
+ recurring_day: 3,
123
+ schedule_days_of_week: [1,3,5],
124
+ schedule_times_of_day: ["06:00"],
125
+ schedule_time_zone: "UTC",
126
+ holiday_region: "us",
127
+ lookback_interval: 3600,
128
+ late_acceptance_interval: 900,
129
+ inactivity_interval: 300,
130
+ max_open_interval: 43200,
131
+ criteria: {"count":{"exact":1},"extensions":["csv"]},
132
+ workspace_id: 0
133
+ )
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ * `name` (string): Expectation name.
139
+ * `description` (string): Expectation description.
140
+ * `path` (string): Path scope for the expectation. Supports workspace-relative presentation.
141
+ * `source` (string): Source glob used to select candidate files.
142
+ * `exclude_pattern` (string): Optional source exclusion glob.
143
+ * `disabled` (boolean): If true, the expectation is disabled.
144
+ * `trigger` (string): How this expectation opens windows.
145
+ * `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
146
+ * `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
147
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
148
+ * `schedule_times_of_day` (array(string)): Times of day in HH:MM format for schedule-driven expectations.
149
+ * `schedule_time_zone` (string): Time zone used by the expectation schedule.
150
+ * `holiday_region` (string): Optional holiday region used by schedule-driven expectations.
151
+ * `lookback_interval` (int64): How many seconds before the due boundary the window starts.
152
+ * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
153
+ * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
154
+ * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
155
+ * `criteria` (object): Structured criteria v1 definition for the expectation.
156
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
157
+
158
+
159
+ ---
160
+
161
+ ## Manually open an Expectation window
162
+
163
+ ```
164
+ Files::Expectation.trigger_evaluation(id)
165
+ ```
166
+
167
+ ### Parameters
168
+
169
+ * `id` (int64): Required - Expectation ID.
170
+
171
+
172
+ ---
173
+
174
+ ## Update Expectation
175
+
176
+ ```
177
+ Files::Expectation.update(id,
178
+ name: "Daily Vendor Feed",
179
+ description: "Wait for the vendor CSV every morning.",
180
+ path: "incoming/vendor_a",
181
+ source: "*.csv",
182
+ exclude_pattern: "*.tmp",
183
+ disabled: true,
184
+ trigger: "manual",
185
+ interval: "day",
186
+ recurring_day: 3,
187
+ schedule_days_of_week: [1,3,5],
188
+ schedule_times_of_day: ["06:00"],
189
+ schedule_time_zone: "UTC",
190
+ holiday_region: "us",
191
+ lookback_interval: 3600,
192
+ late_acceptance_interval: 900,
193
+ inactivity_interval: 300,
194
+ max_open_interval: 43200,
195
+ criteria: {"count":{"exact":1},"extensions":["csv"]},
196
+ workspace_id: 0
197
+ )
198
+ ```
199
+
200
+ ### Parameters
201
+
202
+ * `id` (int64): Required - Expectation ID.
203
+ * `name` (string): Expectation name.
204
+ * `description` (string): Expectation description.
205
+ * `path` (string): Path scope for the expectation. Supports workspace-relative presentation.
206
+ * `source` (string): Source glob used to select candidate files.
207
+ * `exclude_pattern` (string): Optional source exclusion glob.
208
+ * `disabled` (boolean): If true, the expectation is disabled.
209
+ * `trigger` (string): How this expectation opens windows.
210
+ * `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
211
+ * `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
212
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
213
+ * `schedule_times_of_day` (array(string)): Times of day in HH:MM format for schedule-driven expectations.
214
+ * `schedule_time_zone` (string): Time zone used by the expectation schedule.
215
+ * `holiday_region` (string): Optional holiday region used by schedule-driven expectations.
216
+ * `lookback_interval` (int64): How many seconds before the due boundary the window starts.
217
+ * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
218
+ * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
219
+ * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
220
+ * `criteria` (object): Structured criteria v1 definition for the expectation.
221
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
222
+
223
+
224
+ ---
225
+
226
+ ## Delete Expectation
227
+
228
+ ```
229
+ Files::Expectation.delete(id)
230
+ ```
231
+
232
+ ### Parameters
233
+
234
+ * `id` (int64): Required - Expectation ID.
235
+
236
+
237
+ ---
238
+
239
+ ## Manually open an Expectation window
240
+
241
+ ```
242
+ expectation = Files::Expectation.find(id)
243
+
244
+ expectation.trigger_evaluation
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+ * `id` (int64): Required - Expectation ID.
250
+
251
+
252
+ ---
253
+
254
+ ## Update Expectation
255
+
256
+ ```
257
+ expectation = Files::Expectation.find(id)
258
+
259
+ expectation.update(
260
+ name: "Daily Vendor Feed",
261
+ description: "Wait for the vendor CSV every morning.",
262
+ path: "incoming/vendor_a",
263
+ source: "*.csv",
264
+ exclude_pattern: "*.tmp",
265
+ disabled: true,
266
+ trigger: "manual",
267
+ interval: "day",
268
+ recurring_day: 3,
269
+ schedule_days_of_week: [1,3,5],
270
+ schedule_times_of_day: ["06:00"],
271
+ schedule_time_zone: "UTC",
272
+ holiday_region: "us",
273
+ lookback_interval: 3600,
274
+ late_acceptance_interval: 900,
275
+ inactivity_interval: 300,
276
+ max_open_interval: 43200,
277
+ criteria: {"count":{"exact":1},"extensions":["csv"]},
278
+ workspace_id: 0
279
+ )
280
+ ```
281
+
282
+ ### Parameters
283
+
284
+ * `id` (int64): Required - Expectation ID.
285
+ * `name` (string): Expectation name.
286
+ * `description` (string): Expectation description.
287
+ * `path` (string): Path scope for the expectation. Supports workspace-relative presentation.
288
+ * `source` (string): Source glob used to select candidate files.
289
+ * `exclude_pattern` (string): Optional source exclusion glob.
290
+ * `disabled` (boolean): If true, the expectation is disabled.
291
+ * `trigger` (string): How this expectation opens windows.
292
+ * `interval` (string): If trigger is `daily`, this specifies how often to run the expectation.
293
+ * `recurring_day` (int64): If trigger is `daily`, this selects the day number inside the chosen interval.
294
+ * `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
295
+ * `schedule_times_of_day` (array(string)): Times of day in HH:MM format for schedule-driven expectations.
296
+ * `schedule_time_zone` (string): Time zone used by the expectation schedule.
297
+ * `holiday_region` (string): Optional holiday region used by schedule-driven expectations.
298
+ * `lookback_interval` (int64): How many seconds before the due boundary the window starts.
299
+ * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
300
+ * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
301
+ * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
302
+ * `criteria` (object): Structured criteria v1 definition for the expectation.
303
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
304
+
305
+
306
+ ---
307
+
308
+ ## Delete Expectation
309
+
310
+ ```
311
+ expectation = Files::Expectation.find(id)
312
+
313
+ expectation.delete
314
+ ```
315
+
316
+ ### Parameters
317
+
318
+ * `id` (int64): Required - Expectation ID.
@@ -0,0 +1,80 @@
1
+ # ExpectationEvaluation
2
+
3
+ ## Example ExpectationEvaluation Object
4
+
5
+ ```
6
+ {
7
+ "id": 1,
8
+ "workspace_id": 1,
9
+ "expectation_id": 1,
10
+ "status": "open",
11
+ "opened_via": "manual",
12
+ "opened_at": "2000-01-01T01:00:00Z",
13
+ "window_start_at": "2000-01-01T01:00:00Z",
14
+ "window_end_at": "2000-01-01T01:00:00Z",
15
+ "deadline_at": "2000-01-01T01:00:00Z",
16
+ "late_acceptance_cutoff_at": "2000-01-01T01:00:00Z",
17
+ "hard_close_at": "2000-01-01T01:00:00Z",
18
+ "closed_at": "2000-01-01T01:00:00Z",
19
+ "matched_files": [
20
+
21
+ ],
22
+ "missing_files": [
23
+
24
+ ],
25
+ "criteria_errors": [
26
+
27
+ ],
28
+ "summary": null,
29
+ "created_at": "2000-01-01T01:00:00Z",
30
+ "updated_at": "2000-01-01T01:00:00Z"
31
+ }
32
+ ```
33
+
34
+ * `id` (int64): ExpectationEvaluation ID
35
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
36
+ * `expectation_id` (int64): Expectation ID.
37
+ * `status` (string): Evaluation status.
38
+ * `opened_via` (string): How the evaluation window was opened.
39
+ * `opened_at` (date-time): When the evaluation row was opened.
40
+ * `window_start_at` (date-time): Logical start of the candidate window.
41
+ * `window_end_at` (date-time): Actual candidate cutoff boundary for the window.
42
+ * `deadline_at` (date-time): Logical due boundary for schedule-driven windows.
43
+ * `late_acceptance_cutoff_at` (date-time): Logical cutoff for late acceptance, when present.
44
+ * `hard_close_at` (date-time): Hard stop after which the window may not remain open.
45
+ * `closed_at` (date-time): When the evaluation row was finalized.
46
+ * `matched_files` (array(object)): Captured evidence for files that matched the window.
47
+ * `missing_files` (array(object)): Captured evidence for required files that were missing.
48
+ * `criteria_errors` (array(object)): Captured criteria failures for the window.
49
+ * `summary` (object): Compact evaluator summary payload.
50
+ * `created_at` (date-time): Creation time.
51
+ * `updated_at` (date-time): Last update time.
52
+
53
+
54
+ ---
55
+
56
+ ## List Expectation Evaluations
57
+
58
+ ```
59
+ Files::ExpectationEvaluation.list
60
+ ```
61
+
62
+ ### Parameters
63
+
64
+ * `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.
65
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
66
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
67
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
68
+
69
+
70
+ ---
71
+
72
+ ## Show Expectation Evaluation
73
+
74
+ ```
75
+ Files::ExpectationEvaluation.find(id)
76
+ ```
77
+
78
+ ### Parameters
79
+
80
+ * `id` (int64): Required - Expectation Evaluation ID.
@@ -0,0 +1,158 @@
1
+ # ExpectationIncident
2
+
3
+ ## Example ExpectationIncident Object
4
+
5
+ ```
6
+ {
7
+ "id": 1,
8
+ "workspace_id": 1,
9
+ "expectation_id": 1,
10
+ "status": "open",
11
+ "opened_at": "2000-01-01T01:00:00Z",
12
+ "last_failed_at": "2000-01-01T01:00:00Z",
13
+ "acknowledged_at": "2000-01-01T01:00:00Z",
14
+ "snoozed_until": "2000-01-01T01:00:00Z",
15
+ "resolved_at": "2000-01-01T01:00:00Z",
16
+ "opened_by_evaluation_id": 1,
17
+ "last_evaluation_id": 2,
18
+ "resolved_by_evaluation_id": 3,
19
+ "summary": null,
20
+ "created_at": "2000-01-01T01:00:00Z",
21
+ "updated_at": "2000-01-01T01:00:00Z"
22
+ }
23
+ ```
24
+
25
+ * `id` (int64): Expectation Incident ID
26
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
27
+ * `expectation_id` (int64): Expectation ID.
28
+ * `status` (string): Incident status.
29
+ * `opened_at` (date-time): When the incident was opened.
30
+ * `last_failed_at` (date-time): When the most recent failing evaluation contributing to the incident occurred.
31
+ * `acknowledged_at` (date-time): When the incident was acknowledged.
32
+ * `snoozed_until` (date-time): When the current snooze expires.
33
+ * `resolved_at` (date-time): When the incident was resolved.
34
+ * `opened_by_evaluation_id` (int64): Evaluation that first opened the incident.
35
+ * `last_evaluation_id` (int64): Most recent evaluation linked to the incident.
36
+ * `resolved_by_evaluation_id` (int64): Evaluation that resolved the incident.
37
+ * `summary` (object): Compact incident summary payload.
38
+ * `created_at` (date-time): Creation time.
39
+ * `updated_at` (date-time): Last update time.
40
+
41
+
42
+ ---
43
+
44
+ ## List Expectation Incidents
45
+
46
+ ```
47
+ Files::ExpectationIncident.list
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ * `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.
53
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
55
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
56
+
57
+
58
+ ---
59
+
60
+ ## Show Expectation Incident
61
+
62
+ ```
63
+ Files::ExpectationIncident.find(id)
64
+ ```
65
+
66
+ ### Parameters
67
+
68
+ * `id` (int64): Required - Expectation Incident ID.
69
+
70
+
71
+ ---
72
+
73
+ ## Resolve an expectation incident
74
+
75
+ ```
76
+ Files::ExpectationIncident.resolve(id)
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ * `id` (int64): Required - Expectation Incident ID.
82
+
83
+
84
+ ---
85
+
86
+ ## Snooze an expectation incident until a specified time
87
+
88
+ ```
89
+ Files::ExpectationIncident.snooze(id,
90
+ snoozed_until: "snoozed_until"
91
+ )
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ * `id` (int64): Required - Expectation Incident ID.
97
+ * `snoozed_until` (string): Required - Time until which the incident should remain snoozed.
98
+
99
+
100
+ ---
101
+
102
+ ## Acknowledge an expectation incident
103
+
104
+ ```
105
+ Files::ExpectationIncident.acknowledge(id)
106
+ ```
107
+
108
+ ### Parameters
109
+
110
+ * `id` (int64): Required - Expectation Incident ID.
111
+
112
+
113
+ ---
114
+
115
+ ## Resolve an expectation incident
116
+
117
+ ```
118
+ expectation_incident = Files::ExpectationIncident.find(id)
119
+
120
+ expectation_incident.resolve
121
+ ```
122
+
123
+ ### Parameters
124
+
125
+ * `id` (int64): Required - Expectation Incident ID.
126
+
127
+
128
+ ---
129
+
130
+ ## Snooze an expectation incident until a specified time
131
+
132
+ ```
133
+ expectation_incident = Files::ExpectationIncident.find(id)
134
+
135
+ expectation_incident.snooze(
136
+ snoozed_until: "snoozed_until"
137
+ )
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ * `id` (int64): Required - Expectation Incident ID.
143
+ * `snoozed_until` (string): Required - Time until which the incident should remain snoozed.
144
+
145
+
146
+ ---
147
+
148
+ ## Acknowledge an expectation incident
149
+
150
+ ```
151
+ expectation_incident = Files::ExpectationIncident.find(id)
152
+
153
+ expectation_incident.acknowledge
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ * `id` (int64): Required - Expectation Incident ID.
@@ -187,6 +187,8 @@ module Files
187
187
  class DestinationParentConflictError < ProcessingFailureError; end
188
188
  class DestinationParentDoesNotExistError < ProcessingFailureError; end
189
189
  class ExceededRuntimeLimitError < ProcessingFailureError; end
190
+ class ExpectationAlreadyHasOpenWindowError < ProcessingFailureError; end
191
+ class ExpectationNotManualTriggerError < ProcessingFailureError; end
190
192
  class ExpiredPrivateKeyError < ProcessingFailureError; end
191
193
  class ExpiredPublicKeyError < ProcessingFailureError; end
192
194
  class ExportFailureError < ProcessingFailureError; end