Skip to content

Commit

Permalink
mockgcp:chore: use gapi generated proto for ids
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Jun 5, 2024
1 parent f871623 commit 7b74454
Show file tree
Hide file tree
Showing 12 changed files with 3,896 additions and 1,960 deletions.
4 changes: 2 additions & 2 deletions mockgcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ gen-proto:
--grpc-gateway_opt paths=source_relative \
--experimental_allow_proto3_optional \
./apis/mockgcp/cloud/bigquery/v2/*.proto \
./apis/mockgcp/cloud/ids/v1/*.proto \
./apis/mockgcp/cloud/servicenetworking/v1/*.proto \
./apis/mockgcp/cloud/resourcemanager/v1/*.proto \
./apis/mockgcp/storage/v1/*.proto \
Expand Down Expand Up @@ -69,8 +70,7 @@ gen-proto:
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/configmanagement/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/metering/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/multiclusteringress/*.proto \
./third_party/googleapis/mockgcp/cloud/ids/v1/*.proto
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/multiclusteringress/*.proto

.PHONY: generate-protos-from-openapi
generate-protos-from-openapi:
Expand Down
14 changes: 14 additions & 0 deletions mockgcp/apis/mockgcp/cloud/ids/v1/service.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto2";
package google.cloud.ids.v1;
import "google/api/annotations.proto";
Expand Down
Loading

0 comments on commit 7b74454

Please sign in to comment.