Class: DatadogAPIClient::V2::CILogItem

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

Overview

A CI job log line.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



56
57
58
# File 'lib/datadog_api_client/v2/models/ci_log_item.rb', line 56

def additional_properties
  @additional_properties
end

#ddtags ⇒ Object

Comma-separated key:value tags. A job can have up to 256 tags, including repeated keys.



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

def ddtags
  @ddtags
end

#job_id ⇒ Object

The job event's resource.id, sent through the CI Visibility pipeline API.



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

def job_id
  @job_id
end

#line_number ⇒ Object

The line number in the job log. Use 0 or 1 for the first line.



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

def line_number
  @line_number
end

#message ⇒ Object

The non-empty log line message.



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

def message
  @message
end

#pipeline_unique_id ⇒ Object

The resource.unique_id of the pipeline event, which must also match the job event's resource.pipeline_unique_id.



38
39
40
# File 'lib/datadog_api_client/v2/models/ci_log_item.rb', line 38

def pipeline_unique_id
  @pipeline_unique_id
end

#provider_name ⇒ Object

The provider name sent with the pipeline event. It defaults to custom when omitted and, when provided, must be non-empty and cannot contain a comma.



42
43
44
# File 'lib/datadog_api_client/v2/models/ci_log_item.rb', line 42

def provider_name
  @provider_name
end

#section_name ⇒ Object

The provider-defined section containing this log line, used to display collapsible groups of lines in the CI job log view.



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

def section_name
  @section_name
end

#status ⇒ Object

The status of this log line. Any string is accepted. Datadog maps non-empty values to a standard log status. See status mapping.



50
51
52
# File 'lib/datadog_api_client/v2/models/ci_log_item.rb', line 50

def status
  @status
end

#timestamp ⇒ Object

The log line time in RFC 3339 format with an explicit timezone. If omitted, the intake time is used. It can be at most 18 hours in the past or 12 hours in the future.



54
55
56
# File 'lib/datadog_api_client/v2/models/ci_log_item.rb', line 54

def timestamp
  @timestamp
end