files.com 1.1.645 → 1.1.646
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/remote_server.md +16 -0
- data/lib/files.com/models/remote_server.rb +30 -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: 9d4797569423f295ab39fa2f020bc86c49c0a1b9cb3bf0f0ef43b6f2ee1c337b
|
|
4
|
+
data.tar.gz: 02ca2e8807decd908d7c067f1fbc3838dc6f801a9e1c73e1e22c777cd2a12e07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53e23b88cbb64c52f2cf0805f35989a64da56c3162de9bb2d59fcc1726f2ae3833312c904fece71a5d9c6cc86ff978c5c4789013d596932dc181bbfc85ea64d5
|
|
7
|
+
data.tar.gz: 603af94805b446075517e6d8d00e9d52bc60917df5005d54c568963266b6c4e927f15e852ae06ff71db173cc4168a1a03ec1642c244e58803aa9538c4d3f8757
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.646
|
data/docs/remote_server.md
CHANGED
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
"ssl": "if_available",
|
|
33
33
|
"username": "user",
|
|
34
34
|
"google_cloud_storage_bucket": "my-bucket",
|
|
35
|
+
"google_cloud_storage_authentication_method": "json",
|
|
36
|
+
"google_cloud_storage_oauth_scope": "https://www.googleapis.com/auth/devstorage.read_only",
|
|
35
37
|
"google_cloud_storage_project_id": "my-project",
|
|
36
38
|
"google_cloud_storage_s3_compatible_access_key": "example",
|
|
37
39
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
|
@@ -104,6 +106,8 @@
|
|
|
104
106
|
* `ssl` (string): Should we require SSL?
|
|
105
107
|
* `username` (string): Remote server username.
|
|
106
108
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
109
|
+
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
110
|
+
* `google_cloud_storage_oauth_scope` (string): Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
107
111
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
108
112
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
109
113
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
@@ -240,7 +244,9 @@ Files::RemoteServer.create(
|
|
|
240
244
|
files_agent_root: "example",
|
|
241
245
|
files_agent_version: "example",
|
|
242
246
|
outbound_agent_id: 1,
|
|
247
|
+
google_cloud_storage_authentication_method: "json",
|
|
243
248
|
google_cloud_storage_bucket: "my-bucket",
|
|
249
|
+
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
244
250
|
google_cloud_storage_project_id: "my-project",
|
|
245
251
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
246
252
|
hostname: "remote-server.com",
|
|
@@ -320,7 +326,9 @@ Files::RemoteServer.create(
|
|
|
320
326
|
* `files_agent_root` (string): Agent local root path
|
|
321
327
|
* `files_agent_version` (string): Files Agent version
|
|
322
328
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
329
|
+
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
323
330
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
331
|
+
* `google_cloud_storage_oauth_scope` (string): Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
324
332
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
325
333
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
326
334
|
* `hostname` (string): Hostname or IP address
|
|
@@ -434,7 +442,9 @@ Files::RemoteServer.update(id,
|
|
|
434
442
|
files_agent_root: "example",
|
|
435
443
|
files_agent_version: "example",
|
|
436
444
|
outbound_agent_id: 1,
|
|
445
|
+
google_cloud_storage_authentication_method: "json",
|
|
437
446
|
google_cloud_storage_bucket: "my-bucket",
|
|
447
|
+
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
438
448
|
google_cloud_storage_project_id: "my-project",
|
|
439
449
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
440
450
|
hostname: "remote-server.com",
|
|
@@ -514,7 +524,9 @@ Files::RemoteServer.update(id,
|
|
|
514
524
|
* `files_agent_root` (string): Agent local root path
|
|
515
525
|
* `files_agent_version` (string): Files Agent version
|
|
516
526
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
527
|
+
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
517
528
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
529
|
+
* `google_cloud_storage_oauth_scope` (string): Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
518
530
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
519
531
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
520
532
|
* `hostname` (string): Hostname or IP address
|
|
@@ -646,7 +658,9 @@ remote_server.update(
|
|
|
646
658
|
files_agent_root: "example",
|
|
647
659
|
files_agent_version: "example",
|
|
648
660
|
outbound_agent_id: 1,
|
|
661
|
+
google_cloud_storage_authentication_method: "json",
|
|
649
662
|
google_cloud_storage_bucket: "my-bucket",
|
|
663
|
+
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
650
664
|
google_cloud_storage_project_id: "my-project",
|
|
651
665
|
google_cloud_storage_s3_compatible_access_key: "example",
|
|
652
666
|
hostname: "remote-server.com",
|
|
@@ -726,7 +740,9 @@ remote_server.update(
|
|
|
726
740
|
* `files_agent_root` (string): Agent local root path
|
|
727
741
|
* `files_agent_version` (string): Files Agent version
|
|
728
742
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
743
|
+
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
729
744
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
745
|
+
* `google_cloud_storage_oauth_scope` (string): Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
730
746
|
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
731
747
|
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
732
748
|
* `hostname` (string): Hostname or IP address
|
|
@@ -261,6 +261,24 @@ module Files
|
|
|
261
261
|
@attributes[:google_cloud_storage_bucket] = value
|
|
262
262
|
end
|
|
263
263
|
|
|
264
|
+
# string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
265
|
+
def google_cloud_storage_authentication_method
|
|
266
|
+
@attributes[:google_cloud_storage_authentication_method]
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
def google_cloud_storage_authentication_method=(value)
|
|
270
|
+
@attributes[:google_cloud_storage_authentication_method] = value
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# string - Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
274
|
+
def google_cloud_storage_oauth_scope
|
|
275
|
+
@attributes[:google_cloud_storage_oauth_scope]
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
def google_cloud_storage_oauth_scope=(value)
|
|
279
|
+
@attributes[:google_cloud_storage_oauth_scope] = value
|
|
280
|
+
end
|
|
281
|
+
|
|
264
282
|
# string - Google Cloud Storage: Project ID
|
|
265
283
|
def google_cloud_storage_project_id
|
|
266
284
|
@attributes[:google_cloud_storage_project_id]
|
|
@@ -891,7 +909,9 @@ module Files
|
|
|
891
909
|
# files_agent_root - string - Agent local root path
|
|
892
910
|
# files_agent_version - string - Files Agent version
|
|
893
911
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
912
|
+
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
894
913
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
914
|
+
# google_cloud_storage_oauth_scope - string - Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
895
915
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
896
916
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
897
917
|
# hostname - string - Hostname or IP address
|
|
@@ -965,7 +985,9 @@ module Files
|
|
|
965
985
|
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)
|
|
966
986
|
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)
|
|
967
987
|
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)
|
|
988
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_authentication_method must be an String") if params[:google_cloud_storage_authentication_method] and !params[:google_cloud_storage_authentication_method].is_a?(String)
|
|
968
989
|
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)
|
|
990
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_oauth_scope must be an String") if params[:google_cloud_storage_oauth_scope] and !params[:google_cloud_storage_oauth_scope].is_a?(String)
|
|
969
991
|
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)
|
|
970
992
|
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)
|
|
971
993
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
|
|
@@ -1119,7 +1141,9 @@ module Files
|
|
|
1119
1141
|
# files_agent_root - string - Agent local root path
|
|
1120
1142
|
# files_agent_version - string - Files Agent version
|
|
1121
1143
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1144
|
+
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
1122
1145
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1146
|
+
# google_cloud_storage_oauth_scope - string - Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
1123
1147
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
1124
1148
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
1125
1149
|
# hostname - string - Hostname or IP address
|
|
@@ -1190,7 +1214,9 @@ module Files
|
|
|
1190
1214
|
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)
|
|
1191
1215
|
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)
|
|
1192
1216
|
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)
|
|
1217
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_authentication_method must be an String") if params[:google_cloud_storage_authentication_method] and !params[:google_cloud_storage_authentication_method].is_a?(String)
|
|
1193
1218
|
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)
|
|
1219
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_oauth_scope must be an String") if params[:google_cloud_storage_oauth_scope] and !params[:google_cloud_storage_oauth_scope].is_a?(String)
|
|
1194
1220
|
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)
|
|
1195
1221
|
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)
|
|
1196
1222
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
|
|
@@ -1315,7 +1341,9 @@ module Files
|
|
|
1315
1341
|
# files_agent_root - string - Agent local root path
|
|
1316
1342
|
# files_agent_version - string - Files Agent version
|
|
1317
1343
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1344
|
+
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
1318
1345
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1346
|
+
# google_cloud_storage_oauth_scope - string - Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
|
|
1319
1347
|
# google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
|
|
1320
1348
|
# google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
|
|
1321
1349
|
# hostname - string - Hostname or IP address
|
|
@@ -1388,7 +1416,9 @@ module Files
|
|
|
1388
1416
|
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)
|
|
1389
1417
|
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)
|
|
1390
1418
|
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)
|
|
1419
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_authentication_method must be an String") if params[:google_cloud_storage_authentication_method] and !params[:google_cloud_storage_authentication_method].is_a?(String)
|
|
1391
1420
|
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)
|
|
1421
|
+
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_oauth_scope must be an String") if params[:google_cloud_storage_oauth_scope] and !params[:google_cloud_storage_oauth_scope].is_a?(String)
|
|
1392
1422
|
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)
|
|
1393
1423
|
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)
|
|
1394
1424
|
raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].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.646
|
|
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-06-
|
|
11
|
+
date: 2026-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|