files.com 1.0.105 → 1.0.106

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: 8cd77bb2f9cb48b58dcda25c2604f5456b55111db664dc3fb7bca8babe8074da
4
- data.tar.gz: 5adda7542727b131b64f313edc01608cd3b44d3461c0ec2dec1f007e1d4d8c35
3
+ metadata.gz: 32131f5bd3bf8f5002f21ab2ad489b1ccf93bc1fcb7c42427ea5c18f83af9977
4
+ data.tar.gz: 797cf35c63d959a478f124ff84d5f3cdef1d1c1a0d1098cc2d201cc8950ec1c8
5
5
  SHA512:
6
- metadata.gz: 6468ef426a11a2decd80f733c8552a7e47d736ed3606116199282044441db62cf62abb22e3df058723b74a896832b585a072f427807a55a7d68bd0ca33d320db
7
- data.tar.gz: 4b0bc1dbb25ce5dc5b1182209bbe4cacd3cd6ffa5279ee885b6846a76a1821d54ee9a95fb11dfc5ed42df39bb3b5a67c59a9a134f3f7da3d0fe9e99276005a1d
6
+ metadata.gz: 0b0ec308bc1cfd10683b7fd92796eb4bc686de078b364dcb819f2531b9850b120a2721da2e49e97949b424c2648b131f83195358e404ff98bb814594193bca4f
7
+ data.tar.gz: 4c57b09e30babaeeada3e8d08f9904dbcf17b4fe22ed9be57285e8f7cde9d2142e551b61c87f9feb955269c144989eac1d16660919ea95b47dacbba639f681ff
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.105
1
+ 1.0.106
@@ -141,7 +141,7 @@ Files::File.delete(path,
141
141
  ### Parameters
142
142
 
143
143
  * `path` (string): Required - Path to operate on.
144
- * `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders. For legacy reasons, this parameter may also be provided as the HTTP header `Depth: Infinity`
144
+ * `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
145
145
 
146
146
 
147
147
  ---
@@ -201,4 +201,4 @@ file.delete(
201
201
  ### Parameters
202
202
 
203
203
  * `path` (string): Required - Path to operate on.
204
- * `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders. For legacy reasons, this parameter may also be provided as the HTTP header `Depth: Infinity`
204
+ * `recursive` (boolean): If true, will recursively delete folers. Otherwise, will error on non-empty folders.
@@ -66,7 +66,7 @@ Files::Folder.list_for(path,
66
66
 
67
67
  * `page` (int64): Current page number.
68
68
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
- * `action` (string): Action to take. Can be `count`, `count_nrs` (non recursive), `size`, `permissions`, or blank.
69
+ * `action` (string): Action to take. Can be `count`, `size`, `permissions`, or blank.
70
70
  * `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
71
71
  * `path` (string): Required - Path to operate on.
72
72
  * `filter` (string): If specified, will to filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
@@ -23,6 +23,7 @@
23
23
  "provision_groups": true,
24
24
  "deprovision_users": true,
25
25
  "deprovision_groups": true,
26
+ "deprovision_behavior": "disable",
26
27
  "provision_group_default": "Employees",
27
28
  "provision_group_exclusion": "Employees",
28
29
  "provision_group_inclusion": "Employees",
@@ -62,6 +63,7 @@
62
63
  * `provision_groups` (boolean): Auto-provision group membership based on group memberships on the SSO side?
63
64
  * `deprovision_users` (boolean): Auto-deprovision users?
64
65
  * `deprovision_groups` (boolean): Auto-deprovision group membership based on group memberships on the SSO side?
66
+ * `deprovision_behavior` (string): Method used for deprovisioning users.
65
67
  * `provision_group_default` (string): Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
66
68
  * `provision_group_exclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be excluded from auto-provisioning.
67
69
  * `provision_group_inclusion` (string): Comma-separated list of group names for groups (with optional wildcards) that will be auto-provisioned.
@@ -857,7 +857,7 @@ module Files
857
857
  end
858
858
 
859
859
  # Parameters:
860
- # recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders. For legacy reasons, this parameter may also be provided as the HTTP header `Depth: Infinity`
860
+ # recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
861
861
  def delete(params = {})
862
862
  params ||= {}
863
863
  params[:path] = @attributes[:path]
@@ -946,7 +946,7 @@ module Files
946
946
  end
947
947
 
948
948
  # Parameters:
949
- # recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders. For legacy reasons, this parameter may also be provided as the HTTP header `Depth: Infinity`
949
+ # recursive - boolean - If true, will recursively delete folers. Otherwise, will error on non-empty folders.
950
950
  def self.delete(path, params = {}, options = {})
951
951
  params ||= {}
952
952
  params[:path] = path
@@ -311,7 +311,7 @@ module Files
311
311
  # Parameters:
312
312
  # page - int64 - Current page number.
313
313
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
314
- # action - string - Action to take. Can be `count`, `count_nrs` (non recursive), `size`, `permissions`, or blank.
314
+ # action - string - Action to take. Can be `count`, `size`, `permissions`, or blank.
315
315
  # cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor header.
316
316
  # path (required) - string - Path to operate on.
317
317
  # filter - string - If specified, will to filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
@@ -94,6 +94,11 @@ module Files
94
94
  @attributes[:deprovision_groups]
95
95
  end
96
96
 
97
+ # string - Method used for deprovisioning users.
98
+ def deprovision_behavior
99
+ @attributes[:deprovision_behavior]
100
+ end
101
+
97
102
  # string - Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
98
103
  def provision_group_default
99
104
  @attributes[:provision_group_default]
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.0.105
4
+ version: 1.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-17 00:00:00.000000000 Z
11
+ date: 2020-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable