files.com 1.1.429 → 1.1.430
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/key_lifecycle_rule.md +2 -1
- data/docs/restore.md +2 -0
- data/lib/files.com/models/key_lifecycle_rule.rb +3 -1
- data/lib/files.com/models/restore.rb +4 -0
- 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: 402306e446687592de2cfaee16c5304473d38ea6d843cf4232a5de4a6b987070
|
|
4
|
+
data.tar.gz: 2b30406c711f600be0d2cdf798ce8c4a56a828f462d53904750d6db763b1fe35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4e48fbae46b91fd4e588e809018435da0a14fb416891016318fdad61af07b8c38189e869ffd38432c7da8fa786279efe36ca920792805ad5479c5b576d32922
|
|
7
|
+
data.tar.gz: d7993e71403b7aad14b405795ed1edb116f9de99b68cc4fa89fd17f1ac41c5e7a6dd6720f6e9a62b0dcd83c4e6fe99037cbfef25c24e2b68d42af15df48dbf2c
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.430
|
data/docs/key_lifecycle_rule.md
CHANGED
|
@@ -29,7 +29,8 @@ Files::KeyLifecycleRule.list
|
|
|
29
29
|
|
|
30
30
|
* `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.
|
|
31
31
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
32
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are
|
|
32
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `key_type`.
|
|
33
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type`.
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
---
|
data/docs/restore.md
CHANGED
|
@@ -65,6 +65,8 @@ Files::Restore.list
|
|
|
65
65
|
|
|
66
66
|
* `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.
|
|
67
67
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
68
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
69
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
---
|
|
@@ -91,11 +91,13 @@ module Files
|
|
|
91
91
|
# Parameters:
|
|
92
92
|
# 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.
|
|
93
93
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
94
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are
|
|
94
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `key_type`.
|
|
95
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type`.
|
|
95
96
|
def self.list(params = {}, options = {})
|
|
96
97
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
97
98
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
98
99
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
100
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
99
101
|
|
|
100
102
|
List.new(KeyLifecycleRule, params) do
|
|
101
103
|
Api.send_request("/key_lifecycle_rules", :get, params, options)
|
|
@@ -212,9 +212,13 @@ module Files
|
|
|
212
212
|
# Parameters:
|
|
213
213
|
# 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.
|
|
214
214
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
215
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
216
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
|
|
215
217
|
def self.list(params = {}, options = {})
|
|
216
218
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
217
219
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
220
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
221
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
218
222
|
|
|
219
223
|
List.new(Restore, params) do
|
|
220
224
|
Api.send_request("/restores", :get, params, options)
|
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.430
|
|
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-12-
|
|
11
|
+
date: 2025-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|