Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuccessPolicy

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

Policy that dictates the behavior for the task after it completes successfully.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuccessPolicy

Returns a new instance of GoogleCloudIntegrationsV1alphaSuccessPolicy.



8655
8656
8657
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8655

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

Instance Attribute Details

#final_stateString

State to which the execution snapshot status will be set if the task succeeds. Corresponds to the JSON property finalState

Returns:

  • (String)


8653
8654
8655
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8653

def final_state
  @final_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8660
8661
8662
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8660

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