diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java index ef0c1af3563a..82b08b1d4888 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java @@ -286,7 +286,7 @@ public final ListConnectionsPagedResponse listConnections(ListConnectionsRequest * while (true) { * ListConnectionsResponse response = * connectionServiceClient.listConnectionsCallable().call(request); - * for (Connection element : response.getResponsesList()) { + * for (Connection element : response.getConnectionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();