Skip to content

Create functional class for DNS ChangeRequest #679

Description

@mziccard

If this has been already discussed I am sorry for bringing it up again.

A DNS change request is now mapped using a single non-functional class ChangeRequest. I see a benefit in having a functional class for change requests as well. It would be cool to be able to write:

ChangeRequest change = dns.applyChangeRequest(ChangeRequestInfo.builder...);
while (!change. isDone()) {
  Thread.sleep (1000L);
}
// change request is DONE

In the same way we do for bigquery's jobs and as I plan to do with compute's operations. What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: dnsIssues related to the Cloud DNS API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions