Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails.



3492
3493
3494
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3492

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

Instance Attribute Details

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

Corresponds to the JSON property eventAttemptStats



3451
3452
3453
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3451

def event_attempt_stats
  @event_attempt_stats
end

#event_execution_snapshotArray<Google::Apis::IntegrationsV1alpha::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



3457
3458
3459
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3457

def event_execution_snapshot
  @event_execution_snapshot
end

#event_execution_stateString

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

Returns:

  • (String)


3462
3463
3464
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3462

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)


3467
3468
3469
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3467

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)


3472
3473
3474
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3472

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)


3478
3479
3480
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3478

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)


3483
3484
3485
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3483

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)


3490
3491
3492
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3490

def rye_lock_unheld_count
  @rye_lock_unheld_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3497

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