Skip to content

Commit 88c934c

Browse files
authored
refactor(proto): remove optional package_id (#184)
1 parent 158cb92 commit 88c934c

7 files changed

Lines changed: 32 additions & 68 deletions

File tree

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

Lines changed: 3 additions & 17 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: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@
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"
6558
}
6659
],
6760
"tags": [

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

Lines changed: 26 additions & 28 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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,16 +521,14 @@ class QdrantRelease(_message.Message):
521521
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: ...
522522

523523
class CreateClusterFromBackupRequest(_message.Message):
524-
__slots__ = ("account_id", "backup_id", "cluster_name", "package_id")
524+
__slots__ = ("account_id", "backup_id", "cluster_name")
525525
ACCOUNT_ID_FIELD_NUMBER: _ClassVar[int]
526526
BACKUP_ID_FIELD_NUMBER: _ClassVar[int]
527527
CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
528-
PACKAGE_ID_FIELD_NUMBER: _ClassVar[int]
529528
account_id: str
530529
backup_id: str
531530
cluster_name: str
532-
package_id: str
533-
def __init__(self, account_id: _Optional[str] = ..., backup_id: _Optional[str] = ..., cluster_name: _Optional[str] = ..., package_id: _Optional[str] = ...) -> None: ...
531+
def __init__(self, account_id: _Optional[str] = ..., backup_id: _Optional[str] = ..., cluster_name: _Optional[str] = ...) -> None: ...
534532

535533
class CreateClusterFromBackupResponse(_message.Message):
536534
__slots__ = ("cluster",)

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,14 +1755,6 @@ export declare type CreateClusterFromBackupRequest = Message<"qdrant.cloud.clust
17551755
* @generated from field: string cluster_name = 3;
17561756
*/
17571757
clusterName: string;
1758-
1759-
/**
1760-
* The package identifier to use for the new cluster (optional).
1761-
* If not specified, the package from backup cluster will be used.
1762-
*
1763-
* @generated from field: optional string package_id = 4;
1764-
*/
1765-
packageId?: string;
17661758
};
17671759

17681760
export declare type CreateClusterFromBackupRequestValid = CreateClusterFromBackupRequest;

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

proto/qdrant/cloud/cluster/v1/cluster.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,6 @@ message CreateClusterFromBackupRequest {
893893
min_len: 4
894894
pattern: "^[a-zA-Z0-9-_]+$"
895895
}];
896-
// The package identifier to use for the new cluster (optional).
897-
// If not specified, the package from backup cluster will be used.
898-
optional string package_id = 4 [(buf.validate.field).string = {uuid: true}];
899896
}
900897

901898
// CreateClusterFromBackupResponse is the response for the CreateCluster function.

0 commit comments

Comments
 (0)