Skip to content

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

chore: update protojson (#10961)

Danny Xu17f053c3ae17
diff --git a/frontend/src/types/proto/v1/project_service.ts b/frontend/src/types/proto/v1/project_service.ts
index 66283456ab..80164efa92 100644
--- a/frontend/src/types/proto/v1/project_service.ts
+++ b/frontend/src/types/proto/v1/project_service.ts
@@ -6427,7 +6427,7 @@ export const ProjectServiceDefinition = {
58,
1,
42,
- 34,
+ 50,
52,
47,
118,
@@ -7565,7 +7565,7 @@ export const ProjectServiceDefinition = {
58,
1,
42,
- 34,
+ 50,
54,
47,
118,
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 9de8ff0c90..a47452a99b 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -20295,7 +20295,7 @@ The API will default to the BASIC view.</p></td>
<tr>
<td>UpdateProjectGitOpsInfo</td>
- <td>POST</td>
+ <td>PATCH</td>
<td>/v1/{project_gitops_info.name=projects/*/gitOpsInfo}</td>
<td>*</td>
</tr>
@@ -20445,7 +20445,7 @@ The API will default to the BASIC view.</p></td>
<tr>
<td>UpdateProjectProtectionRules</td>
- <td>POST</td>
+ <td>PATCH</td>
<td>/v1/{protection_rules.name=projects/*/protectionRules}</td>
<td>*</td>
</tr>
diff --git a/proto/generated-go/v1/project_service.pb.go b/proto/generated-go/v1/project_service.pb.go
index e0468df84a..37e2823958 100644
--- a/proto/generated-go/v1/project_service.pb.go
+++ b/proto/generated-go/v1/project_service.pb.go
@@ -4674,7 +4674,7 @@ var file_v1_project_service_proto_rawDesc = []byte{
0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22,
- 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f,
+ 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x32, 0x34, 0x2f, 0x76, 0x31, 0x2f,
0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x67, 0x69, 0x74, 0x6f, 0x70, 0x73, 0x5f,
0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x67, 0x69, 0x74, 0x4f, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x7d,
@@ -4829,7 +4829,7 @@ var file_v1_project_service_proto_rawDesc = []byte{
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x41,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
+ 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73,
0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73,
diff --git a/proto/generated-go/v1/project_service.pb.gw.go b/proto/generated-go/v1/project_service.pb.gw.go
index 8bd4c2e291..221974cdd4 100644
--- a/proto/generated-go/v1/project_service.pb.gw.go
+++ b/proto/generated-go/v1/project_service.pb.gw.go
@@ -2445,7 +2445,7 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("POST", pattern_ProjectService_UpdateProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_ProjectService_UpdateProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -2820,7 +2820,7 @@ func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("POST", pattern_ProjectService_UpdateProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_ProjectService_UpdateProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
@@ -3238,7 +3238,7 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("POST", pattern_ProjectService_UpdateProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_ProjectService_UpdateProjectGitOpsInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
@@ -3568,7 +3568,7 @@ func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.Serve
})
- mux.Handle("POST", pattern_ProjectService_UpdateProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("PATCH", pattern_ProjectService_UpdateProjectProtectionRules_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
diff --git a/proto/v1/project_service.proto b/proto/v1/project_service.proto
index 086e06f79c..040838a2d8 100644
--- a/proto/v1/project_service.proto
+++ b/proto/v1/project_service.proto
@@ -115,7 +115,7 @@ service ProjectService {
rpc UpdateProjectGitOpsInfo(UpdateProjectGitOpsInfoRequest) returns (ProjectGitOpsInfo) {
option (google.api.http) = {
- post: "/v1/{project_gitops_info.name=projects/*/gitOpsInfo}"
+ patch: "/v1/{project_gitops_info.name=projects/*/gitOpsInfo}"
body: "*"
};
}
@@ -204,7 +204,7 @@ service ProjectService {
rpc UpdateProjectProtectionRules(UpdateProjectProtectionRulesRequest) returns (ProtectionRules) {
option (google.api.http) = {
- post: "/v1/{protection_rules.name=projects/*/protectionRules}"
+ patch: "/v1/{protection_rules.name=projects/*/protectionRules}"
body: "*"
};
}