Skip to content

Commit 8fa5b3f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add compressedProtoFile field to SyntheticsTestRequest (#1838)
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 d2f33d1 commit 8fa5b3f

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-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-01-19 16:05:44.924100",
8-
"spec_repo_commit": "20461e26"
7+
"regenerated": "2024-01-19 16:38:24.372553",
8+
"spec_repo_commit": "80f33fd7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-01-19 16:05:44.937783",
13-
"spec_repo_commit": "20461e26"
12+
"regenerated": "2024-01-19 16:38:24.402441",
13+
"spec_repo_commit": "80f33fd7"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15691,6 +15691,10 @@ components:
1569115691
description: A protobuf JSON descriptor that needs to be gzipped first then
1569215692
base64 encoded.
1569315693
type: string
15694+
compressedProtoFile:
15695+
description: A protobuf file that needs to be gzipped first then base64
15696+
encoded.
15697+
type: string
1569415698
dnsServer:
1569515699
description: DNS server to use for DNS tests.
1569615700
type: string

src/datadog_api_client/v1/model/synthetics_test_request.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def openapi_types(_):
6060
"certificate": (SyntheticsTestRequestCertificate,),
6161
"certificate_domains": ([str],),
6262
"compressed_json_descriptor": (str,),
63+
"compressed_proto_file": (str,),
6364
"dns_server": (str,),
6465
"dns_server_port": (int,),
6566
"follow_redirects": (bool,),
@@ -90,6 +91,7 @@ def openapi_types(_):
9091
"certificate": "certificate",
9192
"certificate_domains": "certificateDomains",
9293
"compressed_json_descriptor": "compressedJsonDescriptor",
94+
"compressed_proto_file": "compressedProtoFile",
9395
"dns_server": "dnsServer",
9496
"dns_server_port": "dnsServerPort",
9597
"follow_redirects": "follow_redirects",
@@ -130,6 +132,7 @@ def __init__(
130132
certificate: Union[SyntheticsTestRequestCertificate, UnsetType] = unset,
131133
certificate_domains: Union[List[str], UnsetType] = unset,
132134
compressed_json_descriptor: Union[str, UnsetType] = unset,
135+
compressed_proto_file: Union[str, UnsetType] = unset,
133136
dns_server: Union[str, UnsetType] = unset,
134137
dns_server_port: Union[int, UnsetType] = unset,
135138
follow_redirects: Union[bool, UnsetType] = unset,
@@ -178,6 +181,9 @@ def __init__(
178181
:param compressed_json_descriptor: A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
179182
:type compressed_json_descriptor: str, optional
180183
184+
:param compressed_proto_file: A protobuf file that needs to be gzipped first then base64 encoded.
185+
:type compressed_proto_file: str, optional
186+
181187
:param dns_server: DNS server to use for DNS tests.
182188
:type dns_server: str, optional
183189
@@ -253,6 +259,8 @@ def __init__(
253259
kwargs["certificate_domains"] = certificate_domains
254260
if compressed_json_descriptor is not unset:
255261
kwargs["compressed_json_descriptor"] = compressed_json_descriptor
262+
if compressed_proto_file is not unset:
263+
kwargs["compressed_proto_file"] = compressed_proto_file
256264
if dns_server is not unset:
257265
kwargs["dns_server"] = dns_server
258266
if dns_server_port is not unset:

0 commit comments

Comments
 (0)