Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuccessPolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.



8835
8836
8837
# File 'lib/google/apis/integrations_v1/classes.rb', line 8835

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)


8833
8834
8835
# File 'lib/google/apis/integrations_v1/classes.rb', line 8833

def final_state
  @final_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8840
8841
8842
# File 'lib/google/apis/integrations_v1/classes.rb', line 8840

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