Skip to content

Commit 2aa31f2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Enable automerging for cloudflare routes. (#1758)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 6f9774e commit 2aa31f2

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-08-12 20:42:11.568974",
8-
"spec_repo_commit": "7a16d6c5"
7+
"regenerated": "2024-08-14 20:10:54.879805",
8+
"spec_repo_commit": "fafdefa8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-12 20:42:11.587250",
13-
"spec_repo_commit": "7a16d6c5"
12+
"regenerated": "2024-08-14 20:10:54.897602",
13+
"spec_repo_commit": "fafdefa8"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4412,6 +4412,10 @@ components:
44124412
CloudflareAccountResponseAttributes:
44134413
description: Attributes object of a Cloudflare account.
44144414
properties:
4415+
api_key:
4416+
description: The CloudflareAccountResponseAttributes api_key.
4417+
type: string
4418+
writeOnly: true
44154419
email:
44164420
description: The email associated with the Cloudflare account.
44174421
@@ -4484,6 +4488,9 @@ components:
44844488
key is provided (and not a token), this field is also required.
44854489
44864490
type: string
4491+
name:
4492+
description: The CloudflareAccountUpdateRequestAttributes name.
4493+
type: string
44874494
resources:
44884495
description: An allowlist of resources to restrict pulling metrics for.
44894496
example:

packages/datadog-api-client-v2/models/CloudflareAccountResponseAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Attributes object of a Cloudflare account.
1111
*/
1212
export class CloudflareAccountResponseAttributes {
13+
/**
14+
* The CloudflareAccountResponseAttributes api_key.
15+
*/
16+
"apiKey"?: string;
1317
/**
1418
* The email associated with the Cloudflare account.
1519
*/
@@ -43,6 +47,10 @@ export class CloudflareAccountResponseAttributes {
4347
* @ignore
4448
*/
4549
static readonly attributeTypeMap: AttributeTypeMap = {
50+
apiKey: {
51+
baseName: "api_key",
52+
type: "string",
53+
},
4654
email: {
4755
baseName: "email",
4856
type: "string",

packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export class CloudflareAccountUpdateRequestAttributes {
1818
* The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
1919
*/
2020
"email"?: string;
21+
/**
22+
* The CloudflareAccountUpdateRequestAttributes name.
23+
*/
24+
"name"?: string;
2125
/**
2226
* An allowlist of resources to restrict pulling metrics for.
2327
*/
@@ -52,6 +56,10 @@ export class CloudflareAccountUpdateRequestAttributes {
5256
baseName: "email",
5357
type: "string",
5458
},
59+
name: {
60+
baseName: "name",
61+
type: "string",
62+
},
5563
resources: {
5664
baseName: "resources",
5765
type: "Array<string>",

0 commit comments

Comments
 (0)