Skip to content

Commit 5f24ad7

Browse files
committed
Post an event v2 API - add a new enum value to links.category field and add pattern validation on changed_resource.name field (DataDog#3706)
Co-authored-by: ci.datadog-api-spec <[email protected]> d08c3a9
1 parent 04c4ca3 commit 5f24ad7

File tree

6 files changed

+5440
-5437
lines changed

6 files changed

+5440
-5437
lines changed

pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223522,6 +223522,7 @@ <h2 id="AlertEventCustomAttributesLinksItemsCategory">type <a href="https://gith
223522223522
<span id="ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RUNBOOK">ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RUNBOOK</span> <a href="#AlertEventCustomAttributesLinksItemsCategory">AlertEventCustomAttributesLinksItemsCategory</a> = &#34;runbook&#34;
223523223523
<span id="ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DOCUMENTATION">ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DOCUMENTATION</span> <a href="#AlertEventCustomAttributesLinksItemsCategory">AlertEventCustomAttributesLinksItemsCategory</a> = &#34;documentation&#34;
223524223524
<span id="ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DASHBOARD">ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DASHBOARD</span> <a href="#AlertEventCustomAttributesLinksItemsCategory">AlertEventCustomAttributesLinksItemsCategory</a> = &#34;dashboard&#34;
223525+
<span id="ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RESOURCE">ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RESOURCE</span> <a href="#AlertEventCustomAttributesLinksItemsCategory">AlertEventCustomAttributesLinksItemsCategory</a> = &#34;resource&#34;
223525223526
)</pre>
223526223527

223527223528

@@ -223533,7 +223534,7 @@ <h2 id="AlertEventCustomAttributesLinksItemsCategory">type <a href="https://gith
223533223534

223534223535

223535223536

223536-
<h3 id="NewAlertEventCustomAttributesLinksItemsCategoryFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L47">NewAlertEventCustomAttributesLinksItemsCategoryFromValue</a>
223537+
<h3 id="NewAlertEventCustomAttributesLinksItemsCategoryFromValue">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L49">NewAlertEventCustomAttributesLinksItemsCategoryFromValue</a>
223537223538
<a class="permalink" href="#NewAlertEventCustomAttributesLinksItemsCategoryFromValue">&#xb6;</a>
223538223539

223539223540

@@ -223548,7 +223549,7 @@ <h3 id="NewAlertEventCustomAttributesLinksItemsCategoryFromValue">func <a href="
223548223549

223549223550

223550223551

