Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compressedProtoFile field to SyntheticsTestRequest #1838

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading