@@ -50,6 +50,7 @@ def openapi_types(_):
5050 return {
5151 "accept_self_signed" : (bool ,),
5252 "allow_insecure" : (bool ,),
53+ "blocked_request_patterns" : ([str ],),
5354 "check_certificate_revocation" : (bool ,),
5455 "ci" : (SyntheticsTestCiOptions ,),
5556 "device_ids" : ([str ],),
@@ -78,6 +79,7 @@ def openapi_types(_):
7879 attribute_map = {
7980 "accept_self_signed" : "accept_self_signed" ,
8081 "allow_insecure" : "allow_insecure" ,
82+ "blocked_request_patterns" : "blockedRequestPatterns" ,
8183 "check_certificate_revocation" : "checkCertificateRevocation" ,
8284 "ci" : "ci" ,
8385 "device_ids" : "device_ids" ,
@@ -107,6 +109,7 @@ def __init__(
107109 self_ ,
108110 accept_self_signed : Union [bool , UnsetType ] = unset ,
109111 allow_insecure : Union [bool , UnsetType ] = unset ,
112+ blocked_request_patterns : Union [List [str ], UnsetType ] = unset ,
110113 check_certificate_revocation : Union [bool , UnsetType ] = unset ,
111114 ci : Union [SyntheticsTestCiOptions , UnsetType ] = unset ,
112115 device_ids : Union [List [str ], UnsetType ] = unset ,
@@ -142,6 +145,9 @@ def __init__(
142145 :param allow_insecure: Allows loading insecure content for an HTTP request in an API test.
143146 :type allow_insecure: bool, optional
144147
148+ :param blocked_request_patterns: Array of URL patterns to block.
149+ :type blocked_request_patterns: [str], optional
150+
145151 :param check_certificate_revocation: For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
146152 :type check_certificate_revocation: bool, optional
147153
@@ -227,6 +233,8 @@ def __init__(
227233 kwargs ["accept_self_signed" ] = accept_self_signed
228234 if allow_insecure is not unset :
229235 kwargs ["allow_insecure" ] = allow_insecure
236+ if blocked_request_patterns is not unset :
237+ kwargs ["blocked_request_patterns" ] = blocked_request_patterns
230238 if check_certificate_revocation is not unset :
231239 kwargs ["check_certificate_revocation" ] = check_certificate_revocation
232240 if ci is not unset :
0 commit comments