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.



3560
3561
3562
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3560

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

Instance Attribute Details

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

Corresponds to the JSON property eventAttemptStats



3519
3520
3521
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3519

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



3525
3526
3527
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3525

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)


3530
3531
3532
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3530

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)


3535
3536
3537
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3535

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)


3540
3541
3542
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3540

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)


3546
3547
3548
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3546

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)


3551
3552
3553
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3551

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)


3558
3559
3560
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3558

def rye_lock_unheld_count
  @rye_lock_unheld_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3565

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