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.



6701
6702
6703
# File 'lib/google/apis/integrations_v1/classes.rb', line 6701

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)


6638
6639
6640
# File 'lib/google/apis/integrations_v1/classes.rb', line 6638

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



6643
6644
6645
# File 'lib/google/apis/integrations_v1/classes.rb', line 6643

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



6650
6651
6652
# File 'lib/google/apis/integrations_v1/classes.rb', line 6650

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



6656
6657
6658
# File 'lib/google/apis/integrations_v1/classes.rb', line 6656

def execution_details
  @execution_details
end

#execution_methodString

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

Returns:

  • (String)


6661
6662
6663
# File 'lib/google/apis/integrations_v1/classes.rb', line 6661

def execution_method
  @execution_method
end

#nameString

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

Returns:

  • (String)


6666
6667
6668
# File 'lib/google/apis/integrations_v1/classes.rb', line 6666

def name
  @name
end

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

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



6671
6672
6673
# File 'lib/google/apis/integrations_v1/classes.rb', line 6671

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



6676
6677
6678
# File 'lib/google/apis/integrations_v1/classes.rb', line 6676

def request_params
  @request_params
end

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

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



6681
6682
6683
# File 'lib/google/apis/integrations_v1/classes.rb', line 6681

def response_parameters
  @response_parameters
end

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

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



6686
6687
6688
# File 'lib/google/apis/integrations_v1/classes.rb', line 6686

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)


6694
6695
6696
# File 'lib/google/apis/integrations_v1/classes.rb', line 6694

def trigger_id
  @trigger_id
end

#update_timeString

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

Returns:

  • (String)


6699
6700
6701
# File 'lib/google/apis/integrations_v1/classes.rb', line 6699

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
# File 'lib/google/apis/integrations_v1/classes.rb', line 6706

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