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.



7070
7071
7072
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7070

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)


7068
7069
7070
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7068

def suspension_result
  @suspension_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7075
7076
7077
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7075

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