diff --git a/api_names_out.yaml b/api_names_out.yaml index 3fb44184c..b279cad49 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -170066,6 +170066,7 @@ "/workflowexecutions:v1beta/Error": error "/workflowexecutions:v1beta/Error/context": context "/workflowexecutions:v1beta/Error/payload": payload +"/workflowexecutions:v1beta/Error/stackTrace": stack_trace "/workflowexecutions:v1beta/Execution": execution "/workflowexecutions:v1beta/Execution/argument": argument "/workflowexecutions:v1beta/Execution/endTime": end_time @@ -170079,6 +170080,14 @@ "/workflowexecutions:v1beta/ListExecutionsResponse/executions": executions "/workflowexecutions:v1beta/ListExecutionsResponse/executions/execution": execution "/workflowexecutions:v1beta/ListExecutionsResponse/nextPageToken": next_page_token +"/workflowexecutions:v1beta/StackTrace": stack_trace +"/workflowexecutions:v1beta/StackTrace/elements": elements +"/workflowexecutions:v1beta/StackTrace/elements/element": element +"/workflowexecutions:v1beta/StackTraceElement": stack_trace_element +"/workflowexecutions:v1beta/StackTraceElement/column": column +"/workflowexecutions:v1beta/StackTraceElement/line": line +"/workflowexecutions:v1beta/StackTraceElement/routine": routine +"/workflowexecutions:v1beta/StackTraceElement/step": step "/workflowexecutions:v1beta/fields": fields "/workflowexecutions:v1beta/key": key "/workflowexecutions:v1beta/quotaUser": quota_user diff --git a/generated/google-apis-workflowexecutions_v1beta/CHANGELOG.md b/generated/google-apis-workflowexecutions_v1beta/CHANGELOG.md index b2843b196..5a17ffd57 100644 --- a/generated/google-apis-workflowexecutions_v1beta/CHANGELOG.md +++ b/generated/google-apis-workflowexecutions_v1beta/CHANGELOG.md @@ -1,5 +1,10 @@ # Release history for google-apis-workflowexecutions_v1beta +### v0.2.0 (2021-01-20) + +* Regenerated from discovery document revision 20210105 +* Regenerated using generator version 0.1.2 + ### v0.1.0 (2021-01-07) * Regenerated from discovery document revision 20201208 diff --git a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/classes.rb b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/classes.rb index ae7478e9c..74a30ddcc 100644 --- a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/classes.rb +++ b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/classes.rb @@ -39,16 +39,21 @@ module Google class Error include Google::Apis::Core::Hashable - # Human readable error context, helpful for debugging purposes. + # Human readable stack trace string. # Corresponds to the JSON property `context` # @return [String] attr_accessor :context - # Error payload returned by the execution, represented as a JSON string. + # Error message and data returned represented as a JSON string. # Corresponds to the JSON property `payload` # @return [String] attr_accessor :payload + # A collection of stack elements (frames) where an error occurred. + # Corresponds to the JSON property `stackTrace` + # @return [Google::Apis::WorkflowexecutionsV1beta::StackTrace] + attr_accessor :stack_trace + def initialize(**args) update!(**args) end @@ -57,6 +62,7 @@ module Google def update!(**args) @context = args[:context] if args.key?(:context) @payload = args[:payload] if args.key?(:payload) + @stack_trace = args[:stack_trace] if args.key?(:stack_trace) end end @@ -152,6 +158,63 @@ module Google @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end + + # A collection of stack elements (frames) where an error occurred. + class StackTrace + include Google::Apis::Core::Hashable + + # An array of Stack elements. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # A single stack element (frame) where an error occurred. + class StackTraceElement + include Google::Apis::Core::Hashable + + # The source code column position (of the line) the current instruction was + # generated from. + # Corresponds to the JSON property `column` + # @return [Fixnum] + attr_accessor :column + + # The source code line number the current instruction was generated from. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + # The routine where the error occurred. + # Corresponds to the JSON property `routine` + # @return [String] + attr_accessor :routine + + # The step the error occurred at. + # Corresponds to the JSON property `step` + # @return [String] + attr_accessor :step + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column = args[:column] if args.key?(:column) + @line = args[:line] if args.key?(:line) + @routine = args[:routine] if args.key?(:routine) + @step = args[:step] if args.key?(:step) + end + end end end end diff --git a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/gem_version.rb b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/gem_version.rb index 3006367bb..3be636304 100644 --- a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/gem_version.rb +++ b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module WorkflowexecutionsV1beta # Version of the google-apis-workflowexecutions_v1beta gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client - GENERATOR_VERSION = "0.1.1" + GENERATOR_VERSION = "0.1.2" # Revision of the discovery document this client was generated from - REVISION = "20201208" + REVISION = "20210105" end end end diff --git a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/representations.rb b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/representations.rb index 6fb69dcf5..f4d46083b 100644 --- a/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/representations.rb +++ b/generated/google-apis-workflowexecutions_v1beta/lib/google/apis/workflowexecutions_v1beta/representations.rb @@ -46,6 +46,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class StackTrace + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StackTraceElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelExecutionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -57,6 +69,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :context, as: 'context' property :payload, as: 'payload' + property :stack_trace, as: 'stackTrace', class: Google::Apis::WorkflowexecutionsV1beta::StackTrace, decorator: Google::Apis::WorkflowexecutionsV1beta::StackTrace::Representation + end end @@ -83,6 +97,24 @@ module Google property :next_page_token, as: 'nextPageToken' end end + + class StackTrace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements', class: Google::Apis::WorkflowexecutionsV1beta::StackTraceElement, decorator: Google::Apis::WorkflowexecutionsV1beta::StackTraceElement::Representation + + end + end + + class StackTraceElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column, :numeric_string => true, as: 'column' + property :line, :numeric_string => true, as: 'line' + property :routine, as: 'routine' + property :step, as: 'step' + end + end end end end diff --git a/generated/google-apis-workflowexecutions_v1beta/synth.metadata b/generated/google-apis-workflowexecutions_v1beta/synth.metadata index 535d0881c..7609dc5a0 100644 --- a/generated/google-apis-workflowexecutions_v1beta/synth.metadata +++ b/generated/google-apis-workflowexecutions_v1beta/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "6de8b4ee653db67c0e789203767a89b32fcf8a51" + "sha": "f97fcbff67403fd08d732ab757da667ca9174a8e" } } ]