Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionDetails
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 10
Instance Attribute Summary collapse
-
#event_attempt_stats ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats>
Corresponds to the JSON property
eventAttemptStats. -
#event_execution_snapshot ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshot>
Corresponds to the JSON property
eventExecutionSnapshot. -
#event_execution_state ⇒ String
Corresponds to the JSON property
eventExecutionState. -
#event_retries_from_beginning_count ⇒ Fixnum
Indicates the number of times the execution has restarted from the beginning.
-
#log_file_path ⇒ String
The log file path (aka. cns address) for this event.
-
#network_address ⇒ String
The network address (aka. bns address) that indicates where the event executor is running.
-
#next_execution_time ⇒ Fixnum
Next scheduled execution time in case the execution status was RETRY_ON_HOLD.
-
#rye_lock_unheld_count ⇒ Fixnum
Used internally and shouldn't be exposed to users.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionDetails
constructor
A new instance of EnterpriseCrmEventbusProtoEventExecutionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionDetails
Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionDetails.
816 817 818 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_attempt_stats ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats>
Corresponds to the JSON property eventAttemptStats
776 777 778 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 776 def event_attempt_stats @event_attempt_stats end |
#event_execution_snapshot ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshot>
Corresponds to the JSON property eventExecutionSnapshot
781 782 783 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 781 def event_execution_snapshot @event_execution_snapshot end |
#event_execution_state ⇒ String
Corresponds to the JSON property eventExecutionState
786 787 788 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 786 def event_execution_state @event_execution_state end |
#event_retries_from_beginning_count ⇒ Fixnum
Indicates the number of times the execution has restarted from the beginning.
Corresponds to the JSON property eventRetriesFromBeginningCount
791 792 793 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 791 def event_retries_from_beginning_count @event_retries_from_beginning_count end |
#log_file_path ⇒ String
The log file path (aka. cns address) for this event.
Corresponds to the JSON property logFilePath
796 797 798 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 796 def log_file_path @log_file_path end |
#network_address ⇒ String
The network address (aka. bns address) that indicates where the event executor
is running.
Corresponds to the JSON property networkAddress
802 803 804 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 802 def network_address @network_address end |
#next_execution_time ⇒ Fixnum
Next scheduled execution time in case the execution status was RETRY_ON_HOLD.
Corresponds to the JSON property nextExecutionTime
807 808 809 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 807 def next_execution_time @next_execution_time end |
#rye_lock_unheld_count ⇒ Fixnum
Used internally and shouldn't be exposed to users. A counter for the cron job
to record how many times this event is in in_process state but don't have a
lock consecutively/
Corresponds to the JSON property ryeLockUnheldCount
814 815 816 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 814 def rye_lock_unheld_count @rye_lock_unheld_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
821 822 823 824 825 826 827 828 829 830 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 821 def update!(**args) @event_attempt_stats = args[:event_attempt_stats] if args.key?(:event_attempt_stats) @event_execution_snapshot = args[:event_execution_snapshot] if args.key?(:event_execution_snapshot) @event_execution_state = args[:event_execution_state] if args.key?(:event_execution_state) @event_retries_from_beginning_count = args[:event_retries_from_beginning_count] if args.key?(:event_retries_from_beginning_count) @log_file_path = args[:log_file_path] if args.key?(:log_file_path) @network_address = args[:network_address] if args.key?(:network_address) @next_execution_time = args[:next_execution_time] if args.key?(:next_execution_time) @rye_lock_unheld_count = args[:rye_lock_unheld_count] if args.key?(:rye_lock_unheld_count) end |