Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertionResult
- 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
The result of an assertion.
Instance Attribute Summary collapse
-
#assertion ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion
An assertion which will check for a condition over task execution status or an expression for task output variables Corresponds to the JSON property
assertion
. -
#failure_message ⇒ String
Details of the assertion failure Corresponds to the JSON property
failureMessage
. -
#status ⇒ String
Status of assertion to signify if the assertion succeeded or failed Corresponds to the JSON property
status
. -
#task_name ⇒ String
Task name of task where the assertion was run.
-
#task_number ⇒ String
Task number of task where the assertion was run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAssertionResult
constructor
A new instance of GoogleCloudIntegrationsV1alphaAssertionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAssertionResult
Returns a new instance of GoogleCloudIntegrationsV1alphaAssertionResult.
6489 6490 6491 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assertion ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaAssertion
An assertion which will check for a condition over task execution status or an
expression for task output variables
Corresponds to the JSON property assertion
6467 6468 6469 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6467 def assertion @assertion end |
#failure_message ⇒ String
Details of the assertion failure
Corresponds to the JSON property failureMessage
6472 6473 6474 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6472 def @failure_message end |
#status ⇒ String
Status of assertion to signify if the assertion succeeded or failed
Corresponds to the JSON property status
6477 6478 6479 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6477 def status @status end |
#task_name ⇒ String
Task name of task where the assertion was run.
Corresponds to the JSON property taskName
6482 6483 6484 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6482 def task_name @task_name end |
#task_number ⇒ String
Task number of task where the assertion was run.
Corresponds to the JSON property taskNumber
6487 6488 6489 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6487 def task_number @task_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6494 6495 6496 6497 6498 6499 6500 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 6494 def update!(**args) @assertion = args[:assertion] if args.key?(:assertion) @failure_message = args[:failure_message] if args.key?(:failure_message) @status = args[:status] if args.key?(:status) @task_name = args[:task_name] if args.key?(:task_name) @task_number = args[:task_number] if args.key?(:task_number) end |