Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoScatterResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoScatterResponse

Returns a new instance of EnterpriseCrmEventbusProtoScatterResponse.



2372
2373
2374
# File 'lib/google/apis/integrations_v1/classes.rb', line 2372

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)


2344
2345
2346
# File 'lib/google/apis/integrations_v1/classes.rb', line 2344

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


2349
2350
2351
# File 'lib/google/apis/integrations_v1/classes.rb', line 2349

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)


2357
2358
2359
# File 'lib/google/apis/integrations_v1/classes.rb', line 2357

def is_successful
  @is_successful
end

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

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



2364
2365
2366
# File 'lib/google/apis/integrations_v1/classes.rb', line 2364

def response_params
  @response_params
end

#scatter_elementGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterValueType

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



2370
2371
2372
# File 'lib/google/apis/integrations_v1/classes.rb', line 2370

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2377
2378
2379
2380
2381
2382
2383
# File 'lib/google/apis/integrations_v1/classes.rb', line 2377

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