Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetails

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) ⇒ EnterpriseCrmEventbusProtoEventExecutionDetails

Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionDetails.



961
962
963
# File 'lib/google/apis/integrations_v1/classes.rb', line 961

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)


911
912
913
# File 'lib/google/apis/integrations_v1/classes.rb', line 911

def cancel_reason
  @cancel_reason
end

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

Corresponds to the JSON property eventAttemptStats



916
917
918
# File 'lib/google/apis/integrations_v1/classes.rb', line 916

def event_attempt_stats
  @event_attempt_stats
end

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

Corresponds to the JSON property eventExecutionSnapshot



921
922
923
# File 'lib/google/apis/integrations_v1/classes.rb', line 921

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)


926
927
928
# File 'lib/google/apis/integrations_v1/classes.rb', line 926

def event_execution_snapshots_size
  @event_execution_snapshots_size
end

#event_execution_stateString

Corresponds to the JSON property eventExecutionState

Returns:

  • (String)


931
932
933
# File 'lib/google/apis/integrations_v1/classes.rb', line 931

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)


936
937
938
# File 'lib/google/apis/integrations_v1/classes.rb', line 936

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)


941
942
943
# File 'lib/google/apis/integrations_v1/classes.rb', line 941

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)


947
948
949
# File 'lib/google/apis/integrations_v1/classes.rb', line 947

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)


952
953
954
# File 'lib/google/apis/integrations_v1/classes.rb', line 952

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)


959
960
961
# File 'lib/google/apis/integrations_v1/classes.rb', line 959

def rye_lock_unheld_count
  @rye_lock_unheld_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



966
967
968
969
970
971
972
973
974
975
976
977
# File 'lib/google/apis/integrations_v1/classes.rb', line 966

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