files.com 1.0.123 → 1.0.124

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b327cdd5fe83088b3b598f87178627b0fb7d721e257575bdd0b9d5f783c51495
4
- data.tar.gz: 23e6a12ef8f91043bf4c769f1b8d970839c50461efb99bd5562a6f6989bc7b63
3
+ metadata.gz: 92873bcd3bc5aba3dbdddbccbb0773e60e9a591517dcc0e2f7d306444e9ba3fa
4
+ data.tar.gz: 5d9714166c704bce65ba07c790fed61e0296bce705427ad73f6c4d3dee76cff3
5
5
  SHA512:
6
- metadata.gz: 7c0bbcd80eed68a5c8f534b02b40f38e926305cbb8d9302fe9213c96463d0b89eae331474d6cac3a004d531b3c09fb58ea19c1e2ab6e174cd76cd526d2aaf4f9
7
- data.tar.gz: feebcff93f3bc88a96824f75238600007936d8750614862d272e6d45d97892645e8637fbe381730df2173f9a806cd06859675ce1620978313e521e101f22560b
6
+ metadata.gz: 2e61dae752728ff89f699fbad98f1aa9a8f70dd8bbe18492c5d60567979cc7ccf3476b27915ea0f6b96820d2b00d77f505186e0ed3ace4847f6d6d51e50faf66
7
+ data.tar.gz: f4b9cc0cc6b6cb5fd69a8096a65369b8472fce76f371ee7c5398db2ba8ef67bdfefe9183e0241ca9bd6f4c60d1cbcf842f1d7fe51dfbc0ce4f790323f686df23
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.123
1
+ 1.0.124
@@ -20,7 +20,20 @@
20
20
  ],
21
21
  "group_ids": [
22
22
 
23
- ]
23
+ ],
24
+ "trigger": "realtime",
25
+ "schedule": {
26
+ "days_of_week": [
27
+ 0,
28
+ 2,
29
+ 4
30
+ ],
31
+ "times_of_day": [
32
+ "6:30",
33
+ "14:30"
34
+ ],
35
+ "time_zone": "Eastern Time (US & Canada)"
36
+ }
24
37
  }
25
38
  ```
26
39
 
@@ -37,6 +50,8 @@
37
50
  * `user_id` (int64): User ID of the Automation's creator.
38
51
  * `user_ids` (array): IDs of Users for the Automation (i.e. who to Request File from)
39
52
  * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
53
+ * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
54
+ * `schedule` (object): Custom schedule description for when the automation should be run.
40
55
 
41
56
 
42
57
  ---
@@ -86,13 +101,15 @@ Files::Automation.create(
86
101
  automation: "create_folder",
87
102
  source: "source",
88
103
  destination: "destination",
89
- interval: "year"
104
+ interval: "year",
105
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
106
+ trigger: "realtime"
90
107
  )
91
108
  ```
92
109
 
93
110
  ### Parameters
94
111
 
95
- * `automation` (string): Required - Type of automation. One of: `create_folder`, `request_file`, `request_move`
112
+ * `automation` (string): Required - Automation type
96
113
  * `source` (string): Source Path
97
114
  * `destination` (string): Destination Path
