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.



7112
7113
7114
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7112

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)


7110
7111
7112
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7110

def suspension_result
  @suspension_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7117
7118
7119
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7117

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