files.com 1.0.274 → 1.0.275
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +7 -7
- data/docs/remote_server.md +4 -0
- data/lib/files.com/models/automation.rb +7 -7
- data/lib/files.com/models/remote_server.rb +15 -0
- 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: ab942bf95e3e02da97d70b3bcefbd5c4ff4c87d74c9a45e23b76c9d67ecc7ce7
|
4
|
+
data.tar.gz: ebbbb074cb23883034e3c80d4c8fc3c3c32094b67f5da92420d6b7645bb9f9fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 356dfc75616e4dbec1543e096de363e207f6c61b8d7c61a3287bcd2fe4f1276a01868178774977906d2abc40b6746b14b3c24b5600f17488dbc1c7b44ccea0dd
|
7
|
+
data.tar.gz: f86428166d8dee9fda8e9006896bdb9901743b928e81536f1fb7dcc848acc26724498ad30c179fbaacfb33f7af43c5d06ab317473173d194e3b616baf34208d6
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.275
|
data/docs/automation.md
CHANGED
@@ -87,13 +87,13 @@ Files::Automation.list(
|
|
87
87
|
|
88
88
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
89
89
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
90
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `
|
91
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
92
|
-
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
93
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
94
|
-
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
95
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
96
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
90
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `disabled` or `last_modified_at`.
|
91
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
92
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
93
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
94
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
95
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
96
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
97
97
|
* `with_deleted` (boolean): Set to true to include deleted automations in the results.
|
98
98
|
* `automation` (string): DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
|
99
99
|
|
data/docs/remote_server.md
CHANGED
@@ -92,6 +92,7 @@
|
|
92
92
|
* `aws_secret_key` (string): AWS secret key.
|
93
93
|
* `password` (string): Password if needed.
|
94
94
|
* `private_key` (string): Private key if needed.
|
95
|
+
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
95
96
|
* `ssl_certificate` (string): SSL client certificate.
|
96
97
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
97
98
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
@@ -180,6 +181,7 @@ Files::RemoteServer.create(
|
|
180
181
|
* `aws_secret_key` (string): AWS secret key.
|
181
182
|
* `password` (string): Password if needed.
|
182
183
|
* `private_key` (string): Private key if needed.
|
184
|
+
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
183
185
|
* `ssl_certificate` (string): SSL client certificate.
|
184
186
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
185
187
|
* `wasabi_access_key` (string): Wasabi access key.
|
@@ -273,6 +275,7 @@ Files::RemoteServer.update(id,
|
|
273
275
|
* `aws_secret_key` (string): AWS secret key.
|
274
276
|
* `password` (string): Password if needed.
|
275
277
|
* `private_key` (string): Private key if needed.
|
278
|
+
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
276
279
|
* `ssl_certificate` (string): SSL client certificate.
|
277
280
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
278
281
|
* `wasabi_access_key` (string): Wasabi access key.
|
@@ -381,6 +384,7 @@ remote_server.update(
|
|
381
384
|
* `aws_secret_key` (string): AWS secret key.
|
382
385
|
* `password` (string): Password if needed.
|
383
386
|
* `private_key` (string): Private key if needed.
|
387
|
+
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
384
388
|
* `ssl_certificate` (string): SSL client certificate.
|
385
389
|
* `google_cloud_storage_credentials_json` (string): A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
386
390
|
* `wasabi_access_key` (string): Wasabi access key.
|
@@ -275,13 +275,13 @@ module Files
|
|
275
275
|
# Parameters:
|
276
276
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
277
277
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
278
|
-
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `
|
279
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
280
|
-
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
281
|
-
# filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
282
|
-
# filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
283
|
-
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
284
|
-
# filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ disabled, automation ]`.
|
278
|
+
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`, `disabled` or `last_modified_at`.
|
279
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
280
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
281
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
282
|
+
# filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
283
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
284
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
|
285
285
|
# with_deleted - boolean - Set to true to include deleted automations in the results.
|
286
286
|
# automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
|
287
287
|
def self.list(params = {}, options = {})
|
@@ -405,6 +405,15 @@ module Files
|
|
405
405
|
@attributes[:private_key] = value
|
406
406
|
end
|
407
407
|
|
408
|
+
# string - Passphrase for private key if needed.
|
409
|
+
def private_key_passphrase
|
410
|
+
@attributes[:private_key_passphrase]
|
411
|
+
end
|
412
|
+
|
413
|
+
def private_key_passphrase=(value)
|
414
|
+
@attributes[:private_key_passphrase] = value
|
415
|
+
end
|
416
|
+
|
408
417
|
# string - SSL client certificate.
|
409
418
|
def ssl_certificate
|
410
419
|
@attributes[:ssl_certificate]
|
@@ -500,6 +509,7 @@ module Files
|
|
500
509
|
# aws_secret_key - string - AWS secret key.
|
501
510
|
# password - string - Password if needed.
|
502
511
|
# private_key - string - Private key if needed.
|
512
|
+
# private_key_passphrase - string - Passphrase for private key if needed.
|
503
513
|
# ssl_certificate - string - SSL client certificate.
|
504
514
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
505
515
|
# wasabi_access_key - string - Wasabi access key.
|
@@ -552,6 +562,7 @@ module Files
|
|
552
562
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
553
563
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
554
564
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
565
|
+
raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
|
555
566
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
556
567
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
557
568
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
@@ -658,6 +669,7 @@ module Files
|
|
658
669
|
# aws_secret_key - string - AWS secret key.
|
659
670
|
# password - string - Password if needed.
|
660
671
|
# private_key - string - Private key if needed.
|
672
|
+
# private_key_passphrase - string - Passphrase for private key if needed.
|
661
673
|
# ssl_certificate - string - SSL client certificate.
|
662
674
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
663
675
|
# wasabi_access_key - string - Wasabi access key.
|
@@ -706,6 +718,7 @@ module Files
|
|
706
718
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
707
719
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
708
720
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
721
|
+
raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
|
709
722
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
710
723
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
711
724
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|
@@ -757,6 +770,7 @@ module Files
|
|
757
770
|
# aws_secret_key - string - AWS secret key.
|
758
771
|
# password - string - Password if needed.
|
759
772
|
# private_key - string - Private key if needed.
|
773
|
+
# private_key_passphrase - string - Passphrase for private key if needed.
|
760
774
|
# ssl_certificate - string - SSL client certificate.
|
761
775
|
# google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
762
776
|
# wasabi_access_key - string - Wasabi access key.
|
@@ -808,6 +822,7 @@ module Files
|
|
808
822
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params.dig(:aws_secret_key) and !params.dig(:aws_secret_key).is_a?(String)
|
809
823
|
raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
|
810
824
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
|
825
|
+
raise InvalidParameterError.new("Bad parameter: private_key_passphrase must be an String") if params.dig(:private_key_passphrase) and !params.dig(:private_key_passphrase).is_a?(String)
|
811
826
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
|
812
827
|
raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params.dig(:google_cloud_storage_credentials_json) and !params.dig(:google_cloud_storage_credentials_json).is_a?(String)
|
813
828
|
raise InvalidParameterError.new("Bad parameter: wasabi_access_key must be an String") if params.dig(:wasabi_access_key) and !params.dig(:wasabi_access_key).is_a?(String)
|