Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecution

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

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.



6142
6143
6144
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6142

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


6079
6080
6081
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6079

def create_time
  @create_time
end

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

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



6084
6085
6086
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6084

def direct_sub_executions
  @direct_sub_executions
end

#event_execution_detailsGoogle::Apis::IntegrationsV1alpha::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: 10 Corresponds to the JSON property eventExecutionDetails



6091
6092
6093
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6091

def event_execution_details
  @event_execution_details
end

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



6097
6098
6099
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6097

def execution_details
  @execution_details
end

#execution_methodString

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

Returns:

  • (String)


6102
6103
6104
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6102

def execution_method
  @execution_method
end

#nameString

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

Returns:

  • (String)


6107
6108
6109
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6107

def name
  @name
end

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

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



6112
6113
6114
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6112

def request_parameters
  @request_parameters
end

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

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



6117
6118
6119
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6117

def request_params
  @request_params
end

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

Event parameters returned as part of the response. Corresponds to the JSON property responseParameters



6122
6123
6124
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6122

def response_parameters
  @response_parameters
end

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

Event parameters come out as part of the response. Corresponds to the JSON property responseParams



6127
6128
6129
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6127

def response_params
  @response_params
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)


6135
6136
6137
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6135

def trigger_id
  @trigger_id
end

#update_timeString

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

Returns:

  • (String)


6140
6141
6142
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6140

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6147

def update!(**args)
  @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)
  @name = args[:name] if args.key?(:name)
  @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)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end