files.com 1.1.645 → 1.1.647

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: 7117c8195d468bf004d51cabc8c80820281ae0ffeb5a57a9f7964807ede4ddbe
4
- data.tar.gz: 65dfe5098cb7588f9fb11e72ac5aac7f1c5fef04409cca8c4c3fa90b2195d969
3
+ metadata.gz: 7a9039a7054a6c0d9d48c3079e135a0172e430eb301878cdfebde9dce183c5fc
4
+ data.tar.gz: 4b316018052171a078451a0eaa3c9e5608829c8f700269e76ddb40c51d9f48d8
5
5
  SHA512:
6
- metadata.gz: fd311c3b1148d5155efaa7acb641fa64d9c51882b13be482072ff9c24512be4dc5151667d41fe2a73b104675a0037b5645514131c0c4d2347010c0eab5370e6e
7
- data.tar.gz: 8ed02ab1f82e35fa0f2316c1a86367d1644cb2c52fd471137a0c606e6c62d5a59ea039be3a14c4a3aa6683c79be242a23119d4ac7c66863f3454aff9df7e7ae0
6
+ metadata.gz: 4f769a4ae46c896209ff33c9303b47639d28b33145e7d36e863a898f9dcd4d554dad058854d54df357af3c585e3ebaabe531c188f04d637a62326f020c7d4d09
7
+ data.tar.gz: 1d33bd48df21b62ae715d54ed611d69ec5bda31534b7a22adc8c178b50a6a62c6b81ed6ef2f6c94d6b2a7f6bb20872037869e09ed3965a84d29de8162a833b96
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.645
1
+ 1.1.647
data/docs/bundle.md CHANGED
@@ -165,7 +165,7 @@ Files::Bundle.list(
165
165
  * `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.
166
166
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
167
167
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
168
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
168
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `group_id`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ group_id, expires_at ]` and `[ user_id, expires_at ]`.
169
169
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
170
170
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
171
171
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -314,9 +314,9 @@ Files::Bundle.update(id,
314
314
  start_access_on_date: "2000-01-01T01:00:00Z",
315
315
  skip_email: true,
316
316
  skip_name: true,
317
- workspace_id: 1,
318
317
  user_id: 1,
319
- watermark_attachment_delete: false
318
+ watermark_attachment_delete: false,
319
+ workspace_id: 1
320
320
  )
321
321
  ```
322
322
 
@@ -349,10 +349,10 @@ Files::Bundle.update(id,
349
349
  * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
350
350
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
351
351
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
352
- * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
353
352
  * `user_id` (int64): The owning user id. Only site admins can set this.
354
353
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
355
354
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
355
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
356
356
 
357
357
 
358
358
  ---
@@ -424,9 +424,9 @@ bundle.update(
424
424
  start_access_on_date: "2000-01-01T01:00:00Z",
425
425
  skip_email: true,
426
426
  skip_name: true,
427
- workspace_id: 1,
428
427
  user_id: 1,
429
- watermark_attachment_delete: false
428
+ watermark_attachment_delete: false,
429
+ workspace_id: 1
430
430
  )
431
431
  ```
432
432
 
@@ -459,10 +459,10 @@ bundle.update(
459
459
  * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
460
460
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
461
461
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
462
- * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
463
462
  * `user_id` (int64): The owning user id. Only site admins can set this.
464
463
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
465
464
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
465
+ * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
466
466
 
467
467
 
468
468
  ---
@@ -8,6 +8,7 @@
8
8
  "id": 1,
9
9
  "notify_on_registration": true,
10
10
  "notify_on_upload": true,
11
+ "notify_current_user": true,
11
12
  "notify_user_id": 1,
12
13
  "workspace_id": 1
13
14
  }
@@ -17,6 +18,7 @@
17
18
  * `id` (int64): Bundle Notification ID
18
19
  * `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
19
20
  * `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
21
+ * `notify_current_user` (boolean): Is the current user the user to notify?
20
22
  * `notify_user_id` (int64): The id of the user to notify.
21
23
  * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
22
24
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
@@ -32,6 +32,8 @@
32
32
  "ssl": "if_available",
33
33
  "username": "user",
34
34
  "google_cloud_storage_bucket": "my-bucket",
35
+ "google_cloud_storage_authentication_method": "json",
36
+ "google_cloud_storage_oauth_scope": "https://www.googleapis.com/auth/devstorage.read_only",
35
37
  "google_cloud_storage_project_id": "my-project",
36
38
  "google_cloud_storage_s3_compatible_access_key": "example",
37
39
  "backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
@@ -104,6 +106,8 @@
104
106
  * `ssl` (string): Should we require SSL?
105
107
  * `username` (string): Remote server username.
106
108
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
109
+ * `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
110
+ * `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.
107
111
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
108
112
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
109
113
  * `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
@@ -240,7 +244,9 @@ Files::RemoteServer.create(
240
244
  files_agent_root: "example",
241
245
  files_agent_version: "example",
242
246
  outbound_agent_id: 1,
247
+ google_cloud_storage_authentication_method: "json",
243
248
  google_cloud_storage_bucket: "my-bucket",
249
+ google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
244
250
  google_cloud_storage_project_id: "my-project",
245
251
  google_cloud_storage_s3_compatible_access_key: "example",
246
252
  hostname: "remote-server.com",
@@ -320,7 +326,9 @@ Files::RemoteServer.create(
320
326
  * `files_agent_root` (string): Agent local root path
321
327
  * `files_agent_version` (string): Files Agent version
322
328
  * `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
329
+ * `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
323
330
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
331
+ * `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.
324
332
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
325
333
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
326
334
  * `hostname` (string): Hostname or IP address
@@ -434,7 +442,9 @@ Files::RemoteServer.update(id,
434
442
  files_agent_root: "example",
435
443
  files_agent_version: "example",
436
444
  outbound_agent_id: 1,
445
+ google_cloud_storage_authentication_method: "json",
437
446
  google_cloud_storage_bucket: "my-bucket",
447
+ google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
438
448
  google_cloud_storage_project_id: "my-project",
439
449
  google_cloud_storage_s3_compatible_access_key: "example",
440
450
  hostname: "remote-server.com",
@@ -514,7 +524,9 @@ Files::RemoteServer.update(id,
514
524
  * `files_agent_root` (string): Agent local root path
515
525
  * `files_agent_version` (string): Files Agent version
516
526
  * `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
527
+ * `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
517
528
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
529
+ * `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.
518
530
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
519
531
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
520
532
  * `hostname` (string): Hostname or IP address
@@ -646,7 +658,9 @@ remote_server.update(
646
658
  files_agent_root: "example",
647
659
  files_agent_version: "example",
648
660
  outbound_agent_id: 1,
661
+ google_cloud_storage_authentication_method: "json",
649
662
  google_cloud_storage_bucket: "my-bucket",
663
+ google_cloud_storage_oauth_scope: "https://www.googleapis.com/auth/devstorage.read_only",
650
664
  google_cloud_storage_project_id: "my-project",
651
665
  google_cloud_storage_s3_compatible_access_key: "example",
652
666
  hostname: "remote-server.com",
@@ -726,7 +740,9 @@ remote_server.update(
726
740
  * `files_agent_root` (string): Agent local root path
727
741
  * `files_agent_version` (string): Files Agent version
728
742
  * `outbound_agent_id` (int64): Route traffic to outbound on a files-agent
743
+ * `google_cloud_storage_authentication_method` (string): Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
729
744
  * `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
745
+ * `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.
730
746
  * `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
731
747
  * `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
732
748
  * `hostname` (string): Hostname or IP address
@@ -519,10 +519,10 @@ module Files
519
519
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
520
520
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
521
521
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
522
- # workspace_id - int64 - Workspace ID. `0` means the default workspace.
523
522
  # user_id - int64 - The owning user id. Only site admins can set this.
524
523
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
525
524
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
525
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
526
526
  def update(params = {})
527
527
  params ||= {}
528
528
  params[:id] = @attributes[:id]
@@ -543,8 +543,8 @@ module Files
543
543
  raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
544
544
  raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
545
545
  raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
546
- raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
547
546
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
547
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
548
548
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
549
549
 
550
550
  Api.send_request("/bundles/#{@attributes[:id]}", :patch, params, @options)
@@ -581,7 +581,7 @@ module Files
581
581
  # 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.
582
582
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
583
583
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
584
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
584
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `group_id`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ group_id, expires_at ]` and `[ user_id, expires_at ]`.
585
585
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
586
586
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
587
587
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -728,10 +728,10 @@ module Files
728
728
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
729
729
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
730
730
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
731
- # workspace_id - int64 - Workspace ID. `0` means the default workspace.
732
731
  # user_id - int64 - The owning user id. Only site admins can set this.
733
732
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
734
733
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
734
+ # workspace_id - int64 - Workspace ID. `0` means the default workspace.
735
735
  def self.update(id, params = {}, options = {})
736
736
  params ||= {}
737
737
  params[:id] = id
@@ -751,8 +751,8 @@ module Files
751
751
  raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
752
752
  raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
753
753
  raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
754
- raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
755
754
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
755
+ raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
756
756
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
757
757
 
758
758
  response, options = Api.send_request("/bundles/#{params[:id]}", :patch, params, options)
@@ -45,6 +45,15 @@ module Files
45
45
  @attributes[:notify_on_upload] = value
46
46
  end
47
47
 
48
+ # boolean - Is the current user the user to notify?
49
+ def notify_current_user
50
+ @attributes[:notify_current_user]
51
+ end
52
+
53
+ def notify_current_user=(value)
54
+ @attributes[:notify_current_user] = value
55
+ end
56
+
48
57
  # int64 - The id of the user to notify.
49
58
  def notify_user_id
50
59
  @attributes[:notify_user_id]
@@ -261,6 +261,24 @@ module Files
261
261
  @attributes[:google_cloud_storage_bucket] = value
262
262
  end
263
263
 
264
+ # string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
265
+ def google_cloud_storage_authentication_method
266
+ @attributes[:google_cloud_storage_authentication_method]
267
+ end
268
+
269
+ def google_cloud_storage_authentication_method=(value)
270
+ @attributes[:google_cloud_storage_authentication_method] = value
271
+ end
272
+
273
+ # 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.
274
+ def google_cloud_storage_oauth_scope
275
+ @attributes[:google_cloud_storage_oauth_scope]
276
+ end
277
+
278
+ def google_cloud_storage_oauth_scope=(value)
279
+ @attributes[:google_cloud_storage_oauth_scope] = value
280
+ end
281
+
264
282
  # string - Google Cloud Storage: Project ID
265
283
  def google_cloud_storage_project_id
266
284
  @attributes[:google_cloud_storage_project_id]
@@ -891,7 +909,9 @@ module Files
891
909
  # files_agent_root - string - Agent local root path
892
910
  # files_agent_version - string - Files Agent version
893
911
  # outbound_agent_id - int64 - Route traffic to outbound on a files-agent
912
+ # google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
894
913
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
914
+ # 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.
895
915
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
896
916
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
897
917
  # hostname - string - Hostname or IP address
@@ -965,7 +985,9 @@ module Files
965
985
  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)
966
986
  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)
967
987
  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)
