Skip to content

Commit 9677bc8

Browse files
authored
chore: add generation config (#2792)
In this PR: - Add a generation configuration containing `common-protos` and `iam` - Rename `.OwlBot.yaml` to `.OwlBot-hermetic.yaml` and refactor deep copy source dir. - Generate libraries using latest image.
1 parent cf44b07 commit 9677bc8

File tree

446 files changed

+549
-500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+549
-500
lines changed

generation_config.yaml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
gapic_generator_version: 2.40.2-SNAPSHOT
2+
googleapis_commitish: 3d50414a7ff3f0b8ffe8ad7858257396e4f18131
3+
template_excludes:
4+
- .github/*
5+
- .kokoro/*
6+
- samples/*
7+
- CODE_OF_CONDUCT.md
8+
- CONTRIBUTING.md
9+
- LICENSE
10+
- SECURITY.md
11+
- java.header
12+
- license-checks.xml
13+
- README.md
14+
- renovate.json
15+
- .gitignore
16+
17+
# the libraries are ordered with respect to library name, which is
18+
# java-{library.library_name} or java-{library.api-shortname} when
19+
# library.library_name is not defined.
20+
libraries:
21+
- api_shortname: common-protos
22+
name_pretty: Common Protos
23+
product_documentation: https://github.com/googleapis/api-common-protos
24+
api_description: Protobuf classes for Google's common protos.
25+
release_level: stable
26+
client_documentation: https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history
27+
distribution_name: com.google.api.grpc:proto-google-common-protos
28+
excluded_dependencies: "proto-google-common-protos,grpc-google-common-protos,proto-google-common-protos-parent"
29+
excluded_poms: "proto-google-common-protos-bom,proto-google-common-protos"
30+
library_type: OTHER
31+
GAPICs:
32+
- proto_path: google/api
33+
- proto_path: google/apps/card/v1
34+
- proto_path: google/cloud
35+
- proto_path: google/cloud/audit
36+
- proto_path: google/cloud/location
37+
- proto_path: google/geo/type
38+
- proto_path: google/logging/type
39+
- proto_path: google/longrunning
40+
- proto_path: google/rpc
41+
- proto_path: google/rpc/context
42+
- proto_path: google/shopping/type
43+
- proto_path: google/type
44+
- api_shortname: iam
45+
name_pretty: IAM
46+
product_documentation: https://cloud.google.com/iam
47+
api_description: Manages access control for Google Cloud Platform resources
48+
release_level: stable
49+
client_documentation: https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/overview
50+
distribution_name: com.google.api.grpc:proto-google-iam-v1
51+
excluded_dependencies: "grpc-google-iam-v1"
52+
excluded_poms: "proto-google-iam-v1-bom,google-iam-policy,proto-google-iam-v1"
53+
library_type: OTHER
54+
GAPICs:
55+
- proto_path: google/iam/v1
56+
- proto_path: google/iam/v2
57+
- proto_path: google/iam/v2beta

java-common-protos/.OwlBot.yaml renamed to java-common-protos/.OwlBot-hermetic.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -22,50 +22,50 @@ deep-preserve-regex:
2222
- "/java-common-protos/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
2323

2424
deep-copy-regex:
25-
- source: "/google/api/google-api-java/proto-google-api-java/src"
25+
- source: "/google/api/.*-java/proto-google-.*/src"
2626
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
2727

28-
- source: "/google/cloud/audit/google-cloud-audit-java/proto-google-cloud-audit-java/src"
28+
- source: "/google/cloud/audit/.*-java/proto-google-.*/src"
2929
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
3030

3131
# For geo common protos
32-
- source: "/google/geo/type/google-geo-type-java/proto-google-geo-type-java/src"
32+
- source: "/google/geo/type/.*-java/proto-google-.*/src"
3333
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
3434

3535
# For shopping common protos
36-
- source: "/google/shopping/type/google-shopping-type-java/proto-google-shopping-type-java/src"
36+
- source: "/google/shopping/type/.*-java/proto-google-.*/src"
3737
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
3838

3939
# It is only used once in https://github.com/googleapis/googleapis/blob/master/google/chat/v1/BUILD.bazel#L47,
4040
# and technically not a common proto, maybe a violation of AIP-215 if it is not.
4141
# However, it's better to put it here so that we don't have to manually add it to BUILD.bazel file and hermetic build scripts.
42-
- source: "/google/apps/card/v1/google-apps-card-v1-java/proto-google-apps-card-v1-java/src"
42+
- source: "/google/apps/card/v1/.*-java/proto-google-.*/src"
4343
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
4444

45-
- source: "/google/logging/type/google-logging-type-java/proto-google-logging-type-java/src"
45+
- source: "/google/logging/type/.*-java/proto-google-.*/src"
4646
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
4747

48-
- source: "/google/longrunning/google-longrunning-java/proto-google-longrunning-java/src"
48+
- source: "/google/longrunning/.*-java/proto-google-.*/src"
4949
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
5050

51-
- source: "/google/rpc/google-rpc-java/proto-google-rpc-java/src"
51+
- source: "/google/rpc/.*-java/proto-google-.*/src"
5252
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
5353

54-
- source: "/google/rpc/context/google-context-java/proto-google-context-java/src"
54+
- source: "/google/rpc/context/.*-java/proto-google-.*/src"
5555
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
5656

57-
- source: "/google/type/google-type-java/proto-google-type-java/src"
57+
- source: "/google/type/.*-java/proto-google-.*/src"
5858
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
5959

60-
- source: "/google/cloud/google-apps-script-type-java/proto-google-apps-script-type-java/src"
60+
- source: "/google/cloud/.*-java/proto-google-.*/src"
6161
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
6262

63-
- source: "/google/cloud/location/google-cloud-location-java/proto-google-cloud-location-java/src"
63+
- source: "/google/cloud/location/.*-java/proto-google-.*/src"
6464
dest: "/owl-bot-staging/java-common-protos/v1/proto-google-common-protos/src"
6565

66-
- source: "/google/cloud/location/google-cloud-location-java/grpc-google-cloud-location-java/src"
66+
- source: "/google/cloud/location/.*-java/grpc-google-.*/src"
6767
dest: "/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src"
6868

69-
- source: "/google/longrunning/google-longrunning-java/grpc-google-longrunning-java/src"
69+
- source: "/google/longrunning/.*-java/grpc-google-.*/src"
7070
dest: "/owl-bot-staging/java-common-protos/v1/grpc-google-common-protos/src"
7171
api-name: common-protos

java-common-protos/.repo-metadata.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history",
77
"release_level": "stable",
88
"transport": "grpc",
9-
"requires_billing": true,
109
"language": "java",
1110
"repo": "googleapis/sdk-platform-java",
1211
"repo_short": "java-common-protos",
13-
"library_type": "OTHER",
1412
"distribution_name": "com.google.api.grpc:proto-google-common-protos",
13+
"library_type": "OTHER",
14+
"requires_billing": true,
1515
"excluded_dependencies": "proto-google-common-protos,grpc-google-common-protos,proto-google-common-protos-parent",
1616
"excluded_poms": "proto-google-common-protos-bom,proto-google-common-protos"
17-
}
17+
}

java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)