Skip to content

Commit

Permalink
mockgcp: regenerate api
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Jun 6, 2024
1 parent 3c72078 commit d570de8
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 103 deletions.
18 changes: 9 additions & 9 deletions mockgcp/apis/mockgcp/cloud/ids/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,47 +24,47 @@ service ProjectsServer {
service ProjectsLocationsServer {
rpc GetProjectsLocation(GetProjectsLocationRequest) returns (Location){
option (google.api.http) = {
get: "/v1/{name=*}"
get: "/v1/{name=projects/*/locations/*}"
};
}
;
rpc ListProjectsLocations(ListProjectsLocationsRequest) returns (ListLocationsResponse){
option (google.api.http) = {
get: "/v1/{name=*}/locations"
get: "/v1/{name=projects/*}/locations"
};
}
;
}
service ProjectsLocationsEndpointsServer {
rpc CreateProjectsLocationsEndpoint(CreateProjectsLocationsEndpointRequest) returns (.google.longrunning.Operation){
option (google.api.http) = {
post: "/v1/{parent=*}/endpoints"
body: "projects_locations_endpoint"
post: "/v1/{parent=projects/*/locations/*}/endpoints"
body: "projects_locations_endpoint"
};
}
;
rpc DeleteProjectsLocationsEndpoint(DeleteProjectsLocationsEndpointRequest) returns (.google.longrunning.Operation){
option (google.api.http) = {
delete: "/v1/{name=*}"
delete: "/v1/{name=projects/*/locations/*/endpoints/*}"
};
}
;
rpc GetProjectsLocationsEndpoint(GetProjectsLocationsEndpointRequest) returns (Endpoint){
option (google.api.http) = {
get: "/v1/{name=*}"
get: "/v1/{name=projects/*/locations/*/endpoints/*}"
};
}
;
rpc ListProjectsLocationsEndpoints(ListProjectsLocationsEndpointsRequest) returns (ListEndpointsResponse){
option (google.api.http) = {
get: "/v1/{parent=*}/endpoints"
get: "/v1/{parent=projects/*/locations/*}/endpoints"
};
}
;
rpc PatchProjectsLocationsEndpoint(PatchProjectsLocationsEndpointRequest) returns (.google.longrunning.Operation){
option (google.api.http) = {
patch: "/v1/{name=*}"
body: "projects_locations_endpoint"
patch: "/v1/{name=projects/*/locations/*/endpoints/*}"
body: "projects_locations_endpoint"
};
}
;
Expand Down
151 changes: 81 additions & 70 deletions mockgcp/generated/mockgcp/cloud/ids/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d570de8

Please sign in to comment.