Class: DatadogAPIClient::V2::DeploymentGateEvaluationAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb

Overview

Attributes of a deployment gate evaluation.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



60
61
62
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 60

def additional_properties
  @additional_properties
end

#dry_run ⇒ Object

Whether this evaluation used gate-level dry run.



25
26
27
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 25

def dry_run
  @dry_run
end

#duration_seconds ⇒ Object

Evaluation duration in seconds. Null while it is in progress.



28
29
30
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 28

def duration_seconds
  @duration_seconds
end

#env ⇒ Object

Deployment environment evaluated by the gate.



31
32
33
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 31

def env
  @env
end

#evaluation_id ⇒ Object

Gate evaluation UUID. Matches the resource id.



34
35
36
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 34

def evaluation_id
  @evaluation_id
end

#finished_at ⇒ Object

Time the evaluation finished. Null while it is in progress.



37
38
39
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 37

def finished_at
  @finished_at
end

#gate_id ⇒ Object

Configured deployment gate UUID. Null for just-in-time evaluations.



40
41
42
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 40

def gate_id
  @gate_id
end

#identifier ⇒ Object

Deployment gate identifier.



43
44
45
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 43

def identifier
  @identifier
end

#service ⇒ Object

Service evaluated by the deployment gate.



46
47
48
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 46

def service
  @service
end

#started_at ⇒ Object

Time the evaluation started.



49
50
51
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 49

def started_at
  @started_at
end

#status ⇒ Object

The recorded result of a gate or rule evaluation.

  • in_progress: The evaluation is still running.
  • pass: All rules passed successfully.
  • fail: One or more rules did not pass.


55
56
57
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 55

def status
  @status
end

#version ⇒ Object

Evaluated deployment version. Empty when no version was provided.



58
59
60
# File 'lib/datadog_api_client/v2/models/deployment_gate_evaluation_attributes.rb', line 58

def version
  @version
end