From 11b574aff3ac76a5b9a1bba647c5c31e11411c82 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 8 Apr 2025 14:29:15 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/lb/v1/marshalling.py | 7 +++++++ scaleway-async/scaleway_async/lb/v1/types.py | 5 +++++ scaleway/scaleway/lb/v1/marshalling.py | 7 +++++++ scaleway/scaleway/lb/v1/types.py | 5 +++++ 4 files changed, 24 insertions(+) diff --git a/scaleway-async/scaleway_async/lb/v1/marshalling.py b/scaleway-async/scaleway_async/lb/v1/marshalling.py index b967e2955..31fc90f3f 100644 --- a/scaleway-async/scaleway_async/lb/v1/marshalling.py +++ b/scaleway-async/scaleway_async/lb/v1/marshalling.py @@ -923,6 +923,10 @@ def unmarshal_AclMatch(data: Any) -> AclMatch: if field is not None: args["ip_subnet"] = field + field = data.get("ips_edge_services", None) + if field is not None: + args["ips_edge_services"] = field + field = data.get("http_filter", None) if field is not None: args["http_filter"] = field @@ -1618,6 +1622,9 @@ def marshal_AclMatch( if request.ip_subnet is not None: output["ip_subnet"] = request.ip_subnet + if request.ips_edge_services is not None: + output["ips_edge_services"] = request.ips_edge_services + if request.http_filter is not None: output["http_filter"] = str(request.http_filter) diff --git a/scaleway-async/scaleway_async/lb/v1/types.py b/scaleway-async/scaleway_async/lb/v1/types.py index f15ed37fe..13f61d467 100644 --- a/scaleway-async/scaleway_async/lb/v1/types.py +++ b/scaleway-async/scaleway_async/lb/v1/types.py @@ -866,6 +866,11 @@ class AclMatch: List of IPs or CIDR v4/v6 addresses to filter for from the client side. """ + ips_edge_services: bool + """ + Defines whether Edge Services IPs should be matched. + """ + http_filter: AclHttpFilter """ Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends. diff --git a/scaleway/scaleway/lb/v1/marshalling.py b/scaleway/scaleway/lb/v1/marshalling.py index b967e2955..31fc90f3f 100644 --- a/scaleway/scaleway/lb/v1/marshalling.py +++ b/scaleway/scaleway/lb/v1/marshalling.py @@ -923,6 +923,10 @@ def unmarshal_AclMatch(data: Any) -> AclMatch: if field is not None: args["ip_subnet"] = field + field = data.get("ips_edge_services", None) + if field is not None: + args["ips_edge_services"] = field + field = data.get("http_filter", None) if field is not None: args["http_filter"] = field @@ -1618,6 +1622,9 @@ def marshal_AclMatch( if request.ip_subnet is not None: output["ip_subnet"] = request.ip_subnet + if request.ips_edge_services is not None: + output["ips_edge_services"] = request.ips_edge_services + if request.http_filter is not None: output["http_filter"] = str(request.http_filter) diff --git a/scaleway/scaleway/lb/v1/types.py b/scaleway/scaleway/lb/v1/types.py index f15ed37fe..13f61d467 100644 --- a/scaleway/scaleway/lb/v1/types.py +++ b/scaleway/scaleway/lb/v1/types.py @@ -866,6 +866,11 @@ class AclMatch: List of IPs or CIDR v4/v6 addresses to filter for from the client side. """ + ips_edge_services: bool + """ + Defines whether Edge Services IPs should be matched. + """ + http_filter: AclHttpFilter """ Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends.