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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ Zone zone = dns.create(zoneInfo);
252
252
The second snippet shows how to create records inside a zone. The complete code can be found on [CreateOrUpdateRecordSets.java](./gcloud-java-examples/src/main/java/com/google/gcloud/examples/dns/snippets/CreateOrUpdateRecordSets.java).
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).
@@ -220,7 +220,7 @@ When the change request is applied, it is registered with the Cloud DNS service
220
220
can wait for its completion as follows:
221
221
222
222
```java
223
-
while (ChangeRequest.Status.PENDING.equals(changeRequest.status())) {
223
+
while (ChangeRequestInfo.Status.PENDING.equals(changeRequest.status())) {
224
224
try {
225
225
Thread.sleep(500L);
226
226
} catch (InterruptedException e) {
@@ -262,9 +262,17 @@ while (recordSetIterator.hasNext()) {
262
262
}
263
263
```
264
264
265
-
You can also list the history of change requests that were applied to a zone:
265
+
You can also list the history of change requests that were applied to a zone.
266
+
First add:
266
267
267
268
```java
269
+
importjava.util.ChangeRequest;
270
+
```
271
+
272
+
and then:
273
+
274
+
```java
275
+
268
276
// List the change requests applied to a particular zone
0 commit comments