- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.49.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.8
- 2.0.9
public interface RpcBatch
An interface for the collection of batch operations.
Methods
addApplyChangeRequest(String zoneName, Change change, RpcBatch.Callback<Change> callback, Map<DnsRpc.Option,?> options)
public abstract void addApplyChangeRequest(String zoneName, Change change, RpcBatch.Callback<Change> callback, Map<DnsRpc.Option,?> options)
Adds a call to "apply change request" to the batch with the provided callback
and
options
. The parameter change
is the change request to be applied. The zone to
which the change request should be applied is identified by zoneName
.
Name | Description |
zoneName | String |
change | com.google.api.services.dns.model.Change |
callback | Callback<com.google.api.services.dns.model.Change> |
options | Map<Option,?> |
addCreateZone(ManagedZone zone, RpcBatch.Callback<ManagedZone> callback, Map<DnsRpc.Option,?> options)
public abstract void addCreateZone(ManagedZone zone, RpcBatch.Callback<ManagedZone> callback, Map<DnsRpc.Option,?> options)
Adds a call to "create zone" to the batch with the provided callback
and
options
.
Name | Description |
zone | com.google.api.services.dns.model.ManagedZone |
callback | Callback<com.google.api.services.dns.model.ManagedZone> |
options | Map<Option,?> |
addDeleteZone(String zoneName, RpcBatch.Callback<Void> callback)
public abstract void addDeleteZone(String zoneName, RpcBatch.Callback<Void> callback)
Adds a call to "delete zone" to the batch with the provided callback
. The zone to be
deleted is identified by zoneName
.
Name | Description |
zoneName | String |
callback | Callback<Void> |
addGetChangeRequest(String zoneName, String changeRequestId, RpcBatch.Callback<Change> callback, Map<DnsRpc.Option,?> options)
public abstract void addGetChangeRequest(String zoneName, String changeRequestId, RpcBatch.Callback<Change> callback, Map<DnsRpc.Option,?> options)
Adds a call to "get change request" to the batch with the provided callback
and
options
. The change request to be retrieved is identified by changeRequestId
. The zone
to which the change request was applied is identified by zoneName
.
Name | Description |
zoneName | String |
changeRequestId | String |
callback | Callback<com.google.api.services.dns.model.Change> |
options | Map<Option,?> |
addGetProject(RpcBatch.Callback<Project> callback, Map<DnsRpc.Option,?> options)
public abstract void addGetProject(RpcBatch.Callback<Project> callback, Map<DnsRpc.Option,?> options)
Adds a call to "get project" to the batch with the provided callback
and
options
.
Name | Description |
callback | Callback<com.google.api.services.dns.model.Project> |
options | Map<Option,?> |
addGetZone(String zoneName, RpcBatch.Callback<ManagedZone> callback, Map<DnsRpc.Option,?> options)
public abstract void addGetZone(String zoneName, RpcBatch.Callback<ManagedZone> callback, Map<DnsRpc.Option,?> options)
Adds a call to "get zone" to the batch with the provided callback
and options
.
The zone to be retrieved is identified by zoneName
.
Name | Description |
zoneName | String |
callback | Callback<com.google.api.services.dns.model.ManagedZone> |
options | Map<Option,?> |
addListChangeRequests(String zoneName, RpcBatch.Callback<ChangesListResponse> callback, Map<DnsRpc.Option,?> options)
public abstract void addListChangeRequests(String zoneName, RpcBatch.Callback<ChangesListResponse> callback, Map<DnsRpc.Option,?> options)
Adds a call to "list change requests" to the batch with the provided callback
and
options
. The zone whose change requests are to be listed is identified by
zoneName
.
Name | Description |
zoneName | String |
callback | Callback<com.google.api.services.dns.model.ChangesListResponse> |
options | Map<Option,?> |
addListRecordSets(String zoneName, RpcBatch.Callback<ResourceRecordSetsListResponse> callback, Map<DnsRpc.Option,?> options)
public abstract void addListRecordSets(String zoneName, RpcBatch.Callback<ResourceRecordSetsListResponse> callback, Map<DnsRpc.Option,?> options)
Adds a call to "list record sets" to the batch with the provided callback
and
options
. The zone whose record sets are to be listed is identified by zoneName
.
Name | Description |
zoneName | String |
callback | Callback<com.google.api.services.dns.model.ResourceRecordSetsListResponse> |
options | Map<Option,?> |
addListZones(RpcBatch.Callback<ManagedZonesListResponse> callback, Map<DnsRpc.Option,?> options)
public abstract void addListZones(RpcBatch.Callback<ManagedZonesListResponse> callback, Map<DnsRpc.Option,?> options)
Adds a call to "list zones" to the batch with the provided callback
and
options
.
Name | Description |
callback | Callback<com.google.api.services.dns.model.ManagedZonesListResponse> |
options | Map<Option,?> |
submit()
public abstract void submit()
Submits a batch of requests for processing using a single RPC request to Cloud DNS.