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.



2359
2360
2361
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2359

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)


2331
2332
2333
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2331

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


2336
2337
2338
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2336

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)


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

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



2351
2352
2353
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2351

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



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

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2364
2365
2366
2367
2368
2369
2370
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2364

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