files.com 1.1.751 → 1.1.753
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/partner_channel.md +10 -2
- data/docs/partner_channel_template.md +10 -2
- data/docs/remote_server.md +13 -0
- data/lib/files.com/models/custom_domain.rb +39 -1
- data/lib/files.com/models/partner_channel.rb +14 -2
- data/lib/files.com/models/partner_channel_template.rb +14 -2
- data/lib/files.com/models/remote_server.rb +24 -0
- data/lib/files.com/version.rb +1 -1
- 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: 7640106b22b769d75fc5d6c43d3b40e5b318f9a4e1684e1c36dfa519d74b03df
|
|
4
|
+
data.tar.gz: 5bc363cb11e2825f54f23fcaaf5097c5bdb91a4bca783d849450345b851e8ac3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb504775201fd25b7a4892e753410532236880fb71d04f7e6a00caea71200417ae96faa3d5a9161c3ddf81516ced047d6318527f76f11d1895c94384a47fe33d
|
|
7
|
+
data.tar.gz: 7342ba787dd0433a5cbb0fc4b1c28aa8fd4edaa34f6c9c3bca26002f1a7240aba4e30d61258552a7d46ff7fba532c7725e2178484731c4b105135d014548ad52
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.753
|
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/partner_channel.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"direction": "two_way",
|
|
10
|
+
"use_channel_root": false,
|
|
10
11
|
"partner_id": 1,
|
|
11
12
|
"partner_channel_template_id": 1,
|
|
12
13
|
"path": "claims/medical",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
* `id` (int64): The unique ID of the Partner Channel.
|
|
32
33
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner Channel.
|
|
33
34
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
35
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
34
36
|
* `partner_id` (int64): ID of the Partner this Channel belongs to.
|
|
35
37
|
* `partner_channel_template_id` (int64): ID of the Partner Channel Template that manages this Channel, if any.
|
|
36
38
|
* `path` (string): Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
@@ -40,8 +42,8 @@
|
|
|
40
42
|
* `to_partner_route_path` (string): Optional route path for files delivered to the Partner.
|
|
41
43
|
* `to_partner_managed_folder_paths` (array(string)): Managed folder paths inside the to-Partner folder.
|
|
42
44
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
43
|
-
* `effective_to_partner_folder_name` (string): Resolved to-Partner
|
|
44
|
-
* `effective_from_partner_folder_name` (string): Resolved from-Partner
|
|
45
|
+
* `effective_to_partner_folder_name` (string): Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
46
|
+
* `effective_from_partner_folder_name` (string): Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
45
47
|
* `channel_path` (string): Resolved Channel folder path.
|
|
46
48
|
* `to_partner_folder_path` (string): Resolved to-Partner folder path.
|
|
47
49
|
* `from_partner_folder_path` (string): Resolved from-Partner folder path.
|
|
@@ -83,6 +85,7 @@ Files::PartnerChannel.find(id)
|
|
|
83
85
|
```
|
|
84
86
|
Files::PartnerChannel.create(
|
|
85
87
|
direction: "two_way",
|
|
88
|
+
use_channel_root: false,
|
|
86
89
|
from_partner_folder_name: "incoming",
|
|
87
90
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
88
91
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -98,6 +101,7 @@ Files::PartnerChannel.create(
|
|
|
98
101
|
### Parameters
|
|
99
102
|
|
|
100
103
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
104
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
101
105
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
102
106
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
103
107
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -116,6 +120,7 @@ Files::PartnerChannel.create(
|
|
|
116
120
|
```
|
|
117
121
|
Files::PartnerChannel.update(id,
|
|
118
122
|
direction: "two_way",
|
|
123
|
+
use_channel_root: false,
|
|
119
124
|
from_partner_folder_name: "incoming",
|
|
120
125
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
121
126
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -130,6 +135,7 @@ Files::PartnerChannel.update(id,
|
|
|
130
135
|
|
|
131
136
|
* `id` (int64): Required - Partner Channel ID.
|
|
132
137
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
138
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
133
139
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
134
140
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
135
141
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -161,6 +167,7 @@ partner_channel = Files::PartnerChannel.find(id)
|
|
|
161
167
|
|
|
162
168
|
partner_channel.update(
|
|
163
169
|
direction: "two_way",
|
|
170
|
+
use_channel_root: false,
|
|
164
171
|
from_partner_folder_name: "incoming",
|
|
165
172
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
166
173
|
from_partner_route_path: "processing/from-partner",
|
|
@@ -175,6 +182,7 @@ partner_channel.update(
|
|
|
175
182
|
|
|
176
183
|
* `id` (int64): Required - Partner Channel ID.
|
|
177
184
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
185
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
178
186
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
179
187
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
180
188
|
* `from_partner_route_path` (string): Optional route path for files uploaded by the Partner.
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"id": 1,
|
|
8
8
|
"workspace_id": 1,
|
|
9
9
|
"direction": "two_way",
|
|
10
|
+
"use_channel_root": false,
|
|
10
11
|
"name": "Claims Template",
|
|
11
12
|
"path": "claims/medical",
|
|
12
13
|
"to_partner_folder_name": "outgoing",
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
* `id` (int64): The unique ID of the Partner Channel Template.
|
|
28
29
|
* `workspace_id` (int64): ID of the Workspace associated with this Partner Channel Template.
|
|
29
30
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
31
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
30
32
|
* `name` (string): The name of the Partner Channel Template.
|
|
31
33
|
* `path` (string): Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
32
34
|
* `to_partner_folder_name` (string): Optional Channel-level to-Partner folder name override.
|
|
@@ -35,8 +37,8 @@
|
|
|
35
37
|
* `to_partner_route_path_pattern` (string): Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
|
|
36
38
|
* `to_partner_managed_folder_paths` (array(string)): Managed folder paths inside the to-Partner folder.
|
|
37
39
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
38
|
-
* `effective_to_partner_folder_name` (string): Resolved to-Partner
|
|
39
|
-
* `effective_from_partner_folder_name` (string): Resolved from-Partner
|
|
40
|
+
* `effective_to_partner_folder_name` (string): Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
41
|
+
* `effective_from_partner_folder_name` (string): Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
---
|
|
@@ -75,6 +77,7 @@ Files::PartnerChannelTemplate.find(id)
|
|
|
75
77
|
```
|
|
76
78
|
Files::PartnerChannelTemplate.create(
|
|
77
79
|
direction: "two_way",
|
|
80
|
+
use_channel_root: false,
|
|
78
81
|
from_partner_folder_name: "incoming",
|
|
79
82
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
80
83
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -90,6 +93,7 @@ Files::PartnerChannelTemplate.create(
|
|
|
90
93
|
### Parameters
|
|
91
94
|
|
|
92
95
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
96
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
93
97
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
94
98
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
95
99
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -108,6 +112,7 @@ Files::PartnerChannelTemplate.create(
|
|
|
108
112
|
```
|
|
109
113
|
Files::PartnerChannelTemplate.update(id,
|
|
110
114
|
direction: "two_way",
|
|
115
|
+
use_channel_root: false,
|
|
111
116
|
from_partner_folder_name: "incoming",
|
|
112
117
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
113
118
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -123,6 +128,7 @@ Files::PartnerChannelTemplate.update(id,
|
|
|
123
128
|
|
|
124
129
|
* `id` (int64): Required - Partner Channel Template ID.
|
|
125
130
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
131
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
126
132
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
127
133
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
128
134
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -155,6 +161,7 @@ partner_channel_template = Files::PartnerChannelTemplate.find(id)
|
|
|
155
161
|
|
|
156
162
|
partner_channel_template.update(
|
|
157
163
|
direction: "two_way",
|
|
164
|
+
use_channel_root: false,
|
|
158
165
|
from_partner_folder_name: "incoming",
|
|
159
166
|
from_partner_managed_folder_paths: ["claims/received"],
|
|
160
167
|
from_partner_route_path_pattern: "processing/{{partner_name}}/from-partner",
|
|
@@ -170,6 +177,7 @@ partner_channel_template.update(
|
|
|
170
177
|
|
|
171
178
|
* `id` (int64): Required - Partner Channel Template ID.
|
|
172
179
|
* `direction` (string): Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
180
|
+
* `use_channel_root` (boolean): Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
173
181
|
* `from_partner_folder_name` (string): Optional Channel-level from-Partner folder name override.
|
|
174
182
|
* `from_partner_managed_folder_paths` (array(string)): Managed folder paths inside the from-Partner folder.
|
|
175
183
|
* `from_partner_route_path_pattern` (string): Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
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.
|
|
@@ -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)
|
|
@@ -36,6 +36,15 @@ module Files
|
|
|
36
36
|
@attributes[:direction] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
40
|
+
def use_channel_root
|
|
41
|
+
@attributes[:use_channel_root]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def use_channel_root=(value)
|
|
45
|
+
@attributes[:use_channel_root] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
# int64 - ID of the Partner this Channel belongs to.
|
|
40
49
|
def partner_id
|
|
41
50
|
@attributes[:partner_id]
|
|
@@ -117,7 +126,7 @@ module Files
|
|
|
117
126
|
@attributes[:from_partner_managed_folder_paths] = value
|
|
118
127
|
end
|
|
119
128
|
|
|
120
|
-
# string - Resolved to-Partner
|
|
129
|
+
# string - Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
121
130
|
def effective_to_partner_folder_name
|
|
122
131
|
@attributes[:effective_to_partner_folder_name]
|
|
123
132
|
end
|
|
@@ -126,7 +135,7 @@ module Files
|
|
|
126
135
|
@attributes[:effective_to_partner_folder_name] = value
|
|
127
136
|
end
|
|
128
137
|
|
|
129
|
-
# string - Resolved from-Partner
|
|
138
|
+
# string - Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
130
139
|
def effective_from_partner_folder_name
|
|
131
140
|
@attributes[:effective_from_partner_folder_name]
|
|
132
141
|
end
|
|
@@ -164,6 +173,7 @@ module Files
|
|
|
164
173
|
|
|
165
174
|
# Parameters:
|
|
166
175
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
176
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
167
177
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
168
178
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
169
179
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -253,6 +263,7 @@ module Files
|
|
|
253
263
|
|
|
254
264
|
# Parameters:
|
|
255
265
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
266
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
256
267
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
257
268
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
258
269
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -282,6 +293,7 @@ module Files
|
|
|
282
293
|
|
|
283
294
|
# Parameters:
|
|
284
295
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
296
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
|
|
285
297
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
286
298
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
287
299
|
# from_partner_route_path - string - Optional route path for files uploaded by the Partner.
|
|
@@ -36,6 +36,15 @@ module Files
|
|
|
36
36
|
@attributes[:direction] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
# boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
40
|
+
def use_channel_root
|
|
41
|
+
@attributes[:use_channel_root]
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def use_channel_root=(value)
|
|
45
|
+
@attributes[:use_channel_root] = value
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
# string - The name of the Partner Channel Template.
|
|
40
49
|
def name
|
|
41
50
|
@attributes[:name]
|
|
@@ -108,7 +117,7 @@ module Files
|
|
|
108
117
|
@attributes[:from_partner_managed_folder_paths] = value
|
|
109
118
|
end
|
|
110
119
|
|
|
111
|
-
# string - Resolved to-Partner
|
|
120
|
+
# string - Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
112
121
|
def effective_to_partner_folder_name
|
|
113
122
|
@attributes[:effective_to_partner_folder_name]
|
|
114
123
|
end
|
|
@@ -117,7 +126,7 @@ module Files
|
|
|
117
126
|
@attributes[:effective_to_partner_folder_name] = value
|
|
118
127
|
end
|
|
119
128
|
|
|
120
|
-
# string - Resolved from-Partner
|
|
129
|
+
# string - Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
|
|
121
130
|
def effective_from_partner_folder_name
|
|
122
131
|
@attributes[:effective_from_partner_folder_name]
|
|
123
132
|
end
|
|
@@ -128,6 +137,7 @@ module Files
|
|
|
128
137
|
|
|
129
138
|
# Parameters:
|
|
130
139
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
140
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
131
141
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
132
142
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
133
143
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -219,6 +229,7 @@ module Files
|
|
|
219
229
|
|
|
220
230
|
# Parameters:
|
|
221
231
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
232
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
222
233
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
223
234
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
224
235
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -248,6 +259,7 @@ module Files
|
|
|
248
259
|
|
|
249
260
|
# Parameters:
|
|
250
261
|
# direction - string - Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
|
|
262
|
+
# use_channel_root - boolean - Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
|
|
251
263
|
# from_partner_folder_name - string - Optional Channel-level from-Partner folder name override.
|
|
252
264
|
# from_partner_managed_folder_paths - array(string) - Managed folder paths inside the from-Partner folder.
|
|
253
265
|
# from_partner_route_path_pattern - string - Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
|
|
@@ -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)
|
data/lib/files.com/version.rb
CHANGED