@@ -51,6 +51,7 @@ def create(
5151 type: Literal["datacenter", "isp", "residential", "mobile", "custom"],
5252 config: proxy_create_params.Config | Omit = omit,
5353 name: str | Omit = omit,
54+ protocol: Literal["http", "https"] | Omit = omit,
5455 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5556 # The extra values given here take precedence over values defined on the client or passed to this method.
5657 extra_headers: Headers | None = None,
@@ -69,6 +70,8 @@ def create(
6970
7071 name: Readable name of the proxy.
7172
73+ protocol: Protocol to use for the proxy connection.
74+
7275 extra_headers: Send extra headers
7376
7477 extra_query: Add additional query parameters to the request
@@ -84,6 +87,7 @@ def create(
8487 "type": type,
8588 "config": config,
8689 "name": name,
90+ "protocol": protocol,
8791 },
8892 proxy_create_params.ProxyCreateParams,
8993 ),
@@ -207,6 +211,7 @@ async def create(
207211 type: Literal["datacenter", "isp", "residential", "mobile", "custom"],
208212 config: proxy_create_params.Config | Omit = omit,
209213 name: str | Omit = omit,
214+ protocol: Literal["http", "https"] | Omit = omit,
210215 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
211216 # The extra values given here take precedence over values defined on the client or passed to this method.
212217 extra_headers: Headers | None = None,
@@ -225,6 +230,8 @@ async def create(
225230
226231 name: Readable name of the proxy.
227232
233+ protocol: Protocol to use for the proxy connection.
234+
228235 extra_headers: Send extra headers
229236
230237 extra_query: Add additional query parameters to the request
@@ -240,6 +247,7 @@ async def create(
240247 "type": type,
241248 "config": config,
242249 "name": name,
250+ "protocol": protocol,
243251 },
244252 proxy_create_params.ProxyCreateParams,
245253 ),
0 commit comments