files.com 1.1.380 → 1.1.382
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/remote_server.md +8 -8
- data/lib/files.com/models/bundle.rb +1 -1
- data/lib/files.com/models/remote_server.rb +11 -8
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b64e4baf7ab073f9bbcfec7d796ad0161c5b5f5945a3868f4da7b82d3a5f5c8
|
|
4
|
+
data.tar.gz: e772ed6dae2ebbbd7679128ef9f72544ebab4ff1adf108017e6e432891cde1fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4b096543b5dc63f942117fd250b635dc1d1c70042f8e9ad4f1416a33391b8e89e5ceeecac7663b94effa5797118125b3948b04ca71b585443e13713cc8b69f8
|
|
7
|
+
data.tar.gz: f08f6dbad43a6f3ab17356eab39a01a1c1a4efdbfa33e7e2a305ba1ec06b00d64e3c6f0a398aeb9206ccdbc8124d9d5041f043e1025961ae28f655683f4a60fc
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.382
|
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/remote_server.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"remote_home_path": "/home/user1",
|
|
12
12
|
"name": "My Remote server",
|
|
13
13
|
"port": 1,
|
|
14
|
-
"
|
|
14
|
+
"buffer_uploads": "example",
|
|
15
15
|
"max_connections": 1,
|
|
16
16
|
"pin_to_site_region": true,
|
|
17
17
|
"pinned_region": "us-east-1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
* `remote_home_path` (string): Initial home folder on remote server
|
|
71
71
|
* `name` (string): Internal name for your reference
|
|
72
72
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
73
|
-
* `
|
|
73
|
+
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
74
74
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
75
75
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
|
|
76
76
|
* `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
|
|
@@ -200,7 +200,7 @@ Files::RemoteServer.create(
|
|
|
200
200
|
azure_files_storage_share_name: "share-name",
|
|
201
201
|
backblaze_b2_bucket: "my-bucket",
|
|
202
202
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
|
203
|
-
|
|
203
|
+
buffer_uploads: "example",
|
|
204
204
|
cloudflare_access_key: "example",
|
|
205
205
|
cloudflare_bucket: "my-bucket",
|
|
206
206
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
@@ -271,7 +271,7 @@ Files::RemoteServer.create(
|
|
|
271
271
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
272
272
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
273
273
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
274
|
-
* `
|
|
274
|
+
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
275
275
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
276
276
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
277
277
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
@@ -363,7 +363,7 @@ Files::RemoteServer.update(id,
|
|
|
363
363
|
azure_files_storage_share_name: "share-name",
|
|
364
364
|
backblaze_b2_bucket: "my-bucket",
|
|
365
365
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
|
366
|
-
|
|
366
|
+
buffer_uploads: "example",
|
|
367
367
|
cloudflare_access_key: "example",
|
|
368
368
|
cloudflare_bucket: "my-bucket",
|
|
369
369
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
@@ -435,7 +435,7 @@ Files::RemoteServer.update(id,
|
|
|
435
435
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
436
436
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
437
437
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
438
|
-
* `
|
|
438
|
+
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
439
439
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
440
440
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
441
441
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
@@ -544,7 +544,7 @@ remote_server.update(
|
|
|
544
544
|
azure_files_storage_share_name: "share-name",
|
|
545
545
|
backblaze_b2_bucket: "my-bucket",
|
|
546
546
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
|
547
|
-
|
|
547
|
+
buffer_uploads: "example",
|
|
548
548
|
cloudflare_access_key: "example",
|
|
549
549
|
cloudflare_bucket: "my-bucket",
|
|
550
550
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
@@ -616,7 +616,7 @@ remote_server.update(
|
|
|
616
616
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
617
617
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
618
618
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
619
|
-
* `
|
|
619
|
+
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
620
620
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
621
621
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
622
622
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
@@ -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`.
|
|
@@ -72,13 +72,13 @@ module Files
|
|
|
72
72
|
@attributes[:port] = value
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
#
|
|
76
|
-
def
|
|
77
|
-
@attributes[:
|
|
75
|
+
# string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
76
|
+
def buffer_uploads
|
|
77
|
+
@attributes[:buffer_uploads]
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
def
|
|
81
|
-
@attributes[:
|
|
80
|
+
def buffer_uploads=(value)
|
|
81
|
+
@attributes[:buffer_uploads] = value
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
@@ -749,7 +749,7 @@ module Files
|
|
|
749
749
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
750
750
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
751
751
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
752
|
-
#
|
|
752
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
753
753
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
754
754
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
755
755
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
@@ -818,6 +818,7 @@ module Files
|
|
|
818
818
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
|
819
819
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
|
|
820
820
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
|
|
821
|
+
raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
|
|
821
822
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
822
823
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
823
824
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
|
@@ -962,7 +963,7 @@ module Files
|
|
|
962
963
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
963
964
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
964
965
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
965
|
-
#
|
|
966
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
966
967
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
967
968
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
968
969
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
@@ -1027,6 +1028,7 @@ module Files
|
|
|
1027
1028
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
|
1028
1029
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
|
|
1029
1030
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
|
|
1031
|
+
raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
|
|
1030
1032
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
1031
1033
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
1032
1034
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
|
@@ -1130,7 +1132,7 @@ module Files
|
|
|
1130
1132
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
|
1131
1133
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
|
1132
1134
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
|
1133
|
-
#
|
|
1135
|
+
# buffer_uploads - string - If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
1134
1136
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
|
1135
1137
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
|
1136
1138
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
|
@@ -1198,6 +1200,7 @@ module Files
|
|
|
1198
1200
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
|
1199
1201
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params[:backblaze_b2_bucket] and !params[:backblaze_b2_bucket].is_a?(String)
|
|
1200
1202
|
raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params[:backblaze_b2_s3_endpoint] and !params[:backblaze_b2_s3_endpoint].is_a?(String)
|
|
1203
|
+
raise InvalidParameterError.new("Bad parameter: buffer_uploads must be an String") if params[:buffer_uploads] and !params[:buffer_uploads].is_a?(String)
|
|
1201
1204
|
raise InvalidParameterError.new("Bad parameter: cloudflare_access_key must be an String") if params[:cloudflare_access_key] and !params[:cloudflare_access_key].is_a?(String)
|
|
1202
1205
|
raise InvalidParameterError.new("Bad parameter: cloudflare_bucket must be an String") if params[:cloudflare_bucket] and !params[:cloudflare_bucket].is_a?(String)
|
|
1203
1206
|
raise InvalidParameterError.new("Bad parameter: cloudflare_endpoint must be an String") if params[:cloudflare_endpoint] and !params[:cloudflare_endpoint].is_a?(String)
|
data/lib/files.com/version.rb
CHANGED