Skip to content

Commit 2c7313c

Browse files
feat: [servicemanagement] Add a proto message to describe the resource_type and resource_permission for an API method (#9687)
* feat: Add a proto message to describe the `resource_type` and `resource_permission` for an API method PiperOrigin-RevId: 550688034 Source-Link: googleapis/googleapis@52a738b Source-Link: https://github.com/googleapis/googleapis-gen/commit/a4242e487cb71adc5cbc5c356348b77ff477f03a Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlLW1hbmFnZW1lbnQvLk93bEJvdC55YW1sIiwiaCI6ImE0MjQyZTQ4N2NiNzFhZGM1Y2JjNWMzNTYzNDhiNzdmZjQ3N2YwM2EifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * ignore iam policy test * ignore failing tests --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: JoeWang1127 <joewa@google.com>
1 parent 967bee2 commit 2c7313c

File tree

3 files changed

+41
-8
lines changed

3 files changed

+41
-8
lines changed

java-service-management/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.19.0</version>
23+
<version>26.21.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-management.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.19.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.20.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-service-management/google-cloud-service-management/src/main/resources/META-INF/native-image/com.google.cloud.api.servicemanagement.v1/reflect-config.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,24 @@
422422
"allDeclaredClasses": true,
423423
"allPublicClasses": true
424424
},
425+
{
426+
"name": "com.google.api.FieldPolicy",
427+
"queryAllDeclaredConstructors": true,
428+
"queryAllPublicConstructors": true,
429+
"queryAllDeclaredMethods": true,
430+
"allPublicMethods": true,
431+
"allDeclaredClasses": true,
432+
"allPublicClasses": true
433+
},
434+
{
435+
"name": "com.google.api.FieldPolicy$Builder",
436+
"queryAllDeclaredConstructors": true,
437+
"queryAllPublicConstructors": true,
438+
"queryAllDeclaredMethods": true,
439+
"allPublicMethods": true,
440+
"allDeclaredClasses": true,
441+
"allPublicClasses": true
442+
},
425443
{
426444
"name": "com.google.api.GoSettings",
427445
"queryAllDeclaredConstructors": true,
@@ -602,6 +620,24 @@
602620
"allDeclaredClasses": true,
603621
"allPublicClasses": true
604622
},
623+
{
624+
"name": "com.google.api.MethodPolicy",
625+
"queryAllDeclaredConstructors": true,
626+
"queryAllPublicConstructors": true,
627+
"queryAllDeclaredMethods": true,
628+
"allPublicMethods": true,
629+
"allDeclaredClasses": true,
630+
"allPublicClasses": true
631+
},
632+
{
633+
"name": "com.google.api.MethodPolicy$Builder",
634+
"queryAllDeclaredConstructors": true,
635+
"queryAllPublicConstructors": true,
636+
"queryAllDeclaredMethods": true,
637+
"allPublicMethods": true,
638+
"allDeclaredClasses": true,
639+
"allPublicClasses": true
640+
},
605641
{
606642
"name": "com.google.api.MethodSettings",
607643
"queryAllDeclaredConstructors": true,

java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,7 @@ public void generateConfigReportExceptionTest() throws Exception {
824824
}
825825
}
826826

827-
@Ignore(
828-
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
827+
@Ignore
829828
@Test
830829
public void setIamPolicyTest() throws Exception {
831830
Policy expectedResponse =
@@ -883,8 +882,7 @@ public void setIamPolicyExceptionTest() throws Exception {
883882
}
884883
}
885884

886-
@Ignore(
887-
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
885+
@Ignore
888886
@Test
889887
public void getIamPolicyTest() throws Exception {
890888
Policy expectedResponse =
@@ -940,8 +938,7 @@ public void getIamPolicyExceptionTest() throws Exception {
940938
}
941939
}
942940

943-
@Ignore(
944-
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
941+
@Ignore
945942
@Test
946943
public void testIamPermissionsTest() throws Exception {
947944
TestIamPermissionsResponse expectedResponse =

0 commit comments

Comments
 (0)