98
115
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -101,6 +118,8 @@ Files::Automation.create(
101
118
  * `path` (string): Path on which this Automation runs. Supports globs.
102
119
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
103
120
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
121
+ * `schedule` (object): Custom schedule for running this automation.
122
+ * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
104
123
 
105
124
 
106
125
  ---
@@ -112,14 +131,16 @@ Files::Automation.update(id,
112
131
  automation: "create_folder",
113
132
  source: "source",
114
133
  destination: "destination",
115
- interval: "year"
134
+ interval: "year",
135
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
136
+ trigger: "realtime"
116
137
  )
117
138
  ```
118
139
 
119
140
  ### Parameters
120
141
 
121
142
  * `id` (int64): Required - Automation ID.
122
- * `automation` (string): Required - Type of automation. One of: `create_folder`, `request_file`, `request_move`
143
+ * `automation` (string): Required - Automation type
123
144
  * `source` (string): Source Path
124
145
  * `destination` (string): Destination Path
125
146
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -128,6 +149,8 @@ Files::Automation.update(id,
128
149
  * `path` (string): Path on which this Automation runs. Supports globs.
129
150
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
130
151
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
152
+ * `schedule` (object): Custom schedule for running this automation.
153
+ * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
131
154
 
132
155
 
133
156
  ---
@@ -154,14 +177,16 @@ automation.update(
154
177
  automation: "create_folder",
155
178
  source: "source",
156
179
  destination: "destination",
157
- interval: "year"
180
+ interval: "year",
181
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
182
+ trigger: "realtime"
158
183
  )
159
184
  ```
160
185
 
161
186
  ### Parameters
162
187
 
163
188
  * `id` (int64): Required - Automation ID.
164
- * `automation` (string): Required - Type of automation. One of: `create_folder`, `request_file`, `request_move`
189
+ * `automation` (string): Required - Automation type
165
190
  * `source` (string): Source Path
166
191
  * `destination` (string): Destination Path
167
192
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -170,6 +195,8 @@ automation.update(
170
195
  * `path` (string): Path on which this Automation runs. Supports globs.
171
196
  * `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
172
197
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
198
+ * `schedule` (object): Custom schedule for running this automation.
199
+ * `trigger` (string): How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
173
200
 
174
201
 
175
202
  ---
@@ -107,6 +107,61 @@ Files::RemoteServer.find(id)
107
107
  * `id` (int64): Required - Remote Server ID.
108
108
 
109
109
 
110
+ ---
111
+
112
+ ## list_for_testing Remote Server
113
+
114
+ ```
115
+ Files::RemoteServer.list_for_testing(
116
+ remote_server_id: 1,
117
+ reset_authentication: true,
118
+ max_connections: 1,
119
+ port: 1
120
+ )
121
+ ```
122
+
123
+ ### Parameters
124
+
125
+ * `remote_server_id` (int64): RemoteServer ID
126
+ * `root` (string): Remote path to list
127
+ * `aws_access_key` (string): AWS Access Key.
128
+ * `aws_secret_key` (string): AWS secret key.
129
+ * `password` (string): Password if needed.
130
+ * `private_key` (string): Private key if needed.
131
+ * `ssl_certificate` (string): SSL client certificate.
132
+ * `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
133
+ * `wasabi_access_key` (string): Wasabi access key.
134
+ * `wasabi_secret_key` (string): Wasabi secret key.
135
+ * `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
136
+ * `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
137
+ * `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
138
+ * `reset_authentication` (boolean): Reset authenticated account
139
+ * `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
140
+ * `hostname` (string):
141
+ * `name` (string):
142
+ * `max_connections` (int64):
143
+ * `port` (int64):
144
+ * `s3_bucket` (string):
145
+ * `s3_region` (string):
146
+ * `server_certificate` (string):
147
+ * `server_host_key` (string):
148
+ * `server_type` (string):
149
+ * `ssl` (string):
150
+ * `username` (string):
151
+ * `google_cloud_storage_bucket` (string):
152
+ * `google_cloud_storage_project_id` (string):
153
+ * `backblaze_b2_bucket` (string):
154
+ * `backblaze_b2_s3_endpoint` (string):
155
+ * `wasabi_bucket` (string):
156
+ * `wasabi_region` (string):
157
+ * `rackspace_username` (string):
158
+ * `rackspace_region` (string):
159
+ * `rackspace_container` (string):
160
+ * `one_drive_account_type` (string):
161
+ * `azure_blob_storage_account` (string):
162
+ * `azure_blob_storage_container` (string):
163
+
164
+
110
165
  ---
111
166
 
112
167
  ## Create Remote Server
@@ -126,8 +126,26 @@ module Files
126
126
  @attributes[:group_ids] = value
127
127
  end
128
128
 
129
+ # string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
130
+ def trigger
131
+ @attributes[:trigger]
132
+ end
133
+
134
+ def trigger=(value)
135
+ @attributes[:trigger] = value
136
+ end
137
+
138
+ # object - Custom schedule description for when the automation should be run.
139
+ def schedule
140
+ @attributes[:schedule]
141
+ end
142
+
143
+ def schedule=(value)
144
+ @attributes[:schedule] = value
145
+ end
146
+
129
147
  # Parameters:
130
- # automation (required) - string - Type of automation. One of: `create_folder`, `request_file`, `request_move`
148
+ # automation (required) - string - Automation type
131
149
  # source - string - Source Path
132
150
  # destination - string - Destination Path
133
151
  # destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -136,6 +154,8 @@ module Files
136
154
  # path - string - Path on which this Automation runs. Supports globs.
137
155
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
138
156
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
157
+ # schedule - object - Custom schedule for running this automation.
158
+ # trigger - string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
139
159
  def update(params = {})
140
160
  params ||= {}
141
161
  params[:id] = @attributes[:id]
@@ -150,6 +170,7 @@ module Files
150
170
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
151
171
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params.dig(:user_ids) and !params.dig(:user_ids).is_a?(String)
152
172
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
173
+ raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
153
174
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
154
175
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
155
176
 
@@ -228,7 +249,7 @@ module Files
228
249
  end
229
250
 
230
251
  # Parameters:
231
- # automation (required) - string - Type of automation. One of: `create_folder`, `request_file`, `request_move`
252
+ # automation (required) - string - Automation type
232
253
  # source - string - Source Path
233
254
  # destination - string - Destination Path
234
255
  # destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -237,6 +258,8 @@ module Files
237
258
  # path - string - Path on which this Automation runs. Supports globs.
238
259
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
239
260
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
261
+ # schedule - object - Custom schedule for running this automation.
262
+ # trigger - string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
240
263
  def self.create(params = {}, options = {})
241
264
  raise InvalidParameterError.new("Bad parameter: automation must be an String") if params.dig(:automation) and !params.dig(:automation).is_a?(String)
242
265
  raise InvalidParameterError.new("Bad parameter: source must be an String") if params.dig(:source) and !params.dig(:source).is_a?(String)
@@ -247,6 +270,8 @@ module Files
247
270
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
248
271
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params.dig(:user_ids) and !params.dig(:user_ids).is_a?(String)
249
272
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
273
+ raise InvalidParameterError.new("Bad parameter: schedule must be an Hash") if params.dig(:schedule) and !params.dig(:schedule).is_a?(Hash)
274
+ raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
250
275
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
251
276
 
252
277
  response, options = Api.send_request("/automations", :post, params, options)
@@ -254,7 +279,7 @@ module Files
254
279
  end
255
280
 
256
281
  # Parameters:
257
- # automation (required) - string - Type of automation. One of: `create_folder`, `request_file`, `request_move`
282
+ # automation (required) - string - Automation type
258
283
  # source - string - Source Path
259
284
  # destination - string - Destination Path
260
285
  # destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
@@ -263,6 +288,8 @@ module Files
263
288
  # path - string - Path on which this Automation runs. Supports globs.
264
289
  # user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
265
290
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
291
+ # schedule - object - Custom schedule for running this automation.
292
+ # trigger - string - How this automation is triggered to run. One of: `realtime` or `custom_schedule`.
266
293
  def self.update(id, params = {}, options = {})
267
294
  params ||= {}
268
295
  params[:id] = id
@@ -276,6 +303,8 @@ module Files
276
303
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
277
304
  raise InvalidParameterError.new("Bad parameter: user_ids must be an String") if params.dig(:user_ids) and !params.dig(:user_ids).is_a?(String)
278
305
  raise InvalidParameterError.new("Bad parameter: group_ids must be an String") if params.dig(:group_ids) and !params.dig(:group_ids).is_a?(String)
306
+ raise InvalidParameterError.new("Bad parameter: schedule must be an Hash") if params.dig(:schedule) and !params.dig(:schedule).is_a?(Hash)
307
+ raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
279
308
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
280
309
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
281
310
 
@@ -515,6 +515,88 @@ module Files
515
515
  find(id, params, options)
516
516
  end
517
517
 
518
+ # Parameters:
519
+ # remote_server_id - int64 - RemoteServer ID
520
+ # root - string - Remote path to list
521
+ # aws_access_key - string - AWS Access Key.
522
+ # aws_secret_key - string - AWS secret key.
523
+ # password - string - Password if needed.
524
+ # private_key - string - Private key if needed.
525
+ # ssl_certificate - string - SSL client certificate.
526
+ # 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
527
+ # wasabi_access_key - string - Wasabi access key.
528
+ # wasabi_secret_key - string - Wasabi secret key.
529
+ # backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
530
+ # backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
531
+ # rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
532
+ # reset_authentication - boolean - Reset authenticated account
533
+ # azure_blob_storage_access_key - string - Azure Blob Storage secret key.
534
+ # hostname - string
535
+ # name - string
536
+ # max_connections - int64
537
+ # port - int64
538
+ # s3_bucket - string
539
+ # s3_region - string
540
+ # server_certificate - string
541
+ # server_host_key - string
542
+ # server_type - string
543
+ # ssl - string
544
+ # username - string
545
+ # google_cloud_storage_bucket - string
546
+ # google_cloud_storage_project_id - string
547
+ # backblaze_b2_bucket - string
548
+ # backblaze_b2_s3_endpoint - string
549
+ # wasabi_bucket - string
550
+ # wasabi_region - string
551
+ # rackspace_username - string
552
+ # rackspace_region - string
553
+ # rackspace_container - string
554
+ # one_drive_account_type - string
555
+ # azure_blob_storage_account - string
556
+ # azure_blob_storage_container - string
557
+ def self.list_for_testing(params = {}, options = {})
558
+ raise InvalidParameterError.new("Bad parameter: remote_server_id must be an Integer") if params.dig(:remote_server_id) and !params.dig(:remote_server_id).is_a?(Integer)
559
+ raise InvalidParameterError.new("Bad parameter: root must be an String") if params.dig(:root) and !params.dig(:root).is_a?(String)
560
+ raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params.dig(:aws_access_key) and !params.dig(:aws_access_key).is_a?(String)
561
+ 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)
562
+ raise InvalidParameterError.new("Bad parameter: password must be an String") if params.dig(:password) and !params.dig(:password).is_a?(String)
563
+ raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params.dig(:private_key) and !params.dig(:private_key).is_a?(String)
564
+ raise InvalidParameterError.new("Bad parameter: ssl_certificate must be an String") if params.dig(:ssl_certificate) and !params.dig(:ssl_certificate).is_a?(String)
565
+ 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)
566
+ 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)
567
+ raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params.dig(:wasabi_secret_key) and !params.dig(:wasabi_secret_key).is_a?(String)
568
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_key_id must be an String") if params.dig(:backblaze_b2_key_id) and !params.dig(:backblaze_b2_key_id).is_a?(String)
569
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_application_key must be an String") if params.dig(:backblaze_b2_application_key) and !params.dig(:backblaze_b2_application_key).is_a?(String)
570
+ raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params.dig(:rackspace_api_key) and !params.dig(:rackspace_api_key).is_a?(String)
571
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_access_key must be an String") if params.dig(:azure_blob_storage_access_key) and !params.dig(:azure_blob_storage_access_key).is_a?(String)
572
+ raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params.dig(:hostname) and !params.dig(:hostname).is_a?(String)
573
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
574
+ raise InvalidParameterError.new("Bad parameter: max_connections must be an Integer") if params.dig(:max_connections) and !params.dig(:max_connections).is_a?(Integer)
575
+ raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params.dig(:port) and !params.dig(:port).is_a?(Integer)
576
+ raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params.dig(:s3_bucket) and !params.dig(:s3_bucket).is_a?(String)
577
+ raise InvalidParameterError.new("Bad parameter: s3_region must be an String") if params.dig(:s3_region) and !params.dig(:s3_region).is_a?(String)
578
+ raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params.dig(:server_certificate) and !params.dig(:server_certificate).is_a?(String)
579
+ raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params.dig(:server_host_key) and !params.dig(:server_host_key).is_a?(String)
580
+ raise InvalidParameterError.new("Bad parameter: server_type must be an String") if params.dig(:server_type) and !params.dig(:server_type).is_a?(String)
581
+ raise InvalidParameterError.new("Bad parameter: ssl must be an String") if params.dig(:ssl) and !params.dig(:ssl).is_a?(String)
582
+ raise InvalidParameterError.new("Bad parameter: username must be an String") if params.dig(:username) and !params.dig(:username).is_a?(String)
583
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_bucket must be an String") if params.dig(:google_cloud_storage_bucket) and !params.dig(:google_cloud_storage_bucket).is_a?(String)
584
+ raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params.dig(:google_cloud_storage_project_id) and !params.dig(:google_cloud_storage_project_id).is_a?(String)
585
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_bucket must be an String") if params.dig(:backblaze_b2_bucket) and !params.dig(:backblaze_b2_bucket).is_a?(String)
586
+ raise InvalidParameterError.new("Bad parameter: backblaze_b2_s3_endpoint must be an String") if params.dig(:backblaze_b2_s3_endpoint) and !params.dig(:backblaze_b2_s3_endpoint).is_a?(String)
587
+ raise InvalidParameterError.new("Bad parameter: wasabi_bucket must be an String") if params.dig(:wasabi_bucket) and !params.dig(:wasabi_bucket).is_a?(String)
588
+ raise InvalidParameterError.new("Bad parameter: wasabi_region must be an String") if params.dig(:wasabi_region) and !params.dig(:wasabi_region).is_a?(String)
589
+ raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params.dig(:rackspace_username) and !params.dig(:rackspace_username).is_a?(String)
590
+ raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
591
+ raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
592
+ raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
593
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
594
+ raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
595
+
596
+ response, options = Api.send_request("/remote_servers/list_for_testing", :get, params, options)
597
+ File.new(response.data, options)
598
+ end
599
+
518
600
  # Parameters:
519
601
  # aws_access_key - string - AWS Access Key.
520
602
  # aws_secret_key - string - AWS secret key.
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.0.123
4
+ version: 1.0.124
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable