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.



2320
2321
2322
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2320

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)


2292
2293
2294
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2292

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


2297
2298
2299
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2297

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)


2305
2306
2307
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2305

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



2312
2313
2314
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2312

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



2318
2319
2320
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2318

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2325
2326
2327
2328
2329
2330
2331
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2325

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