@@ -897,7 +897,7 @@ def delete_and_poll(
897897 )
898898
899899 @overload
900- def replace_and_poll (
900+ def update_and_poll (
901901 self ,
902902 l7policy_id : str ,
903903 * ,
@@ -916,11 +916,11 @@ def replace_and_poll(
916916 extra_query : Query | None = None ,
917917 extra_body : Body | None = None ,
918918 ) -> LoadBalancerL7Policy :
919- """Replace L7 policy and poll for completion."""
919+ """Update L7 policy and poll for completion."""
920920 ...
921921
922922 @overload
923- def replace_and_poll (
923+ def update_and_poll (
924924 self ,
925925 l7policy_id : str ,
926926 * ,
@@ -939,11 +939,11 @@ def replace_and_poll(
939939 extra_query : Query | None = None ,
940940 extra_body : Body | None = None ,
941941 ) -> LoadBalancerL7Policy :
942- """Replace L7 policy and poll for completion."""
942+ """Update L7 policy and poll for completion."""
943943 ...
944944
945945 @overload
946- def replace_and_poll (
946+ def update_and_poll (
947947 self ,
948948 l7policy_id : str ,
949949 * ,
@@ -961,11 +961,11 @@ def replace_and_poll(
961961 extra_query : Query | None = None ,
962962 extra_body : Body | None = None ,
963963 ) -> LoadBalancerL7Policy :
964- """Replace L7 policy and poll for completion."""
964+ """Update L7 policy and poll for completion."""
965965 ...
966966
967967 @overload
968- def replace_and_poll (
968+ def update_and_poll (
969969 self ,
970970 l7policy_id : str ,
971971 * ,
@@ -982,13 +982,13 @@ def replace_and_poll(
982982 extra_query : Query | None = None ,
983983 extra_body : Body | None = None ,
984984 ) -> LoadBalancerL7Policy :
985- """Replace L7 policy and poll for completion."""
985+ """Update L7 policy and poll for completion."""
986986 ...
987987
988988 @required_args (
989989 ["action" , "redirect_url" ], ["action" , "redirect_prefix" ], ["action" , "redirect_pool_id" ], ["action" ]
990990 )
991- def replace_and_poll (
991+ def update_and_poll (
992992 self ,
993993 l7policy_id : str ,
994994 * ,
@@ -1012,8 +1012,8 @@ def replace_and_poll(
10121012 extra_query : Query | None = None ,
10131013 extra_body : Body | None = None ,
10141014 ) -> LoadBalancerL7Policy :
1015- """Replace L7 policy and poll for completion."""
1016- response : TaskIDList = self .replace ( # type: ignore
1015+ """Update L7 policy and poll for completion."""
1016+ response : TaskIDList = self .update ( # type: ignore
10171017 l7policy_id = l7policy_id ,
10181018 project_id = project_id ,
10191019 region_id = region_id ,
@@ -1911,7 +1911,7 @@ async def delete_and_poll(
19111911 )
19121912
19131913 @overload
1914- async def replace_and_poll (
1914+ async def update_and_poll (
19151915 self ,
19161916 l7policy_id : str ,
19171917 * ,
@@ -1930,11 +1930,11 @@ async def replace_and_poll(
19301930 extra_query : Query | None = None ,
19311931 extra_body : Body | None = None ,
19321932 ) -> LoadBalancerL7Policy :
1933- """Replace L7 policy and poll for completion."""
1933+ """Update L7 policy and poll for completion."""
19341934 ...
19351935
19361936 @overload
1937- async def replace_and_poll (
1937+ async def update_and_poll (
19381938 self ,
19391939 l7policy_id : str ,
19401940 * ,
@@ -1953,11 +1953,11 @@ async def replace_and_poll(
19531953 extra_query : Query | None = None ,
19541954 extra_body : Body | None = None ,
19551955 ) -> LoadBalancerL7Policy :
1956- """Replace L7 policy and poll for completion."""
1956+ """Update L7 policy and poll for completion."""
19571957 ...
19581958
19591959 @overload
1960- async def replace_and_poll (
1960+ async def update_and_poll (
19611961 self ,
19621962 l7policy_id : str ,
19631963 * ,
@@ -1975,11 +1975,11 @@ async def replace_and_poll(
19751975 extra_query : Query | None = None ,
19761976 extra_body : Body | None = None ,
19771977 ) -> LoadBalancerL7Policy :
1978- """Replace L7 policy and poll for completion."""
1978+ """Update L7 policy and poll for completion."""
19791979 ...
19801980
19811981 @overload
1982- async def replace_and_poll (
1982+ async def update_and_poll (
19831983 self ,
19841984 l7policy_id : str ,
19851985 * ,
@@ -1996,13 +1996,13 @@ async def replace_and_poll(
19961996 extra_query : Query | None = None ,
19971997 extra_body : Body | None = None ,
19981998 ) -> LoadBalancerL7Policy :
1999- """Replace L7 policy and poll for completion."""
1999+ """Update L7 policy and poll for completion."""
20002000 ...
20012001
20022002 @required_args (
20032003 ["action" , "redirect_url" ], ["action" , "redirect_prefix" ], ["action" , "redirect_pool_id" ], ["action" ]
20042004 )
2005- async def replace_and_poll (
2005+ async def update_and_poll (
20062006 self ,
20072007 l7policy_id : str ,
20082008 * ,
@@ -2026,8 +2026,8 @@ async def replace_and_poll(
20262026 extra_query : Query | None = None ,
20272027 extra_body : Body | None = None ,
20282028 ) -> LoadBalancerL7Policy :
2029- """Replace L7 policy and poll for completion."""
2030- response : TaskIDList = await self .replace ( # type: ignore
2029+ """Update L7 policy and poll for completion."""
2030+ response : TaskIDList = await self .update ( # type: ignore
20312031 l7policy_id = l7policy_id ,
20322032 project_id = project_id ,
20332033 region_id = region_id ,
@@ -2086,8 +2086,8 @@ def __init__(self, l7_policies: L7PoliciesResource) -> None:
20862086 self .delete_and_poll = to_raw_response_wrapper (
20872087 l7_policies .delete_and_poll ,
20882088 )
2089- self .replace_and_poll = to_raw_response_wrapper (
2090- l7_policies .replace_and_poll ,
2089+ self .update_and_poll = to_raw_response_wrapper (
2090+ l7_policies .update_and_poll ,
20912091 )
20922092
20932093 @cached_property
@@ -2120,8 +2120,8 @@ def __init__(self, l7_policies: AsyncL7PoliciesResource) -> None:
21202120 self .delete_and_poll = async_to_raw_response_wrapper (
21212121 l7_policies .delete_and_poll ,
21222122 )
2123- self .replace_and_poll = async_to_raw_response_wrapper (
2124- l7_policies .replace_and_poll ,
2123+ self .update_and_poll = async_to_raw_response_wrapper (
2124+ l7_policies .update_and_poll ,
21252125 )
21262126
21272127 @cached_property
@@ -2154,8 +2154,8 @@ def __init__(self, l7_policies: L7PoliciesResource) -> None:
21542154 self .delete_and_poll = to_streamed_response_wrapper (
21552155 l7_policies .delete_and_poll ,
21562156 )
2157- self .replace_and_poll = to_streamed_response_wrapper (
2158- l7_policies .replace_and_poll ,
2157+ self .update_and_poll = to_streamed_response_wrapper (
2158+ l7_policies .update_and_poll ,
21592159 )
21602160
21612161 @cached_property
@@ -2188,8 +2188,8 @@ def __init__(self, l7_policies: AsyncL7PoliciesResource) -> None:
21882188 self .delete_and_poll = async_to_streamed_response_wrapper (
21892189 l7_policies .delete_and_poll ,
21902190 )
2191- self .replace_and_poll = async_to_streamed_response_wrapper (
2192- l7_policies .replace_and_poll ,
2191+ self .update_and_poll = async_to_streamed_response_wrapper (
2192+ l7_policies .update_and_poll ,
21932193 )
21942194
21952195 @cached_property
0 commit comments