Skip to content

Commit

Permalink
Add compressedProtoFile field to SyntheticsTestRequest (#1838)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jan 19, 2024
1 parent d2f33d1 commit 8fa5b3f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-19 16:05:44.924100",
"spec_repo_commit": "20461e26"
"regenerated": "2024-01-19 16:38:24.372553",
"spec_repo_commit": "80f33fd7"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-19 16:05:44.937783",
"spec_repo_commit": "20461e26"
"regenerated": "2024-01-19 16:38:24.402441",
"spec_repo_commit": "80f33fd7"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15691,6 +15691,10 @@ components:
description: A protobuf JSON descriptor that needs to be gzipped first then
base64 encoded.
type: string
compressedProtoFile:
description: A protobuf file that needs to be gzipped first then base64
encoded.
type: string
dnsServer:
description: DNS server to use for DNS tests.
type: string
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/synthetics_test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def openapi_types(_):
"certificate": (SyntheticsTestRequestCertificate,),
"certificate_domains": ([str],),
"compressed_json_descriptor": (str,),
"compressed_proto_file": (str,),
"dns_server": (str,),
"dns_server_port": (int,),
"follow_redirects": (bool,),
Expand Down Expand Up @@ -90,6 +91,7 @@ def openapi_types(_):
"certificate": "certificate",
"certificate_domains": "certificateDomains",
"compressed_json_descriptor": "compressedJsonDescriptor",
"compressed_proto_file": "compressedProtoFile",
"dns_server": "dnsServer",
"dns_server_port": "dnsServerPort",
"follow_redirects": "follow_redirects",
Expand Down Expand Up @@ -130,6 +132,7 @@ def __init__(
certificate: Union[SyntheticsTestRequestCertificate, UnsetType] = unset,
certificate_domains: Union[List[str], UnsetType] = unset,
compressed_json_descriptor: Union[str, UnsetType] = unset,
compressed_proto_file: Union[str, UnsetType] = unset,
dns_server: Union[str, UnsetType] = unset,
dns_server_port: Union[int, UnsetType] = unset,
follow_redirects: Union[bool, UnsetType] = unset,
Expand Down Expand Up @@ -178,6 +181,9 @@ def __init__(
:param compressed_json_descriptor: A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
:type compressed_json_descriptor: str, optional
:param compressed_proto_file: A protobuf file that needs to be gzipped first then base64 encoded.
:type compressed_proto_file: str, optional
:param dns_server: DNS server to use for DNS tests.
:type dns_server: str, optional
Expand Down Expand Up @@ -253,6 +259,8 @@ def __init__(
kwargs["certificate_domains"] = certificate_domains
if compressed_json_descriptor is not unset:
kwargs["compressed_json_descriptor"] = compressed_json_descriptor
if compressed_proto_file is not unset:
kwargs["compressed_proto_file"] = compressed_proto_file
if dns_server is not unset:
kwargs["dns_server"] = dns_server
if dns_server_port is not unset:
Expand Down

0 comments on commit 8fa5b3f

Please sign in to comment.