From e9c1dd2009b1e49bb0989609942aa8dc0c688e37 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:18:17 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#353) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- .../java/com/google/cloud/orgpolicy/v2/OrgPolicyClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyClient.java b/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyClient.java index b3e4a51e4142..f25877ca93af 100644 --- a/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyClient.java +++ b/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyClient.java @@ -381,7 +381,7 @@ public final ListConstraintsPagedResponse listConstraints(ListConstraintsRequest * .build(); * while (true) { * ListConstraintsResponse response = orgPolicyClient.listConstraintsCallable().call(request); - * for (Constraint element : response.getResponsesList()) { + * for (Constraint element : response.getConstraintsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -616,7 +616,7 @@ public final ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request) * .build(); * while (true) { * ListPoliciesResponse response = orgPolicyClient.listPoliciesCallable().call(request); - * for (Policy element : response.getResponsesList()) { + * for (Policy element : response.getPoliciesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();