google-apis-workflowexecutions_v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91946d3d3dfe66689fdcc22505b95e5cdeac6d6ae78ae39357099ce6f2e5e8f1
4
- data.tar.gz: e065e55172ee95adcd74f48ed153920839bc5253544998a5ac18f9b77c78ddf3
3
+ metadata.gz: 4f1c5d70347b6c973f99526853e90ee81ed673bf4a9fbf714e977966983eeb45
4
+ data.tar.gz: 1eea4a93c96a49b23b38e1550cbd1475b68ae2c0075ba0a3aa8d5731f9ab6a1a
5
5
  SHA512:
6
- metadata.gz: 5bc151c969c92e349088f899caa1f582fe2050c4f8e0492773e7596b099afa05b34f4f59db24dda9953c86091c1d01328444ff5c93dcd2eed022859e153d3ca9
7
- data.tar.gz: d682d52473493ab637e3d5a72840fd5f1075e82216d1c7a27ad41ec877fa0cdef8d35371b973c7b75e26550e810c19e6807c8932dc89af95843b650cbe458473
6
+ metadata.gz: 424bc1d877cdd0fd7dc451a830fc7b42ecfd5cef2e1f3eaff3bc07448db9f6ea2990b80589ccff291ad052bbe5ec259f0920dbe98af1a65bc0fe8201952eadd2
7
+ data.tar.gz: 24131ac4bb083e0ab1c0659ca4081a46ed50ef61310ac0ec4f1836c1adee0396382829b2fd99d7b78a2376720d2d2e3ca4e07258d2bf613e1081d878cc103524
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workflowexecutions_v1
2
2
 
3
+ ### v0.3.0 (2021-03-11)
4
+
5
+ * Regenerated from discovery document revision 20210302
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.2.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -39,16 +39,21 @@ module Google
39
39
  class Error
40
40
  include Google::Apis::Core::Hashable
41
41
 
42
- # Human readable error context, helpful for debugging purposes.
42
+ # Human readable stack trace string.
43
43
  # Corresponds to the JSON property `context`
44
44
  # @return [String]
45
45
  attr_accessor :context
46
46
 
47
- # Error payload returned by the execution, represented as a JSON string.
47
+ # Error message and data returned represented as a JSON string.
48
48
  # Corresponds to the JSON property `payload`
49
49
  # @return [String]
50
50
  attr_accessor :payload
51
51
 
52
+ # A collection of stack elements (frames) where an error occurred.
53
+ # Corresponds to the JSON property `stackTrace`
54
+ # @return [Google::Apis::WorkflowexecutionsV1::StackTrace]
55
+ attr_accessor :stack_trace
56
+
52
57
  def initialize(**args)
53
58
  update!(**args)
54
59
  end
@@ -57,6 +62,7 @@ module Google
57
62
  def update!(**args)
58
63
  @context = args[:context] if args.key?(:context)
59
64
  @payload = args[:payload] if args.key?(:payload)
65
+ @stack_trace = args[:stack_trace] if args.key?(:stack_trace)
60
66
  end
61
67
  end
62
68
 
@@ -152,6 +158,91 @@ module Google
152
158
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
153
159
  end
154
160
  end