988
+ 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)
968
989
  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)
990
+ 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)
969
991
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
970
992
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
971
993
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
@@ -1119,7 +1141,9 @@ module Files
1119
1141
  # files_agent_root - string - Agent local root path
1120
1142
  # files_agent_version - string - Files Agent version
1121
1143
  # outbound_agent_id - int64 - Route traffic to outbound on a files-agent
1144
+ # google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
1122
1145
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1146
+ # 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.
1123
1147
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1124
1148
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1125
1149
  # hostname - string - Hostname or IP address
@@ -1190,7 +1214,9 @@ module Files
1190
1214
  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)
1191
1215
  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)
1192
1216
  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)
1217
+ 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)
1193
1218
  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)
1219
+ 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)
1194
1220
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1195
1221
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1196
1222
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
@@ -1315,7 +1341,9 @@ module Files
1315
1341
  # files_agent_root - string - Agent local root path
1316
1342
  # files_agent_version - string - Files Agent version
1317
1343
  # outbound_agent_id - int64 - Route traffic to outbound on a files-agent
1344
+ # google_cloud_storage_authentication_method - string - Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
1318
1345
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1346
+ # 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.
1319
1347
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1320
1348
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1321
1349
  # hostname - string - Hostname or IP address
@@ -1388,7 +1416,9 @@ module Files
1388
1416
  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)
1389
1417
  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)
1390
1418
  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)
1419
+ 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)
1391
1420
  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)
1421
+ 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)
1392
1422
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_project_id must be an String") if params[:google_cloud_storage_project_id] and !params[:google_cloud_storage_project_id].is_a?(String)
1393
1423
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_access_key must be an String") if params[:google_cloud_storage_s3_compatible_access_key] and !params[:google_cloud_storage_s3_compatible_access_key].is_a?(String)
1394
1424
  raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.645"
4
+ VERSION = "1.1.647"
5
5
  end
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.645
4
+ version: 1.1.647
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-06-14 00:00:00.000000000 Z
11
+ date: 2026-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable