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.



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

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)


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

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


2157
2158
2159
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2157

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)


2165
2166
2167
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2165

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



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

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



2178
2179
2180
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2178

def scatter_element
  @scatter_element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2185
2186
2187
2188
2189
2190
2191
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2185

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