161
+
162
+ # Position contains source position information about the stack trace element
163
+ # such as line number, column number and length of the code block in bytes.
164
+ class Position
165
+ include Google::Apis::Core::Hashable
166
+
167
+ # The source code column position (of the line) the current instruction was
168
+ # generated from.
169
+ # Corresponds to the JSON property `column`
170
+ # @return [Fixnum]
171
+ attr_accessor :column
172
+
173
+ # The length in bytes of text in this character group, e.g. digits of a number,
174
+ # string length, or AST (abstract syntax tree) node.
175
+ # Corresponds to the JSON property `length`
176
+ # @return [Fixnum]
177
+ attr_accessor :length
178
+
179
+ # The source code line number the current instruction was generated from.
180
+ # Corresponds to the JSON property `line`
181
+ # @return [Fixnum]
182
+ attr_accessor :line
183
+
184
+ def initialize(**args)
185
+ update!(**args)
186
+ end
187
+
188
+ # Update properties of this object
189
+ def update!(**args)
190
+ @column = args[:column] if args.key?(:column)
191
+ @length = args[:length] if args.key?(:length)
192
+ @line = args[:line] if args.key?(:line)
193
+ end
194
+ end
195
+
196
+ # A collection of stack elements (frames) where an error occurred.
197
+ class StackTrace
198
+ include Google::Apis::Core::Hashable
199
+
200
+ # An array of Stack elements.
201
+ # Corresponds to the JSON property `elements`
202
+ # @return [Array<Google::Apis::WorkflowexecutionsV1::StackTraceElement>]
203
+ attr_accessor :elements
204
+
205
+ def initialize(**args)
206
+ update!(**args)
207
+ end
208
+
209
+ # Update properties of this object
210
+ def update!(**args)
211
+ @elements = args[:elements] if args.key?(:elements)
212
+ end
213
+ end
214
+
215
+ # A single stack element (frame) where an error occurred.
216
+ class StackTraceElement
217
+ include Google::Apis::Core::Hashable
218
+
219
+ # Position contains source position information about the stack trace element
220
+ # such as line number, column number and length of the code block in bytes.
221
+ # Corresponds to the JSON property `position`
222
+ # @return [Google::Apis::WorkflowexecutionsV1::Position]
223
+ attr_accessor :position
224
+
225
+ # The routine where the error occurred.
226
+ # Corresponds to the JSON property `routine`
227
+ # @return [String]
228
+ attr_accessor :routine
229
+
230
+ # The step the error occurred at.
231
+ # Corresponds to the JSON property `step`
232
+ # @return [String]
233
+ attr_accessor :step
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @position = args[:position] if args.key?(:position)
242
+ @routine = args[:routine] if args.key?(:routine)
243
+ @step = args[:step] if args.key?(:step)
244
+ end
245
+ end
155
246
  end
156
247
  end
157
248
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkflowexecutionsV1
18
18
  # Version of the google-apis-workflowexecutions_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210118"
25
+ REVISION = "20210302"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,24 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class Position
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class StackTrace
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class StackTraceElement
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class CancelExecutionRequest
50
68
  # @private
51
69
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -57,6 +75,8 @@ module Google
57
75
  class Representation < Google::Apis::Core::JsonRepresentation
58
76
  property :context, as: 'context'
59
77
  property :payload, as: 'payload'
78
+ property :stack_trace, as: 'stackTrace', class: Google::Apis::WorkflowexecutionsV1::StackTrace, decorator: Google::Apis::WorkflowexecutionsV1::StackTrace::Representation
79
+
60
80
  end
61
81
  end
62
82
 
@@ -83,6 +103,33 @@ module Google
83
103
  property :next_page_token, as: 'nextPageToken'
84
104
  end
85
105
  end
106
+
107
+ class Position
108
+ # @private
109
+ class Representation < Google::Apis::Core::JsonRepresentation
110
+ property :column, :numeric_string => true, as: 'column'
111
+ property :length, :numeric_string => true, as: 'length'
112
+ property :line, :numeric_string => true, as: 'line'
113
+ end
114
+ end
115
+
116
+ class StackTrace
117
+ # @private
118
+ class Representation < Google::Apis::Core::JsonRepresentation
119
+ collection :elements, as: 'elements', class: Google::Apis::WorkflowexecutionsV1::StackTraceElement, decorator: Google::Apis::WorkflowexecutionsV1::StackTraceElement::Representation
120
+
121
+ end
122
+ end
123
+
124
+ class StackTraceElement
125
+ # @private
126
+ class Representation < Google::Apis::Core::JsonRepresentation
127
+ property :position, as: 'position', class: Google::Apis::WorkflowexecutionsV1::Position, decorator: Google::Apis::WorkflowexecutionsV1::Position::Representation
128
+
129
+ property :routine, as: 'routine'
130
+ property :step, as: 'step'
131
+ end
132
+ end
86
133
  end
87
134
  end
88
135
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workflowexecutions_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-workflowexecutions_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-workflowexecutions_v1
57
57
  post_install_message:
58
58
  rdoc_options: []