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.



7285
7286
7287
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7285

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)


7283
7284
7285
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7283

def suspension_result
  @suspension_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7290
7291
7292
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7290

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