# 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-iam/grpc-google-.*/src"
  - "/java-iam/proto-google-.*/src"

deep-preserve-regex:
  - "/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
  - "/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1"

deep-copy-regex:
  - source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src"
    dest: "/owl-bot-staging/java-iam/v1/grpc-google-iam-v1/src"
  - source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src"
    dest: "/owl-bot-staging/java-iam/v1/proto-google-iam-v1/src"
  - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src"
    dest: "/owl-bot-staging/java-iam/v2beta/grpc-google-iam-v2beta/src"
  - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src"
    dest: "/owl-bot-staging/java-iam/v2beta/proto-google-iam-v2beta/src"
  - source: "/google/iam/v2/google-cloud-iam-v2-java/grpc-google-cloud-iam-v2-java/src"
    dest: "/owl-bot-staging/java-iam/v2/grpc-google-iam-v2/src"
  - source: "/google/iam/v2/google-cloud-iam-v2-java/proto-google-cloud-iam-v2-java/src"
    dest: "/owl-bot-staging/java-iam/v2/proto-google-iam-v2/src"

api-name: iam
