# 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-tasks/samples/snippets/generated"
- "/java-tasks/grpc-google-.*/src"
- "/java-tasks/proto-google-.*/src"
- "/java-tasks/google-.*/src"

deep-preserve-regex:
- "/java-tasks/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
- "/java-tasks/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksSmokeTest.java"
- "/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ProjectName.java"
- "/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ProjectName.java"
- "/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ProjectName.java"

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

api-name: cloudtasks
