Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: update Java and Python dependencies (#640)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408420890

Source-Link: googleapis/googleapis@2921f9f

Source-Link: googleapis/googleapis-gen@6598ca8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Nov 10, 2021
1 parent d58a1fd commit cb3a2e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Expand Up @@ -1091,7 +1091,7 @@ public void setIamPolicyTest() throws Exception {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.setPolicy(Policy.newBuilder().build())
.build();

Expand All @@ -1118,7 +1118,7 @@ public void setIamPolicyExceptionTest() throws Exception {
try {
SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.setPolicy(Policy.newBuilder().build())
.build();
client.setIamPolicy(request);
Expand All @@ -1140,7 +1140,7 @@ public void getIamPolicyTest() throws Exception {

GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();

Expand All @@ -1167,7 +1167,7 @@ public void getIamPolicyExceptionTest() throws Exception {
try {
GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.setOptions(GetPolicyOptions.newBuilder().build())
.build();
client.getIamPolicy(request);
Expand All @@ -1185,7 +1185,7 @@ public void testIamPermissionsTest() throws Exception {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.addAllPermissions(new ArrayList<String>())
.build();

Expand All @@ -1212,7 +1212,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
try {
TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(SecretName.of("[PROJECT]", "[SECRET]").toString())
.setResource(ProjectName.of("[PROJECT]").toString())
.addAllPermissions(new ArrayList<String>())
.build();
client.testIamPermissions(request);
Expand Down
Expand Up @@ -31,6 +31,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/secretmanager/v1/service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class SecretManagerServiceGrpc {

private SecretManagerServiceGrpc() {}
Expand Down

0 comments on commit cb3a2e3

Please sign in to comment.