Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuccessPolicy

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) ⇒ EnterpriseCrmEventbusProtoSuccessPolicy

Returns a new instance of EnterpriseCrmEventbusProtoSuccessPolicy.



2491
2492
2493
# File 'lib/google/apis/integrations_v1/classes.rb', line 2491

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)


2489
2490
2491
# File 'lib/google/apis/integrations_v1/classes.rb', line 2489

def final_state
  @final_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2496
2497
2498
# File 'lib/google/apis/integrations_v1/classes.rb', line 2496

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