Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoScatterResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoScatterResponse

Returns a new instance of EnterpriseCrmEventbusProtoScatterResponse.



2175
2176
2177
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2175

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

Instance Attribute Details

#error_msgString

The error message of the failure if applicable. Corresponds to the JSON property errorMsg

Returns:

  • (String)


2147
2148
2149
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2147

def error_msg
  @error_msg
end

#execution_idsArray<String>

The execution ids of each Subworkflow fired by this scatter. Corresponds to the JSON property executionIds

Returns:

  • (Array<String>)


2152
2153
2154
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2152

def execution_ids
  @execution_ids
end

#is_successfulBoolean Also known as: is_successful?

If execution is sync, this is true if the execution passed and false if it failed. If the execution is async, this is true if the WF was fired off successfully, and false if it failed to execute. The success or failure of the subworkflows executed are not captured. Corresponds to the JSON property isSuccessful

Returns:

  • (Boolean)


2160
2161
2162
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2160

def is_successful
  @is_successful
end

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

A list of all the response parameters in the aggregtorMap stored with the remapped key. Corresponds to the JSON property responseParams



2167
2168
2169
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2167

def response_params
  @response_params
end

#scatter_elementGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParameterValueType

LINT.IfChange To support various types of parameter values. Next available id: 14 Corresponds to the JSON property scatterElement



2173
2174
2175
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2173

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2180
2181
2182
2183
2184
2185
2186
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2180

def update!(**args)
  @error_msg = args[:error_msg] if args.key?(:error_msg)
  @execution_ids = args[:execution_ids] if args.key?(:execution_ids)
  @is_successful = args[:is_successful] if args.key?(:is_successful)
  @response_params = args[:response_params] if args.key?(:response_params)
  @scatter_element = args[:scatter_element] if args.key?(:scatter_element)
end