Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaLiftSuspensionRequest

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

Overview

Request for lift Suspension

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaLiftSuspensionRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaLiftSuspensionRequest.



7206
7207
7208
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7206

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#suspension_resultString

User passed in suspension result and will be used to control workflow execution branching behavior by setting up corresponnding edge condition with suspension result. For example, if you want to lift the suspension, you can pass "Approved", or if you want to reject the suspension and terminate workfloe execution, you can pass "Rejected" and terminate the workflow execution with configuring the edge condition. Corresponds to the JSON property suspensionResult

Returns:

  • (String)


7204
7205
7206
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7204

def suspension_result
  @suspension_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7211
7212
7213
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7211

def update!(**args)
  @suspension_result = args[:suspension_result] if args.key?(:suspension_result)
end