Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from main to datacatalog branch #7449

Merged
merged 1,041 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1041 commits
Select commit Hold shift + click to select a range
d8028b3
chore(deps): update dependency com.google.cloud:libraries-bom to v13 …
renovate-bot Oct 20, 2020
526f798
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 21, 2020
bf36b12
test(deps): update dependency com.google.truth:truth to v1.1 (#270)
renovate-bot Oct 22, 2020
e969051
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 23, 2020
31e94dc
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 27, 2020
17f0458
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 30, 2020
5876151
chore(deps): update dependency com.google.cloud:libraries-bom to v14 …
renovate-bot Nov 4, 2020
4c8053c
chore(deps): update dependency com.google.cloud:libraries-bom to v15 …
renovate-bot Nov 5, 2020
89f22ee
chore: moving the leftover samples from java-docs (#299)
munkhuushmgl Nov 6, 2020
157cfba
chore(deps): update dependency com.google.cloud:libraries-bom to v16 …
renovate-bot Nov 19, 2020
a4ebb10
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Dec 15, 2020
1edad3f
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Jan 7, 2021
17fe150
test(deps): update dependency com.google.truth:truth to v1.1.2 (#354)
renovate-bot Jan 25, 2021
00785b1
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Jan 29, 2021
9edf08a
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Feb 10, 2021
3e543c8
test(deps): update dependency junit:junit to v4.13.2 (#374)
renovate-bot Feb 16, 2021
4b9000a
chore(deps): update dependency com.google.cloud:libraries-bom to v17 …
renovate-bot Feb 24, 2021
cf776e4
chore(deps): update dependency com.google.cloud:libraries-bom to v18 …
renovate-bot Feb 25, 2021
d92ab56
chore(deps): update dependency com.google.cloud:libraries-bom to v18.…
renovate-bot Mar 3, 2021
040c37b
chore(deps): update dependency com.google.cloud:libraries-bom to v19 …
renovate-bot Mar 4, 2021
962572b
chore(deps): update dependency com.google.cloud:libraries-bom to v19.…
renovate-bot Mar 17, 2021
22e5b57
chore(deps): update dependency com.google.cloud:libraries-bom to v19.…
renovate-bot Mar 29, 2021
41e5bff
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 9, 2021
323ea5f
chore(deps): update dependency com.google.cloud:libraries-bom to v20 …
renovate-bot Apr 12, 2021
05cabc7
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Apr 19, 2021
370715f
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Apr 29, 2021
9c47a17
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 13, 2021
ea5041c
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 17, 2021
089926b
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 25, 2021
951b4d6
test(deps): update dependency com.google.truth:truth to v1.1.3 (#471)
renovate-bot May 26, 2021
87cb2d0
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jun 7, 2021
adb965b
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Jun 7, 2021
e0926eb
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jun 23, 2021
9a19c04
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jul 9, 2021
d214a91
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jul 28, 2021
b83c84b
chore(deps): update dependency com.google.cloud:libraries-bom to v21 …
renovate-bot Aug 19, 2021
5b504ec
chore(deps): update dependency com.google.cloud:libraries-bom to v22 …
renovate-bot Aug 27, 2021
e2f258a
chore(deps): update dependency com.google.cloud:libraries-bom to v23 …
renovate-bot Sep 13, 2021
b58c7c0
chore(deps): update dependency com.google.cloud:libraries-bom to v23.…
renovate-bot Oct 1, 2021
49c3707
chore(deps): update dependency com.google.cloud:libraries-bom to v24 …
renovate-bot Oct 27, 2021
70d29a5
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Dec 6, 2021
e7161b0
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Dec 8, 2021
e3e8fa6
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Dec 28, 2021
10a33a7
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Jan 7, 2022
4b69f1d
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Jan 18, 2022
bba2163
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Feb 8, 2022
ec65f22
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Mar 3, 2022
00891fc
chore(deps): update dependency com.google.cloud:libraries-bom to v25 …
renovate-bot Mar 14, 2022
0e9625e
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Apr 1, 2022
2f0ec2a
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Apr 27, 2022
f31f4c3
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot May 16, 2022
cf45896
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Jun 6, 2022
50fa749
chore(deps): update dependency com.google.cloud:libraries-bom to v26 …
renovate-bot Jul 12, 2022
6c667c3
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 16, 2022
2f11bf2
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 31, 2022
8d22a46
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 20, 2022
637363d
docs: update classification sample to use v2 model (#899)
wizeng23 Sep 27, 2022
ebf1267
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Oct 7, 2022
a344f46
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Nov 8, 2022
039ae2f
chore: post migration updates - groupId, artifact url, repo references
Shabirmean Nov 17, 2022
68d1191
chore: fix region tag prefix
Shabirmean Nov 17, 2022
c8caa87
chore: fix broken tests
Shabirmean Nov 17, 2022
dcdf266
fix(deps): update dependency com.google.api-client:google-api-client-…
renovate-bot Nov 17, 2022
35f49cd
chore: change [START_EXCLUDE] annotation to [START_EXCLUDE silent]
hegemonic Nov 17, 2022
5d1161a
fix(deps): update dependency com.google.api-client:google-api-client-…
renovate-bot Nov 17, 2022
91bd893
feat: initial code generation
chingor13 Aug 17, 2020
41797db
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Aug 26, 2020
eb83fbb
chore: fix samples dependencies so tests pass (#11)
chingor13 Aug 26, 2020
7234e49
samples: add samples for Dialogflow CX (#15)
jessiexjiang27 Sep 11, 2020
d894eb9
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Oct 2, 2020
20a7028
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Oct 8, 2020
0d536a1
test(deps): update dependency junit:junit to v4.13.1
renovate-bot Oct 12, 2020
8e003aa
test(deps): update dependency com.google.truth:truth to v1.1 (#56)
renovate-bot Oct 22, 2020
230eae7
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Nov 9, 2020
b4919b0
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Nov 13, 2020
9f0428e
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Nov 19, 2020
f60019a
samples: add sample code to query regional Dialogflow CX agent (#100)
jessiexjiang27 Dec 10, 2020
3f6ece2
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Dec 14, 2020
ec6751c
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jan 7, 2021
c944c57
test(deps): update dependency junit:junit to v4.13.2 (#140)
renovate-bot Feb 16, 2021
6b5ea44
test(deps): update dependency com.google.truth:truth to v1.1.2 (#128)
renovate-bot Feb 25, 2021
d54968f
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Feb 25, 2021
44ec887
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Feb 26, 2021
046a6fc
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 9, 2021
db875b1
test(deps): update dependency com.google.truth:truth to v1.1.3 (#223)
renovate-bot May 26, 2021
9333566
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Jun 7, 2021
5e986d1
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jun 17, 2021
8858b4e
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jul 14, 2021
32d56f5
samples: add update intent code sample (#275)
galz10 Aug 12, 2021
ff1a0ab
samples: add create agent code sample (#279)
galz10 Aug 23, 2021
eac0c4b
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 14, 2021
52f3092
samples: add page management code samples (#300)
galz10 Sep 14, 2021
d1eb913
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 27, 2021
43b0887
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 28, 2021
5a8c82e
samples: added list testcase result sample (#315)
galz10 Oct 6, 2021
ac6a732
samples: add voice selection (#333)
galz10 Oct 14, 2021
76ec3df
docs(samples): adds list training phrases sample (#336)
b-loved-dreamer Oct 15, 2021
19fde4e
samples: added webhook sample (#313)
galz10 Nov 11, 2021
19e5a7c
test(deps): update dependency org.mockito:mockito-core to v4 (#359)
renovate-bot Nov 15, 2021
38ec2b8
deps: update dependency com.google.cloud.functions:function-maven-plu…
renovate-bot Nov 15, 2021
cab0e33
deps: update dependency com.google.code.gson:gson to v2.8.9 (#357)
renovate-bot Nov 15, 2021
3cc9b4a
test(deps): update dependency org.mockito:mockito-core to v4.1.0 (#364)
renovate-bot Nov 19, 2021
125b764
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Dec 6, 2021
6297260
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jan 12, 2022
c2278df
test(deps): update dependency org.mockito:mockito-core to v4.3.0 (#378)
renovate-bot Jan 24, 2022
c0a95e3
test(deps): update dependency org.mockito:mockito-core to v4.3.1 (#406)
renovate-bot Feb 2, 2022
dd5f335
deps: update dependency com.google.code.gson:gson to v2.9.0 (#422)
renovate-bot Feb 15, 2022
5e638c9
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Feb 17, 2022
15e5296
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Feb 18, 2022
c9957cf
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Mar 1, 2022
9985299
samples: added lro code snippet and removed webhook snippet (#408)
galz10 Mar 1, 2022
fd9eed5
test(deps): update dependency org.mockito:mockito-core to v4.4.0 (#446)
renovate-bot Mar 8, 2022
b65f979
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Mar 29, 2022
71849b7
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Apr 1, 2022
4a4773e
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Apr 21, 2022
2b3bac4
test(deps): update dependency org.mockito:mockito-core to v4.5.0 (#467)
renovate-bot Apr 21, 2022
12b5312
test(deps): update dependency org.mockito:mockito-core to v4.5.1 (#471)
renovate-bot Apr 22, 2022
7718012
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot May 26, 2022
976c23b
test(deps): update dependency org.mockito:mockito-core to v4.6.1 (#486)
renovate-bot Jun 6, 2022
99c693e
test: remove extra println causing NPE in test (#495)
kweinmeister Jul 1, 2022
4cbd434
ci: use Java 11 for samples testing (#505)
kweinmeister Jul 11, 2022
1ae094d
docs: add DetectIntent samples (#500)
aribray Jul 12, 2022
0b50040
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jul 12, 2022
e2313aa
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Jul 13, 2022
07b8703
docs(samples): add webhook samples (#479)
aribray Jul 16, 2022
e12e2d4
docs(samples): add try blocks to clean up resources in samples and sa…
aribray Jul 19, 2022
f5bd79d
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Aug 2, 2022
abd608c
deps: update dependency com.google.code.gson:gson to v2.9.1 (#528)
renovate-bot Aug 2, 2022
bf8fcb5
test(deps): update dependency org.mockito:mockito-core to v4.7.0 (#534)
renovate-bot Aug 16, 2022
69ab6be
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Aug 16, 2022
b52fd69
deps: update dependency com.google.cloud.functions:function-maven-plu…
renovate-bot Aug 18, 2022
c999eef
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 6, 2022
5e29eec
test(deps): update dependency org.mockito:mockito-core to v4.8.0 (#543)
renovate-bot Sep 8, 2022
8158570
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 20, 2022
821c3e3
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Sep 21, 2022
131f3fc
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
renovate-bot Oct 6, 2022
7cf6d8d
chore: post migration updates - groupId, artifact url, repo references
Shabirmean Nov 16, 2022
eba49f5
chore: remove test for non-migrated sample
Shabirmean Nov 16, 2022
6161d0f
samples: migrate code from googleapis/java-speech (#7437)
Shabirmean Nov 17, 2022
5ea0269
chore: migrate code from googleapis/java-securitycenter
Sita04 Nov 11, 2022
bf357d6
added sample
Sita04 Nov 11, 2022
4c35183
adding scc secrets
Sita04 Nov 17, 2022
4a86a2a
check if the test dataset already exists
Sita04 Nov 17, 2022
87ae799
chore: updated grpc code output (#118)
yoshi-automation Mar 19, 2020
29ecba4
chore(deps): update dependency com.google.cloud:libraries-bom to v4.3…
renovate-bot Mar 23, 2020
3fbe51e
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Mar 25, 2020
68411d1
chore(deps): update dependency com.google.cloud:libraries-bom to v4.4…
renovate-bot Apr 1, 2020
81aca91
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 3, 2020
86de60a
chore(deps): update dependency com.google.cloud:libraries-bom to v4.4…
renovate-bot Apr 6, 2020
4c6e6f1
chore(deps): update dependency com.google.cloud:libraries-bom to v5 (…
renovate-bot Apr 14, 2020
ddf957b
chore(deps): update dependency com.google.cloud:libraries-bom to v5.1…
renovate-bot Apr 14, 2020
62ca967
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 16, 2020
254a4d4
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 17, 2020
93cbfad
chore(deps): update dependency com.google.cloud:libraries-bom to v5.2…
renovate-bot Apr 23, 2020
a3f1240
chore(deps): update dependency com.google.cloud:libraries-bom to v5.3…
renovate-bot Apr 28, 2020
739218c
chore(deps): update dependency com.google.cloud:libraries-bom to v5.4…
renovate-bot May 26, 2020
8035485
chore(deps): update dependency com.google.cloud:libraries-bom to v5.5…
renovate-bot May 29, 2020
6fe9fbc
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Jun 10, 2020
08f6fc9
chore(deps): update dependency com.google.cloud:libraries-bom to v5.7…
renovate-bot Jun 10, 2020
cda59e7
chore(deps): update dependency com.google.cloud:libraries-bom to v6 (…
renovate-bot Jun 16, 2020
331719d
chore(deps): update dependency com.google.cloud:libraries-bom to v7 (…
renovate-bot Jun 17, 2020
2da2697
chore(deps): update dependency com.google.cloud:libraries-bom to v7.0…
renovate-bot Jun 22, 2020
828b764
[Asset] Add quick start code for ExportAssets API (#1254)
peter-zheng-g Nov 15, 2018
141dd5f
[Asset] Add quickstart code for BatchGetAssetsHistory. (#1270)
peter-zheng-g Nov 29, 2018
7f19253
[CloudAsset] Update client library version to use endpoint v1. (#1364)
peter-zheng-g Apr 3, 2019
8471c64
Add quickstart for Real Time Feed API V1P2Beta1 (#1563)
cwxie-google Aug 29, 2019
50df3ae
Update real time feed sample code to user the latest package (#1935)
cwxie-google Jan 15, 2020
ffbae23
add export to bq feature (#2281)
lvvvvvf Apr 21, 2020
a8be911
Update QuickStartIT.java (#2716)
lesv Apr 22, 2020
5ea0f4a
[asset] feat: add samples for SearchAllResources and SearchAllIamPoli…
yuyifan-google Jun 15, 2020
5c10271
chore(deps): update dependency com.google.cloud:libraries-bom to v8 (…
renovate-bot Jun 26, 2020
d034cf2
samples: fix sample dependencies (#247)
chingor13 Jul 7, 2020
ca171ec
chore(deps): update dependency com.google.cloud:libraries-bom to v8.1…
renovate-bot Jul 16, 2020
039ba22
chore(deps): update dependency com.google.cloud:libraries-bom to v9 (…
renovate-bot Aug 14, 2020
0c2996e
chore(deps): update dependency com.google.cloud:libraries-bom to v9.1.0
renovate-bot Aug 17, 2020
ace11d8
samples: Add sample code for Cloud Assets Inventory ListAssets v1p5be…
Larittic-GG Jul 31, 2020
2ea6839
chore(deps): update dependency com.google.cloud:libraries-bom to v10
renovate-bot Sep 10, 2020
a118a70
chore(deps): update dependency com.google.cloud:libraries-bom to v11 …
renovate-bot Sep 24, 2020
0a421d2
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Oct 2, 2020
b0397d4
chore(deps): update dependency com.google.cloud:libraries-bom to v12 …
renovate-bot Oct 6, 2020
880ba98
test(deps): update dependency junit:junit to v4.13.1 (#390)
renovate-bot Oct 12, 2020
4180b25
chore(deps): update dependency com.google.cloud:libraries-bom to v12.…
renovate-bot Oct 15, 2020
05217f9
chore(deps): update dependency com.google.cloud:libraries-bom to v13 …
renovate-bot Oct 20, 2020
b243a26
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 21, 2020
c735176
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 23, 2020
bc8ef26
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 27, 2020
fbe217f
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
renovate-bot Oct 30, 2020
0d3ba17
chore(deps): update dependency com.google.cloud:libraries-bom to v14 …
renovate-bot Nov 4, 2020
807010d
chore(deps): update dependency com.google.cloud:libraries-bom to v15 …
renovate-bot Nov 5, 2020
b1c551d
chore(deps): update dependency com.google.cloud:libraries-bom to v15.…
renovate-bot Nov 12, 2020
ba8086c
chore(deps): update dependency com.google.cloud:libraries-bom to v16 …
renovate-bot Nov 19, 2020
eb18721
samples: Add samples for AnalyzerIamPolicy and AnalyzeIamPolicyLongru…
donghez-google Dec 8, 2020
05699d1
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Dec 15, 2020
a9b99df
chore(samples): remove unused import from sample (#499)
suraj-qlogic Jan 5, 2021
5cbff02
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Jan 7, 2021
0daf86c
refactor(samples): restore stdout to original state in test (#500)
suraj-qlogic Jan 14, 2021
afd8ed8
test(deps): update dependency com.google.truth:truth to v1.1.2 (#519)
renovate-bot Jan 25, 2021
aca1cc0
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Feb 1, 2021
db34555
chore(deps): update dependency com.google.cloud:libraries-bom to v16.…
renovate-bot Feb 10, 2021
410729d
test(deps): update dependency junit:junit to v4.13.2 (#547)
renovate-bot Feb 16, 2021
cc8d45f
chore(deps): update dependency com.google.cloud:libraries-bom to v17 …
renovate-bot Feb 24, 2021
004c97b
chore(deps): update dependency com.google.cloud:libraries-bom to v18 …
renovate-bot Mar 1, 2021
07223c8
chore(deps): update dependency com.google.cloud:libraries-bom to v18.…
renovate-bot Mar 3, 2021
6314950
chore(deps): update dependency com.google.cloud:libraries-bom to v19 …
renovate-bot Mar 4, 2021
5c2234f
chore(deps): update dependency com.google.cloud:libraries-bom to v19.…
renovate-bot Mar 17, 2021
cdb79f9
chore(deps): update dependency com.google.cloud:libraries-bom to v19.…
renovate-bot Mar 29, 2021
2bbb252
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Apr 9, 2021
213e915
chore(deps): update dependency com.google.cloud:libraries-bom to v20 …
renovate-bot Apr 12, 2021
b70280c
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Apr 19, 2021
54e425c
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Apr 29, 2021
c84a657
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 13, 2021
e270be4
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 17, 2021
d8cc7f2
test(deps): update dependency com.google.truth:truth to v1.1.3 (#718)
renovate-bot May 26, 2021
13e9a70
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot May 26, 2021
7e86869
feat: add v1p7beta1 client (#723)
Neenu1995 May 27, 2021
4fd8f59
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jun 7, 2021
894c4c1
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Jun 7, 2021
c8b1727
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jun 25, 2021
d8fc450
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Jul 9, 2021
a96e1de
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
renovate-bot Aug 5, 2021
15bf823
CloudAsset: Update asset lib to v1 for ListAssets sample code (#760)
peter-zheng-g Aug 9, 2021
1b40a08
samples: Refactor the sample test to avoid direct reference the Analy…
aaronlichen-hp Aug 10, 2021
53aaff8
chore(deps): update dependency com.google.cloud:libraries-bom to v21 …
renovate-bot Aug 19, 2021
6371a51
chore(deps): update dependency com.google.cloud:libraries-bom to v22 …
renovate-bot Aug 27, 2021
58408d5
samples: Add relationship and per-type bigquery samples to Cloud Asse…
lvvvvvf Sep 3, 2021
a6c26df
chore(deps): update dependency com.google.cloud:libraries-bom to v23 …
renovate-bot Sep 13, 2021
bb0fa9b
chore(deps): update dependency com.google.cloud:libraries-bom to v23.…
renovate-bot Oct 1, 2021
8c35fcd
chore(deps): update dependency com.google.cloud:libraries-bom to v24 …
renovate-bot Nov 8, 2021
a71e850
chore(deps): update dependency com.google.cloud.samples:shared-config…
renovate-bot Dec 6, 2021
66c51bc
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Dec 8, 2021
39ea4b5
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Dec 28, 2021
a62b024
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Jan 7, 2022
31ed66f
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Jan 18, 2022
96b23eb
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Feb 8, 2022
ad9b578
chore(deps): update dependency com.google.cloud:libraries-bom to v24.…
renovate-bot Mar 3, 2022
8b07132
chore(deps): update dependency com.google.cloud:libraries-bom to v25 …
renovate-bot Mar 14, 2022
ee4f34a
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Apr 1, 2022
8cf52a7
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Apr 27, 2022
3a99e49
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot May 16, 2022
8278ce2
chore(deps): update dependency com.google.cloud:libraries-bom to v25.…
renovate-bot Jun 6, 2022
123f41f
chore(deps): update dependency com.google.cloud:libraries-bom to v26 …
renovate-bot Jul 14, 2022
70e7a37
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 16, 2022
6668df1
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 31, 2022
867a303
chore(samples): Add BatchGetEffectiveIamPolicy code samples (#1325)
haozhang-google Sep 7, 2022
33cadb1
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 20, 2022
f3c0405
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Oct 7, 2022
44b379a
chore: remove assessed samples and refactor tags
minherz Nov 16, 2022
d5f9c94
chore: fix failing tests
minherz Nov 17, 2022
070cf84
chore: add code owners
minherz Nov 17, 2022
8f39f24
chore(jobs): add normalized region tags with product prefix (#7442)
meredithslota Nov 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 10 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
# Code owners file

# This file controls who is tagged for review for any given pull request

# The java-samples-reviewers team is the default owner for anything not
# explicitly taken by someone else.

* @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
# explicitly taken by someone else

* @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver

/bigtable/**/*.java @GoogleCloudPlatform/cloud-native-db-dpes @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/cloud-sql/**/*.java @GoogleCloudPlatform/infra-db-dpes @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/datastore/**/*.java @GoogleCloudPlatform/cloud-native-db-dpes @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/firestore/**/*.java @GoogleCloudPlatform/cloud-native-db-dpes @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/iot/ @gcseh @GoogleCloudPlatform/api-iot @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/logging/ @GoogleCloudPlatform/observability-devx @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/logging/ @GoogleCloudPlatform/dee-platform-ops @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/pubsub/ @GoogleCloudPlatform/api-pubsub-and-pubsublite @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/pubsublite/ @GoogleCloudPlatform/api-pubsub-and-pubsublite @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/storage/**/*.java @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
.github/auto-approve.yml @googleapis/github-automation/ @sofisl @GoogleCloudPlatform/java-samples-reviewers
/asset/ @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/errorreporting/ @GoogleCloudPlatform/dee-platform-ops @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
/monitoring/ @GoogleCloudPlatform/dee-platform-ops @GoogleCloudPlatform/java-samples-reviewers @yoshi-approver
3 changes: 2 additions & 1 deletion .kokoro/tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
"java-functions-samples-secrets.txt" \
"java-firestore-samples-secrets.txt" \
"java-cts-v4-samples-secrets.txt" \
"java-cloud-sql-samples-secrets.txt")
"java-cloud-sql-samples-secrets.txt" \
"java-scc-samples-secrets.txt")

# create secret dir
mkdir -p "${KOKORO_GFILE_DIR}/secrets"
Expand Down
2 changes: 1 addition & 1 deletion appengine-java8/firebase-tictactoe/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-appengine</artifactId>
<version>1.34.1</version>
<version>2.0.1</version>
</dependency>


Expand Down
84 changes: 84 additions & 0 deletions asset/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>cloudasset-snippets</artifactId>
<packaging>jar</packaging>
<name>Google Cloud Asset Inventory Snippets</name>
<url>https://github.com/googleapis/java-asset</url>

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not affect the execution of the samples in anyway.
-->
<parent>
<groupId>com.google.cloud.samples</groupId>
<artifactId>shared-configuration</artifactId>
<version>1.2.0</version>
</parent>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- [START asset_install_with_bom] -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.1.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-asset</artifactId>
</dependency>
<!-- [START_EXCLUDE] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-core</artifactId>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-resourcemanager</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>1.1.3</version>
<scope>test</scope>
</dependency>
<!-- [END_EXCLUDE] -->
</dependencies>
<!-- [END asset_install_with_bom] -->
</project>
65 changes: 65 additions & 0 deletions asset/src/main/java/com/example/asset/AnalyzeIamPolicyExample.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/*
* Copyright 2020 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.
*/

package com.example.asset;

// [START asset_quickstart_analyze_iam_policy]
import com.google.api.gax.rpc.ApiException;
import com.google.cloud.asset.v1.AnalyzeIamPolicyRequest;
import com.google.cloud.asset.v1.AnalyzeIamPolicyResponse;
import com.google.cloud.asset.v1.AssetServiceClient;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector;
import java.io.IOException;

public class AnalyzeIamPolicyExample {

public static void main(String[] args) {
// TODO(developer): Replace these variables before running the sample.
String scope = "organizations/ORG_ID";
String fullResourceName = "//cloudresourcemanager.googleapis.com/projects/PROJ_ID";
analyzeIamPolicy(scope, fullResourceName);
}

// Analyzes accessible IAM policies that match a request.
public static void analyzeIamPolicy(String scope, String fullResourceName) {
ResourceSelector resourceSelector =
ResourceSelector.newBuilder().setFullResourceName(fullResourceName).build();
Options options = Options.newBuilder().setExpandGroups(true).setOutputGroupEdges(true).build();
IamPolicyAnalysisQuery query =
IamPolicyAnalysisQuery.newBuilder()
.setScope(scope)
.setResourceSelector(resourceSelector)
.setOptions(options)
.build();
AnalyzeIamPolicyRequest request =
AnalyzeIamPolicyRequest.newBuilder().setAnalysisQuery(query).build();

// Initialize client that will be used to send requests. This client only needs to be created
// once, and can be reused for multiple requests. After completing all of your requests, call
// the "close" method on the client to safely clean up any remaining background resources.
try (AssetServiceClient client = AssetServiceClient.create()) {
AnalyzeIamPolicyResponse response = client.analyzeIamPolicy(request);
System.out.println("Analyze completed successfully:\n" + response);
} catch (IOException e) {
System.out.println("Failed to create client:\n" + e.toString());
} catch (ApiException e) {
System.out.println("Error during AnalyzeIamPolicy:\n" + e.toString());
}
}
}
// [END asset_quickstart_analyze_iam_policy]
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* Copyright 2020 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.
*/

package com.example.asset;

// [START asset_quickstart_analyze_iam_policy_longrunning_bigquery]
import com.google.api.gax.rpc.ApiException;
import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest;
import com.google.cloud.asset.v1.AssetServiceClient;
import com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig;
import com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector;
import java.io.IOException;
import java.util.concurrent.ExecutionException;

public class AnalyzeIamPolicyLongrunningBigqueryExample {

public static void main(String[] args) {
// TODO(developer): Replace these variables before running the sample.
String scope = "organizations/ORG_ID";
String fullResourceName = "//cloudresourcemanager.googleapis.com/projects/PROJ_ID";
String dataset = "projects/PROJ_ID/datasets/DATASET_ID";
String tablePrefix = "TABLE_PREFIX";
analyzeIamPolicyLongrunning(scope, fullResourceName, dataset, tablePrefix);
}

// Analyzes accessible IAM policies that match a request.
public static void analyzeIamPolicyLongrunning(
String scope, String fullResourceName, String dataset, String tablePrefix) {
ResourceSelector resourceSelector =
ResourceSelector.newBuilder().setFullResourceName(fullResourceName).build();
Options options = Options.newBuilder().setExpandGroups(true).setOutputGroupEdges(true).build();
IamPolicyAnalysisQuery query =
IamPolicyAnalysisQuery.newBuilder()
.setScope(scope)
.setResourceSelector(resourceSelector)
.setOptions(options)
.build();

BigQueryDestination bigQueryDestination =
BigQueryDestination.newBuilder().setDataset(dataset).setTablePrefix(tablePrefix).build();
IamPolicyAnalysisOutputConfig outputConfig =
IamPolicyAnalysisOutputConfig.newBuilder()
.setBigqueryDestination(bigQueryDestination)
.build();

AnalyzeIamPolicyLongrunningRequest request =
AnalyzeIamPolicyLongrunningRequest.newBuilder()
.setAnalysisQuery(query)
.setOutputConfig(outputConfig)
.build();

// Initialize client that will be used to send requests. This client only needs to be created
// once, and can be reused for multiple requests. After completing all of your requests, call
// the "close" method on the client to safely clean up any remaining background resources.
try (AssetServiceClient client = AssetServiceClient.create()) {
System.out.println(
"Analyze completed successfully:\n"
+ client.analyzeIamPolicyLongrunningAsync(request).getMetadata().get());
} catch (IOException e) {
System.out.println("Failed to create client:\n" + e.toString());
} catch (InterruptedException e) {
System.out.println("Operation was interrupted:\n" + e.toString());
} catch (ExecutionException e) {
System.out.println("Operation was aborted:\n" + e.toString());
} catch (ApiException e) {
System.out.println("Error during AnalyzeIamPolicyLongrunning:\n" + e.toString());
}
}
}
// [END asset_quickstart_analyze_iam_policy_longrunning_bigquery]
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
* Copyright 2020 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.
*/

package com.example.asset;

// [START asset_quickstart_analyze_iam_policy_longrunning_gcs]
import com.google.api.gax.rpc.ApiException;
import com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest;
import com.google.cloud.asset.v1.AssetServiceClient;
import com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig;
import com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options;
import com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector;
import java.io.IOException;
import java.util.concurrent.ExecutionException;

public class AnalyzeIamPolicyLongrunningGcsExample {

public static void main(String[] args) {
// TODO(developer): Replace these variables before running the sample.
String scope = "organizations/ORG_ID";
String fullResourceName = "//cloudresourcemanager.googleapis.com/projects/PROJ_ID";
String uri = "gs://BUCKET_NAME/OBJECT_NAME";
analyzeIamPolicyLongrunning(scope, fullResourceName, uri);
}

// Analyzes accessible IAM policies that match a request.
public static void analyzeIamPolicyLongrunning(
String scope, String fullResourceName, String uri) {
ResourceSelector resourceSelector =
ResourceSelector.newBuilder().setFullResourceName(fullResourceName).build();
Options options = Options.newBuilder().setExpandGroups(true).setOutputGroupEdges(true).build();
IamPolicyAnalysisQuery query =
IamPolicyAnalysisQuery.newBuilder()
.setScope(scope)
.setResourceSelector(resourceSelector)
.setOptions(options)
.build();

GcsDestination gcsDestination = GcsDestination.newBuilder().setUri(uri).build();
IamPolicyAnalysisOutputConfig outputConfig =
IamPolicyAnalysisOutputConfig.newBuilder()
.setGcsDestination(GcsDestination.newBuilder().setUri(uri).build())
.build();

AnalyzeIamPolicyLongrunningRequest request =
AnalyzeIamPolicyLongrunningRequest.newBuilder()
.setAnalysisQuery(query)
.setOutputConfig(outputConfig)
.build();

// Initialize client that will be used to send requests. This client only needs to be created
// once, and can be reused for multiple requests. After completing all of your requests, call
// the "close" method on the client to safely clean up any remaining background resources.
try (AssetServiceClient client = AssetServiceClient.create()) {
System.out.println(
"Analyze completed successfully:\n"
+ client.analyzeIamPolicyLongrunningAsync(request).getMetadata().get());
} catch (IOException e) {
System.out.println("Failed to create client:\n" + e.toString());
} catch (InterruptedException e) {
System.out.println("Operation was interrupted:\n" + e.toString());
} catch (ExecutionException e) {
System.out.println("Operation was aborted:\n" + e.toString());
} catch (ApiException e) {
System.out.println("Error during AnalyzeIamPolicyLongrunning:\n" + e.toString());
}
}
}
// [END asset_quickstart_analyze_iam_policy_longrunning_gcs]
Loading