You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find more information about changes in the [Cloud DNS documentation] (https://cloud.google.com/dns/what-is-cloud-dns#cloud_dns_api_concepts).
218
218
219
219
When the change request is applied, it is registered with the Cloud DNS service for processing. We
220
220
can wait for its completion as follows:
221
221
222
222
```java
223
-
while (ChangeRequestInfo.Status.PENDING.equals(changeRequest.status())) {
223
+
while (!pendingRequest.isDone()) {
224
224
try {
225
225
Thread.sleep(500L);
226
226
} catch (InterruptedException e) {
227
227
System.err.println("The thread was interrupted while waiting...");
Copy file name to clipboardExpand all lines: gcloud-java-examples/src/main/java/com/google/gcloud/examples/dns/snippets/ManipulateZonesAndRecordSets.java
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -128,22 +128,17 @@ public static void main(String... args) {
128
128
// Build and apply the change request to our zone if it contains records to delete
0 commit comments