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.



2227
2228
2229
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2227

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)


2199
2200
2201
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2199

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


2204
2205
2206
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2204

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)


2212
2213
2214
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2212

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



2219
2220
2221
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2219

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



2225
2226
2227
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2225

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2232
2233
2234
2235
2236
2237
2238
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2232

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