Skip to content

Commit db63d58

Browse files
chore(internal): regenerate SDK with no functional changes
1 parent 3c0ca3c commit db63d58

10 files changed

Lines changed: 15 additions & 48 deletions

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-8f6dea0eef78b44b26c72efce3f2a9443d1b431e4a11b4c540c3967ddf0e063e.yml
3-
openapi_spec_hash: 7b0e355f20c891b32efe36e691704b75
4-
config_hash: de54bcc58fea1260a6792f8fd013439b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-5843fddc36a9619ea8a4c4491d6ddb3b8a18a3b9d995391bc7b9265350e6e08f.yml
3+
openapi_spec_hash: c8e7ad218f0999c9b9579724805a9f97
4+
config_hash: 719d606666b99e520b83306733eee5d5

src/gitpod/resources/prebuilds.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,7 @@ def create_warm_pool(
466466
never scale above this value. Must be >= min_size and <= 20.
467467
468468
min_size: min_size is the minimum number of warm instances to maintain. The pool will
469-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
470-
full scale-down.
469+
never scale below this value. Must be >= 1 and <= max_size.
471470
472471
extra_headers: Send extra headers
473472
@@ -705,8 +704,7 @@ def update_warm_pool(
705704
never scale above this value. Must be >= min_size and <= 20.
706705
707706
min_size: min_size updates the minimum number of warm instances to maintain. The pool will
708-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
709-
full scale-down.
707+
never scale below this value. Must be >= 1 and <= max_size.
710708
711709
extra_headers: Send extra headers
712710
@@ -1157,8 +1155,7 @@ async def create_warm_pool(
11571155
never scale above this value. Must be >= min_size and <= 20.
11581156
11591157
min_size: min_size is the minimum number of warm instances to maintain. The pool will
1160-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
1161-
full scale-down.
1158+
never scale below this value. Must be >= 1 and <= max_size.
11621159
11631160
extra_headers: Send extra headers
11641161
@@ -1396,8 +1393,7 @@ async def update_warm_pool(
13961393
never scale above this value. Must be >= min_size and <= 20.
13971394
13981395
min_size: min_size updates the minimum number of warm instances to maintain. The pool will
1399-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
1400-
full scale-down.
1396+
never scale below this value. Must be >= 1 and <= max_size.
14011397
14021398
extra_headers: Send extra headers
14031399

src/gitpod/types/metrics_configuration.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from typing import Optional
44

5-
from pydantic import Field as FieldInfo
6-
75
from .._models import BaseModel
86

97
__all__ = ["MetricsConfiguration"]
@@ -13,12 +11,6 @@ class MetricsConfiguration(BaseModel):
1311
enabled: Optional[bool] = None
1412
"""enabled indicates whether the runner should collect metrics"""
1513

16-
managed_metrics_enabled: Optional[bool] = FieldInfo(alias="managedMetricsEnabled", default=None)
17-
"""
18-
When true, the runner pushes metrics to the management plane via
19-
ReportRunnerMetrics instead of directly to the remote_write endpoint.
20-
"""
21-
2214
password: Optional[str] = None
2315
"""password is the password to use for the metrics collector"""
2416

src/gitpod/types/metrics_configuration_param.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Annotated, TypedDict
6-
7-
from .._utils import PropertyInfo
5+
from typing_extensions import TypedDict
86

97
__all__ = ["MetricsConfigurationParam"]
108

@@ -13,12 +11,6 @@ class MetricsConfigurationParam(TypedDict, total=False):
1311
enabled: bool
1412
"""enabled indicates whether the runner should collect metrics"""
1513

16-
managed_metrics_enabled: Annotated[bool, PropertyInfo(alias="managedMetricsEnabled")]
17-
"""
18-
When true, the runner pushes metrics to the management plane via
19-
ReportRunnerMetrics instead of directly to the remote_write endpoint.
20-
"""
21-
2214
password: str
2315
"""password is the password to use for the metrics collector"""
2416

src/gitpod/types/prebuild_create_warm_pool_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@ class PrebuildCreateWarmPoolParams(TypedDict, total=False):
3838
min_size: Annotated[Optional[int], PropertyInfo(alias="minSize")]
3939
"""
4040
min_size is the minimum number of warm instances to maintain. The pool will
41-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
42-
full scale-down.
41+
never scale below this value. Must be >= 1 and <= max_size.
4342
"""

src/gitpod/types/prebuild_update_warm_pool_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@ class PrebuildUpdateWarmPoolParams(TypedDict, total=False):
2929
min_size: Annotated[Optional[int], PropertyInfo(alias="minSize")]
3030
"""
3131
min_size updates the minimum number of warm instances to maintain. The pool will
32-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
33-
full scale-down.
32+
never scale below this value. Must be >= 1 and <= max_size.
3433
"""

src/gitpod/types/runner_update_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ class SpecConfigurationMetrics(TypedDict, total=False):
3333
enabled: Optional[bool]
3434
"""enabled indicates whether the runner should collect metrics"""
3535

36-
managed_metrics_enabled: Annotated[Optional[bool], PropertyInfo(alias="managedMetricsEnabled")]
37-
"""
38-
When true, the runner pushes metrics to the management plane via
39-
ReportRunnerMetrics instead of directly to the remote_write endpoint.
40-
"""
41-
4236
password: Optional[str]
4337
"""password is the password to use for the metrics collector"""
4438

src/gitpod/types/warm_pool_spec.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ class WarmPoolSpec(BaseModel):
3535
min_size: Optional[int] = FieldInfo(alias="minSize", default=None)
3636
"""
3737
min_size is the minimum number of warm instances to maintain. The pool will
38-
never scale below this value. Must be >= 0 and <= max_size. Set to 0 to allow
39-
full scale-down.
38+
never scale below this value. Must be >= 1 and <= max_size.
4039
"""
4140

4241
snapshot_id: Optional[str] = FieldInfo(alias="snapshotId", default=None)

tests/api_resources/test_prebuilds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_method_create_warm_pool_with_all_params(self, client: Gitpod) -> None:
280280
project_id="b0e12f6c-4c67-429d-a4a6-d9838b5da047",
281281
desired_size=2,
282282
max_size=1,
283-
min_size=20,
283+
min_size=1,
284284
)
285285
assert_matches_type(PrebuildCreateWarmPoolResponse, prebuild, path=["response"])
286286

@@ -440,7 +440,7 @@ def test_method_update_warm_pool_with_all_params(self, client: Gitpod) -> None:
440440
warm_pool_id="a1b2c3d4-5678-9abc-def0-1234567890ab",
441441
desired_size=5,
442442
max_size=1,
443-
min_size=20,
443+
min_size=1,
444444
)
445445
assert_matches_type(PrebuildUpdateWarmPoolResponse, prebuild, path=["response"])
446446

@@ -728,7 +728,7 @@ async def test_method_create_warm_pool_with_all_params(self, async_client: Async
728728
project_id="b0e12f6c-4c67-429d-a4a6-d9838b5da047",
729729
desired_size=2,
730730
max_size=1,
731-
min_size=20,
731+
min_size=1,
732732
)
733733
assert_matches_type(PrebuildCreateWarmPoolResponse, prebuild, path=["response"])
734734

@@ -888,7 +888,7 @@ async def test_method_update_warm_pool_with_all_params(self, async_client: Async
888888
warm_pool_id="a1b2c3d4-5678-9abc-def0-1234567890ab",
889889
desired_size=5,
890890
max_size=1,
891-
min_size=20,
891+
min_size=1,
892892
)
893893
assert_matches_type(PrebuildUpdateWarmPoolResponse, prebuild, path=["response"])
894894

tests/api_resources/test_runners.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None:
5050
"log_level": "LOG_LEVEL_UNSPECIFIED",
5151
"metrics": {
5252
"enabled": True,
53-
"managed_metrics_enabled": True,
5453
"password": "password",
5554
"url": "url",
5655
"username": "username",
@@ -145,7 +144,6 @@ def test_method_update_with_all_params(self, client: Gitpod) -> None:
145144
"log_level": "LOG_LEVEL_UNSPECIFIED",
146145
"metrics": {
147146
"enabled": True,
148-
"managed_metrics_enabled": True,
149147
"password": "password",
150148
"url": "url",
151149
"username": "username",
@@ -559,7 +557,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) ->
559557
"log_level": "LOG_LEVEL_UNSPECIFIED",
560558
"metrics": {
561559
"enabled": True,
562-
"managed_metrics_enabled": True,
563560
"password": "password",
564561
"url": "url",
565562
"username": "username",
@@ -654,7 +651,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncGitpod) ->
654651
"log_level": "LOG_LEVEL_UNSPECIFIED",
655652
"metrics": {
656653
"enabled": True,
657-
"managed_metrics_enabled": True,
658654
"password": "password",
659655
"url": "url",
660656
"username": "username",

0 commit comments

Comments
 (0)