Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion

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

An assertion which will check for a condition over task execution status or an expression for task output variables

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAssertion

Returns a new instance of GoogleCloudIntegrationsV1alphaAssertion.



6446
6447
6448
# File 'lib/google/apis/integrations_v1/classes.rb', line 6446

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

Instance Attribute Details

#assertion_strategyString

Optional. The type of assertion to perform. Corresponds to the JSON property assertionStrategy

Returns:

  • (String)


6427
6428
6429
# File 'lib/google/apis/integrations_v1/classes.rb', line 6427

def assertion_strategy
  @assertion_strategy
end

#conditionString

Optional. Standard filter expression for ASSERT_CONDITION to succeed Corresponds to the JSON property condition

Returns:

  • (String)


6432
6433
6434
# File 'lib/google/apis/integrations_v1/classes.rb', line 6432

def condition
  @condition
end

#parameterGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter

This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 Corresponds to the JSON property parameter



6438
6439
6440
# File 'lib/google/apis/integrations_v1/classes.rb', line 6438

def parameter
  @parameter
end

#retry_countFixnum

Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION Corresponds to the JSON property retryCount

Returns:

  • (Fixnum)


6444
6445
6446
# File 'lib/google/apis/integrations_v1/classes.rb', line 6444

def retry_count
  @retry_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6451
6452
6453
6454
6455
6456
# File 'lib/google/apis/integrations_v1/classes.rb', line 6451

def update!(**args)
  @assertion_strategy = args[:assertion_strategy] if args.key?(:assertion_strategy)
  @condition = args[:condition] if args.key?(:condition)
  @parameter = args[:parameter] if args.key?(:parameter)
  @retry_count = args[:retry_count] if args.key?(:retry_count)
end