Skip to content

Commit 80942a0

Browse files
authored
feat(cluster): add optional package_id to CreateClusterFromBackupRequest (#175)
1 parent 0c2a8f1 commit 80942a0

7 files changed

Lines changed: 64 additions & 28 deletions

File tree

gen/go/qdrant/cloud/cluster/v1/cluster.pb.go

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/v1/cluster.swagger.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
"in": "query",
5656
"required": false,
5757
"type": "string"
58+
},
59+
{
60+
"name": "packageId",
61+
"description": "The package identifier to use for the new cluster (optional).\nIf not specified, the package from backup cluster will be used.",
62+
"in": "query",
63+
"required": false,
64+
"type": "string"
5865
}
5966
],
6067
"tags": [

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.py

Lines changed: 24 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,16 @@ class QdrantRelease(_message.Message):
474474
def __init__(self, version: _Optional[str] = ..., default: _Optional[bool] = ..., release_notes_url: _Optional[str] = ..., remarks: _Optional[str] = ..., end_of_life: _Optional[bool] = ..., unavailable: _Optional[bool] = ...) -> None: ...
475475

476476
class CreateClusterFromBackupRequest(_message.Message):
477-
__slots__ = ("account_id", "backup_id", "cluster_name")
477+
__slots__ = ("account_id", "backup_id", "cluster_name", "package_id")
478478
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
479479
BACKUP_ID_FIELD_NUMBER: _ClassVar[int]
480480
CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
481+
PACKAGE_ID_FIELD_NUMBER: _ClassVar[int]
481482
account_id: str
482483
backup_id: str
483484
cluster_name: str
484-
def __init__(self, account_id: _Optional[str] = ..., backup_id: _Optional[str] = ..., cluster_name: _Optional[str] = ...) -> None: ...
485+
package_id: str
486+
def __init__(self, account_id: _Optional[str] = ..., backup_id: _Optional[str] = ..., cluster_name: _Optional[str] = ..., package_id: _Optional[str] = ...) -> None: ...
485487

486488
class CreateClusterFromBackupResponse(_message.Message):
487489
__slots__ = ("cluster",)

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,14 @@ export declare type CreateClusterFromBackupRequest = Message<"qdrant.cloud.clust
16661666
* @generated from field: string cluster_name = 3;
16671667
*/
16681668
clusterName: string;
1669+
1670+
/**
1671+
* The package identifier to use for the new cluster (optional).
1672+
* If not specified, the package from backup cluster will be used.
1673+
*
1674+
* @generated from field: optional string package_id = 4;
1675+
*/
1676+
packageId?: string;
16691677
};
16701678

16711679
export declare type CreateClusterFromBackupRequestValid = CreateClusterFromBackupRequest;

0 commit comments

Comments
 (0)