Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: list databases request filter comment (#12287)

h3n4lff0c9d7802a2
diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.ts
index f578aae72c..33fa3f7246 100644
--- a/frontend/src/types/proto/v1/database_service.ts
+++ b/frontend/src/types/proto/v1/database_service.ts
@@ -167,7 +167,7 @@ export interface ListDatabasesRequest {
pageToken: string;
/**
* Filter is used to filter databases returned in the list.
- * For example, "project = projects/{project}" can be used to list databases in a project.
+ * For example, `project == "projects/{project}"` can be used to list databases in a project.
* Note: the project filter will be moved to parent.
*/
filter: string;
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 8c4b8a8504..d7247f1465 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -1442,7 +1442,7 @@ paths:
in: query
description: |-
Filter is used to filter databases returned in the list.
- For example, "project = projects/{project}" can be used to list databases in a project.
+ For example, `project == "projects/{project}"` can be used to list databases in a project.
Note: the project filter will be moved to parent.
schema:
type: string
@@ -4524,7 +4524,7 @@ paths:
in: query
description: |-
Filter is used to filter databases returned in the list.
- For example, "project = projects/{project}" can be used to list databases in a project.
+ For example, `project == "projects/{project}"` can be used to list databases in a project.
Note: the project filter will be moved to parent.
schema:
type: string
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index ce50ce4f62..6e9f7d6dcc 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -2721,7 +2721,7 @@ Combine multiple functions with "&&" and "||", we MUST u
| page_token | [string](#string) | | A page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListDatabases` must match the call that provided the page token. |
-| filter | [string](#string) | | Filter is used to filter databases returned in the list. For example, "project = projects/{project}" can be used to list databases in a project. Note: the project filter will be moved to parent. |
+| filter | [string](#string) | | Filter is used to filter databases returned in the list. For example, `project == "projects/{project}"` can be used to list databases in a project. Note: the project filter will be moved to parent. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index a065463664..3fdb479152 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -8217,7 +8217,7 @@ the call that provided the page token. </p></td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>Filter is used to filter databases returned in the list.
-For example, &#34;project = projects/{project}&#34; can be used to list databases in a project.
+For example, `project == &#34;projects/{project}&#34;` can be used to list databases in a project.
Note: the project filter will be moved to parent. </p></td>
</tr>
diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.go
index 3d1707b806..541aed617a 100644
--- a/proto/generated-go/v1/database_service.pb.go
+++ b/proto/generated-go/v1/database_service.pb.go
@@ -583,7 +583,7 @@ type ListDatabasesRequest struct {
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter is used to filter databases returned in the list.
- // For example, "project = projects/{project}" can be used to list databases in a project.
+ // For example, `project == "projects/{project}"` can be used to list databases in a project.
// Note: the project filter will be moved to parent.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
}
diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.proto
index eabc388e54..d8902faeac 100644
--- a/proto/v1/database_service.proto
+++ b/proto/v1/database_service.proto
@@ -145,7 +145,7 @@ message ListDatabasesRequest {
string page_token = 3;
// Filter is used to filter databases returned in the list.
- // For example, "project = projects/{project}" can be used to list databases in a project.
+ // For example, `project == "projects/{project}"` can be used to list databases in a project.
// Note: the project filter will be moved to parent.
string filter = 4;
}