Skip to content

Commit c1fb24e

Browse files
feat(api): aggregated API specs update
1 parent eb53954 commit c1fb24e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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: 647
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-8689bfd9da70cea7ebde9bdc9b47a90073a36df69d0a9c6c8bab4bde52aaa9e0.yml
3-
openapi_spec_hash: 4429a6ad3a5e845ce55cfe85d2c217a2
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-085eadf511c7b08c510a94f1fd5615f5b12cadf29b44eaa2452ec768ab7a8636.yml
3+
openapi_spec_hash: e18a92201d36e27db2be368e2c78f638
44
config_hash: a4c3f3f2864f6fd064ca57b691e73958

src/gcore/resources/storage/storage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def list(
223223
order_by: str | Omit = omit,
224224
order_direction: Literal["asc", "desc"] | Omit = omit,
225225
show_deleted: bool | Omit = omit,
226-
status: Literal["active", "suspended", "deleted", "pending"] | Omit = omit,
226+
status: Literal["active", "creating", "ok", "updating", "deleting", "deleted"] | Omit = omit,
227227
type: Literal["s3_compatible", "sftp"] | Omit = omit,
228228
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
229229
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -658,7 +658,7 @@ def list(
658658
order_by: str | Omit = omit,
659659
order_direction: Literal["asc", "desc"] | Omit = omit,
660660
show_deleted: bool | Omit = omit,
661-
status: Literal["active", "suspended", "deleted", "pending"] | Omit = omit,
661+
status: Literal["active", "creating", "ok", "updating", "deleting", "deleted"] | Omit = omit,
662662
type: Literal["s3_compatible", "sftp"] | Omit = omit,
663663
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
664664
# The extra values given here take precedence over values defined on the client or passed to this method.

src/gcore/types/storage/storage_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class StorageListParams(TypedDict, total=False):
3232
show_deleted: bool
3333
"""Include deleted storages in the response"""
3434

35-
status: Literal["active", "suspended", "deleted", "pending"]
35+
status: Literal["active", "creating", "ok", "updating", "deleting", "deleted"]
3636
"""Filter by storage status"""
3737

3838
type: Literal["s3_compatible", "sftp"]

0 commit comments

Comments
 (0)