Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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: 12

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails.



3716
3717
3718
# File 'lib/google/apis/integrations_v1/classes.rb', line 3716

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cancel_reasonString

If the execution is manually canceled, this field will contain the reason for cancellation. Corresponds to the JSON property cancelReason

Returns:

  • (String)


3665
3666
3667
# File 'lib/google/apis/integrations_v1/classes.rb', line 3665

def cancel_reason
  @cancel_reason
end

#event_attempt_statsArray<Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats>

Corresponds to the JSON property eventAttemptStats



3670
3671
3672
# File 'lib/google/apis/integrations_v1/classes.rb', line 3670

def event_attempt_stats
  @event_attempt_stats
end

#event_execution_snapshotArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot>

After snapshot migration, this field will no longer be populated, but old execution snapshots will still be accessible. Corresponds to the JSON property eventExecutionSnapshot



3676
3677
3678
# File 'lib/google/apis/integrations_v1/classes.rb', line 3676

def event_execution_snapshot
  @event_execution_snapshot
end

#event_execution_snapshots_sizeFixnum

Total size of all event_execution_snapshots for an execution Corresponds to the JSON property eventExecutionSnapshotsSize

Returns:

  • (Fixnum)


3681
3682
3683
# File 'lib/google/apis/integrations_v1/classes.rb', line 3681

def event_execution_snapshots_size
  @event_execution_snapshots_size
end

#event_execution_stateString

The execution state of this event. Corresponds to the JSON property eventExecutionState

Returns:

  • (String)


3686
3687
3688
# File 'lib/google/apis/integrations_v1/classes.rb', line 3686

def event_execution_state
  @event_execution_state
end

#event_retries_from_beginning_countFixnum

Indicates the number of times the execution has restarted from the beginning. Corresponds to the JSON property eventRetriesFromBeginningCount

Returns:

  • (Fixnum)


3691
3692
3693
# File 'lib/google/apis/integrations_v1/classes.rb', line 3691

def event_retries_from_beginning_count
  @event_retries_from_beginning_count
end

#log_file_pathString

The log file path (aka. cns address) for this event. Corresponds to the JSON property logFilePath

Returns:

  • (String)


3696
3697
3698
# File 'lib/google/apis/integrations_v1/classes.rb', line 3696

def log_file_path
  @log_file_path
end

#network_addressString

The network address (aka. bns address) that indicates where the event executor is running. Corresponds to the JSON property networkAddress

Returns:

  • (String)


3702
3703
3704
# File 'lib/google/apis/integrations_v1/classes.rb', line 3702

def network_address
  @network_address
end

#next_execution_timeFixnum

Next scheduled execution time in case the execution status was RETRY_ON_HOLD. Corresponds to the JSON property nextExecutionTime

Returns:

  • (Fixnum)


3707
3708
3709
# File 'lib/google/apis/integrations_v1/classes.rb', line 3707

def next_execution_time
  @next_execution_time
end

#rye_lock_unheld_countFixnum

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

Returns:

  • (Fixnum)


3714
3715
3716
# File 'lib/google/apis/integrations_v1/classes.rb', line 3714

def rye_lock_unheld_count
  @rye_lock_unheld_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'lib/google/apis/integrations_v1/classes.rb', line 3721

def update!(**args)
  @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
  @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_snapshots_size = args[:event_execution_snapshots_size] if args.key?(:event_execution_snapshots_size)
  @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