files.com 1.1.608 → 1.1.610

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: c25b32db4eda699fe985b1e2813a8a3ab7349c7bc5904e581f70097237b2dd7c
4
- data.tar.gz: ab864a068db446cd240d2def96eaa7e508e36721d953ac76f9ab456a384f1717
3
+ metadata.gz: 6c0cac3455ea7b93f2d5f3195ee1712d7cf0b89657e3dcffe33ca73ab909d141
4
+ data.tar.gz: 7d55fc84ec33274ed4a7587a6704608944ac49d4b18e22bf547de96cc330c24c
5
5
  SHA512:
6
- metadata.gz: 680d805644fe60c4c33454b15297fd576d32506d96e787535d7e48d845a2ace7b927b8a27f09f9260a63e41ead3f67d47caf5dad9d384a7b698cc88a66cb3a2b
7
- data.tar.gz: b5da37a9cc0a8a0f582266c3f50ed58c7e8b4e07bfee2fc75041879a5a4bf7cac34e7cd940ca049622c57321e5b55d82b00915f4222437ec6ad960376891d384
6
+ metadata.gz: 1cac31e5c8b29c5f2ce578b75636b770f92b1de29a1ba71ba5823d9714db81b8527c0e2c5d0e945e3941e83df2ed494bc1b18afa5aa00e982858e925866d2499
7
+ data.tar.gz: 84dfabfed5db8c2fc7b83b868adeca5a8d8e2b5a75b59db551c924edcdc3f15878670672af6daebd76c1f6142c4cb15707ac5d0d3c5c329a9d782aacef98a3e2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.608
1
+ 1.1.610
data/docs/behavior.md CHANGED
@@ -26,7 +26,7 @@
26
26
  * `description` (string): Description for this behavior.
27
27
  * `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
28
28
  * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
29
- * `recursive` (boolean): Is behavior recursive?
29
+ * `recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
30
30
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
31
31
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
32
32
 
