files.com 1.1.209 → 1.1.211
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/automation.md +16 -0
- data/docs/automation_run.md +6 -0
- data/docs/remote_server.md +8 -0
- data/lib/files.com/models/automation.rb +30 -0
- data/lib/files.com/models/automation_run.rb +15 -0
- data/lib/files.com/models/remote_server.rb +15 -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: 8af555aa0db8d86c85e7225ef57aed6a878af3fe3d64fffd3e9457ff958d3e81
|
4
|
+
data.tar.gz: a6ec014f833dcaee78827af677553bfbb836b8bdcd762975ba769529f97ec9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ecb955266d6190692f5820a83e0c11a1d7948bac54f4449ad283a741fc45dc38ab0f58da075d97603e33910f834c4e59b773270a0beef3fd4a6a39e4dc2228
|
7
|
+
data.tar.gz: 3d161ff7a8c6df53ae1ead4ad7c5a6ef98facd53f7ad648592f7da48eac04716262c0d861498bd4fbf43540a7fafae0d3db51c6a3bf6eb255269044067bd94e8
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.211
|
data/docs/automation.md
CHANGED
@@ -43,6 +43,8 @@
|
|
43
43
|
"path": "example",
|
44
44
|
"path_time_zone": "Eastern Time (US & Canada)",
|
45
45
|
"recurring_day": 25,
|
46
|
+
"retry_on_failure_interval_in_minutes": 60,
|
47
|
+
"retry_on_failure_number_of_attempts": 10,
|
46
48
|
"schedule": "example",
|
47
49
|
"human_readable_schedule": "Triggered every Monday, Wednesday at 6:30 AM,\n 2:30 PM Eastern Time (US & Canada) TZ",
|
48
50
|
"schedule_days_of_week": [
|
@@ -98,6 +100,8 @@
|
|
98
100
|
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
99
101
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
100
102
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
103
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
104
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
101
105
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
102
106
|
* `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
|
103
107
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
@@ -175,6 +179,8 @@ Files::Automation.create(
|
|
175
179
|
name: "example",
|
176
180
|
overwrite_files: true,
|
177
181
|
path_time_zone: "Eastern Time (US & Canada)",
|
182
|
+
retry_on_failure_interval_in_minutes: 60,
|
183
|
+
retry_on_failure_number_of_attempts: 10,
|
178
184
|
trigger: "daily",
|
179
185
|
trigger_actions: ["create"],
|
180
186
|
value: {"limit":"1"},
|
@@ -208,6 +214,8 @@ Files::Automation.create(
|
|
208
214
|
* `name` (string): Name for this automation.
|
209
215
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
210
216
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
217
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
218
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
211
219
|
* `trigger` (string): How this automation is triggered to run.
|
212
220
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
213
221
|
* `value` (object): A Hash of attributes specific to the automation type.
|
@@ -257,6 +265,8 @@ Files::Automation.update(id,
|
|
257
265
|
name: "example",
|
258
266
|
overwrite_files: true,
|
259
267
|
path_time_zone: "Eastern Time (US & Canada)",
|
268
|
+
retry_on_failure_interval_in_minutes: 60,
|
269
|
+
retry_on_failure_number_of_attempts: 10,
|
260
270
|
trigger: "daily",
|
261
271
|
trigger_actions: ["create"],
|
262
272
|
value: {"limit":"1"},
|
@@ -291,6 +301,8 @@ Files::Automation.update(id,
|
|
291
301
|
* `name` (string): Name for this automation.
|
292
302
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
293
303
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
304
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
305
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
294
306
|
* `trigger` (string): How this automation is triggered to run.
|
295
307
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
296
308
|
* `value` (object): A Hash of attributes specific to the automation type.
|
@@ -357,6 +369,8 @@ automation.update(
|
|
357
369
|
name: "example",
|
358
370
|
overwrite_files: true,
|
359
371
|
path_time_zone: "Eastern Time (US & Canada)",
|
372
|
+
retry_on_failure_interval_in_minutes: 60,
|
373
|
+
retry_on_failure_number_of_attempts: 10,
|
360
374
|
trigger: "daily",
|
361
375
|
trigger_actions: ["create"],
|
362
376
|
value: {"limit":"1"},
|
@@ -391,6 +405,8 @@ automation.update(
|
|
391
405
|
* `name` (string): Name for this automation.
|
392
406
|
* `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
393
407
|
* `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
|
408
|
+
* `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes).
|
409
|
+
* `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times.
|
394
410
|
* `trigger` (string): How this automation is triggered to run.
|
395
411
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
396
412
|
* `value` (object): A Hash of attributes specific to the automation type.
|
data/docs/automation_run.md
CHANGED
@@ -8,6 +8,9 @@
|
|
8
8
|
"automation_id": 1,
|
9
9
|
"completed_at": "2000-01-01T01:00:00Z",
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
11
|
+
"retried_at": "2000-01-01T01:00:00Z",
|
12
|
+
"retry_of_run_id": 1,
|
13
|
+
"retried_in_run_id": 1,
|
11
14
|
"runtime": 1.0,
|
12
15
|
"status": "success",
|
13
16
|
"successful_operations": 1,
|
@@ -20,6 +23,9 @@
|
|
20
23
|
* `automation_id` (int64): ID of the associated Automation.
|
21
24
|
* `completed_at` (date-time): Automation run completion/failure date/time.
|
22
25
|
* `created_at` (date-time): Automation run start date/time.
|
26
|
+
* `retried_at` (date-time): If set, this Automation run was retried due to `failure` or `partial_failure`.
|
27
|
+
* `retry_of_run_id` (int64): ID of the original run that this run is retrying.
|
28
|
+
* `retried_in_run_id` (int64): ID of the run that is or will be retrying this run.
|
23
29
|
* `runtime` (double): Automation run runtime.
|
24
30
|
* `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
|
25
31
|
* `successful_operations` (int64): Count of successful operations.
|
data/docs/remote_server.md
CHANGED
@@ -41,6 +41,7 @@
|
|
41
41
|
"azure_blob_storage_hierarchical_namespace": true,
|
42
42
|
"azure_files_storage_account": "storage-account-name",
|
43
43
|
"azure_files_storage_share_name": "share-name",
|
44
|
+
"azure_files_storage_dns_suffix": "file.core.windows.net",
|
44
45
|
"s3_compatible_bucket": "my-bucket",
|
45
46
|
"s3_compatible_endpoint": "mys3platform.com",
|
46
47
|
"s3_compatible_region": "us-east-1",
|
@@ -100,6 +101,7 @@
|
|
100
101
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
101
102
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
102
103
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
104
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
103
105
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
104
106
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
105
107
|
* `s3_compatible_region` (string): S3-compatible endpoint
|
@@ -219,6 +221,7 @@ Files::RemoteServer.create(
|
|
219
221
|
azure_blob_storage_hierarchical_namespace: true,
|
220
222
|
azure_files_storage_account: "storage-account-name",
|
221
223
|
azure_files_storage_share_name: "share-name",
|
224
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
222
225
|
s3_compatible_bucket: "my-bucket",
|
223
226
|
s3_compatible_endpoint: "mys3platform.com",
|
224
227
|
s3_compatible_region: "us-east-1",
|
@@ -284,6 +287,7 @@ Files::RemoteServer.create(
|
|
284
287
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
285
288
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
286
289
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
290
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
287
291
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
288
292
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
289
293
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -380,6 +384,7 @@ Files::RemoteServer.update(id,
|
|
380
384
|
azure_blob_storage_hierarchical_namespace: true,
|
381
385
|
azure_files_storage_account: "storage-account-name",
|
382
386
|
azure_files_storage_share_name: "share-name",
|
387
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
383
388
|
s3_compatible_bucket: "my-bucket",
|
384
389
|
s3_compatible_endpoint: "mys3platform.com",
|
385
390
|
s3_compatible_region: "us-east-1",
|
@@ -446,6 +451,7 @@ Files::RemoteServer.update(id,
|
|
446
451
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
447
452
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
448
453
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
454
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
449
455
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
450
456
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
451
457
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -559,6 +565,7 @@ remote_server.update(
|
|
559
565
|
azure_blob_storage_hierarchical_namespace: true,
|
560
566
|
azure_files_storage_account: "storage-account-name",
|
561
567
|
azure_files_storage_share_name: "share-name",
|
568
|
+
azure_files_storage_dns_suffix: "file.core.windows.net",
|
562
569
|
s3_compatible_bucket: "my-bucket",
|
563
570
|
s3_compatible_endpoint: "mys3platform.com",
|
564
571
|
s3_compatible_region: "us-east-1",
|
@@ -625,6 +632,7 @@ remote_server.update(
|
|
625
632
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
626
633
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
627
634
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
635
|
+
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
628
636
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
629
637
|
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
630
638
|
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
@@ -207,6 +207,24 @@ module Files
|
|
207
207
|
@attributes[:recurring_day] = value
|
208
208
|
end
|
209
209
|
|
210
|
+
# int64 - If the Automation fails, retry at this interval (in minutes).
|
211
|
+
def retry_on_failure_interval_in_minutes
|
212
|
+
@attributes[:retry_on_failure_interval_in_minutes]
|
213
|
+
end
|
214
|
+
|
215
|
+
def retry_on_failure_interval_in_minutes=(value)
|
216
|
+
@attributes[:retry_on_failure_interval_in_minutes] = value
|
217
|
+
end
|
218
|
+
|
219
|
+
# int64 - If the Automation fails, retry at most this many times.
|
220
|
+
def retry_on_failure_number_of_attempts
|
221
|
+
@attributes[:retry_on_failure_number_of_attempts]
|
222
|
+
end
|
223
|
+
|
224
|
+
def retry_on_failure_number_of_attempts=(value)
|
225
|
+
@attributes[:retry_on_failure_number_of_attempts] = value
|
226
|
+
end
|
227
|
+
|
210
228
|
# object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
211
229
|
def schedule
|
212
230
|
@attributes[:schedule]
|
@@ -359,6 +377,8 @@ module Files
|
|
359
377
|
# name - string - Name for this automation.
|
360
378
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
361
379
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
380
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
381
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
362
382
|
# trigger - string - How this automation is triggered to run.
|
363
383
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
364
384
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -386,6 +406,8 @@ module Files
|
|
386
406
|
raise InvalidParameterError.new("Bad parameter: import_urls must be an Array") if params[:import_urls] and !params[:import_urls].is_a?(Array)
|
387
407
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
388
408
|
raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
|
409
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_interval_in_minutes must be an Integer") if params[:retry_on_failure_interval_in_minutes] and !params[:retry_on_failure_interval_in_minutes].is_a?(Integer)
|
410
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_number_of_attempts must be an Integer") if params[:retry_on_failure_number_of_attempts] and !params[:retry_on_failure_number_of_attempts].is_a?(Integer)
|
389
411
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
390
412
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
391
413
|
raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
|
@@ -489,6 +511,8 @@ module Files
|
|
489
511
|
# name - string - Name for this automation.
|
490
512
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
491
513
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
514
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
515
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
492
516
|
# trigger - string - How this automation is triggered to run.
|
493
517
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
494
518
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -512,6 +536,8 @@ module Files
|
|
512
536
|
raise InvalidParameterError.new("Bad parameter: import_urls must be an Array") if params[:import_urls] and !params[:import_urls].is_a?(Array)
|
513
537
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
514
538
|
raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
|
539
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_interval_in_minutes must be an Integer") if params[:retry_on_failure_interval_in_minutes] and !params[:retry_on_failure_interval_in_minutes].is_a?(Integer)
|
540
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_number_of_attempts must be an Integer") if params[:retry_on_failure_number_of_attempts] and !params[:retry_on_failure_number_of_attempts].is_a?(Integer)
|
515
541
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
516
542
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
517
543
|
raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
|
@@ -558,6 +584,8 @@ module Files
|
|
558
584
|
# name - string - Name for this automation.
|
559
585
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
560
586
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
587
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
588
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
561
589
|
# trigger - string - How this automation is triggered to run.
|
562
590
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
563
591
|
# value - object - A Hash of attributes specific to the automation type.
|
@@ -584,6 +612,8 @@ module Files
|
|
584
612
|
raise InvalidParameterError.new("Bad parameter: import_urls must be an Array") if params[:import_urls] and !params[:import_urls].is_a?(Array)
|
585
613
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
586
614
|
raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
|
615
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_interval_in_minutes must be an Integer") if params[:retry_on_failure_interval_in_minutes] and !params[:retry_on_failure_interval_in_minutes].is_a?(Integer)
|
616
|
+
raise InvalidParameterError.new("Bad parameter: retry_on_failure_number_of_attempts must be an Integer") if params[:retry_on_failure_number_of_attempts] and !params[:retry_on_failure_number_of_attempts].is_a?(Integer)
|
587
617
|
raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
|
588
618
|
raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
|
589
619
|
raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
|
@@ -29,6 +29,21 @@ module Files
|
|
29
29
|
@attributes[:created_at]
|
30
30
|
end
|
31
31
|
|
32
|
+
# date-time - If set, this Automation run was retried due to `failure` or `partial_failure`.
|
33
|
+
def retried_at
|
34
|
+
@attributes[:retried_at]
|
35
|
+
end
|
36
|
+
|
37
|
+
# int64 - ID of the original run that this run is retrying.
|
38
|
+
def retry_of_run_id
|
39
|
+
@attributes[:retry_of_run_id]
|
40
|
+
end
|
41
|
+
|
42
|
+
# int64 - ID of the run that is or will be retrying this run.
|
43
|
+
def retried_in_run_id
|
44
|
+
@attributes[:retried_in_run_id]
|
45
|
+
end
|
46
|
+
|
32
47
|
# double - Automation run runtime.
|
33
48
|
def runtime
|
34
49
|
@attributes[:runtime]
|
@@ -342,6 +342,15 @@ module Files
|
|
342
342
|
@attributes[:azure_files_storage_share_name] = value
|
343
343
|
end
|
344
344
|
|
345
|
+
# string - Custom DNS suffix
|
346
|
+
def azure_files_storage_dns_suffix
|
347
|
+
@attributes[:azure_files_storage_dns_suffix]
|
348
|
+
end
|
349
|
+
|
350
|
+
def azure_files_storage_dns_suffix=(value)
|
351
|
+
@attributes[:azure_files_storage_dns_suffix] = value
|
352
|
+
end
|
353
|
+
|
345
354
|
# string - S3-compatible Bucket name
|
346
355
|
def s3_compatible_bucket
|
347
356
|
@attributes[:s3_compatible_bucket]
|
@@ -763,6 +772,7 @@ module Files
|
|
763
772
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
764
773
|
# azure_files_storage_account - string - Azure File Storage Account name
|
765
774
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
775
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
766
776
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
767
777
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
768
778
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -830,6 +840,7 @@ module Files
|
|
830
840
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
831
841
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
832
842
|
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)
|
843
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
833
844
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
834
845
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
835
846
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
@@ -975,6 +986,7 @@ module Files
|
|
975
986
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
976
987
|
# azure_files_storage_account - string - Azure File Storage Account name
|
977
988
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
989
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
978
990
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
979
991
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
980
992
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -1038,6 +1050,7 @@ module Files
|
|
1038
1050
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1039
1051
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1040
1052
|
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)
|
1053
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
1041
1054
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
1042
1055
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
1043
1056
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].is_a?(String)
|
@@ -1142,6 +1155,7 @@ module Files
|
|
1142
1155
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1143
1156
|
# azure_files_storage_account - string - Azure File Storage Account name
|
1144
1157
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
1158
|
+
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
1145
1159
|
# azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
1146
1160
|
# s3_compatible_bucket - string - S3-compatible Bucket name
|
1147
1161
|
# s3_compatible_endpoint - string - S3-compatible endpoint
|
@@ -1208,6 +1222,7 @@ module Files
|
|
1208
1222
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1209
1223
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1210
1224
|
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)
|
1225
|
+
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
1211
1226
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_sas_token must be an String") if params[:azure_files_storage_sas_token] and !params[:azure_files_storage_sas_token].is_a?(String)
|
1212
1227
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
|
1213
1228
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_endpoint must be an String") if params[:s3_compatible_endpoint] and !params[:s3_compatible_endpoint].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.211
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|