safetykit 0.31.0 → 0.33.0

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.
@@ -40,7 +40,14 @@ module SafetyKit
40
40
  # @return [Symbol, SafetyKit::Models::DataGetDownloadURLResponse::Status]
41
41
  required :status, enum: -> { SafetyKit::Models::DataGetDownloadURLResponse::Status }
42
42
 
43
- # @!method initialize(data_count:, data_expires_at:, data_url:, namespace:, request_id:, status:)
43
+ # @!attribute error_summary
44
+ # Human-readable failure summary when object-level or batch-level errors were
45
+ # recorded.
46
+ #
47
+ # @return [String, nil]
48
+ optional :error_summary, String, nil?: true
49
+
50
+ # @!method initialize(data_count:, data_expires_at:, data_url:, namespace:, request_id:, status:, error_summary: nil)
44
51
  # Some parameter documentations has been truncated, see
45
52
  # {SafetyKit::Models::DataGetDownloadURLResponse} for more details.
46
53
  #
@@ -59,6 +66,8 @@ module SafetyKit
59
66
  # @param request_id [String]
60
67
  #
61
68
  # @param status [Symbol, SafetyKit::Models::DataGetDownloadURLResponse::Status] Current processing status of the request
69
+ #
70
+ # @param error_summary [String, nil] Human-readable failure summary when object-level or batch-level errors were reco
62
71
 
63
72
  # Current processing status of the request
64
73
  #
@@ -25,7 +25,17 @@ module SafetyKit
25
25
  # @return [Symbol, SafetyKit::Models::DataGetStatusResponse::Status]
26
26
  required :status, enum: -> { SafetyKit::Models::DataGetStatusResponse::Status }
27
27
 
28
- # @!method initialize(data:, namespace:, request_id:, status:)
28
+ # @!attribute error_summary
29
+ # Human-readable failure summary when object-level or batch-level errors were
30
+ # recorded.
31
+ #
32
+ # @return [String, nil]
33
+ optional :error_summary, String, nil?: true
34
+
35
+ # @!method initialize(data:, namespace:, request_id:, status:, error_summary: nil)
36
+ # Some parameter documentations has been truncated, see
37
+ # {SafetyKit::Models::DataGetStatusResponse} for more details.
38
+ #
29
39
  # Response containing request status and processed output data. Before processing
30
40
  # completes, `data` is an empty array. If the processed output exceeds the 5 MiB
31
41
  # inline response limit, this endpoint returns an error instructing you to use the
@@ -38,6 +48,8 @@ module SafetyKit
38
48
  # @param request_id [String]
39
49
  #
40
50
  # @param status [Symbol, SafetyKit::Models::DataGetStatusResponse::Status] Current processing status of the request
51
+ #
52
+ # @param error_summary [String, nil] Human-readable failure summary when object-level or batch-level errors were reco
41
53
 
42
54
  class Data < SafetyKit::Internal::Type::BaseModel
43
55
  # @!attribute id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SafetyKit
4
- VERSION = "0.31.0"
4
+ VERSION = "0.33.0"
5
5
  end