From 7f45f729c16d0f67374f317c6da4170a5151e3fd Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 8 Jul 2022 12:29:13 +0530 Subject: [PATCH 01/52] docs(samples): add iam deny samples and test (#371) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs(samples): init add iam deny samples and test * docs(samples): added comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs(samples): add pom.xml and removed jupiter dependency * minor lro update and refactoring * added comments and minor refactoring * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * added region tags * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * updated acc to review comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- iam/cloud-client/snippets/pom.xml | 97 +++++++++++ .../src/main/java/CreateDenyPolicy.java | 164 ++++++++++++++++++ .../src/main/java/DeleteDenyPolicy.java | 87 ++++++++++ .../snippets/src/main/java/GetDenyPolicy.java | 72 ++++++++ .../src/main/java/ListDenyPolicies.java | 67 +++++++ .../src/main/java/UpdateDenyPolicy.java | 158 +++++++++++++++++ .../snippets/src/test/java/DenyIT.java | 130 ++++++++++++++ 7 files changed, 775 insertions(+) create mode 100644 iam/cloud-client/snippets/pom.xml create mode 100644 iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java create mode 100644 iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java create mode 100644 iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java create mode 100644 iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java create mode 100644 iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java create mode 100644 iam/cloud-client/snippets/src/test/java/DenyIT.java diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml new file mode 100644 index 00000000000..d903f7784ae --- /dev/null +++ b/iam/cloud-client/snippets/pom.xml @@ -0,0 +1,97 @@ + + + + iam-deny-samples + 4.0.0 + 1.0-SNAPSHOT + + + + + com.google.apis + google-api-services-cloudresourcemanager + v3-rev20211107-1.32.1 + + + com.google.auth + google-auth-library-oauth2-http + 1.4.0 + + + com.google.http-client + google-http-client-jackson2 + 1.41.8 + + + com.google.apis + google-api-services-iam + v2beta-rev20220526-1.32.1 + + + com.google.apis + google-api-services-iamcredentials + v1-rev20211203-1.32.1 + + + + + truth + com.google.truth + test + 1.1.3 + + + junit + junit + test + 4.13.2 + + + + + + + + libraries-bom + com.google.cloud + import + pom + 25.0.0 + + + + + + + shared-configuration + com.google.cloud.samples + 1.2.0 + + + + 11 + 11 + + + gce-diregapic + + diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java new file mode 100644 index 00000000000..a41b6fc1c30 --- /dev/null +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -0,0 +1,164 @@ +/* + * Copyright 2022 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. + */ + +// [START iam_create_deny_policy] + +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DenyRule; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyRule; +import com.google.longrunning.Operation; +import com.google.type.Expr; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class CreateDenyPolicy { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + // ID or number of the Google Cloud project you want to use. + String projectId = "sitalakshmi-deny"; + + // Specify the id of the Deny policy you want to create. + String policyId = "deny-policy-id-1"; + + createDenyPolicy(projectId, policyId); + } + + // Create a deny policy. + // You can add deny policies to organizations, folders, and projects. + // Each of these resources can have up to 5 deny policies. + // + // Deny policies contain deny rules, which specify the following: + // 1. The permissions to deny and/or exempt. + // 2. The principals that are denied, or exempted from denial. + // 3. An optional condition on when to enforce the deny rules. + public static void createDenyPolicy(String projectId, String policyId) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); + + DenyRule denyRule = + DenyRule.newBuilder() + // Add one or more principals who should be denied the permissions specified in this + // rule. + // For more information on allowed values, see: + // https://cloud.google.com/iam/docs/principal-identifiers + .addDeniedPrincipals("principalSet://goog/public:all") + + // Optionally, set the principals who should be exempted from the + // list of denied principals. For example, if you want to deny certain permissions + // to a group but exempt a few principals, then add those here. + // .addExceptionPrincipals( + // "principalSet://goog/group/project-admins@example.com") + + // Set the permissions to deny. + // The permission value is of the format: service_fqdn/resource.action + // For the list of supported permissions, see: + // https://cloud.google.com/iam/help/deny/supported-permissions + .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") + + // Optionally, add the permissions to be exempted from this rule. + // Meaning, the deny rule will not be applicable to these permissions. + // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.create") + + // Set the condition which will enforce the deny rule. If this condition is true, + // the deny rule will be applicable. Else, the rule will not be enforced. + .setDenialCondition( + Expr.newBuilder() + // The expression uses Common Expression Language syntax (CEL). + // Here we block access based on tags. + // + // A tag is a key-value pair that can be attached to an organization, folder, + // or project. You can use deny policies to deny permissions based on tags + // without adding an IAM Condition to every role grant. + // For example, imagine that you tag all of your projects as dev, test, or + // prod. You want only members of project-admins@example.com to be able to + // perform operations on projects that are tagged prod. + // To solve this problem, you create a deny rule that denies the + // cloudresourcemanager.googleapis.com/projects.delete permission to everyone + // except project-admins@example.com for resources that are tagged test. + .setExpression("!resource.matchTag('12345678/env', 'test')") + .setTitle("Only for test projects") + .build()) + .build(); + + // Add the deny rule and a description for it. + Policy policy = + Policy.newBuilder() + // Set the deny rule. + .addRules( + PolicyRule.newBuilder() + // Set a description for the rule. + .setDescription( + "block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value test") + .setDenyRule(denyRule) + .build()) + .build(); + + // Set the policy resource path, policy rules and a unique ID for the policy. + CreatePolicyRequest createPolicyRequest = + CreatePolicyRequest.newBuilder() + .setParent(policyParent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + + // Build the create policy request. + Operation operation = + policiesClient + .createPolicyCallable() + .futureCall(createPolicyRequest) + .get(3, TimeUnit.MINUTES); + + // Wait for the operation to complete. + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in creating the policy " + operation.getError()); + return; + } + + // Retrieve the policy name. + Policy response = policiesClient.getPolicy(String.format("%s/%s", policyParent, policyId)); + String policyName = response.getName(); + System.out.println( + "Created the deny policy: " + policyName.substring(policyName.lastIndexOf("/") + 1)); + } + } +} +// [END iam_create_deny_policy] diff --git a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java new file mode 100644 index 00000000000..bf98545c22d --- /dev/null +++ b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java @@ -0,0 +1,87 @@ +/* + * Copyright 2022 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. + */ + +// [START iam_delete_deny_policy] + +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.PoliciesClient; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class DeleteDenyPolicy { + + public static void main(String[] args) + throws IOException, InterruptedException, ExecutionException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + deleteDenyPolicy(projectId, policyId); + } + + // Delete the policy if you no longer want to enforce the rules in a deny policy. + public static void deleteDenyPolicy(String projectId, String policyId) + throws IOException, InterruptedException, ExecutionException, TimeoutException { + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + // Create the DeletePolicy request. + DeletePolicyRequest deletePolicyRequest = + DeletePolicyRequest.newBuilder().setName(policyParent).build(); + + // Delete the policy and wait for the operation to complete. + Operation operation = + policiesClient + .deletePolicyCallable() + .futureCall(deletePolicyRequest) + .get(3, TimeUnit.MINUTES); + + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in deleting the policy " + operation.getError()); + return; + } + + System.out.println("Deleted the deny policy: " + policyId); + } + } +} +// [END iam_delete_deny_policy] diff --git a/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java new file mode 100644 index 00000000000..10b1b5c2451 --- /dev/null +++ b/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java @@ -0,0 +1,72 @@ +/* + * Copyright 2022 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. + */ + +// [START iam_get_deny_policy] + +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + +public class GetDenyPolicy { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + getDenyPolicy(projectId, policyId); + } + + // Retrieve the deny policy given the project ID and policy ID. + public static void getDenyPolicy(String projectId, String policyId) throws IOException { + // Create the IAM Policies client. + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + // Specify the policyParent and execute the GetPolicy request. + GetPolicyRequest getPolicyRequest = + GetPolicyRequest.newBuilder().setName(policyParent).build(); + + Policy policy = policiesClient.getPolicy(getPolicyRequest); + System.out.printf("Retrieved the deny policy: %s : %s%n", policyId, policy); + } + } +} +// [END iam_get_deny_policy] diff --git a/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java new file mode 100644 index 00000000000..b8f89da3d71 --- /dev/null +++ b/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java @@ -0,0 +1,67 @@ +/* + * Copyright 2022 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. + */ + +// [START iam_list_deny_policy] + +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + +public class ListDenyPolicies { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + listDenyPolicies(projectId); + } + + // List all the deny policies that are attached to a resource. + // A resource can have up to 5 deny policies. + public static void listDenyPolicies(String projectId) throws IOException { + // Initialize the Policies client. + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies" + String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); + + // Create a list request and iterate over the returned policies. + for (Policy policy : policiesClient.listPolicies(policyParent).iterateAll()) { + System.out.println(policy.getName()); + } + System.out.println("Listed all deny policies"); + } + } +} +// [END iam_list_deny_policy] diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java new file mode 100644 index 00000000000..e0846d7c03f --- /dev/null +++ b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -0,0 +1,158 @@ +/* + * Copyright 2022 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. + */ + +// [START iam_update_deny_policy] + +import com.google.iam.v2beta.DenyRule; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyRule; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.type.Expr; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class UpdateDenyPolicy { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the Deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + // Etag field that identifies the policy version. The etag changes each time + // you update the policy. Get the etag of an existing policy by performing a GetPolicy request. + String etag = "policy_etag"; + + updateDenyPolicy(projectId, policyId, etag); + } + + // Update the deny rules and/ or its display name after policy creation. + public static void updateDenyPolicy(String projectId, String policyId, String etag) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached to. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + DenyRule denyRule = + DenyRule.newBuilder() + // Add one or more principals who should be denied the permissions specified in this + // rule. + // For more information on allowed values, see: + // https://cloud.google.com/iam/docs/principal-identifiers + .addDeniedPrincipals("principalSet://goog/public:all") + + // Optionally, set the principals who should be exempted from the list of principals + // added in "DeniedPrincipals". + // Example, if you want to deny certain permissions to a group but exempt a few + // principals, then add those here. + // .addExceptionPrincipals( + // "principalSet://goog/group/project-admins@example.com") + + // Set the permissions to deny. + // The permission value is of the format: service_fqdn/resource.action + // For the list of supported permissions, see: + // https://cloud.google.com/iam/help/deny/supported-permissions + .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") + + // Add the permissions to be exempted from this rule. + // Meaning, the deny rule will not be applicable to these permissions. + // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.get") + + // Set the condition which will enforce the deny rule. + // If this condition is true, the deny rule will be applicable. Else, the rule will + // not be enforced. + .setDenialCondition( + Expr.newBuilder() + // The expression uses Common Expression Language syntax (CEL). Here we block + // access based on tags. + // + // A tag is a key-value pair that can be attached to an organization, folder, + // or project. You can use deny policies to deny permissions based on tags + // without adding an IAM Condition to every role grant. + // For example, imagine that you tag all of your projects as dev, test, or + // prod. You want only members of project-admins@example.com to be able to + // perform operations on projects that are tagged prod. + // To solve this problem, you create a deny rule that denies the + // cloudresourcemanager.googleapis.com/projects.delete permission to everyone + // except project-admins@example.com for resources that are tagged prod. + .setExpression("!resource.matchTag('12345678/env', 'prod')") + .setTitle("Only for prod projects") + .build()) + .build(); + + // Set the policy resource path, version (etag) and the updated deny rules. + Policy policy = + Policy.newBuilder() + .setName(policyParent) + .setEtag(etag) + .addRules( + PolicyRule.newBuilder() + // Set the rule description to update. + .setDescription( + "Block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value prod") + // Set the deny rule to update. + .setDenyRule(denyRule) + .build()) + .build(); + + // Create the update policy request. + UpdatePolicyRequest updatePolicyRequest = + UpdatePolicyRequest.newBuilder().setPolicy(policy).build(); + + // Wait for the operation to complete. + Operation operation = + policiesClient + .updatePolicyCallable() + .futureCall(updatePolicyRequest) + .get(3, TimeUnit.MINUTES); + + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in updating the policy " + operation.getError()); + return; + } + + System.out.println("Updated the deny policy: " + policyId); + } + } +} +// [END iam_update_deny_policy] diff --git a/iam/cloud-client/snippets/src/test/java/DenyIT.java b/iam/cloud-client/snippets/src/test/java/DenyIT.java new file mode 100644 index 00000000000..a0af4cbcfb6 --- /dev/null +++ b/iam/cloud-client/snippets/src/test/java/DenyIT.java @@ -0,0 +1,130 @@ +/* + * Copyright 2022 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. + */ + +import static com.google.common.truth.Truth.assertThat; +import static com.google.common.truth.Truth.assertWithMessage; + +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeoutException; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +public class DenyIT { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String GOOGLE_APPLICATION_CREDENTIALS = + System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); + private static String POLICY_ID; + + private ByteArrayOutputStream stdOut; + + // Check if the required environment variables are set. + public static void requireEnvVar(String envVarName) { + assertWithMessage(String.format("Missing environment variable '%s' ", envVarName)) + .that(System.getenv(envVarName)) + .isNotEmpty(); + } + + @BeforeClass + public static void setUp() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + + POLICY_ID = "limit-project-deletion" + UUID.randomUUID(); + + CreateDenyPolicy.createDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()).contains(String.format("Created the deny policy: %s", POLICY_ID)); + + stdOut.close(); + System.setOut(out); + } + + @AfterClass + public static void cleanup() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + + DeleteDenyPolicy.deleteDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()).contains(String.format("Deleted the deny policy: %s", POLICY_ID)); + + stdOut.close(); + System.setOut(out); + } + + @Before + public void beforeEach() { + stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + } + + @After + public void afterEach() { + stdOut = null; + System.setOut(null); + } + + @Test + public void testListDenyPolicies() throws IOException { + ListDenyPolicies.listDenyPolicies(PROJECT_ID); + assertThat(stdOut.toString()).contains("Listed all deny policies"); + } + + @Test + public void testGetDenyPolicy() throws IOException { + GetDenyPolicy.getDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()) + .contains(String.format("Retrieved the deny policy: %s", POLICY_ID)); + assertThat(stdOut.toString()).contains(POLICY_ID); + } + + @Test + public void testUpdateDenyPolicy() + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + // Get the etag from the Deny policy. + String attachmentPoint = + String.format("cloudresourcemanager.googleapis.com/projects/%s", PROJECT_ID) + .replaceAll("/", "%2F"); + String policyParent = + String.format("policies/%s/denypolicies/%s", attachmentPoint, POLICY_ID); + Policy policy = policiesClient.getPolicy(policyParent); + + // Test policy update. + UpdateDenyPolicy.updateDenyPolicy(PROJECT_ID, POLICY_ID, policy.getEtag()); + assertThat(stdOut.toString()) + .contains(String.format("Updated the deny policy: %s", POLICY_ID)); + } + } +} From caae4e9c9c992eac5b1937b8adb4669c9d2ac428 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:16 +0200 Subject: [PATCH 02/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220619-1.32.1 (#375) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index d903f7784ae..9bb9b5aef56 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20211107-1.32.1 + v3-rev20220619-1.32.1 com.google.auth From ba8d9099bb51c44a1e91743a47628917f3028c53 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:27 +0200 Subject: [PATCH 03/52] chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#376) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 9bb9b5aef56..71e3fa9f294 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 25.0.0 + 25.4.0 From 47f0dd384addfde6b0ae350121492082eee319bc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:38 +0200 Subject: [PATCH 04/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.0 (#377) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 71e3fa9f294..29751b33485 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.4.0 + 1.8.0 com.google.http-client From 2e0f99e79e8f6fa36fdcbf68904802c7dc1bd6d6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:48 +0200 Subject: [PATCH 05/52] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.1 (#378) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 29751b33485..f69dfd75f6d 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.41.8 + 1.42.1 com.google.apis From fbd928f77cecc10cae4ed51a78ff94c64370bc1d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:19:20 +0200 Subject: [PATCH 06/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#379) Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com> --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index f69dfd75f6d..a43094fc1e7 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 25.4.0 + 26.0.0 From 054850ee92893d508df522cdb2e05a991e5feace Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:28:16 +0200 Subject: [PATCH 07/52] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 (#386) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-jackson2](https://togithub.com/googleapis/google-http-java-client) | `1.42.1` -> `1.42.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-http-java-client ### [`v1.42.2`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1422-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1421v1422-2022-07-13) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.1...v1.42.2) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/google-http-java-client/issues/1485)) ([#​1684](https://togithub.com/googleapis/google-http-java-client/issues/1684)) ([9d789f5](https://togithub.com/googleapis/google-http-java-client/commit/9d789f511b907c3970ed9845a4c092fe5458755d))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index a43094fc1e7..726f728dcaf 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.42.1 + 1.42.2 com.google.apis From 3ddee873e9710929b3da300bbfa5bf2ed991df97 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:28:24 +0200 Subject: [PATCH 08/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 (#383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220619-1.32.1` -> `v3-rev20220710-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/compatibility-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/confidence-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 726f728dcaf..a7200a09be5 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220619-1.32.1 + v3-rev20220710-1.32.1 com.google.auth From 0a13e9c1620ae4063624ce9b1a7f3793a65eda54 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:30:11 +0200 Subject: [PATCH 09/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 (#385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.8.0` -> `1.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/compatibility-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/confidence-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-auth-library-java ### [`v1.8.1`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​181-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev180v181-2022-07-13) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.0...v1.8.1) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/google-auth-library-java/issues/1485)) ([#​943](https://togithub.com/googleapis/google-auth-library-java/issues/943)) ([c21ec6c](https://togithub.com/googleapis/google-auth-library-java/commit/c21ec6c952b8bb8fb8bc2e2f1b260beb330a3cd2))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index a7200a09be5..0113a96895d 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.8.0 + 1.8.1 com.google.http-client From ab4010af7b33690ed093f2a901283fd63ef9c1c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Jul 2022 17:40:14 +0200 Subject: [PATCH 10/52] deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 (#390) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220526-1.32.1` -> `v2beta-rev20220713-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/compatibility-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/confidence-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 0113a96895d..082543157f4 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.apis google-api-services-iam - v2beta-rev20220526-1.32.1 + v2beta-rev20220713-1.32.1 com.google.apis From 1de26f8f9922799ab94cdbb794e3e840c79e220e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 20:44:30 +0200 Subject: [PATCH 11/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 (#396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-1.32.1` -> `v3-rev20220710-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/compatibility-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/confidence-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 082543157f4..6a9615ccfa5 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220710-1.32.1 + v3-rev20220710-2.0.0 com.google.auth From f7a663bf9a9ff4a1792c0e39dec107d16f40e05e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 16:58:29 +0200 Subject: [PATCH 12/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 (#400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.8.1` -> `1.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-auth-library-java ### [`v1.9.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​190-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev181v190-2022-08-02) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.1...v1.9.0) ##### Features - integration tests for pluggable auth ([#​939](https://togithub.com/googleapis/google-auth-library-java/issues/939)) ([22f37aa](https://togithub.com/googleapis/google-auth-library-java/commit/22f37aa687b7ffb4209a131860ccdd02f6fc4d42)) ##### Bug Fixes - expiration time of the ImpersonatedCredentials token depending on the current host's timezone ([#​932](https://togithub.com/googleapis/google-auth-library-java/issues/932)) ([73af08a](https://togithub.com/googleapis/google-auth-library-java/commit/73af08a1c5f14e18936e9dbd3d1ba29c2675961d)) ##### Documentation - update wif documentation with enable-imdsv2 flag ([#​940](https://togithub.com/googleapis/google-auth-library-java/issues/940)) ([acc1ce3](https://togithub.com/googleapis/google-auth-library-java/commit/acc1ce3603435f1c0cf23b8606af71b05e566f2f))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 6a9615ccfa5..67cb9532a42 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.8.1 + 1.9.0 com.google.http-client From cd41e9ae53a57a6fb13514787777b8e3f0783745 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:10:24 +0200 Subject: [PATCH 13/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 (#402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-2.0.0` -> `v3-rev20220731-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/compatibility-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/confidence-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 67cb9532a42..c193d8f5532 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220710-2.0.0 + v3-rev20220731-2.0.0 com.google.auth From a2f735d9759a9914ea0573d31a6783a413382e3f Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 5 Aug 2022 04:38:25 +0530 Subject: [PATCH 14/52] docs(samples): update param values (#401) --- iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index a41b6fc1c30..5cbc966e165 100644 --- a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -36,10 +36,10 @@ public static void main(String[] args) throws IOException, ExecutionException, InterruptedException, TimeoutException { // TODO(developer): Replace these variables before running the sample. // ID or number of the Google Cloud project you want to use. - String projectId = "sitalakshmi-deny"; + String projectId = "your-google-cloud-project-id"; // Specify the id of the Deny policy you want to create. - String policyId = "deny-policy-id-1"; + String policyId = "deny-policy-id"; createDenyPolicy(projectId, policyId); } From 674e6a1b9e14def57ad4dc356086488917a21336 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:44:22 +0200 Subject: [PATCH 15/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 (#407) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220731-2.0.0` -> `v3-rev20220807-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/compatibility-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/confidence-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index c193d8f5532..9f3b5dce58c 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220731-2.0.0 + v3-rev20220807-2.0.0 com.google.auth From acfb7df613e4fe057b91de548f55e6e70c9d8067 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:56:29 +0200 Subject: [PATCH 16/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 9f3b5dce58c..2d5fe87d8e0 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.0.0 + 26.1.0 From 79bdc849eed988f6daad5525b50cc29436cb7f69 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:48:21 +0200 Subject: [PATCH 17/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 (#406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.9.0` -> `1.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/compatibility-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/confidence-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-auth-library-java ### [`v1.10.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1100-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev190v1100-2022-08-05) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.9.0...v1.10.0) ##### Features - workforce identity federation for pluggable auth ([#​959](https://togithub.com/googleapis/google-auth-library-java/issues/959)) ([7f2c535](https://togithub.com/googleapis/google-auth-library-java/commit/7f2c535ab7c842a672d6761f4cd80df88e1a37ed)) ##### Bug Fixes - updates executable response spec for executable-sourced credentials ([#​955](https://togithub.com/googleapis/google-auth-library-java/issues/955)) ([48ff83d](https://togithub.com/googleapis/google-auth-library-java/commit/48ff83dc68e29dcae07fdea963cbbe5525f86a89)) ##### Documentation - **samples:** added auth samples and tests ([#​927](https://togithub.com/googleapis/google-auth-library-java/issues/927)) ([32c717f](https://togithub.com/googleapis/google-auth-library-java/commit/32c717fdf1a721f3e7ca3d75f03fcc229923689c))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 2d5fe87d8e0..b9e512fbac5 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.9.0 + 1.10.0 com.google.http-client From 2b5f333ecb6cabdb2e22618f1600dcf6700e0a2e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:12:21 +0200 Subject: [PATCH 18/52] deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 (#403) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220713-1.32.1` -> `v2beta-rev20220713-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/compatibility-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/confidence-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index b9e512fbac5..4ee2f683e63 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.apis google-api-services-iam - v2beta-rev20220713-1.32.1 + v2beta-rev20220713-2.0.0 com.google.apis From bffe69bf132b3f171eafd7e087e576f3255ba803 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 18 Aug 2022 15:50:22 +0200 Subject: [PATCH 19/52] deps: update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 (#404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iamcredentials](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v1-rev20211203-1.32.1` -> `v1-rev20211203-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/compatibility-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/confidence-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 4ee2f683e63..90492bf706e 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.apis google-api-services-iamcredentials - v1-rev20211203-1.32.1 + v1-rev20211203-2.0.0 From 3c4596367058a5b9f742142cf3cfe0862b30b344 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:42:13 +0200 Subject: [PATCH 20/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 (#417) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220807-2.0.0` -> `v3-rev20220828-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/compatibility-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/confidence-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 90492bf706e..5ca1435bbf8 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220807-2.0.0 + v3-rev20220828-2.0.0 com.google.auth From 84fc86a95520f563c332b24bae4e6d779bdb4df1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:42:17 +0200 Subject: [PATCH 21/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#416) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 5ca1435bbf8..b5e3c07eb00 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.1.0 + 26.1.1 From d35ccd3ac83072610b7fa525e4edb277f8cc848b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Sep 2022 22:28:14 +0200 Subject: [PATCH 22/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 (#419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.10.0` -> `1.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-auth-library-java ### [`v1.11.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1110-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1100v1110-2022-09-08) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.10.0...v1.11.0) ##### Features - Adds configurable token lifetime support ([#​982](https://togithub.com/googleapis/google-auth-library-java/issues/982)) ([0198733](https://togithub.com/googleapis/google-auth-library-java/commit/0198733b9d294cbee95f1170f814fbfe94baa6fc)) ##### Bug Fixes - Add retries to public key fetch ([#​983](https://togithub.com/googleapis/google-auth-library-java/issues/983)) ([1200a39](https://togithub.com/googleapis/google-auth-library-java/commit/1200a39361e2a1767ef95306ba3ece1b749e82a8)) - Add Test to validate 0x20 in token ([#​971](https://togithub.com/googleapis/google-auth-library-java/issues/971)) ([612db0a](https://togithub.com/googleapis/google-auth-library-java/commit/612db0af3afa70b5400891ba3c7eab18ea5eb6bf)) - Change revoke request from get to post ([#​979](https://togithub.com/googleapis/google-auth-library-java/issues/979)) ([ead58b2](https://togithub.com/googleapis/google-auth-library-java/commit/ead58b22e04c00ece9f0ea55cbec20d2953f5460)) - Setting the retry count to default value and enabling ioexceptions to retry ([#​988](https://togithub.com/googleapis/google-auth-library-java/issues/988)) ([257071a](https://togithub.com/googleapis/google-auth-library-java/commit/257071aeb39c4441bd152813d727f83d433f346f)) - Updates IdTokenVerifier so that it does not cache a failed public key response ([#​967](https://togithub.com/googleapis/google-auth-library-java/issues/967)) ([1f4c9c7](https://togithub.com/googleapis/google-auth-library-java/commit/1f4c9c77a38fb6dfb751447361af9cf00964f96b))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index b5e3c07eb00..e2bab760e9d 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.10.0 + 1.11.0 com.google.http-client From 8452ae8dc4e4bbdfb684338796bd00ba04b45e36 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:32:40 +0200 Subject: [PATCH 23/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#429) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/compatibility-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/confidence-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index e2bab760e9d..b1fb9963179 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.1.1 + 26.1.2 From 3f49a2129219ebecd3562d34c114fb8c2ead8728 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Wed, 21 Sep 2022 20:45:12 +0530 Subject: [PATCH 24/52] docs(samples): update package names to match v2 (#424) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update package names to match v2 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update pom.xml Co-authored-by: Owl Bot --- iam/cloud-client/snippets/pom.xml | 7 ++++--- .../snippets/src/main/java/CreateDenyPolicy.java | 10 +++++----- .../snippets/src/main/java/DeleteDenyPolicy.java | 4 ++-- .../snippets/src/main/java/GetDenyPolicy.java | 6 +++--- .../snippets/src/main/java/ListDenyPolicies.java | 4 ++-- .../snippets/src/main/java/UpdateDenyPolicy.java | 10 +++++----- iam/cloud-client/snippets/src/test/java/DenyIT.java | 4 ++-- 7 files changed, 23 insertions(+), 22 deletions(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index b1fb9963179..b315a1da073 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -39,9 +39,10 @@ 1.42.2
- com.google.apis - google-api-services-iam - v2beta-rev20220713-2.0.0 + com.google.cloud + google-iam-policy + 1.6.0 + compile com.google.apis diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index 5cbc966e165..d9ea32daa58 100644 --- a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -16,11 +16,11 @@ // [START iam_create_deny_policy] -import com.google.iam.v2beta.CreatePolicyRequest; -import com.google.iam.v2beta.DenyRule; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; -import com.google.iam.v2beta.PolicyRule; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DenyRule; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyRule; import com.google.longrunning.Operation; import com.google.type.Expr; import java.io.IOException; diff --git a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java index bf98545c22d..ef0b9d4907f 100644 --- a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java @@ -16,8 +16,8 @@ // [START iam_delete_deny_policy] -import com.google.iam.v2beta.DeletePolicyRequest; -import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.PoliciesClient; import com.google.longrunning.Operation; import java.io.IOException; import java.net.URLEncoder; diff --git a/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java index 10b1b5c2451..0cf4e96c8a4 100644 --- a/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java @@ -16,9 +16,9 @@ // [START iam_get_deny_policy] -import com.google.iam.v2beta.GetPolicyRequest; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.IOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; diff --git a/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java index b8f89da3d71..566a5946df1 100644 --- a/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java +++ b/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java @@ -16,8 +16,8 @@ // [START iam_list_deny_policy] -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.IOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java index e0846d7c03f..28e6bb91a70 100644 --- a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -16,11 +16,11 @@ // [START iam_update_deny_policy] -import com.google.iam.v2beta.DenyRule; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; -import com.google.iam.v2beta.PolicyRule; -import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.iam.v2.DenyRule; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyRule; +import com.google.iam.v2.UpdatePolicyRequest; import com.google.longrunning.Operation; import com.google.type.Expr; import java.io.IOException; diff --git a/iam/cloud-client/snippets/src/test/java/DenyIT.java b/iam/cloud-client/snippets/src/test/java/DenyIT.java index a0af4cbcfb6..76db0dbcd7c 100644 --- a/iam/cloud-client/snippets/src/test/java/DenyIT.java +++ b/iam/cloud-client/snippets/src/test/java/DenyIT.java @@ -17,8 +17,8 @@ import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; From 939a36ebb1c0f0bf553e7833fc06aaea3adef307 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Sep 2022 18:08:33 +0200 Subject: [PATCH 25/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 (#435) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220828-2.0.0` -> `v3-rev20220911-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/compatibility-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/confidence-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index b315a1da073..34035349a91 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220828-2.0.0 + v3-rev20220911-2.0.0 com.google.auth From fa6d8d9c9d212894d541442636245ceedc32a3b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:36:37 +0200 Subject: [PATCH 26/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 (#439) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220911-2.0.0` -> `v3-rev20220925-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/compatibility-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/confidence-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 34035349a91..4c4ddf75657 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220911-2.0.0 + v3-rev20220925-2.0.0 com.google.auth From c9aee66f37d6afc16421567af4fec520f4ea63ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:58:35 +0200 Subject: [PATCH 27/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.1 (#434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​161-httpsgithubcomgoogleapisjava-iamcomparev160v161-2022-09-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) ##### Dependencies - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​425](https://togithub.com/googleapis/java-iam/issues/425)) ([61cbdf4](https://togithub.com/googleapis/java-iam/commit/61cbdf4c4ad3c559670cc39c864dfd03f8303667))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 4c4ddf75657..44a9522b5fa 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.0 + 1.6.1 compile From d223960b3f45934d06b2fd463bd6beeda4bf0f9e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:18:16 +0200 Subject: [PATCH 28/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.2 (#467) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​162-httpsgithubcomgoogleapisjava-iamcomparev161v162-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) ##### Documentation - **samples:** Update package names to match v2 ([#​424](https://togithub.com/googleapis/java-iam/issues/424)) ([7fda749](https://togithub.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) ##### Dependencies - Update dependency cachetools to v5 ([#​459](https://togithub.com/googleapis/java-iam/issues/459)) ([3984974](https://togithub.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) - Update dependency certifi to v2022.9.24 ([#​440](https://togithub.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://togithub.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) - Update dependency charset-normalizer to v2.1.1 ([#​444](https://togithub.com/googleapis/java-iam/issues/444)) ([4bac18b](https://togithub.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) - Update dependency click to v8.1.3 ([#​445](https://togithub.com/googleapis/java-iam/issues/445)) ([e21bea2](https://togithub.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#​435](https://togithub.com/googleapis/java-iam/issues/435)) ([63a136b](https://togithub.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#​439](https://togithub.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://togithub.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) - Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#​434](https://togithub.com/googleapis/java-iam/issues/434)) ([b468d86](https://togithub.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​463](https://togithub.com/googleapis/java-iam/issues/463)) ([a58810f](https://togithub.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) - Update dependency gcp-releasetool to v1.8.8 ([#​441](https://togithub.com/googleapis/java-iam/issues/441)) ([89469a8](https://togithub.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) - Update dependency google-api-core to v2.10.1 ([#​446](https://togithub.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://togithub.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) - Update dependency google-auth to v2.12.0 ([#​447](https://togithub.com/googleapis/java-iam/issues/447)) ([10fed85](https://togithub.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) - Update dependency google-cloud-core to v2.3.2 ([#​442](https://togithub.com/googleapis/java-iam/issues/442)) ([709e0b4](https://togithub.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) - Update dependency google-cloud-storage to v2.5.0 ([#​448](https://togithub.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://togithub.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) - Update dependency google-crc32c to v1.5.0 ([#​449](https://togithub.com/googleapis/java-iam/issues/449)) ([e54b847](https://togithub.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) - Update dependency googleapis-common-protos to v1.56.4 ([#​443](https://togithub.com/googleapis/java-iam/issues/443)) ([d060a5b](https://togithub.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) - Update dependency importlib-metadata to v4.12.0 ([#​450](https://togithub.com/googleapis/java-iam/issues/450)) ([248b90a](https://togithub.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​464](https://togithub.com/googleapis/java-iam/issues/464)) ([406e890](https://togithub.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​465](https://togithub.com/googleapis/java-iam/issues/465)) ([8735303](https://togithub.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) - Update dependency jeepney to v0.8.0 ([#​451](https://togithub.com/googleapis/java-iam/issues/451)) ([0721ab8](https://togithub.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) - Update dependency jinja2 to v3.1.2 ([#​452](https://togithub.com/googleapis/java-iam/issues/452)) ([514f80c](https://togithub.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) - Update dependency markupsafe to v2.1.1 ([#​454](https://togithub.com/googleapis/java-iam/issues/454)) ([d6123a7](https://togithub.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) - Update dependency protobuf to v3.20.2 ([#​455](https://togithub.com/googleapis/java-iam/issues/455)) ([c9a631a](https://togithub.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) - Update dependency protobuf to v4 ([#​460](https://togithub.com/googleapis/java-iam/issues/460)) ([7738293](https://togithub.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) - Update dependency pyjwt to v2.5.0 ([#​461](https://togithub.com/googleapis/java-iam/issues/461)) ([5f1659f](https://togithub.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) - Update dependency requests to v2.28.1 ([#​456](https://togithub.com/googleapis/java-iam/issues/456)) ([c390fee](https://togithub.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) - Update dependency typing-extensions to v4.3.0 ([#​457](https://togithub.com/googleapis/java-iam/issues/457)) ([913effd](https://togithub.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) - Update dependency zipp to v3.8.1 ([#​458](https://togithub.com/googleapis/java-iam/issues/458)) ([5afe18a](https://togithub.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 44a9522b5fa..312108c0620 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.1 + 1.6.2 compile From 1c150f53c139084cbea74021217a22a182e75a6b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Oct 2022 20:06:24 +0200 Subject: [PATCH 29/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#470) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 312108c0620..92b86bba781 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.2 + 26.1.3 From 8616941bbec698cc3ade6de6dd82f6b215676b72 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:16:32 +0200 Subject: [PATCH 30/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.3 (#472) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​468](https://togithub.com/googleapis/java-iam/issues/468)) ([f6be604](https://togithub.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#​467](https://togithub.com/googleapis/java-iam/issues/467)) ([0af193b](https://togithub.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 92b86bba781..0778c0c84f9 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.2 + 1.6.3 compile From 7e320a8be497ee1f933ef130d7f235da041449d4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 16:38:30 +0200 Subject: [PATCH 31/52] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 (#479) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220925-2.0.0` -> `v3-rev20221016-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/compatibility-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/confidence-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 0778c0c84f9..659069437e5 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220925-2.0.0 + v3-rev20221016-2.0.0 com.google.auth From d74d598caa588c390c0e7ae25aab882757c9eb05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 17:00:21 +0200 Subject: [PATCH 32/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.4 (#475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.4`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​164-httpsgithubcomgoogleapisjava-iamcomparev163v164-2022-10-10) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#​472](https://togithub.com/googleapis/java-iam/issues/472)) ([8f911be](https://togithub.com/googleapis/java-iam/commit/8f911bef57b66ab9dd092ed7912702c038e8565e))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 659069437e5..8f098c2b3d7 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.3 + 1.6.4 compile From 7c1ac81fe9d6830e3c8b857841818f012cd7e8e3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:27:30 +0200 Subject: [PATCH 33/52] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 (#478) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 8f098c2b3d7..2d16a5ee025 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.11.0 + 1.12.1 com.google.http-client From 75d0d158cd569fd9f4df22166012c6dc914d265e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 Oct 2022 21:41:27 +0200 Subject: [PATCH 34/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.5 (#489) --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 2d16a5ee025..646b9131486 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.4 + 1.6.5 compile From 59b087177a57c5f9519fb65df1e39c86c4857e9c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:50:31 +0200 Subject: [PATCH 35/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.6 (#492) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.5` -> `1.6.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/compatibility-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/confidence-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.6`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​166-httpsgithubcomgoogleapisjava-iamcomparev165v166-2022-10-25) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#​489](https://togithub.com/googleapis/java-iam/issues/489)) ([ab8be40](https://togithub.com/googleapis/java-iam/commit/ab8be4088259b25799aa5df0e7cfe944a7da7956))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 646b9131486..df5a900c85b 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.5 + 1.6.6 compile From 2ad11ec82b6661e118fd74005c7e6799ce36b353 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 31 Oct 2022 16:34:17 +0100 Subject: [PATCH 36/52] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 (#498) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-jackson2](https://togithub.com/googleapis/google-http-java-client) | `1.42.2` -> `1.42.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/compatibility-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/confidence-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/google-http-java-client ### [`v1.42.3`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1423-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1422v1423-2022-10-27) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.2...v1.42.3) ##### Bug Fixes - Add [@​CanIgnoreReturnValue](https://togithub.com/CanIgnoreReturnValue) to avoid errorprone errors ([#​1716](https://togithub.com/googleapis/google-http-java-client/issues/1716)) ([cba2f82](https://togithub.com/googleapis/google-http-java-client/commit/cba2f82b8ff7f4ca44616564accd67f95f08247a)) ##### Dependencies - Update actions/checkout action to v3 ([#​1719](https://togithub.com/googleapis/google-http-java-client/issues/1719)) ([6b9585b](https://togithub.com/googleapis/google-http-java-client/commit/6b9585b0539af6b4631d005a61bb2af60804453a)) - Update dependency cachetools to v5 ([#​1732](https://togithub.com/googleapis/google-http-java-client/issues/1732)) ([7d153d3](https://togithub.com/googleapis/google-http-java-client/commit/7d153d3c5e92375bb933f6f12d3a2c5df391b34f)) - Update dependency certifi to v2022.9.24 ([#​1734](https://togithub.com/googleapis/google-http-java-client/issues/1734)) ([3b345df](https://togithub.com/googleapis/google-http-java-client/commit/3b345df3be561bae1e2e4ac4229ab5b66e9b7176)) - Update dependency charset-normalizer to v2.1.1 ([#​1738](https://togithub.com/googleapis/google-http-java-client/issues/1738)) ([a3cbf66](https://togithub.com/googleapis/google-http-java-client/commit/a3cbf66737a166942c3ac499cae85686fdecd512)) - Update dependency click to v8.1.3 ([#​1739](https://togithub.com/googleapis/google-http-java-client/issues/1739)) ([0b2c204](https://togithub.com/googleapis/google-http-java-client/commit/0b2c204bb1e16575c82f165803af5f84d46c5c8a)) - Update dependency com.fasterxml.jackson.core:jackson-core to v2.13.4 ([#​1718](https://togithub.com/googleapis/google-http-java-client/issues/1718)) ([394aa98](https://togithub.com/googleapis/google-http-java-client/commit/394aa98271b02ac62ed35d7040194e8f9c7f41ee)) - Update dependency com.google.code.gson:gson to v2.10 ([#​1761](https://togithub.com/googleapis/google-http-java-client/issues/1761)) ([7d15ad6](https://togithub.com/googleapis/google-http-java-client/commit/7d15ad6a38e5338c42d972d6bacbd8849c35d851)) - Update dependency com.google.code.gson:gson to v2.9.1 ([#​1700](https://togithub.com/googleapis/google-http-java-client/issues/1700)) ([5c17e2b](https://togithub.com/googleapis/google-http-java-client/commit/5c17e2ba56ec094a375f986f58867856ba3192cf)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​1701](https://togithub.com/googleapis/google-http-java-client/issues/1701)) ([0a2e437](https://togithub.com/googleapis/google-http-java-client/commit/0a2e437017bec6ddf09cff99f535c012a43a5fd6)) - Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#​1755](https://togithub.com/googleapis/google-http-java-client/issues/1755)) ([1126e53](https://togithub.com/googleapis/google-http-java-client/commit/1126e53cf6cbcd1170e5ae5a54da31d245115713)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​1694](https://togithub.com/googleapis/google-http-java-client/issues/1694)) ([f86112d](https://togithub.com/googleapis/google-http-java-client/commit/f86112d90ce138dc5cbdca6ddcc50aec3e952740)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​1698](https://togithub.com/googleapis/google-http-java-client/issues/1698)) ([fdabd56](https://togithub.com/googleapis/google-http-java-client/commit/fdabd5672c571c473351ac36248e365f7dd7dcf5)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​1703](https://togithub.com/googleapis/google-http-java-client/issues/1703)) ([bdb8cbd](https://togithub.com/googleapis/google-http-java-client/commit/bdb8cbd83e7c77454e782a7c824e37ef1d011281)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​1722](https://togithub.com/googleapis/google-http-java-client/issues/1722)) ([28ee333](https://togithub.com/googleapis/google-http-java-client/commit/28ee333576e3078a0ad888ee4cc2c664eb8a60e2)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​1751](https://togithub.com/googleapis/google-http-java-client/issues/1751)) ([af16206](https://togithub.com/googleapis/google-http-java-client/commit/af1620620af90f29b12790166b21c9cbb7086ca6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​1756](https://togithub.com/googleapis/google-http-java-client/issues/1756)) ([9119d85](https://togithub.com/googleapis/google-http-java-client/commit/9119d85b2911747358684b6f8ef83374a44734d7)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​1762](https://togithub.com/googleapis/google-http-java-client/issues/1762)) ([02581b8](https://togithub.com/googleapis/google-http-java-client/commit/02581b8d06d781f6349e6a6d963e20cf66769ef7)) - Update dependency gcp-releasetool to v1.8.8 ([#​1735](https://togithub.com/googleapis/google-http-java-client/issues/1735)) ([f24c984](https://togithub.com/googleapis/google-http-java-client/commit/f24c98454f46081eb8c9af8809341ebd605b7915)) - Update dependency google-api-core to v2.10.1 ([#​1740](https://togithub.com/googleapis/google-http-java-client/issues/1740)) ([eacf983](https://togithub.com/googleapis/google-http-java-client/commit/eacf9834fcaa807c891eb6f9bb7957f1830b0b72)) - Update dependency google-auth to v2.12.0 ([#​1741](https://togithub.com/googleapis/google-http-java-client/issues/1741)) ([bfea196](https://togithub.com/googleapis/google-http-java-client/commit/bfea196499c8989e17c7f90ee025a6a840d75aeb)) - Update dependency google-cloud-core to v2.3.2 ([#​1736](https://togithub.com/googleapis/google-http-java-client/issues/1736)) ([a333e1f](https://togithub.com/googleapis/google-http-java-client/commit/a333e1f2a2517bcfa51f945d65781fe8a0579676)) - Update dependency google-cloud-storage to v2.5.0 ([#​1742](https://togithub.com/googleapis/google-http-java-client/issues/1742)) ([8335e66](https://togithub.com/googleapis/google-http-java-client/commit/8335e66f8d175d1669dd02c8ce9007cf6d26eaeb)) - Update dependency google-crc32c to v1.5.0 ([#​1743](https://togithub.com/googleapis/google-http-java-client/issues/1743)) ([3fd3292](https://togithub.com/googleapis/google-http-java-client/commit/3fd32925fcd3464de74e02a4c7ead5f7469fed8e)) - Update dependency importlib-metadata to v4.12.0 ([#​1746](https://togithub.com/googleapis/google-http-java-client/issues/1746)) ([4658601](https://togithub.com/googleapis/google-http-java-client/commit/465860164392085b5cfb8d355529565e3f53721a)) - Update dependency jeepney to v0.8.0 ([#​1747](https://togithub.com/googleapis/google-http-java-client/issues/1747)) ([0866e4d](https://togithub.com/googleapis/google-http-java-client/commit/0866e4dbd882de6385df56ef47e03d56c2c102b1)) - Update dependency jinja2 to v3.1.2 ([#​1748](https://togithub.com/googleapis/google-http-java-client/issues/1748)) ([1507e04](https://togithub.com/googleapis/google-http-java-client/commit/1507e04d99f6d160f7b0c070d63e2d42dab76c2c)) - Update dependency keyring to v23.9.3 ([#​1749](https://togithub.com/googleapis/google-http-java-client/issues/1749)) ([55bcbd7](https://togithub.com/googleapis/google-http-java-client/commit/55bcbd7ede201e3a7ed9ee8b8c43510905fd61c5)) - Update dependency markupsafe to v2.1.1 ([#​1744](https://togithub.com/googleapis/google-http-java-client/issues/1744)) ([a62cace](https://togithub.com/googleapis/google-http-java-client/commit/a62cace610211ca6e9470e5b8e77e42a005733f0)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.7 ([#​1688](https://togithub.com/googleapis/google-http-java-client/issues/1688)) ([8bea209](https://togithub.com/googleapis/google-http-java-client/commit/8bea209c7b23ffb5a57f683ae21889a87f9b7f55)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.8 ([#​1699](https://togithub.com/googleapis/google-http-java-client/issues/1699)) ([fa578e0](https://togithub.com/googleapis/google-http-java-client/commit/fa578e0f7ad6a6c45a0b9de54a936a16a8d345a7)) - Update dependency protobuf to v3.20.2 ([#​1745](https://togithub.com/googleapis/google-http-java-client/issues/1745)) ([3b0fc85](https://togithub.com/googleapis/google-http-java-client/commit/3b0fc8567e55c26676524d81927feb7a6bd82a2f)) - Update dependency protobuf to v4 ([#​1733](https://togithub.com/googleapis/google-http-java-client/issues/1733)) ([99457dd](https://togithub.com/googleapis/google-http-java-client/commit/99457dddbd56e7d284d99227990a5a74fdb6e2e9)) - Update dependency pyjwt to v2.5.0 ([#​1728](https://togithub.com/googleapis/google-http-java-client/issues/1728)) ([c285b9a](https://togithub.com/googleapis/google-http-java-client/commit/c285b9a36bb8b07942f2b7d616b3653465fc2ae2)) - Update dependency requests to v2.28.1 ([#​1729](https://togithub.com/googleapis/google-http-java-client/issues/1729)) ([ee9fc81](https://togithub.com/googleapis/google-http-java-client/commit/ee9fc81d759f2ebb8a36e0eb36c58f7f634b893f)) - Update dependency typing-extensions to v4.3.0 ([#​1730](https://togithub.com/googleapis/google-http-java-client/issues/1730)) ([f8980a4](https://togithub.com/googleapis/google-http-java-client/commit/f8980a41fc77eabeba76326fee5553520a95861d)) - Update dependency zipp to v3.8.1 ([#​1731](https://togithub.com/googleapis/google-http-java-client/issues/1731)) ([49477d4](https://togithub.com/googleapis/google-http-java-client/commit/49477d4207d07bb6dfb00666201f219a01d87d72)) - Update project.appengine.version to v2.0.6 ([#​1704](https://togithub.com/googleapis/google-http-java-client/issues/1704)) ([b33a9c1](https://togithub.com/googleapis/google-http-java-client/commit/b33a9c173a74e631e9d7e04f51df4370f979da10)) - Update project.appengine.version to v2.0.7 ([#​1711](https://togithub.com/googleapis/google-http-java-client/issues/1711)) ([523a260](https://togithub.com/googleapis/google-http-java-client/commit/523a2609bef4b2d4a539a327d353e26f61d9a2c2)) - Update project.appengine.version to v2.0.8 ([#​1723](https://togithub.com/googleapis/google-http-java-client/issues/1723)) ([12a455c](https://togithub.com/googleapis/google-http-java-client/commit/12a455c38b4de3470033be61b06e2beafd911041)) - Update project.appengine.version to v2.0.9 ([#​1753](https://togithub.com/googleapis/google-http-java-client/issues/1753)) ([d047334](https://togithub.com/googleapis/google-http-java-client/commit/d047334616c9a88b00b20e749d2033fc1a6ca6ca))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index df5a900c85b..637cc41397c 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.42.2 + 1.42.3 com.google.cloud From f8f9ffd1cea6776937f25d2fea1542966e7b8040 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 8 Nov 2022 17:46:16 +0100 Subject: [PATCH 37/52] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.4 (#503) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.3` -> `26.1.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/compatibility-slim/26.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/confidence-slim/26.1.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 637cc41397c..f88a424ffb5 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.3 + 26.1.4 From 5d5a69140b3e678358f3aeaa2e46620d22887d59 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 8 Nov 2022 17:50:28 +0100 Subject: [PATCH 38/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.7 (#502) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.6` -> `1.6.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/compatibility-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/confidence-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.7`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​167-httpsgithubcomgoogleapisjava-iamcomparev166v167-2022-10-31) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) ##### Dependencies - Update dependency com.google.api:api-common to v2.2.2 ([#​497](https://togithub.com/googleapis/java-iam/issues/497)) ([bfcb37f](https://togithub.com/googleapis/java-iam/commit/bfcb37f9d46553a13a51bc8c437b6af046cb3c6c)) - Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#​492](https://togithub.com/googleapis/java-iam/issues/492)) ([cb7b782](https://togithub.com/googleapis/java-iam/commit/cb7b782017eb0ecf4914e4a1de252706bec70d6f)) - Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#​498](https://togithub.com/googleapis/java-iam/issues/498)) ([002b226](https://togithub.com/googleapis/java-iam/commit/002b2266fd9db19bade62e219970e7050d2bbbc0)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​495](https://togithub.com/googleapis/java-iam/issues/495)) ([ef4f95b](https://togithub.com/googleapis/java-iam/commit/ef4f95b393a02b96f41743b3bcd8349dda0f9822)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​493](https://togithub.com/googleapis/java-iam/issues/493)) ([fb776ce](https://togithub.com/googleapis/java-iam/commit/fb776ce04129a55ea9ff0b964df624b64b5865a4))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index f88a424ffb5..7e270889b81 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.6 + 1.6.7 compile From 7a5c70991d6407b62c44782313b0f11f077f4c9e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 9 Nov 2022 16:34:42 +0100 Subject: [PATCH 39/52] deps: update dependency com.google.cloud:google-iam-policy to v1.6.8 (#509) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.7` -> `1.6.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/compatibility-slim/1.6.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/confidence-slim/1.6.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-iam ### [`v1.6.8`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​168-httpsgithubcomgoogleapisjava-iamcomparev167v168-2022-11-08) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#​506](https://togithub.com/googleapis/java-iam/issues/506)) ([cc4c8aa](https://togithub.com/googleapis/java-iam/commit/cc4c8aa4dccb6ae97e95a9d176a9ffea5a16dc38)) - Update dependency com.google.cloud:google-iam-policy to v1.6.7 ([#​502](https://togithub.com/googleapis/java-iam/issues/502)) ([b31c868](https://togithub.com/googleapis/java-iam/commit/b31c8686ab53b82589bc080e19aa2187457c92ee))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- iam/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/cloud-client/snippets/pom.xml index 7e270889b81..b5d479265a4 100644 --- a/iam/cloud-client/snippets/pom.xml +++ b/iam/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.7 + 1.6.8 compile From 13d093d3355f8af0e86c8897bbc24183a715fcf4 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Mon, 14 Nov 2022 13:05:23 -0500 Subject: [PATCH 40/52] Update UpdateDenyPolicy.java reduce line length --- iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java index 28e6bb91a70..b3d70e6185a 100644 --- a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -129,7 +129,9 @@ public static void updateDenyPolicy(String projectId, String policyId, String et PolicyRule.newBuilder() // Set the rule description to update. .setDescription( - "Block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value prod") + "Block all principals from deleting projects, unless the principal is a " + + "member of project-admins@example.com and the project being deleted has " + + "a tag with the value prod") // Set the deny rule to update. .setDenyRule(denyRule) .build()) From f815bdcc5274f5365a99d4b325f26d686716e267 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Mon, 14 Nov 2022 13:06:26 -0500 Subject: [PATCH 41/52] Update CreateDenyPolicy.java reduced line length --- iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index d9ea32daa58..528efd263a3 100644 --- a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -127,7 +127,9 @@ public static void createDenyPolicy(String projectId, String policyId) PolicyRule.newBuilder() // Set a description for the rule. .setDescription( - "block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value test") + "block all principals from deleting projects, unless the principal is a " + + "member of project-admins@example.com and the project being deleted has " + + "a tag with the value test") .setDenyRule(denyRule) .build()) .build(); From 411ef80c0a3b388f86e3dbe9ea808c6799711b20 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Mon, 14 Nov 2022 13:16:32 -0500 Subject: [PATCH 42/52] Update UpdateDenyPolicy.java --- .../snippets/src/main/java/UpdateDenyPolicy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java index b3d70e6185a..151fa2d1ddd 100644 --- a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -129,9 +129,9 @@ public static void updateDenyPolicy(String projectId, String policyId, String et PolicyRule.newBuilder() // Set the rule description to update. .setDescription( - "Block all principals from deleting projects, unless the principal is a " + - "member of project-admins@example.com and the project being deleted has " + - "a tag with the value prod") + "Block all principals from deleting projects, unless the principal" + + " is a member of project-admins@example.com and the project" + + "being deleted has a tag with the value prod") // Set the deny rule to update. .setDenyRule(denyRule) .build()) From cdd3833b522e8412249afa75c25dd1c3fb85e79a Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Mon, 14 Nov 2022 13:17:35 -0500 Subject: [PATCH 43/52] Update CreateDenyPolicy.java --- .../snippets/src/main/java/CreateDenyPolicy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index 528efd263a3..19cbceda707 100644 --- a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -127,9 +127,9 @@ public static void createDenyPolicy(String projectId, String policyId) PolicyRule.newBuilder() // Set a description for the rule. .setDescription( - "block all principals from deleting projects, unless the principal is a " + - "member of project-admins@example.com and the project being deleted has " + - "a tag with the value test") + "block all principals from deleting projects, unless the principal" + + " is a member of project-admins@example.com and the project" + + " being deleted has a tag with the value test") .setDenyRule(denyRule) .build()) .build(); From f8c82ce5e4987bc11b71b9f377388dbcde90ce28 Mon Sep 17 00:00:00 2001 From: SitaLakshmi Date: Thu, 17 Nov 2022 21:37:33 +0530 Subject: [PATCH 44/52] testing with secrets --- .kokoro/tests/run_tests.sh | 3 ++- iam/cloud-client/snippets/src/test/java/DenyIT.java | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index a7d7071d0d3..0116fc519d0 100755 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -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-iam-samples-secrets") # create secret dir mkdir -p "${KOKORO_GFILE_DIR}/secrets" diff --git a/iam/cloud-client/snippets/src/test/java/DenyIT.java b/iam/cloud-client/snippets/src/test/java/DenyIT.java index 76db0dbcd7c..b5301a3dcce 100644 --- a/iam/cloud-client/snippets/src/test/java/DenyIT.java +++ b/iam/cloud-client/snippets/src/test/java/DenyIT.java @@ -36,9 +36,9 @@ @RunWith(JUnit4.class) public class DenyIT { - private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String PROJECT_ID = System.getenv("IAM_PROJECT_ID"); private static final String GOOGLE_APPLICATION_CREDENTIALS = - System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); + System.getenv("IAM_CREDENTIALS"); private static String POLICY_ID; private ByteArrayOutputStream stdOut; @@ -56,7 +56,7 @@ public static void setUp() final PrintStream out = System.out; ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); System.setOut(new PrintStream(stdOut)); - requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + // requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); requireEnvVar("GOOGLE_CLOUD_PROJECT"); POLICY_ID = "limit-project-deletion" + UUID.randomUUID(); From 4d0f0979e46d78527ca93e9443e9fa0d3d934b23 Mon Sep 17 00:00:00 2001 From: SitaLakshmi Date: Thu, 17 Nov 2022 21:50:34 +0530 Subject: [PATCH 45/52] updating env variables and removed operation check --- iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java | 2 +- iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java | 2 +- iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java | 2 +- iam/cloud-client/snippets/src/test/java/DenyIT.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index 19cbceda707..f49634e47bb 100644 --- a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -150,7 +150,7 @@ public static void createDenyPolicy(String projectId, String policyId) .get(3, TimeUnit.MINUTES); // Wait for the operation to complete. - if (!operation.getDone() || operation.hasError()) { + if (operation.hasError()) { System.out.println("Error in creating the policy " + operation.getError()); return; } diff --git a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java index ef0b9d4907f..8b500faf61c 100644 --- a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java @@ -75,7 +75,7 @@ public static void deleteDenyPolicy(String projectId, String policyId) .futureCall(deletePolicyRequest) .get(3, TimeUnit.MINUTES); - if (!operation.getDone() || operation.hasError()) { + if (operation.hasError()) { System.out.println("Error in deleting the policy " + operation.getError()); return; } diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java index 151fa2d1ddd..a1885a01f54 100644 --- a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ b/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -148,7 +148,7 @@ public static void updateDenyPolicy(String projectId, String policyId, String et .futureCall(updatePolicyRequest) .get(3, TimeUnit.MINUTES); - if (!operation.getDone() || operation.hasError()) { + if (operation.hasError()) { System.out.println("Error in updating the policy " + operation.getError()); return; } diff --git a/iam/cloud-client/snippets/src/test/java/DenyIT.java b/iam/cloud-client/snippets/src/test/java/DenyIT.java index b5301a3dcce..3cb346588c2 100644 --- a/iam/cloud-client/snippets/src/test/java/DenyIT.java +++ b/iam/cloud-client/snippets/src/test/java/DenyIT.java @@ -56,8 +56,8 @@ public static void setUp() final PrintStream out = System.out; ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); System.setOut(new PrintStream(stdOut)); - // requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); - requireEnvVar("GOOGLE_CLOUD_PROJECT"); + requireEnvVar("IAM_CREDENTIALS"); + requireEnvVar("IAM_PROJECT_ID"); POLICY_ID = "limit-project-deletion" + UUID.randomUUID(); From ec00bb0a10ee5c2481a50680261649ec4c074050 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Thu, 17 Nov 2022 16:39:46 -0500 Subject: [PATCH 46/52] moved snippets out of cloud-client directory --- iam/{cloud-client => }/snippets/pom.xml | 0 .../snippets/src/main/java/CreateDenyPolicy.java | 0 .../snippets/src/main/java/DeleteDenyPolicy.java | 0 iam/{cloud-client => }/snippets/src/main/java/GetDenyPolicy.java | 0 .../snippets/src/main/java/ListDenyPolicies.java | 0 .../snippets/src/main/java/UpdateDenyPolicy.java | 0 iam/{cloud-client => }/snippets/src/test/java/DenyIT.java | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename iam/{cloud-client => }/snippets/pom.xml (100%) rename iam/{cloud-client => }/snippets/src/main/java/CreateDenyPolicy.java (100%) rename iam/{cloud-client => }/snippets/src/main/java/DeleteDenyPolicy.java (100%) rename iam/{cloud-client => }/snippets/src/main/java/GetDenyPolicy.java (100%) rename iam/{cloud-client => }/snippets/src/main/java/ListDenyPolicies.java (100%) rename iam/{cloud-client => }/snippets/src/main/java/UpdateDenyPolicy.java (100%) rename iam/{cloud-client => }/snippets/src/test/java/DenyIT.java (100%) diff --git a/iam/cloud-client/snippets/pom.xml b/iam/snippets/pom.xml similarity index 100% rename from iam/cloud-client/snippets/pom.xml rename to iam/snippets/pom.xml diff --git a/iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/iam/snippets/src/main/java/CreateDenyPolicy.java similarity index 100% rename from iam/cloud-client/snippets/src/main/java/CreateDenyPolicy.java rename to iam/snippets/src/main/java/CreateDenyPolicy.java diff --git a/iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/iam/snippets/src/main/java/DeleteDenyPolicy.java similarity index 100% rename from iam/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java rename to iam/snippets/src/main/java/DeleteDenyPolicy.java diff --git a/iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/iam/snippets/src/main/java/GetDenyPolicy.java similarity index 100% rename from iam/cloud-client/snippets/src/main/java/GetDenyPolicy.java rename to iam/snippets/src/main/java/GetDenyPolicy.java diff --git a/iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/iam/snippets/src/main/java/ListDenyPolicies.java similarity index 100% rename from iam/cloud-client/snippets/src/main/java/ListDenyPolicies.java rename to iam/snippets/src/main/java/ListDenyPolicies.java diff --git a/iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/iam/snippets/src/main/java/UpdateDenyPolicy.java similarity index 100% rename from iam/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java rename to iam/snippets/src/main/java/UpdateDenyPolicy.java diff --git a/iam/cloud-client/snippets/src/test/java/DenyIT.java b/iam/snippets/src/test/java/DenyIT.java similarity index 100% rename from iam/cloud-client/snippets/src/test/java/DenyIT.java rename to iam/snippets/src/test/java/DenyIT.java From 98c45d37503793dd3a3234f1fba6c841b5d25a46 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Thu, 17 Nov 2022 16:55:37 -0500 Subject: [PATCH 47/52] Update run_tests.sh updated run_tests.sh on missing txt suffix --- .kokoro/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index 35b7942cb07..0a0665ff75f 100644 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -75,7 +75,7 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then "java-firestore-samples-secrets.txt" \ "java-cts-v4-samples-secrets.txt" \ "java-cloud-sql-samples-secrets.txt" \ - "java-iam-samples-secrets" \ + "java-iam-samples-secrets.txt" \ "java-scc-samples-secrets.txt") # create secret dir From ddd2c3848ad036d5ff36bb846192a2167dae7a84 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 18 Nov 2022 10:00:37 +0530 Subject: [PATCH 48/52] test setting the executable bit --- .kokoro/tests/run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index 0a0665ff75f..dc1d5042d54 100644 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -80,7 +80,8 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then # create secret dir mkdir -p "${KOKORO_GFILE_DIR}/secrets" - + chmod +x "${KOKORO_GFILE_DIR}/secrets" + for SECRET in "${SECRET_FILES[@]}"; do # grab latest version of secret gcloud secrets versions access latest --secret="${SECRET%.*}" > "${KOKORO_GFILE_DIR}/secrets/$SECRET" From 614107bcde7a6f8c12d8375b444826f1d6b7ddfd Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 18 Nov 2022 10:08:15 +0530 Subject: [PATCH 49/52] update run_tests.sh --- .kokoro/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index dc1d5042d54..bde11222c24 100644 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -80,7 +80,7 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then # create secret dir mkdir -p "${KOKORO_GFILE_DIR}/secrets" - chmod +x "${KOKORO_GFILE_DIR}/secrets" + chmod u+x "${KOKORO_GFILE_DIR}/secrets" for SECRET in "${SECRET_FILES[@]}"; do # grab latest version of secret From ae2de802e15dbd9444f8694ec6d2c5ab3771ccf4 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 18 Nov 2022 10:14:50 +0530 Subject: [PATCH 50/52] Update run_tests.sh --- .kokoro/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index bde11222c24..95b2717bfe9 100644 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -80,13 +80,13 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then # create secret dir mkdir -p "${KOKORO_GFILE_DIR}/secrets" - chmod u+x "${KOKORO_GFILE_DIR}/secrets" for SECRET in "${SECRET_FILES[@]}"; do # grab latest version of secret gcloud secrets versions access latest --secret="${SECRET%.*}" > "${KOKORO_GFILE_DIR}/secrets/$SECRET" # execute secret file contents if [[ "$SECRET" != *json ]]; then + chmod u+x "${KOKORO_GFILE_DIR}/secrets/$SECRET" source "${KOKORO_GFILE_DIR}/secrets/$SECRET" fi done From e5bab91b60ecd9a7321637377cecbb86afaadfa2 Mon Sep 17 00:00:00 2001 From: Charlie Yu Date: Fri, 18 Nov 2022 14:16:14 -0500 Subject: [PATCH 51/52] Update run_tests.sh removed chmod from run_tests.sh --- .kokoro/tests/run_tests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index 95b2717bfe9..e33e5e1c79d 100644 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -86,7 +86,6 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then gcloud secrets versions access latest --secret="${SECRET%.*}" > "${KOKORO_GFILE_DIR}/secrets/$SECRET" # execute secret file contents if [[ "$SECRET" != *json ]]; then - chmod u+x "${KOKORO_GFILE_DIR}/secrets/$SECRET" source "${KOKORO_GFILE_DIR}/secrets/$SECRET" fi done From 64564d1a2a9e04b263871c41bbfc5b4942652cc0 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Tue, 7 Feb 2023 08:46:48 -0800 Subject: [PATCH 52/52] Make executable --- .kokoro/tests/run_tests.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .kokoro/tests/run_tests.sh diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh old mode 100644 new mode 100755