Class: DatadogAPIClient::V2::DeploymentGatesRuleResponse

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_runObject

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

#nameObject

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

#reasonObject

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

#statusObject

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