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

feat: [run] Adds support for custom audiences #9618

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.18.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-run.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.19.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.20.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public void createServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -206,6 +207,7 @@ public void createServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -289,6 +291,7 @@ public void getServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -363,6 +366,7 @@ public void getServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -537,6 +541,7 @@ public void updateServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -579,6 +584,7 @@ public void updateServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -640,6 +646,7 @@ public void updateServiceExceptionTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -682,6 +689,7 @@ public void deleteServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -761,6 +769,7 @@ public void deleteServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public void createServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -213,6 +214,7 @@ public void createServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -295,6 +297,7 @@ public void getServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -363,6 +366,7 @@ public void getServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -519,6 +523,7 @@ public void updateServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -595,6 +600,7 @@ public void deleteServiceTest() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down Expand Up @@ -671,6 +677,7 @@ public void deleteServiceTest2() throws Exception {
RevisionName.of("[PROJECT]", "[LOCATION]", "[SERVICE]", "[REVISION]").toString())
.addAllTrafficStatuses(new ArrayList<TrafficTargetStatus>())
.setUri("uri116076")
.addAllCustomAudiences(new ArrayList<String>())
.setSatisfiesPzs(true)
.setReconciling(true)
.setEtag("etag3123477")
Expand Down
Loading