files.com 1.1.247 → 1.1.249

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: f0bf1f1617012bef88042544433b66a78ac65ea76a2e65620ed7ee36a52049e2
4
- data.tar.gz: e3649304468281aea3a04fc537a02529d3c1dde0277c910ba4129dd6babdedd5
3
+ metadata.gz: 9c8a8fbeaf6eb6b2dba5c4e2e68b51ab04b2baee133313e41875b27f49a59116
4
+ data.tar.gz: 279bde364ccccc3d154593586776399866a7b19dfb2981ee37daa807ca62a080
5
5
  SHA512:
6
- metadata.gz: b20257c4cd01cc42b688bc366394c971677efc7fb06cc5c66d10a1a5dcf51901c3998bd976f79e7a26aeb9c1775f315951f9cceff352dcedaec895746b1e3bee
7
- data.tar.gz: 2cf11d5d226f763c4ad7f1cd6bd4bfa026bbbb81950740ada85b9191d68b7ce757db5e43750c6a03ac6f7bbd6c60fcf086c71416c818523b56a676910272ee75
6
+ metadata.gz: 0c031988b53cd7aa7e53379c860c8b491147b6a62ef779187dde555c2f19c9ca158e95a98efd05c86f9c8fb75d32c21b912efc2035e2115841bc69227091bcac
7
+ data.tar.gz: 149fe93180d342471a59d58236e06e803e70d73725dc756e7a00615b7b189f6cc8503af9b82c90c372cac48496b7dfd83f51bc536edaa4d73a1def1f9dbe1eca
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.247
1
+ 1.1.249
@@ -41,12 +41,14 @@
41
41
 
42
42
  ```
43
43
  Files::AutomationRun.list(
44
+ user_id: 1,
44
45
  automation_id: 1
45
46
  )
46
47
  ```
47
48
 
48
49
  ### Parameters
49
50
 
51
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
50
52
  * `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.
51
53
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
54
  * `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`.
@@ -42,11 +42,14 @@
42
42
  ## List Bundle Actions
43
43
 
44
44
  ```
45
- Files::BundleAction.list
45
+ Files::BundleAction.list(
46
+ user_id: 1
47
+ )
46
48
  ```
47
49
 
48
50
  ### Parameters
49
51
 
52
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
50
53
  * `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.
51
54
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
55
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -43,12 +43,14 @@
43
43
 
44
44
  ```
45
45
  Files::BundleRegistration.list(
46
+ user_id: 1,
46
47
  bundle_id: 1
47
48
  )
48
49
  ```
49
50
 
50
51
  ### Parameters
51
52
 
53
+ * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
52
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.
53
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
@@ -24,7 +24,6 @@
24
24
  "username": "user",
25
25
  "google_cloud_storage_bucket": "my-bucket",
26
26
  "google_cloud_storage_project_id": "my-project",
27
- "google_cloud_storage_region": "us-east-1",
28
27
  "google_cloud_storage_s3_compatible_access_key": "example",
29
28
  "backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
30
29
  "backblaze_b2_bucket": "my-bucket",
@@ -86,7 +85,6 @@
86
85
  * `username` (string): Remote server username. Not needed for S3 buckets.
87
86
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
88
87
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
89
- * `google_cloud_storage_region` (string): Google Cloud Storage: Region
90
88
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
91
89
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
92
90
  * `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
@@ -219,7 +217,6 @@ Files::RemoteServer.create(
219
217
  files_agent_version: "example",
220
218
  google_cloud_storage_bucket: "my-bucket",
221
219
  google_cloud_storage_project_id: "my-project",
222
- google_cloud_storage_region: "us-east-1",
223
220
  google_cloud_storage_s3_compatible_access_key: "example",
224
221
  hostname: "remote-server.com",
225
222
  linode_access_key: "example",
@@ -294,7 +291,6 @@ Files::RemoteServer.create(
294
291
  * `files_agent_version` (string): Files Agent version
295
292
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
296
293
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
297
- * `google_cloud_storage_region` (string): Google Cloud Storage: Region
298
294
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
299
295
  * `hostname` (string): Hostname or IP address
300
296
  * `linode_access_key` (string): Linode: Access Key
@@ -389,7 +385,6 @@ Files::RemoteServer.update(id,
389
385
  files_agent_version: "example",
390
386
  google_cloud_storage_bucket: "my-bucket",
391
387
  google_cloud_storage_project_id: "my-project",
392
- google_cloud_storage_region: "us-east-1",
393
388
  google_cloud_storage_s3_compatible_access_key: "example",
394
389
  hostname: "remote-server.com",
395
390
  linode_access_key: "example",
@@ -465,7 +460,6 @@ Files::RemoteServer.update(id,
465
460
  * `files_agent_version` (string): Files Agent version
466
461
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
467
462
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
468
- * `google_cloud_storage_region` (string): Google Cloud Storage: Region
469
463
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
470
464
  * `hostname` (string): Hostname or IP address
471
465
  * `linode_access_key` (string): Linode: Access Key
@@ -577,7 +571,6 @@ remote_server.update(
577
571
  files_agent_version: "example",
578
572
  google_cloud_storage_bucket: "my-bucket",
579
573
  google_cloud_storage_project_id: "my-project",
580
- google_cloud_storage_region: "us-east-1",
581
574
  google_cloud_storage_s3_compatible_access_key: "example",
582
575
  hostname: "remote-server.com",
583
576
  linode_access_key: "example",
@@ -653,7 +646,6 @@ remote_server.update(
653
646
  * `files_agent_version` (string): Files Agent version
654
647
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
655
648
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
656
- * `google_cloud_storage_region` (string): Google Cloud Storage: Region
657
649
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
658
650
  * `hostname` (string): Hostname or IP address
659
651
  * `linode_access_key` (string): Linode: Access Key
@@ -35,6 +35,6 @@ Files::UserCipherUse.list(
35
35
 
36
36
  ### Parameters
37
37
 
38
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
38
+ * `user_id` (int64): User ID. If provided, will return uses for this user.
39
39
  * `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.
