Skip to content

Commit

Permalink
feat: add v2 client (#423)
Browse files Browse the repository at this point in the history
The commit are broken down to make it clear which parts are autogenerated and which parts had to be manually edited.
  • Loading branch information
meltsufin authored Sep 14, 2022
1 parent ebfe1c8 commit b9358a1
Show file tree
Hide file tree
Showing 50 changed files with 24,434 additions and 15 deletions.
36 changes: 21 additions & 15 deletions java-iam/.github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,28 @@ docker:
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"

deep-remove-regex:
- "/grpc-google-.*/src"
- "/proto-google-.*/src"
- "/grpc-google-.*/src"
- "/proto-google-.*/src"

deep-preserve-regex:
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
- "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
- "/proto-google-iam-v1/src/main/proto/google/iam/v1"
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
- "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
- "/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/v1/grpc-google-iam-v1/src"
- source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src"
dest: "/owl-bot-staging/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/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/v2beta/proto-google-iam-v2beta/src"
- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src"
dest: "/owl-bot-staging/v2beta/google-iam-policy/src"
- source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src"
dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src"
- source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src"
dest: "/owl-bot-staging/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/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/v2beta/proto-google-iam-v2beta/src"
- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src"
dest: "/owl-bot-staging/v2beta/google-iam-policy/src"
- source: "/google/iam/v2/google-cloud-iam-v2-java/grpc-google-cloud-iam-v2-java/src"
dest: "/owl-bot-staging/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/v2/proto-google-iam-v2/src"
- source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src"
dest: "/owl-bot-staging/v2/google-iam-policy/src"
9 changes: 9 additions & 0 deletions java-iam/google-iam-policy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v2beta</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v2</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down Expand Up @@ -80,6 +84,11 @@
<artifactId>grpc-google-iam-v2beta</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-iam-v2</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
Expand Down
Loading

0 comments on commit b9358a1

Please sign in to comment.