files.com 1.1.535 → 1.1.537
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_run.md +1 -1
- data/docs/bundle.md +1 -1
- data/docs/usage_snapshot.md +20 -20
- data/lib/files.com/models/automation_run.rb +1 -1
- data/lib/files.com/models/bundle.rb +1 -1
- data/lib/files.com/models/usage_snapshot.rb +10 -10
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edf35af544602c38de6b79684d2e3f9d3ab8d569cec9a21507641fdc3fe4d1dc
|
|
4
|
+
data.tar.gz: 49e124796deea1ddb5ba5d0595ed988bd9d0c6f39239057287978d1030b4d872
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fca2575a5dfa8eb3432b0ec11426e0bc885d2b4c6366bbf70c412fe2df5175126fd7d3af4c6d106cb47a1ff18b6113725c2627ba8262651c419fb00879616fef
|
|
7
|
+
data.tar.gz: f4b23df33cfacfe27f636fb496d6fb86f3a64559da6dcef2eef3d907ddf699c37fe47c452779817d4d4b05e0ce45bee7f4e0939887f609da302a1d483d06c49b
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.537
|
data/docs/automation_run.md
CHANGED
|
@@ -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
|
|
data/docs/bundle.md
CHANGED
|
@@ -154,7 +154,7 @@ Files::Bundle.list(
|
|
|
154
154
|
* `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.
|
|
155
155
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
156
156
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
157
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
157
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
158
158
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
159
159
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
160
160
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
data/docs/usage_snapshot.md
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"start_at": "2000-01-01T01:00:00Z",
|
|
9
9
|
"end_at": "2000-01-01T01:00:00Z",
|
|
10
10
|
"high_water_user_count": 1,
|
|
11
|
-
"current_storage":
|
|
12
|
-
"high_water_storage":
|
|
13
|
-
"root_storage":
|
|
14
|
-
"deleted_files_counted_in_minimum":
|
|
15
|
-
"deleted_files_storage":
|
|
16
|
-
"total_billable_usage":
|
|
17
|
-
"total_billable_transfer_usage":
|
|
18
|
-
"bytes_sent":
|
|
19
|
-
"sync_bytes_received":
|
|
20
|
-
"sync_bytes_sent":
|
|
11
|
+
"current_storage": 1,
|
|
12
|
+
"high_water_storage": 1,
|
|
13
|
+
"root_storage": 1,
|
|
14
|
+
"deleted_files_counted_in_minimum": 1,
|
|
15
|
+
"deleted_files_storage": 1,
|
|
16
|
+
"total_billable_usage": 1,
|
|
17
|
+
"total_billable_transfer_usage": 1,
|
|
18
|
+
"bytes_sent": 1,
|
|
19
|
+
"sync_bytes_received": 1,
|
|
20
|
+
"sync_bytes_sent": 1,
|
|
21
21
|
"usage_by_top_level_dir": [
|
|
22
22
|
{
|
|
23
23
|
"dir": "dir",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
* `start_at` (date-time): Usage snapshot start date/time
|
|
33
33
|
* `end_at` (date-time): Usage snapshot end date/time
|
|
34
34
|
* `high_water_user_count` (int64): Highest user count number in time period
|
|
35
|
-
* `current_storage` (
|
|
36
|
-
* `high_water_storage` (
|
|
37
|
-
* `root_storage` (
|
|
38
|
-
* `deleted_files_counted_in_minimum` (
|
|
39
|
-
* `deleted_files_storage` (
|
|
40
|
-
* `total_billable_usage` (
|
|
41
|
-
* `total_billable_transfer_usage` (
|
|
42
|
-
* `bytes_sent` (
|
|
43
|
-
* `sync_bytes_received` (
|
|
44
|
-
* `sync_bytes_sent` (
|
|
35
|
+
* `current_storage` (int64): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
|
|
36
|
+
* `high_water_storage` (int64): Highest Storage Usage GB recorded in time period (used for billing)
|
|
37
|
+
* `root_storage` (int64): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
|
|
38
|
+
* `deleted_files_counted_in_minimum` (int64): Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
|
|
39
|
+
* `deleted_files_storage` (int64): Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
|
|
40
|
+
* `total_billable_usage` (int64): Storage + Transfer Usage - Total Billable amount
|
|
41
|
+
* `total_billable_transfer_usage` (int64): Transfer usage for period - Total Billable amount
|
|
42
|
+
* `bytes_sent` (int64): Transfer Usage for period - Outbound GB from Files Native Storage
|
|
43
|
+
* `sync_bytes_received` (int64): Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
|
|
44
|
+
* `sync_bytes_sent` (int64): Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
|
|
45
45
|
* `usage_by_top_level_dir` (array(object)): Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
|
|
46
46
|
|
|
47
47
|
|
|
@@ -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)
|
|
@@ -531,7 +531,7 @@ module Files
|
|
|
531
531
|
# 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.
|
|
532
532
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
533
533
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
534
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
534
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
535
535
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
536
536
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
537
537
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -29,52 +29,52 @@ module Files
|
|
|
29
29
|
@attributes[:high_water_user_count]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
#
|
|
32
|
+
# int64 - Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
|
|
33
33
|
def current_storage
|
|
34
34
|
@attributes[:current_storage]
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# int64 - Highest Storage Usage GB recorded in time period (used for billing)
|
|
38
38
|
def high_water_storage
|
|
39
39
|
@attributes[:high_water_storage]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
#
|
|
42
|
+
# int64 - Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
|
|
43
43
|
def root_storage
|
|
44
44
|
@attributes[:root_storage]
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
#
|
|
47
|
+
# int64 - Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
|
|
48
48
|
def deleted_files_counted_in_minimum
|
|
49
49
|
@attributes[:deleted_files_counted_in_minimum]
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
#
|
|
52
|
+
# int64 - Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
|
|
53
53
|
def deleted_files_storage
|
|
54
54
|
@attributes[:deleted_files_storage]
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
#
|
|
57
|
+
# int64 - Storage + Transfer Usage - Total Billable amount
|
|
58
58
|
def total_billable_usage
|
|
59
59
|
@attributes[:total_billable_usage]
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
-
#
|
|
62
|
+
# int64 - Transfer usage for period - Total Billable amount
|
|
63
63
|
def total_billable_transfer_usage
|
|
64
64
|
@attributes[:total_billable_transfer_usage]
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
#
|
|
67
|
+
# int64 - Transfer Usage for period - Outbound GB from Files Native Storage
|
|
68
68
|
def bytes_sent
|
|
69
69
|
@attributes[:bytes_sent]
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
#
|
|
72
|
+
# int64 - Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
|
|
73
73
|
def sync_bytes_received
|
|
74
74
|
@attributes[:sync_bytes_received]
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
#
|
|
77
|
+
# int64 - Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
|
|
78
78
|
def sync_bytes_sent
|
|
79
79
|
@attributes[:sync_bytes_sent]
|
|
80
80
|
end
|
data/lib/files.com/version.rb
CHANGED