files.com 1.1.752 → 1.1.754
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/custom_domain.md +23 -1
- data/docs/remote_server.md +13 -0
- data/docs/scheduled_export.md +3 -1
- data/lib/files.com/models/custom_domain.rb +39 -1
- data/lib/files.com/models/remote_server.rb +24 -0
- data/lib/files.com/models/scheduled_export.rb +10 -1
- 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: 19d1c2443ae7d31995e5cda5ff6640abed6ffaab6b1afd4c1420bc7b80001de6
|
|
4
|
+
data.tar.gz: a4d06579695456fafa209e3baf2e172dff27ea3c9e6f7e8d3a68801584cea07d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cca85e6ee569287d8d3c5b6b6d565a2a9289f850c66028018d5c9efdbb2480704b20c457085c2a0bc133bae81a869e1f89673a39ad998f101cbe62d048e44dec
|
|
7
|
+
data.tar.gz: 83338b78b20e15058e060efe9a4db66c12a9da5e672d9fb0c5e28f1976d58415d79444ea71cb833c7f16d402c581a2ce837e4bbbabd83b8fbffc3be426b07505
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.754
|
data/docs/custom_domain.md
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
+
"workspace_id": 1,
|
|
9
|
+
"available_to_all_workspaces": false,
|
|
10
|
+
"outbound_ip_addresses": [
|
|
11
|
+
"203.0.113.1",
|
|
12
|
+
"203.0.113.2"
|
|
13
|
+
],
|
|
8
14
|
"domain": "files.example.com",
|
|
9
15
|
"destination": "site_alias",
|
|
10
16
|
"dns_status": "correct",
|
|
@@ -21,6 +27,9 @@
|
|
|
21
27
|
```
|
|
22
28
|
|
|
23
29
|
* `id` (int64): Custom Domain ID.
|
|
30
|
+
* `workspace_id` (int64): Workspace ID (0 for the default workspace).
|
|
31
|
+
* `available_to_all_workspaces` (boolean): Allow all workspaces to use this default-workspace Custom Domain.
|
|
32
|
+
* `outbound_ip_addresses` (array(string)): Eligible public IP addresses for Remote Server outbound connections. Empty when this Custom Domain is not eligible for outbound selection.
|
|
24
33
|
* `domain` (string): Customer-owned domain name.
|
|
25
34
|
* `destination` (string): Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
26
35
|
* `dns_status` (string): Current DNS verification status.
|
|
@@ -44,7 +53,8 @@ Files::CustomDomain.list
|
|
|
44
53
|
|
|
45
54
|
* `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.
|
|
46
55
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
47
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
56
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `id` or `available_to_all_workspaces`.
|
|
57
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
48
58
|
|
|
49
59
|
|
|
50
60
|
---
|
|
@@ -82,6 +92,8 @@ Files::CustomDomain.create_allocate_ip(id,
|
|
|
82
92
|
|
|
83
93
|
```
|
|
84
94
|
Files::CustomDomain.create(
|
|
95
|
+
available_to_all_workspaces: false,
|
|
96
|
+
workspace_id: 0,
|
|
85
97
|
destination: "site_alias",
|
|
86
98
|
folder_behavior_id: 1,
|
|
87
99
|
ssl_certificate_id: 1,
|
|
@@ -91,6 +103,8 @@ Files::CustomDomain.create(
|
|
|
91
103
|
|
|
92
104
|
### Parameters
|
|
93
105
|
|
|
106
|
+
* `available_to_all_workspaces` (boolean): Allow all workspaces to use this default-workspace Custom Domain.
|
|
107
|
+
* `workspace_id` (int64): Workspace ID (0 for the default workspace).
|
|
94
108
|
* `destination` (string): Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
95
109
|
* `folder_behavior_id` (int64): Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
96
110
|
* `ssl_certificate_id` (int64): Current SSL certificate ID.
|
|
@@ -103,6 +117,8 @@ Files::CustomDomain.create(
|
|
|
103
117
|
|
|
104
118
|
```
|
|
105
119
|
Files::CustomDomain.update(id,
|
|
120
|
+
available_to_all_workspaces: false,
|
|
121
|
+
workspace_id: 0,
|
|
106
122
|
destination: "site_alias",
|
|
107
123
|
folder_behavior_id: 1,
|
|
108
124
|
ssl_certificate_id: 1,
|
|
@@ -113,6 +129,8 @@ Files::CustomDomain.update(id,
|
|
|
113
129
|
### Parameters
|
|
114
130
|
|
|
115
131
|
* `id` (int64): Required - Custom Domain ID.
|
|
132
|
+
* `available_to_all_workspaces` (boolean): Allow all workspaces to use this default-workspace Custom Domain.
|
|
133
|
+
* `workspace_id` (int64): Workspace ID (0 for the default workspace).
|
|
116
134
|
* `destination` (string): Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
117
135
|
* `folder_behavior_id` (int64): Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
118
136
|
* `ssl_certificate_id` (int64): Current SSL certificate ID.
|
|
@@ -140,6 +158,8 @@ Files::CustomDomain.delete(id)
|
|
|
140
158
|
custom_domain = Files::CustomDomain.find(id)
|
|
141
159
|
|
|
142
160
|
custom_domain.update(
|
|
161
|
+
available_to_all_workspaces: false,
|
|
162
|
+
workspace_id: 0,
|
|
143
163
|
destination: "site_alias",
|
|
144
164
|
folder_behavior_id: 1,
|
|
145
165
|
ssl_certificate_id: 1,
|
|
@@ -150,6 +170,8 @@ custom_domain.update(
|
|
|
150
170
|
### Parameters
|
|
151
171
|
|
|
152
172
|
* `id` (int64): Required - Custom Domain ID.
|
|
173
|
+
* `available_to_all_workspaces` (boolean): Allow all workspaces to use this default-workspace Custom Domain.
|
|
174
|
+
* `workspace_id` (int64): Workspace ID (0 for the default workspace).
|
|
153
175
|
* `destination` (string): Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
154
176
|
* `folder_behavior_id` (int64): Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
155
177
|
* `ssl_certificate_id` (int64): Current SSL certificate ID.
|
data/docs/remote_server.md
CHANGED
|
@@ -62,6 +62,11 @@
|
|
|
62
62
|
"s3_compatible_virtual_hosted_style": true,
|
|
63
63
|
"s3_compatible_access_key": "example",
|
|
64
64
|
"enable_dedicated_ips": true,
|
|
65
|
+
"custom_domain_id": 1,
|
|
66
|
+
"outbound_ip_addresses": [
|
|
67
|
+
"203.0.113.1",
|
|
68
|
+
"203.0.113.2"
|
|
69
|
+
],
|
|
65
70
|
"files_agent_permission_set": "read_write",
|
|
66
71
|
"files_agent_root": "example",
|
|
67
72
|
"files_agent_version": "example",
|
|
@@ -142,6 +147,8 @@
|
|
|
142
147
|
* `s3_compatible_virtual_hosted_style` (boolean): S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs
|
|
143
148
|
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
144
149
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
150
|
+
* `custom_domain_id` (int64): Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
151
|
+
* `outbound_ip_addresses` (array(string)): Current eligible public IP addresses for the selected Custom Domain. Any address in this list may originate a connection. Empty when no domain is selected or its configuration is unavailable. Only included in responses for a single Remote Server.
|
|
145
152
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
146
153
|
* `files_agent_root` (string): Agent local root path
|
|
147
154
|
* `files_agent_version` (string): Files Agent version
|
|
@@ -277,6 +284,7 @@ Files::RemoteServer.create(
|
|
|
277
284
|
files_agent_root: "example",
|
|
278
285
|
files_agent_version: "example",
|
|
279
286
|
outbound_agent_id: 1,
|
|
287
|
+
custom_domain_id: 1,
|
|
280
288
|
google_cloud_storage_authentication_method: "json",
|
|
281
289
|
google_cloud_storage_bucket: "my-bucket",
|
|
282
290
|
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
@@ -366,6 +374,7 @@ Files::RemoteServer.create(
|
|
|
366
374
|
* `files_agent_root` (string): Agent local root path
|
|
367
375
|
* `files_agent_version` (string): Files Agent version
|
|
368
376
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
377
|
+
* `custom_domain_id` (int64): Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
369
378
|
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
370
379
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
371
380
|
* `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.
|
|
@@ -449,6 +458,7 @@ Files::RemoteServer.update(id,
|
|
|
449
458
|
files_agent_root: "example",
|
|
450
459
|
files_agent_version: "example",
|
|
451
460
|
outbound_agent_id: 1,
|
|
461
|
+
custom_domain_id: 1,
|
|
452
462
|
google_cloud_storage_authentication_method: "json",
|
|
453
463
|
google_cloud_storage_bucket: "my-bucket",
|
|
454
464
|
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
@@ -537,6 +547,7 @@ Files::RemoteServer.update(id,
|
|
|
537
547
|
* `files_agent_root` (string): Agent local root path
|
|
538
548
|
* `files_agent_version` (string): Files Agent version
|
|
539
549
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
550
|
+
* `custom_domain_id` (int64): Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
540
551
|
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
541
552
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
542
553
|
* `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.
|
|
@@ -651,6 +662,7 @@ remote_server.update(
|
|
|
651
662
|
files_agent_root: "example",
|
|
652
663
|
files_agent_version: "example",
|
|
653
664
|
outbound_agent_id: 1,
|
|
665
|
+
custom_domain_id: 1,
|
|
654
666
|
google_cloud_storage_authentication_method: "json",
|
|
655
667
|
google_cloud_storage_bucket: "my-bucket",
|
|
656
668
|
google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
|
|
@@ -739,6 +751,7 @@ remote_server.update(
|
|
|
739
751
|
* `files_agent_root` (string): Agent local root path
|
|
740
752
|
* `files_agent_version` (string): Files Agent version
|
|
741
753
|
* `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
|
|
754
|
+
* `custom_domain_id` (int64): Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
742
755
|
* `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
743
756
|
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
744
757
|
* `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.
|
data/docs/scheduled_export.md
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"human_readable_schedule": "Runs every month at 06:30 AM UTC TZ.",
|
|
35
35
|
"last_run_at": "2000-01-01T01:00:00Z",
|
|
36
36
|
"last_export_id": 1,
|
|
37
|
+
"last_error": "example",
|
|
37
38
|
"created_at": "2000-01-01T01:00:00Z",
|
|
38
39
|
"updated_at": "2000-01-01T01:00:00Z"
|
|
39
40
|
}
|
|
@@ -56,8 +57,9 @@
|
|
|
56
57
|
* `schedule_time_zone` (string): Time zone used by the scheduled export schedule.
|
|
57
58
|
* `holiday_region` (string): Optional holiday region used by the scheduled export schedule.
|
|
58
59
|
* `human_readable_schedule` (string): Human-readable schedule description.
|
|
59
|
-
* `last_run_at` (date-time): Most recent scheduled
|
|
60
|
+
* `last_run_at` (date-time): Most recent scheduled attempt time, including attempts that failed validation.
|
|
60
61
|
* `last_export_id` (int64): Most recent Export ID created by this schedule.
|
|
62
|
+
* `last_error` (string): Validation error from the most recent scheduled attempt. The schedule remains enabled and retries at its next scheduled time. Cleared when an export is successfully created; does not describe errors during export generation.
|
|
61
63
|
* `created_at` (date-time): Creation time.
|
|
62
64
|
* `updated_at` (date-time): Last update time.
|
|
63
65
|
|
|
@@ -18,6 +18,33 @@ module Files
|
|
|
18
18
|
@attributes[:id] = value
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
# int64 - Workspace ID (0 for the default workspace).
|
|
22
|
+
def workspace_id
|
|
23
|
+
@attributes[:workspace_id]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def workspace_id=(value)
|
|
27
|
+
@attributes[:workspace_id] = value
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# boolean - Allow all workspaces to use this default-workspace Custom Domain.
|
|
31
|
+
def available_to_all_workspaces
|
|
32
|
+
@attributes[:available_to_all_workspaces]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def available_to_all_workspaces=(value)
|
|
36
|
+
@attributes[:available_to_all_workspaces] = value
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# array(string) - Eligible public IP addresses for Remote Server outbound connections. Empty when this Custom Domain is not eligible for outbound selection.
|
|
40
|
+
def outbound_ip_addresses
|
|
41
|
+
@attributes[:outbound_ip_addresses]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def outbound_ip_addresses=(value)
|
|
45
|
+
@attributes[:outbound_ip_addresses] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
21
48
|
# string - Customer-owned domain name.
|
|
22
49
|
def domain
|
|
23
50
|
@attributes[:domain]
|
|
@@ -92,6 +119,8 @@ module Files
|
|
|
92
119
|
end
|
|
93
120
|
|
|
94
121
|
# Parameters:
|
|
122
|
+
# available_to_all_workspaces - boolean - Allow all workspaces to use this default-workspace Custom Domain.
|
|
123
|
+
# workspace_id - int64 - Workspace ID (0 for the default workspace).
|
|
95
124
|
# destination - string - Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
96
125
|
# folder_behavior_id - int64 - Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
97
126
|
# ssl_certificate_id - int64 - Current SSL certificate ID.
|
|
@@ -101,6 +130,7 @@ module Files
|
|
|
101
130
|
params[:id] = @attributes[:id]
|
|
102
131
|
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
103
132
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
133
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
104
134
|
raise InvalidParameterError.new("Bad parameter: destination must be an String") if params[:destination] and !params[:destination].is_a?(String)
|
|
105
135
|
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
|
|
106
136
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate_id must be an Integer") if params[:ssl_certificate_id] and !params[:ssl_certificate_id].is_a?(Integer)
|
|
@@ -139,11 +169,13 @@ module Files
|
|
|
139
169
|
# Parameters:
|
|
140
170
|
# 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.
|
|
141
171
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
142
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
172
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `id` or `available_to_all_workspaces`.
|
|
173
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
|
|
143
174
|
def self.list(params = {}, options = {})
|
|
144
175
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
145
176
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
146
177
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
178
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
147
179
|
|
|
148
180
|
List.new(CustomDomain, params) do
|
|
149
181
|
Api.send_request("/custom_domains", :get, params, options)
|
|
@@ -186,11 +218,14 @@ module Files
|
|
|
186
218
|
end
|
|
187
219
|
|
|
188
220
|
# Parameters:
|
|
221
|
+
# available_to_all_workspaces - boolean - Allow all workspaces to use this default-workspace Custom Domain.
|
|
222
|
+
# workspace_id - int64 - Workspace ID (0 for the default workspace).
|
|
189
223
|
# destination - string - Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
190
224
|
# folder_behavior_id - int64 - Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
191
225
|
# ssl_certificate_id - int64 - Current SSL certificate ID.
|
|
192
226
|
# domain (required) - string - Customer-owned domain name.
|
|
193
227
|
def self.create(params = {}, options = {})
|
|
228
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
194
229
|
raise InvalidParameterError.new("Bad parameter: destination must be an String") if params[:destination] and !params[:destination].is_a?(String)
|
|
195
230
|
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
|
|
196
231
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate_id must be an Integer") if params[:ssl_certificate_id] and !params[:ssl_certificate_id].is_a?(Integer)
|
|
@@ -202,6 +237,8 @@ module Files
|
|
|
202
237
|
end
|
|
203
238
|
|
|
204
239
|
# Parameters:
|
|
240
|
+
# available_to_all_workspaces - boolean - Allow all workspaces to use this default-workspace Custom Domain.
|
|
241
|
+
# workspace_id - int64 - Workspace ID (0 for the default workspace).
|
|
205
242
|
# destination - string - Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
|
|
206
243
|
# folder_behavior_id - int64 - Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
|
|
207
244
|
# ssl_certificate_id - int64 - Current SSL certificate ID.
|
|
@@ -210,6 +247,7 @@ module Files
|
|
|
210
247
|
params ||= {}
|
|
211
248
|
params[:id] = id
|
|
212
249
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
250
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
213
251
|
raise InvalidParameterError.new("Bad parameter: destination must be an String") if params[:destination] and !params[:destination].is_a?(String)
|
|
214
252
|
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
|
|
215
253
|
raise InvalidParameterError.new("Bad parameter: ssl_certificate_id must be an Integer") if params[:ssl_certificate_id] and !params[:ssl_certificate_id].is_a?(Integer)
|
|
@@ -531,6 +531,24 @@ module Files
|
|
|
531
531
|
@attributes[:enable_dedicated_ips] = value
|
|
532
532
|
end
|
|
533
533
|
|
|
534
|
+
# int64 - Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
535
|
+
def custom_domain_id
|
|
536
|
+
@attributes[:custom_domain_id]
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
def custom_domain_id=(value)
|
|
540
|
+
@attributes[:custom_domain_id] = value
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# array(string) - Current eligible public IP addresses for the selected Custom Domain. Any address in this list may originate a connection. Empty when no domain is selected or its configuration is unavailable. Only included in responses for a single Remote Server.
|
|
544
|
+
def outbound_ip_addresses
|
|
545
|
+
@attributes[:outbound_ip_addresses]
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
def outbound_ip_addresses=(value)
|
|
549
|
+
@attributes[:outbound_ip_addresses] = value
|
|
550
|
+
end
|
|
551
|
+
|
|
534
552
|
# string - Local permissions for files agent. read_only, write_only, or read_write
|
|
535
553
|
def files_agent_permission_set
|
|
536
554
|
@attributes[:files_agent_permission_set]
|
|
@@ -978,6 +996,7 @@ module Files
|
|
|
978
996
|
# files_agent_root - string - Agent local root path
|
|
979
997
|
# files_agent_version - string - Files Agent version
|
|
980
998
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
999
|
+
# custom_domain_id - int64 - Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
981
1000
|
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
982
1001
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
983
1002
|
# 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.
|
|
@@ -1060,6 +1079,7 @@ module Files
|
|
|
1060
1079
|
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)
|
|
1061
1080
|
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)
|
|
1062
1081
|
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)
|
|
1082
|
+
raise InvalidParameterError.new("Bad parameter: custom_domain_id must be an Integer") if params[:custom_domain_id] and !params[:custom_domain_id].is_a?(Integer)
|
|
1063
1083
|
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)
|
|
1064
1084
|
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)
|
|
1065
1085
|
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)
|
|
@@ -1236,6 +1256,7 @@ module Files
|
|
|
1236
1256
|
# files_agent_root - string - Agent local root path
|
|
1237
1257
|
# files_agent_version - string - Files Agent version
|
|
1238
1258
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1259
|
+
# custom_domain_id - int64 - Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
1239
1260
|
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
1240
1261
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1241
1262
|
# 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.
|
|
@@ -1316,6 +1337,7 @@ module Files
|
|
|
1316
1337
|
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)
|
|
1317
1338
|
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)
|
|
1318
1339
|
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)
|
|
1340
|
+
raise InvalidParameterError.new("Bad parameter: custom_domain_id must be an Integer") if params[:custom_domain_id] and !params[:custom_domain_id].is_a?(Integer)
|
|
1319
1341
|
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)
|
|
1320
1342
|
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)
|
|
1321
1343
|
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)
|
|
@@ -1414,6 +1436,7 @@ module Files
|
|
|
1414
1436
|
# files_agent_root - string - Agent local root path
|
|
1415
1437
|
# files_agent_version - string - Files Agent version
|
|
1416
1438
|
# outbound_agent_id - int64 - Route traffic to outbound on a files-agent
|
|
1439
|
+
# custom_domain_id - int64 - Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
|
|
1417
1440
|
# google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
|
|
1418
1441
|
# google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
|
|
1419
1442
|
# 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.
|
|
@@ -1495,6 +1518,7 @@ module Files
|
|
|
1495
1518
|
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)
|
|
1496
1519
|
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)
|
|
1497
1520
|
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)
|
|
1521
|
+
raise InvalidParameterError.new("Bad parameter: custom_domain_id must be an Integer") if params[:custom_domain_id] and !params[:custom_domain_id].is_a?(Integer)
|
|
1498
1522
|
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)
|
|
1499
1523
|
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)
|
|
1500
1524
|
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)
|
|
@@ -162,7 +162,7 @@ module Files
|
|
|
162
162
|
@attributes[:human_readable_schedule] = value
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
-
# date-time - Most recent scheduled
|
|
165
|
+
# date-time - Most recent scheduled attempt time, including attempts that failed validation.
|
|
166
166
|
def last_run_at
|
|
167
167
|
@attributes[:last_run_at]
|
|
168
168
|
end
|
|
@@ -180,6 +180,15 @@ module Files
|
|
|
180
180
|
@attributes[:last_export_id] = value
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
+
# string - Validation error from the most recent scheduled attempt. The schedule remains enabled and retries at its next scheduled time. Cleared when an export is successfully created; does not describe errors during export generation.
|
|
184
|
+
def last_error
|
|
185
|
+
@attributes[:last_error]
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
def last_error=(value)
|
|
189
|
+
@attributes[:last_error] = value
|
|
190
|
+
end
|
|
191
|
+
|
|
183
192
|
# date-time - Creation time.
|
|
184
193
|
def created_at
|
|
185
194
|
@attributes[:created_at]
|
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.754
|
|
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-09-
|
|
11
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|