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.



7399
7400
7401
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7399

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)


7397
7398
7399
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7397

def suspension_result
  @suspension_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7404
7405
7406
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7404

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