files.com 1.1.741 → 1.1.742

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: 7fa47e29e5c7fed9511bf83bc1dcb9daaa207fe49e39a4fe1ecd420447f7e31f
4
- data.tar.gz: c3f997c574beb42a1695fd285652628683821e514c9c57243e79bc55f0c0f0b9
3
+ metadata.gz: 6eaea9b1945f0274b55cc2a9feb611f13f0b9917beca78dbea094a409944b1c6
4
+ data.tar.gz: 372f12afe52d8d73de1d7e3fa2742d4446b12d350e75328c8a4f06f57bce47fd
5
5
  SHA512:
6
- metadata.gz: b4cd3b362aa460debc40f52be82d83dae8355ef26f1468143f3207a9d3d7eb3e71a14e51d20ad2d1db7c21d9bcfe87ce3ab6d9b4f139dbb580100e743caa8807
7
- data.tar.gz: f205099fdee723abb52f4589939dbb535085b1a283958444a0c9a1f8c3e90f70270c4f61707f2e97fe97a0c0deaed528450de74d1217ad8f4663a050a4c14614
6
+ metadata.gz: 9cb706c708decb0b9e30a42f2142a97ac1134c584629611f52ddef70b345b33d79f1b998b382742787bb108b3a068589bd13c8adfba4a3eecf1991985bc5be6b
7
+ data.tar.gz: db7a56c07494eb6ea2ac2c98f5c66fcbdf747928d877aadc04b400f8f803c16a31d5c0770162d0ea05df41b893caef662beb27f1e208669072b38c872efb81cc
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.741
1
+ 1.1.742
@@ -5,6 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
+ "workspace_id": 1,
8
9
  "export_version": "20201213.2",
9
10
  "start_at": "2000-01-01T01:00:00Z",
10
11
  "end_at": "2000-01-01T01:00:00Z",
@@ -21,6 +22,7 @@
21
22
  ```
22
23
 
23
24
  * `id` (int64): History Export ID
25
+ * `workspace_id` (int64): Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
24
26
  * `export_version` (string): Version of the underlying records for the export.
25
27
  * `start_at` (date-time): Start date/time of export range.
26
28
  * `end_at` (date-time): End date/time of export range.
@@ -56,6 +58,7 @@ Files::ActionNotificationExport.find(id)
56
58
  ```
57
59
  Files::ActionNotificationExport.create(
58
60
  user_id: 1,
61
+ workspace_id: 1,
59
62
  start_at: "2000-01-01T01:00:00Z",
60
63
  end_at: "2000-01-01T01:00:00Z",
61
64
  query_message: "Connection Refused",
@@ -71,6 +74,7 @@ Files::ActionNotificationExport.create(
71
74
  ### Parameters
72
75
 
73
76
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
77
+ * `workspace_id` (int64): Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
74
78
  * `start_at` (string): Start date/time of export range.
75
79
  * `end_at` (string): End date/time of export range.
76
80
  * `query_message` (string): Error message associated with the request, if any.
@@ -18,6 +18,15 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
+ # int64 - Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
22
+ def workspace_id
23
+ @attributes[:workspace_id]
24
+ end
25
+
26
+ def workspace_id=(value)
27
+ @attributes[:workspace_id] = value
28
+ end
29
+
21
30
  # string - Version of the underlying records for the export.
22
31
  def export_version
23
32
  @attributes[:export_version]
@@ -164,6 +173,7 @@ module Files
164
173
 
165
174
  # Parameters:
166
175
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
176
+ # workspace_id - int64 - Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
167
177
  # start_at - string - Start date/time of export range.
168
178
  # end_at - string - End date/time of export range.
169
179
  # query_message - string - Error message associated with the request, if any.
@@ -175,6 +185,7 @@ module Files
175
185
  # query_folder - string - Return notifications that were triggered by actions in this folder.
176
186
  def self.create(params = {}, options = {})
177
187
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
188
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
178
189
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
179
190
  raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
180
191
  raise InvalidParameterError.new("Bad parameter: query_message must be an String") if params[:query_message] and !params[:query_message].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.741"
4
+ VERSION = "1.1.742"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.741
4
+ version: 1.1.742
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com