Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution

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

The Execution resource contains detailed information of an individual integration execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaExecution

Returns a new instance of GoogleCloudIntegrationsV1alphaExecution.



7864
7865
7866
# File 'lib/google/apis/integrations_v1/classes.rb', line 7864

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

Instance Attribute Details

#cloud_logging_detailsGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudLoggingDetails

Cloud Logging details for execution info Corresponds to the JSON property cloudLoggingDetails



7778
7779
7780
# File 'lib/google/apis/integrations_v1/classes.rb', line 7778

def cloud_logging_details
  @cloud_logging_details
end

#create_timeString

Output only. Created time of the execution. Corresponds to the JSON property createTime

Returns:

  • (String)


7783
7784
7785
# File 'lib/google/apis/integrations_v1/classes.rb', line 7783

def create_time
  @create_time
end

#direct_sub_executionsArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecution>

Direct sub executions of the following Execution. Corresponds to the JSON property directSubExecutions



7788
7789
7790
# File 'lib/google/apis/integrations_v1/classes.rb', line 7788

def direct_sub_executions
  @direct_sub_executions
end

#event_execution_detailsGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionDetails

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 Corresponds to the JSON property eventExecutionDetails



7795
7796
7797
# File 'lib/google/apis/integrations_v1/classes.rb', line 7795

def event_execution_details
  @event_execution_details
end

#execution_detailsGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionDetails

Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics. Corresponds to the JSON property executionDetails



7801
7802
7803
# File 'lib/google/apis/integrations_v1/classes.rb', line 7801

def execution_details
  @execution_details
end

#execution_methodString

The ways user posts this event. Corresponds to the JSON property executionMethod

Returns:

  • (String)


7806
7807
7808
# File 'lib/google/apis/integrations_v1/classes.rb', line 7806

def execution_method
  @execution_method
end

#integration_version_stateString

Output only. State of the integration version Corresponds to the JSON property integrationVersionState

Returns:

  • (String)


7811
7812
7813
# File 'lib/google/apis/integrations_v1/classes.rb', line 7811

def integration_version_state
  @integration_version_state
end

#nameString

Auto-generated primary key. Corresponds to the JSON property name

Returns:

  • (String)


7816
7817
7818
# File 'lib/google/apis/integrations_v1/classes.rb', line 7816

def name
  @name
end

#replay_infoGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionReplayInfo

Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship Corresponds to the JSON property replayInfo



7822
7823
7824
# File 'lib/google/apis/integrations_v1/classes.rb', line 7822

def replay_info
  @replay_info
end

#request_parametersHash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>

Event parameters come in as part of the request. Corresponds to the JSON property requestParameters



7827
7828
7829
# File 'lib/google/apis/integrations_v1/classes.rb', line 7827

def request_parameters
  @request_parameters
end

#request_paramsArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>

Event parameters come in as part of the request. Corresponds to the JSON property requestParams



7832
7833
7834
# File 'lib/google/apis/integrations_v1/classes.rb', line 7832

def request_params
  @request_params
end

#response_parametersHash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>

Event parameters returned as part of the response. In the case of error, the ErrorInfo field is returned in the following format: "ErrorInfo": " message": String, "code": Number Corresponds to the JSON property responseParameters



7839
7840
7841
# File 'lib/google/apis/integrations_v1/classes.rb', line 7839

def response_parameters
  @response_parameters
end

#response_paramsArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>

Corresponds to the JSON property responseParams



7844
7845
7846
# File 'lib/google/apis/integrations_v1/classes.rb', line 7844

def response_params
  @response_params
end

#snapshot_numberFixnum

Output only. An increasing sequence that is set when a new snapshot is created Corresponds to the JSON property snapshotNumber

Returns:

  • (Fixnum)


7849
7850
7851
# File 'lib/google/apis/integrations_v1/classes.rb', line 7849

def snapshot_number
  @snapshot_number
end

#trigger_idString

The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks. Corresponds to the JSON property triggerId

Returns:

  • (String)


7857
7858
7859
# File 'lib/google/apis/integrations_v1/classes.rb', line 7857

def trigger_id
  @trigger_id
end

#update_timeString

Output only. Last modified time of the execution. Corresponds to the JSON property updateTime

Returns:

  • (String)


7862
7863
7864
# File 'lib/google/apis/integrations_v1/classes.rb', line 7862

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
# File 'lib/google/apis/integrations_v1/classes.rb', line 7869

def update!(**args)
  @cloud_logging_details = args[:cloud_logging_details] if args.key?(:cloud_logging_details)
  @create_time = args[:create_time] if args.key?(:create_time)
  @direct_sub_executions = args[:direct_sub_executions] if args.key?(:direct_sub_executions)
  @event_execution_details = args[:event_execution_details] if args.key?(:event_execution_details)
  @execution_details = args[:execution_details] if args.key?(:execution_details)
  @execution_method = args[:execution_method] if args.key?(:execution_method)
  @integration_version_state = args[:integration_version_state] if args.key?(:integration_version_state)
  @name = args[:name] if args.key?(:name)
  @replay_info = args[:replay_info] if args.key?(:replay_info)
  @request_parameters = args[:request_parameters] if args.key?(:request_parameters)
  @request_params = args[:request_params] if args.key?(:request_params)
  @response_parameters = args[:response_parameters] if args.key?(:response_parameters)
  @response_params = args[:response_params] if args.key?(:response_params)
  @snapshot_number = args[:snapshot_number] if args.key?(:snapshot_number)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end