# Copyright 2021 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.


deep-remove-regex:
- "/java-debugger-client/grpc-google-.*/src"
- "/java-debugger-client/proto-google-cloud.*/src"
- "/java-debugger-client/google-.*/src"
- "/java-debugger-client/samples/snippets/generated"

deep-preserve-regex:
- "/java-debugger-client/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"

deep-copy-regex:
- source: "/google/devtools/clouddebugger/(v.*)/.*-java/proto-google-.*/src"
  dest: "/owl-bot-staging/java-debugger-client/$1/proto-google-cloud-debugger-client-$1/src"
- source: "/google/devtools/clouddebugger/(v.*)/.*-java/grpc-google-.*/src"
  dest: "/owl-bot-staging/java-debugger-client/$1/grpc-google-cloud-debugger-client-$1/src"
- source: "/google/devtools/clouddebugger/(v.*)/.*-java/gapic-google-.*/src"
  dest: "/owl-bot-staging/java-debugger-client/$1/google-cloud-debugger-client/src"
- source: "/google/devtools/clouddebugger/(v.*)/.*-java/samples/snippets/generated"
  dest: "/owl-bot-staging/java-debugger-client/$1/samples/snippets/generated"
- source: "/google/devtools/source/v1/google-devtools-source-v1-java/proto-google-devtools-source-v1-java/src"
  dest: "/owl-bot-staging/java-debugger-client/v1/proto-google-devtools-source-protos/src"

api-name: clouddebugger
