Skip to content

Commit

Permalink
feat: [servicemanagement] Add a proto message to describe the `resour…
Browse files Browse the repository at this point in the history
…ce_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: googleapis/googleapis-gen@a4242e4
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>
  • Loading branch information
3 people committed Aug 3, 2023
1 parent 967bee2 commit 2c7313c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
4 changes: 2 additions & 2 deletions java-service-management/README.md
Expand Up @@ -20,7 +20,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.19.0</version>
<version>26.21.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,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-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-management.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.19.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.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
Expand Up @@ -422,6 +422,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.FieldPolicy",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.FieldPolicy$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.GoSettings",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -602,6 +620,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.MethodPolicy",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.MethodPolicy$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.api.MethodSettings",
"queryAllDeclaredConstructors": true,
Expand Down
Expand Up @@ -824,8 +824,7 @@ public void generateConfigReportExceptionTest() throws Exception {
}
}

@Ignore(
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
@Ignore
@Test
public void setIamPolicyTest() throws Exception {
Policy expectedResponse =
Expand Down Expand Up @@ -883,8 +882,7 @@ public void setIamPolicyExceptionTest() throws Exception {
}
}

@Ignore(
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
@Ignore
@Test
public void getIamPolicyTest() throws Exception {
Policy expectedResponse =
Expand Down Expand Up @@ -940,8 +938,7 @@ public void getIamPolicyExceptionTest() throws Exception {
}
}

@Ignore(
"Ignore until https://github.com/googleapis/sdk-platform-java/issues/1839 is resolved. Remove from preserve regex.")
@Ignore
@Test
public void testIamPermissionsTest() throws Exception {
TestIamPermissionsResponse expectedResponse =
Expand Down

0 comments on commit 2c7313c

Please sign in to comment.