@@ -101,7 +101,7 @@ Files::Behavior.create(
101
101
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
102
102
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
103
103
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
104
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
104
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
105
105
  * `name` (string): Name for this behavior.
106
106
  * `description` (string): Description for this behavior.
107
107
  * `path` (string): Required - Path where this behavior should apply.
@@ -153,7 +153,7 @@ Files::Behavior.update(id,
153
153
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
154
154
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
155
155
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
156
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
156
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
157
157
  * `name` (string): Name for this behavior.
158
158
  * `description` (string): Description for this behavior.
159
159
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
@@ -195,7 +195,7 @@ behavior.update(
195
195
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
196
196
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
197
197
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
198
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
198
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
199
199
  * `name` (string): Name for this behavior.
200
200
  * `description` (string): Description for this behavior.
201
201
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
@@ -52,6 +52,7 @@
52
52
  "s3_compatible_bucket": "my-bucket",
53
53
  "s3_compatible_endpoint": "mys3platform.com",
54
54
  "s3_compatible_region": "us-east-1",
55
+ "s3_compatible_virtual_hosted_style": true,
55
56
  "s3_compatible_access_key": "example",
56
57
  "enable_dedicated_ips": true,
57
58
  "files_agent_permission_set": "read_write",
@@ -123,6 +124,7 @@
123
124
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
124
125
  * `s3_compatible_endpoint` (string): S3-compatible: endpoint
125
126
  * `s3_compatible_region` (string): S3-compatible: region
127
+ * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
126
128
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
127
129
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
128
130
  * `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
@@ -259,6 +261,7 @@ Files::RemoteServer.create(
259
261
  s3_compatible_bucket: "my-bucket",
260
262
  s3_compatible_endpoint: "mys3platform.com",
261
263
  s3_compatible_region: "us-east-1",
264
+ s3_compatible_virtual_hosted_style: true,
262
265
  s3_region: "us-east-1",
263
266
  server_certificate: "require_match",
264
267
  server_host_key: "[public key]",
@@ -338,6 +341,7 @@ Files::RemoteServer.create(
338
341
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
339
342
  * `s3_compatible_endpoint` (string): S3-compatible: endpoint
340
343
  * `s3_compatible_region` (string): S3-compatible: region
344
+ * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
341
345
  * `s3_region` (string): S3 region
342
346
  * `server_certificate` (string): Remote server certificate
343
347
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -451,6 +455,7 @@ Files::RemoteServer.update(id,
451
455
  s3_compatible_bucket: "my-bucket",
452
456
  s3_compatible_endpoint: "mys3platform.com",
453
457
  s3_compatible_region: "us-east-1",
458
+ s3_compatible_virtual_hosted_style: true,
454
459
  s3_region: "us-east-1",
455
460
  server_certificate: "require_match",
456
461
  server_host_key: "[public key]",
@@ -530,6 +535,7 @@ Files::RemoteServer.update(id,
530
535
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
531
536
  * `s3_compatible_endpoint` (string): S3-compatible: endpoint
532
537
  * `s3_compatible_region` (string): S3-compatible: region
538
+ * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
533
539
  * `s3_region` (string): S3 region
534
540
  * `server_certificate` (string): Remote server certificate
535
541
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -661,6 +667,7 @@ remote_server.update(
661
667
  s3_compatible_bucket: "my-bucket",
662
668
  s3_compatible_endpoint: "mys3platform.com",
663
669
  s3_compatible_region: "us-east-1",
670
+ s3_compatible_virtual_hosted_style: true,
664
671
  s3_region: "us-east-1",
665
672
  server_certificate: "require_match",
666
673
  server_host_key: "[public key]",
@@ -740,6 +747,7 @@ remote_server.update(
740
747
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
741
748
  * `s3_compatible_endpoint` (string): S3-compatible: endpoint
742
749
  * `s3_compatible_region` (string): S3-compatible: region
750
+ * `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
743
751
  * `s3_region` (string): S3 region
744
752
  * `server_certificate` (string): Remote server certificate
745
753
  * `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:disable_parent_folder_behavior] = value
82
82
  end
83
83
 
84
- # boolean - Is behavior recursive?
84
+ # boolean - Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
85
85
  def recursive
86
86
  @attributes[:recursive]
87
87
  end
@@ -112,7 +112,7 @@ module Files
112
112
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
113
113
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
114
114
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
115
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
115
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
116
116
  # name - string - Name for this behavior.
117
117
  # description - string - Description for this behavior.
118
118
  # attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -216,7 +216,7 @@ module Files
216
216
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
217
217
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
218
218
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
219
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
219
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
220
220
  # name - string - Name for this behavior.
221
221
  # description - string - Description for this behavior.
222
222
  # path (required) - string - Path where this behavior should apply.
@@ -258,7 +258,7 @@ module Files
258
258
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
259
259
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
260
260
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
261
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
261
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
262
262
  # name - string - Name for this behavior.
263
263
  # description - string - Description for this behavior.
264
264
  # attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -441,6 +441,15 @@ module Files
441
441
  @attributes[:s3_compatible_region] = value
442
442
  end
443
443
 
444
+ # boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
445
+ def s3_compatible_virtual_hosted_style
446
+ @attributes[:s3_compatible_virtual_hosted_style]
447
+ end
448
+
449
+ def s3_compatible_virtual_hosted_style=(value)
450
+ @attributes[:s3_compatible_virtual_hosted_style] = value
451
+ end
452
+
444
453
  # string - S3-compatible: Access Key
445
454
  def s3_compatible_access_key
446
455
  @attributes[:s3_compatible_access_key]
@@ -903,6 +912,7 @@ module Files
903
912
  # s3_compatible_bucket - string - S3-compatible: Bucket name
904
913
  # s3_compatible_endpoint - string - S3-compatible: endpoint
905
914
  # s3_compatible_region - string - S3-compatible: region
915
+ # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
906
916
  # s3_region - string - S3 region
907
917
  # server_certificate - string - Remote server certificate
908
918
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -1130,6 +1140,7 @@ module Files
1130
1140
  # s3_compatible_bucket - string - S3-compatible: Bucket name
1131
1141
  # s3_compatible_endpoint - string - S3-compatible: endpoint
1132
1142
  # s3_compatible_region - string - S3-compatible: region
1143
+ # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
1133
1144
  # s3_region - string - S3 region
1134
1145
  # server_certificate - string - Remote server certificate
1135
1146
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -1325,6 +1336,7 @@ module Files
1325
1336
  # s3_compatible_bucket - string - S3-compatible: Bucket name
1326
1337
  # s3_compatible_endpoint - string - S3-compatible: endpoint
1327
1338
  # s3_compatible_region - string - S3-compatible: region
1339
+ # s3_compatible_virtual_hosted_style - boolean - S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
1328
1340
  # s3_region - string - S3 region
1329
1341
  # server_certificate - string - Remote server certificate
1330
1342
  # server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.608"
4
+ VERSION = "1.1.610"
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.608
4
+ version: 1.1.610
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-22 00:00:00.000000000 Z
11
+ date: 2026-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable