Skip to content

Commit 1dc8993

Browse files
feat(api): aggregated API specs update
1 parent 555824b commit 1dc8993

6 files changed

Lines changed: 20 additions & 20 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 612
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-5a7ab6a73d8b5baaf7f48ba5dc59aab2288689470607e793205aafe92a0ae48f.yml
3-
openapi_spec_hash: bb229625bc538d51d91bd2edffa2048f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-e03e7effe72aa3668976b9a30a76b188e8d2aa2f4210730cf46e66c70c62c116.yml
3+
openapi_spec_hash: da83e364ba42681bf2570c5d90372d97
44
config_hash: 399dda838c78c5d92532b7efcaaa0345

src/gcore/resources/cloud/cost_reports.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ def get_aggregated(
118118
119119
Args:
120120
time_from: The start date of the report period (ISO 8601). The report starts from the
121-
beginning of this day.
121+
beginning of this day in UTC.
122122
123123
time_to: The end date of the report period (ISO 8601). The report ends just before the
124-
beginning of this day.
124+
beginning of this day in UTC.
125125
126126
enable_last_day: Expenses for the last specified day are taken into account. As the default,
127127
False.
@@ -350,10 +350,10 @@ def get_detailed(
350350
351351
Args:
352352
time_from: The start date of the report period (ISO 8601). The report starts from the
353-
beginning of this day.
353+
beginning of this day in UTC.
354354
355355
time_to: The end date of the report period (ISO 8601). The report ends just before the
356-
beginning of this day.
356+
beginning of this day in UTC.
357357
358358
enable_last_day: Expenses for the last specified day are taken into account. As the default,
359359
False.
@@ -500,10 +500,10 @@ async def get_aggregated(
500500
501501
Args:
502502
time_from: The start date of the report period (ISO 8601). The report starts from the
503-
beginning of this day.
503+
beginning of this day in UTC.
504504
505505
time_to: The end date of the report period (ISO 8601). The report ends just before the
506-
beginning of this day.
506+
beginning of this day in UTC.
507507
508508
enable_last_day: Expenses for the last specified day are taken into account. As the default,
509509
False.
@@ -732,10 +732,10 @@ async def get_detailed(
732732
733733
Args:
734734
time_from: The start date of the report period (ISO 8601). The report starts from the
735-
beginning of this day.
735+
beginning of this day in UTC.
736736
737737
time_to: The end date of the report period (ISO 8601). The report ends just before the
738-
beginning of this day.
738+
beginning of this day in UTC.
739739
740740
enable_last_day: Expenses for the last specified day are taken into account. As the default,
741741
False.

src/gcore/resources/cloud/usage_reports.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ def get(
105105
106106
Args:
107107
time_from: The start date of the report period (ISO 8601). The report starts from the
108-
beginning of this day.
108+
beginning of this day in UTC.
109109
110110
time_to: The end date of the report period (ISO 8601). The report ends just before the
111-
beginning of this day.
111+
beginning of this day in UTC.
112112
113113
enable_last_day: Expenses for the last specified day are taken into account. As the default,
114114
False.
@@ -242,10 +242,10 @@ async def get(
242242
243243
Args:
244244
time_from: The start date of the report period (ISO 8601). The report starts from the
245-
beginning of this day.
245+
beginning of this day in UTC.
246246
247247
time_to: The end date of the report period (ISO 8601). The report ends just before the
248-
beginning of this day.
248+
beginning of this day in UTC.
249249
250250
enable_last_day: Expenses for the last specified day are taken into account. As the default,
251251
False.

src/gcore/types/cloud/cost_report_get_aggregated_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ class CostReportGetAggregatedParams(TypedDict, total=False):
4646
time_from: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
4747
"""The start date of the report period (ISO 8601).
4848
49-
The report starts from the beginning of this day.
49+
The report starts from the beginning of this day in UTC.
5050
"""
5151

5252
time_to: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
5353
"""The end date of the report period (ISO 8601).
5454
55-
The report ends just before the beginning of this day.
55+
The report ends just before the beginning of this day in UTC.
5656
"""
5757

5858
enable_last_day: bool

src/gcore/types/cloud/cost_report_get_detailed_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ class CostReportGetDetailedParams(TypedDict, total=False):
4747
time_from: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
4848
"""The start date of the report period (ISO 8601).
4949
50-
The report starts from the beginning of this day.
50+
The report starts from the beginning of this day in UTC.
5151
"""
5252

5353
time_to: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
5454
"""The end date of the report period (ISO 8601).
5555
56-
The report ends just before the beginning of this day.
56+
The report ends just before the beginning of this day in UTC.
5757
"""
5858

5959
enable_last_day: bool

src/gcore/types/cloud/usage_report_get_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ class UsageReportGetParams(TypedDict, total=False):
4747
time_from: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
4848
"""The start date of the report period (ISO 8601).
4949
50-
The report starts from the beginning of this day.
50+
The report starts from the beginning of this day in UTC.
5151
"""
5252

5353
time_to: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
5454
"""The end date of the report period (ISO 8601).
5555
56-
The report ends just before the beginning of this day.
56+
The report ends just before the beginning of this day in UTC.
5757
"""
5858

5959
enable_last_day: bool

0 commit comments

Comments
 (0)