files.com 1.1.752 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0548a8a13b89e54076168020b96a41458429bfc38c9ea9e49377f022b647d37e'
4
- data.tar.gz: 077ea0e9fa011c2f197a7cae4660f3785a189affa42dd772251f197eca5d7ac0
3
+ metadata.gz: 7640106b22b769d75fc5d6c43d3b40e5b318f9a4e1684e1c36dfa519d74b03df
4
+ data.tar.gz: 5bc363cb11e2825f54f23fcaaf5097c5bdb91a4bca783d849450345b851e8ac3
5
5
  SHA512:
6
- metadata.gz: 18319aa39ca08a2f45d426d4c7985bbfd2f35af386234aa3ca4a010445ad8fb12bf2affd8b4d434987b1d1389b0873a1035362a96a62c34bffc0e677ca921ae8
7
- data.tar.gz: 610afdb37fc3a14029bc076d65693a84825bd10fe15f06719be52f7b03a022cf009c34ef54ccec07532425be09b75e62449bf774ad36824e83c2b163af3c2340
6
+ metadata.gz: eb504775201fd25b7a4892e753410532236880fb71d04f7e6a00caea71200417ae96faa3d5a9161c3ddf81516ced047d6318527f76f11d1895c94384a47fe33d
7
+ data.tar.gz: 7342ba787dd0433a5cbb0fc4b1c28aa8fd4edaa34f6c9c3bca26002f1a7240aba4e30d61258552a7d46ff7fba532c7725e2178484731c4b105135d014548ad52
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.752
1
+ 1.1.753
@@ -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.
@@ -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)
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.752"
4
+ VERSION = "1.1.753"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.752
4
+ version: 1.1.753
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com