223551-
<h3 id="AlertEventCustomAttributesLinksItemsCategory.GetAllowedValues">func (*AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L30">GetAllowedValues</a>
223552+
<h3 id="AlertEventCustomAttributesLinksItemsCategory.GetAllowedValues">func (*AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L32">GetAllowedValues</a>
223552223553
<a class="permalink" href="#AlertEventCustomAttributesLinksItemsCategory.GetAllowedValues">&#xb6;</a>
223553223554

223554223555

@@ -223561,7 +223562,7 @@ <h3 id="AlertEventCustomAttributesLinksItemsCategory.GetAllowedValues">func (*Al
223561223562

223562223563

223563223564

223564-
<h3 id="AlertEventCustomAttributesLinksItemsCategory.IsValid">func (AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L56">IsValid</a>
223565+
<h3 id="AlertEventCustomAttributesLinksItemsCategory.IsValid">func (AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L58">IsValid</a>
223565223566
<a class="permalink" href="#AlertEventCustomAttributesLinksItemsCategory.IsValid">&#xb6;</a>
223566223567

223567223568

@@ -223574,7 +223575,7 @@ <h3 id="AlertEventCustomAttributesLinksItemsCategory.IsValid">func (AlertEventCu
223574223575

223575223576

223576223577

223577-
<h3 id="AlertEventCustomAttributesLinksItemsCategory.Ptr">func (AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L66">Ptr</a>
223578+
<h3 id="AlertEventCustomAttributesLinksItemsCategory.Ptr">func (AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L68">Ptr</a>
223578223579
<a class="permalink" href="#AlertEventCustomAttributesLinksItemsCategory.Ptr">&#xb6;</a>
223579223580

223580223581

@@ -223587,7 +223588,7 @@ <h3 id="AlertEventCustomAttributesLinksItemsCategory.Ptr">func (AlertEventCustom
223587223588

223588223589

223589223590

223590-
<h3 id="AlertEventCustomAttributesLinksItemsCategory.UnmarshalJSON">func (*AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L35">UnmarshalJSON</a>
223591+
<h3 id="AlertEventCustomAttributesLinksItemsCategory.UnmarshalJSON">func (*AlertEventCustomAttributesLinksItemsCategory) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/model_alert_event_custom_attributes_links_items_category.go#L37">UnmarshalJSON</a>
223591223592
<a class="permalink" href="#AlertEventCustomAttributesLinksItemsCategory.UnmarshalJSON">&#xb6;</a>
223592223593

223593223594

@@ -318329,7 +318330,7 @@ <h2 id="ChangeEventCustomAttributesChangedResource">type <a href="https://github
318329318330
<p>ChangeEventCustomAttributesChangedResource A uniquely identified resource.
318330318331

318331318332
<pre>type ChangeEventCustomAttributesChangedResource struct {
318332-
<span class="comment">// The name of the resource that was changed. Limited to 128 characters.</span>
318333+
<span class="comment">// The name of the resource that was changed. Limited to 128 characters. Must contain at least one non-whitespace character.</span>
318333318334
<span id="ChangeEventCustomAttributesChangedResource.Name"></span> Name <a href="https://pkg.go.dev/builtin/#string">string</a> `json:&#34;name&#34;`
318334318335
<span class="comment">// The type of the resource that was changed.</span>
318335318336
<span id="ChangeEventCustomAttributesChangedResource.Type"></span> Type <a href="#ChangeEventCustomAttributesChangedResourceType">ChangeEventCustomAttributesChangedResourceType</a> `json:&#34;type&#34;`

src/github.com/DataDog/datadog-api-client-go/v2/api/datadog/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>
7979
<td></td>
8080
<td align="right">7215</td>
8181
<td></td>
82-
<td align="left">2026-02-18 01:07:16.125706796 +0000 UTC</td>
82+
<td align="left">2026-02-18 12:43:29.913050929 +0000 UTC</td>
8383
</tr>
8484

8585
<tr>
@@ -88,7 +88,7 @@ <h2>
8888
<td></td>
8989
<td align="right">17525</td>
9090
<td></td>
91-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
91+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
9292
</tr>
9393

9494
<tr>
@@ -97,7 +97,7 @@ <h2>
9797
<td></td>
9898
<td align="right">37476</td>
9999
<td></td>
100-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
100+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
101101
</tr>
102102

103103
<tr>
@@ -106,7 +106,7 @@ <h2>
106106
<td></td>
107107
<td align="right">3345</td>
108108
<td></td>
109-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
109+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
110110
</tr>
111111

112112
<tr>
@@ -115,7 +115,7 @@ <h2>
115115
<td></td>
116116
<td align="right">622</td>
117117
<td></td>
118-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
118+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
119119
</tr>
120120

121121
<tr>
@@ -124,7 +124,7 @@ <h2>
124124
<td></td>
125125
<td align="right">633</td>
126126
<td></td>
127-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
127+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
128128
</tr>
129129

130130
<tr>
@@ -133,7 +133,7 @@ <h2>
133133
<td></td>
134134
<td align="right">405</td>
135135
<td></td>
136-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
136+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
137137
</tr>
138138

139139
<tr>
@@ -142,7 +142,7 @@ <h2>
142142
<td></td>
143143
<td align="right">13076</td>
144144
<td></td>
145-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
145+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
146146
</tr>
147147

148148
<tr>
@@ -151,7 +151,7 @@ <h2>
151151
<td></td>
152152
<td align="right">589</td>
153153
<td></td>
154-
<td align="left">2026-02-18 01:07:16.125786474 +0000 UTC</td>
154+
<td align="left">2026-02-18 12:43:29.913102015 +0000 UTC</td>
155155
</tr>
156156

157157

0 commit comments

Comments
 (0)