files.com 1.1.601 → 1.1.603
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/file_migration.md +2 -0
- data/docs/user_lifecycle_rule.md +8 -8
- data/lib/files.com/models/file_migration.rb +5 -0
- data/lib/files.com/models/user_lifecycle_rule.rb +4 -4
- 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: bbb4000a4fef4d9a08ec6584c260036f85fc135cf04b627a4701bebfa217cab3
|
|
4
|
+
data.tar.gz: 3a04d5538c5751491746a7bab834b80b155a2127c47f970c115621f82617ee3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 567d6d5dcdd1fe9c164b034443352999fcacf0b91fe1e0265d396445f53408d9f10ed0f668f481eb9f097936c58dc3c8f2c57ed49e11ded7f7b1006efb50e798
|
|
7
|
+
data.tar.gz: 30f630aef6ca3b6e20943ac4a9f83077482637385440e48e8dab0bb22be891f0efbf91ade65af97b58450cf18175a5ab20ab6bb8efbb595bdfb6515fc81427dc
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.603
|
data/docs/file_migration.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"path": "MyFolder",
|
|
9
9
|
"dest_path": "MyFolder",
|
|
10
|
+
"failure_message": "example",
|
|
10
11
|
"files_moved": 1,
|
|
11
12
|
"files_total": 1,
|
|
12
13
|
"operation": "move",
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
* `id` (int64): File migration ID
|
|
20
21
|
* `path` (string): Source path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
21
22
|
* `dest_path` (string): Destination path
|
|
23
|
+
* `failure_message` (string): Reason for the failure, if applicable.
|
|
22
24
|
* `files_moved` (int64): Number of files processed
|
|
23
25
|
* `files_total` (int64):
|
|
24
26
|
* `operation` (string): The type of operation
|
data/docs/user_lifecycle_rule.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
-
"authentication_method": "
|
|
8
|
+
"authentication_method": "all_non_sso",
|
|
9
9
|
"group_ids": [
|
|
10
10
|
1,
|
|
11
11
|
2,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
* `id` (int64): User Lifecycle Rule ID
|
|
29
|
-
* `authentication_method` (string): User authentication method for which the rule will apply.
|
|
29
|
+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
30
30
|
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
31
31
|
* `action` (string): Action to take on inactive users (disable or delete)
|
|
32
32
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
|
|
@@ -77,7 +77,7 @@ Files::UserLifecycleRule.find(id)
|
|
|
77
77
|
```
|
|
78
78
|
Files::UserLifecycleRule.create(
|
|
79
79
|
apply_to_all_workspaces: true,
|
|
80
|
-
authentication_method: "
|
|
80
|
+
authentication_method: "all_non_sso",
|
|
81
81
|
group_ids: [1,2,3],
|
|
82
82
|
inactivity_days: 12,
|
|
83
83
|
include_site_admins: true,
|
|
@@ -94,7 +94,7 @@ Files::UserLifecycleRule.create(
|
|
|
94
94
|
|
|
95
95
|
* `action` (string): Action to take on inactive users (disable or delete)
|
|
96
96
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
|
|
97
|
-
* `authentication_method` (string): User authentication method for which the rule will apply.
|
|
97
|
+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
98
98
|
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
99
99
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
|
|
100
100
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
@@ -113,7 +113,7 @@ Files::UserLifecycleRule.create(
|
|
|
113
113
|
```
|
|
114
114
|
Files::UserLifecycleRule.update(id,
|
|
115
115
|
apply_to_all_workspaces: true,
|
|
116
|
-
authentication_method: "
|
|
116
|
+
authentication_method: "all_non_sso",
|
|
117
117
|
group_ids: [1,2,3],
|
|
118
118
|
inactivity_days: 12,
|
|
119
119
|
include_site_admins: true,
|
|
@@ -131,7 +131,7 @@ Files::UserLifecycleRule.update(id,
|
|
|
131
131
|
* `id` (int64): Required - User Lifecycle Rule ID.
|
|
132
132
|
* `action` (string): Action to take on inactive users (disable or delete)
|
|
133
133
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
|
|
134
|
-
* `authentication_method` (string): User authentication method for which the rule will apply.
|
|
134
|
+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
135
135
|
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
136
136
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
|
|
137
137
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
@@ -165,7 +165,7 @@ user_lifecycle_rule = Files::UserLifecycleRule.find(id)
|
|
|
165
165
|
|
|
166
166
|
user_lifecycle_rule.update(
|
|
167
167
|
apply_to_all_workspaces: true,
|
|
168
|
-
authentication_method: "
|
|
168
|
+
authentication_method: "all_non_sso",
|
|
169
169
|
group_ids: [1,2,3],
|
|
170
170
|
inactivity_days: 12,
|
|
171
171
|
include_site_admins: true,
|
|
@@ -183,7 +183,7 @@ user_lifecycle_rule.update(
|
|
|
183
183
|
* `id` (int64): Required - User Lifecycle Rule ID.
|
|
184
184
|
* `action` (string): Action to take on inactive users (disable or delete)
|
|
185
185
|
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
|
|
186
|
-
* `authentication_method` (string): User authentication method for which the rule will apply.
|
|
186
|
+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
187
187
|
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
188
188
|
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
|
|
189
189
|
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
|
|
@@ -24,6 +24,11 @@ module Files
|
|
|
24
24
|
@attributes[:dest_path]
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
# string - Reason for the failure, if applicable.
|
|
28
|
+
def failure_message
|
|
29
|
+
@attributes[:failure_message]
|
|
30
|
+
end
|
|
31
|
+
|
|
27
32
|
# int64 - Number of files processed
|
|
28
33
|
def files_moved
|
|
29
34
|
@attributes[:files_moved]
|
|
@@ -18,7 +18,7 @@ module Files
|
|
|
18
18
|
@attributes[:id] = value
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
# string - User authentication method for which the rule will apply.
|
|
21
|
+
# string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
22
22
|
def authentication_method
|
|
23
23
|
@attributes[:authentication_method]
|
|
24
24
|
end
|
|
@@ -138,7 +138,7 @@ module Files
|
|
|
138
138
|
# Parameters:
|
|
139
139
|
# action - string - Action to take on inactive users (disable or delete)
|
|
140
140
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
|
|
141
|
-
# authentication_method - string - User authentication method for which the rule will apply.
|
|
141
|
+
# authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
142
142
|
# group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
143
143
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies
|
|
144
144
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
|
@@ -232,7 +232,7 @@ module Files
|
|
|
232
232
|
# Parameters:
|
|
233
233
|
# action - string - Action to take on inactive users (disable or delete)
|
|
234
234
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
|
|
235
|
-
# authentication_method - string - User authentication method for which the rule will apply.
|
|
235
|
+
# authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
236
236
|
# group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
237
237
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies
|
|
238
238
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
|
@@ -260,7 +260,7 @@ module Files
|
|
|
260
260
|
# Parameters:
|
|
261
261
|
# action - string - Action to take on inactive users (disable or delete)
|
|
262
262
|
# apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
|
|
263
|
-
# authentication_method - string - User authentication method for which the rule will apply.
|
|
263
|
+
# authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
|
|
264
264
|
# group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
|
|
265
265
|
# inactivity_days - int64 - Number of days of inactivity before the rule applies
|
|
266
266
|
# include_site_admins - boolean - If true, the rule will apply to site admins.
|
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.603
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|