files.com 1.1.392 → 1.1.393
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/bundle.md +1 -1
- data/docs/permission.md +1 -1
- data/docs/remote_server.md +8 -0
- data/lib/files.com/models/bundle.rb +1 -1
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/remote_server.rb +15 -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: bb2d3daad9ba044c487c34d5e7196b526b4ff79348a8c29967fb4fa05985895c
|
|
4
|
+
data.tar.gz: 69b69eb4b339920fe0a4285d48f078ea5511250f06a598ceb50152dd662826fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6491cd0986ba5d3da4f87dab9b9206ecd50ab7698cfaeedc79720c70b7d31b6934dc22773809b8574455a6af722d0ba4cf7677830ae974f42581533d97fc60e6
|
|
7
|
+
data.tar.gz: 2446b3ab97e5cacb003a97b8979aad6bebee27e610a01ed66c0d14078dbaf459ba645b32810220286bd726dd64bcf47a50f42d085028d9bc147b33d78394ef89
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.393
|
data/docs/bundle.md
CHANGED
|
@@ -152,7 +152,7 @@ Files::Bundle.list(
|
|
|
152
152
|
* `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.
|
|
153
153
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
154
154
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
155
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
155
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
156
156
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
157
157
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
158
158
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
data/docs/permission.md
CHANGED
|
@@ -50,7 +50,7 @@ Files::Permission.list(
|
|
|
50
50
|
* `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
51
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
52
52
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
|
|
53
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`.
|
|
53
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
|
|
54
54
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
55
55
|
* `path` (string): Permission path. If provided, will scope all permissions(including upward) to this path.
|
|
56
56
|
* `include_groups` (boolean): If searching by user or group, also include user's permissions that are inherited from its groups?
|
data/docs/remote_server.md
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"files_agent_root": "example",
|
|
52
52
|
"files_agent_api_token": "example",
|
|
53
53
|
"files_agent_version": "example",
|
|
54
|
+
"outbound_agent_id": 1,
|
|
54
55
|
"filebase_bucket": "my-bucket",
|
|
55
56
|
"filebase_access_key": "example",
|
|
56
57
|
"cloudflare_bucket": "my-bucket",
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
* `files_agent_root` (string): Agent local root path
|
|
112
113
|
* `files_agent_api_token` (string): Files Agent API Token
|
|
113
114
|
* `files_agent_version` (string): Files Agent version
|
|
115
|
+
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
114
116
|
* `filebase_bucket` (string): Filebase: Bucket name
|
|
115
117
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
116
118
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
@@ -214,6 +216,7 @@ Files::RemoteServer.create(
|
|
|
214
216
|
files_agent_permission_set: "read_write",
|
|
215
217
|
files_agent_root: "example",
|
|
216
218
|
files_agent_version: "example",
|
|
219
|
+
outbound_agent_id: 1,
|
|
217
220
|
google_cloud_storage_bucket: "my-bucket",
|
|
218
221
|
google_cloud_storage_project_id: "my-project",
|
|
219
222
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
@@ -286,6 +289,7 @@ Files::RemoteServer.create(
|
|
|
286
289
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
287
290
|
* `files_agent_root` (string): Agent local root path
|
|
288
291
|
* `files_agent_version` (string): Files Agent version
|
|
292
|
+
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
289
293
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
290
294
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
291
295
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -379,6 +383,7 @@ Files::RemoteServer.update(id,
|
|
|
379
383
|
files_agent_permission_set: "read_write",
|
|
380
384
|
files_agent_root: "example",
|
|
381
385
|
files_agent_version: "example",
|
|
386
|
+
outbound_agent_id: 1,
|
|
382
387
|
google_cloud_storage_bucket: "my-bucket",
|
|
383
388
|
google_cloud_storage_project_id: "my-project",
|
|
384
389
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
@@ -452,6 +457,7 @@ Files::RemoteServer.update(id,
|
|
|
452
457
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
453
458
|
* `files_agent_root` (string): Agent local root path
|
|
454
459
|
* `files_agent_version` (string): Files Agent version
|
|
460
|
+
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
455
461
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
456
462
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
457
463
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -562,6 +568,7 @@ remote_server.update(
|
|
|
562
568
|
files_agent_permission_set: "read_write",
|
|
563
569
|
files_agent_root: "example",
|
|
564
570
|
files_agent_version: "example",
|
|
571
|
+
outbound_agent_id: 1,
|
|
565
572
|
google_cloud_storage_bucket: "my-bucket",
|
|
566
573
|
google_cloud_storage_project_id: "my-project",
|
|
567
574
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
@@ -635,6 +642,7 @@ remote_server.update(
|
|
|
635
642
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
636
643
|
* `files_agent_root` (string): Agent local root path
|
|
637
644
|
* `files_agent_version` (string): Files Agent version
|
|
645
|
+
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
638
646
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
639
647
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
640
648
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -519,7 +519,7 @@ module Files
|
|
|
519
519
|
# 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.
|
|
520
520
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
521
521
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
522
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
522
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
523
523
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
524
524
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
525
525
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -138,7 +138,7 @@ module Files
|
|
|
138
138
|
# 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.
|
|
139
139
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
140
140
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
|
|
141
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`.
|
|
141
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
|
|
142
142
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
143
143
|
# path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
|
|
144
144
|
# include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
|
|
@@ -432,6 +432,15 @@ module Files
|
|
|
432
432
|
@attributes[:files_agent_version] = value
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
# int64 - Route traffic to outbound on a files-agent
|
|
436
|
+
def outbound_agent_id
|
|
437
|
+
@attributes[:outbound_agent_id]
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
def outbound_agent_id=(value)
|
|
441
|
+
@attributes[:outbound_agent_id] = value
|
|
442
|
+
end
|
|
443
|
+
|
|
435
444
|
# string - Filebase: Bucket name
|
|
436
445
|
def filebase_bucket
|
|
437
446
|
@attributes[:filebase_bucket]
|
|
@@ -770,6 +779,7 @@ module Files
|
|
|
770
779
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
771
780
|
# files_agent_root - string - Agent local root path
|
|
772
781
|
# files_agent_version - string - Files Agent version
|
|
782
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
773
783
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
774
784
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
775
785
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -838,6 +848,7 @@ module Files
|
|
|
838
848
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
839
849
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
840
850
|
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)
|
|
851
|
+
raise InvalidParameterError.new("Bad parameter: outbound_agent_id must be an Integer") if params[:outbound_agent_id] and !params[:outbound_agent_id].is_a?(Integer)
|
|
841
852
|
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)
|
|
842
853
|
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)
|
|
843
854
|
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)
|
|
@@ -986,6 +997,7 @@ module Files
|
|
|
986
997
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
987
998
|
# files_agent_root - string - Agent local root path
|
|
988
999
|
# files_agent_version - string - Files Agent version
|
|
1000
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
989
1001
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
990
1002
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
991
1003
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -1050,6 +1062,7 @@ module Files
|
|
|
1050
1062
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
1051
1063
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
1052
1064
|
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)
|
|
1065
|
+
raise InvalidParameterError.new("Bad parameter: outbound_agent_id must be an Integer") if params[:outbound_agent_id] and !params[:outbound_agent_id].is_a?(Integer)
|
|
1053
1066
|
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)
|
|
1054
1067
|
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)
|
|
1055
1068
|
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)
|
|
@@ -1157,6 +1170,7 @@ module Files
|
|
|
1157
1170
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
1158
1171
|
# files_agent_root - string - Agent local root path
|
|
1159
1172
|
# files_agent_version - string - Files Agent version
|
|
1173
|
+
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1160
1174
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1161
1175
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
1162
1176
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
@@ -1224,6 +1238,7 @@ module Files
|
|
|
1224
1238
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
1225
1239
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
1226
1240
|
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)
|
|
1241
|
+
raise InvalidParameterError.new("Bad parameter: outbound_agent_id must be an Integer") if params[:outbound_agent_id] and !params[:outbound_agent_id].is_a?(Integer)
|
|
1227
1242
|
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)
|
|
1228
1243
|
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)
|
|
1229
1244
|
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)
|
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.393
|
|
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-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|