40
40
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -31,6 +31,6 @@ Files::UserSftpClientUse.list(
31
31
 
32
32
  ### Parameters
33
33
 
34
- * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
34
+ * `user_id` (int64): User ID. If provided, will return uses for this user.
35
35
  * `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.
36
36
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -75,12 +75,14 @@ module Files
75
75
  end
76
76
 
77
77
  # Parameters:
78
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
78
79
  # 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.
79
80
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
81
  # 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`.
81
82
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
82
83
  # automation_id (required) - int64 - ID of the associated Automation.
83
84
  def self.list(params = {}, options = {})
85
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
84
86
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
85
87
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
86
88
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -40,6 +40,7 @@ module Files
40
40
  end
41
41
 
42
42
  # Parameters:
43
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
43
44
  # 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.
44
45
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
46
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -49,6 +50,7 @@ module Files
49
50
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
50
51
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
51
52
  def self.list(params = {}, options = {})
53
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
52
54
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
55
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
54
56
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -75,11 +75,13 @@ module Files
75
75
  end
76
76
 
77
77
  # Parameters:
78
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
78
79
  # 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.
79
80
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
81
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
81
82
  # bundle_id - int64 - ID of the associated Bundle
82
83
  def self.list(params = {}, options = {})
84
+ raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
83
85
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
84
86
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
85
87
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
@@ -189,15 +189,6 @@ module Files
189
189
  @attributes[:google_cloud_storage_project_id] = value
190
190
  end
191
191
 
192
- # string - Google Cloud Storage: Region
193
- def google_cloud_storage_region
194
- @attributes[:google_cloud_storage_region]
195
- end
196
-
197
- def google_cloud_storage_region=(value)
198
- @attributes[:google_cloud_storage_region] = value
199
- end
200
-
201
192
  # string - Google Cloud Storage: S3-compatible Access Key.
202
193
  def google_cloud_storage_s3_compatible_access_key
203
194
  @attributes[:google_cloud_storage_s3_compatible_access_key]
@@ -798,7 +789,6 @@ module Files
798
789
  # files_agent_version - string - Files Agent version
799
790
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
800
791
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
801
- # google_cloud_storage_region - string - Google Cloud Storage: Region
802
792
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
803
793
  # hostname - string - Hostname or IP address
804
794
  # linode_access_key - string - Linode: Access Key
@@ -869,7 +859,6 @@ module Files
869
859
  raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
870
860
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
871
861
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
872
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
873
862
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
874
863
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
875
864
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
@@ -1020,7 +1009,6 @@ module Files
1020
1009
  # files_agent_version - string - Files Agent version
1021
1010
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1022
1011
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1023
- # google_cloud_storage_region - string - Google Cloud Storage: Region
1024
1012
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1025
1013
  # hostname - string - Hostname or IP address
1026
1014
  # linode_access_key - string - Linode: Access Key
@@ -1087,7 +1075,6 @@ module Files
1087
1075
  raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1088
1076
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1089
1077
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1090
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
1091
1078
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1092
1079
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
1093
1080
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
@@ -1197,7 +1184,6 @@ module Files
1197
1184
  # files_agent_version - string - Files Agent version
1198
1185
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1199
1186
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1200
- # google_cloud_storage_region - string - Google Cloud Storage: Region
1201
1187
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1202
1188
  # hostname - string - Hostname or IP address
1203
1189
  # linode_access_key - string - Linode: Access Key
@@ -1267,7 +1253,6 @@ module Files
1267
1253
  raise InvalidParameterError.new("Bad parameter: files_agent_version must be an String") if params[:files_agent_version] and !params[:files_agent_version].is_a?(String)
1268
1254
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params[:google_cloud_storage_bucket] and !params[:google_cloud_storage_bucket].is_a?(String)
1269
1255
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1270
- raise InvalidParameterError.new("Bad parameter: google_cloud_storage_region must be an String") if params[:google_cloud_storage_region] and !params[:google_cloud_storage_region].is_a?(String)
1271
1256
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1272
1257
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
1273
1258
  raise InvalidParameterError.new("Bad parameter: linode_access_key must be an String") if params[:linode_access_key] and !params[:linode_access_key].is_a?(String)
@@ -45,7 +45,7 @@ module Files
45
45
  end
46
46
 
47
47
  # Parameters:
48
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
48
+ # user_id - int64 - User ID. If provided, will return uses for this user.
49
49
  # 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.
50
50
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
51
51
  def self.list(params = {}, options = {})
@@ -35,7 +35,7 @@ module Files
35
35
  end
36
36
 
37
37
  # Parameters:
38
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
38
+ # user_id - int64 - User ID. If provided, will return uses for this user.
39
39
  # 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.
40
40
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  def self.list(params = {}, options = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.247"
4
+ VERSION = "1.1.249"
5
5
  end
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.247
4
+ version: 1.1.249
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-05-05 00:00:00.000000000 Z
11
+ date: 2025-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable