Skip to content

Commit 7c0231a

Browse files
feat(api): aggregated API specs update
1 parent 00be2a9 commit 7c0231a

File tree

6 files changed

+18
-2
lines changed

6 files changed

+18
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 618
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-c4c5dfe1ae880783e8245a2e920d681bd4f5aca8836e040aa190d3bf7e2430d6.yml
3-
openapi_spec_hash: 96ef539de84a44456e5700c9b1526666
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-29e2cc8d4eccb3e6657d61c17d200583cc2bd5bd90494b331881256e362d5873.yml
3+
openapi_spec_hash: de6249d14f251ef0a008dd506e0e99ef
44
config_hash: db560bc3873a6441828babf34ae5f184

src/gcore/resources/security/profiles.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def create(
6969
created
7070
7171
Args:
72+
site: Region where the protection profiles will be deployed
73+
7274
ip_address: Required for Universal template only. Optional for all others.
7375
7476
extra_headers: Send extra headers
@@ -229,6 +231,8 @@ def recreate(
229231
Args:
230232
ip_address: Required for Universal template only. Optional for all others.
231233
234+
site: Region where the protection profiles will be deployed
235+
232236
extra_headers: Send extra headers
233237
234238
extra_query: Add additional query parameters to the request
@@ -277,6 +281,8 @@ def replace(
277281
Args:
278282
ip_address: Required for Universal template only. Optional for all others.
279283
284+
site: Region where the protection profiles will be deployed
285+
280286
extra_headers: Send extra headers
281287
282288
extra_query: Add additional query parameters to the request
@@ -343,6 +349,8 @@ async def create(
343349
created
344350
345351
Args:
352+
site: Region where the protection profiles will be deployed
353+
346354
ip_address: Required for Universal template only. Optional for all others.
347355
348356
extra_headers: Send extra headers
@@ -503,6 +511,8 @@ async def recreate(
503511
Args:
504512
ip_address: Required for Universal template only. Optional for all others.
505513
514+
site: Region where the protection profiles will be deployed
515+
506516
extra_headers: Send extra headers
507517
508518
extra_query: Add additional query parameters to the request
@@ -551,6 +561,8 @@ async def replace(
551561
Args:
552562
ip_address: Required for Universal template only. Optional for all others.
553563
564+
site: Region where the protection profiles will be deployed
565+
554566
extra_headers: Send extra headers
555567
556568
extra_query: Add additional query parameters to the request

src/gcore/types/security/client_profile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class ClientProfile(BaseModel):
5050
protocols: List[Dict[str, object]]
5151

5252
site: str
53+
"""Region where the protection profiles will be deployed"""
5354

5455
status: Dict[str, object]
5556

src/gcore/types/security/profile_create_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ProfileCreateParams(TypedDict, total=False):
1414
profile_template: Required[int]
1515

1616
site: Required[str]
17+
"""Region where the protection profiles will be deployed"""
1718

1819
ip_address: str
1920
"""Required for Universal template only. Optional for all others."""

src/gcore/types/security/profile_recreate_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class ProfileRecreateParams(TypedDict, total=False):
1717
"""Required for Universal template only. Optional for all others."""
1818

1919
site: str
20+
"""Region where the protection profiles will be deployed"""
2021

2122

2223
class Field(TypedDict, total=False):

src/gcore/types/security/profile_replace_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class ProfileReplaceParams(TypedDict, total=False):
1717
"""Required for Universal template only. Optional for all others."""
1818

1919
site: str
20+
"""Region where the protection profiles will be deployed"""
2021

2122

2223
class Field(TypedDict, total=False):

0 commit comments

Comments
 (0)