Class: DatadogAPIClient::V2::DeploymentGatesRuleResponse
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DeploymentGatesRuleResponse
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb
Overview
The result of a single rule evaluation.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#dry_run ⇒ Object
Whether this rule was evaluated in dry-run mode.
-
#name ⇒ Object
The name of the rule.
-
#reason ⇒ Object
The reason for the rule result, if applicable.
-
#status ⇒ Object
The overall status of the gate evaluation.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb', line 39 def additional_properties @additional_properties end |
#dry_run ⇒ Object
Whether this rule was evaluated in dry-run mode.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb', line 25 def dry_run @dry_run end |
#name ⇒ Object
The name of the rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb', line 28 def name @name end |
#reason ⇒ Object
The reason for the rule result, if applicable.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb', line 31 def reason @reason end |
#status ⇒ Object
The overall status of the gate evaluation.
in_progress: The evaluation is still running.pass: All rules passed successfully and the deployment is allowed to proceed.fail: One or more rules did not pass; the deployment should not proceed.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/deployment_gates_rule_response.rb', line 37 def status @status end |