DnsRpc.ListResult<T>, DnsRpc.Option| Constructor and Description |
|---|
HttpDnsRpc(DnsOptions options)
Constructs an instance of this rpc client with provided
DnsOptions. |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.services.dns.model.Change |
applyChangeRequest(String zoneName,
com.google.api.services.dns.model.Change changeRequest,
Map<DnsRpc.Option,?> options)
Applies change request to a zone.
|
com.google.api.services.dns.model.ManagedZone |
create(com.google.api.services.dns.model.ManagedZone zone,
Map<DnsRpc.Option,?> options)
Creates a new zone.
|
RpcBatch |
createBatch()
Creates an empty batch.
|
boolean |
deleteZone(String zoneName)
Deletes the zone identified by the name.
|
com.google.api.services.dns.model.Change |
getChangeRequest(String zoneName,
String changeRequestId,
Map<DnsRpc.Option,?> options)
Returns an existing change request.
|
com.google.api.services.dns.model.Project |
getProject(Map<DnsRpc.Option,?> options)
Returns information about the current project.
|
com.google.api.services.dns.model.ManagedZone |
getZone(String zoneName,
Map<DnsRpc.Option,?> options)
Retrieves and returns an existing zone.
|
DnsRpc.ListResult<com.google.api.services.dns.model.Change> |
listChangeRequests(String zoneName,
Map<DnsRpc.Option,?> options)
List existing change requests for a zone.
|
DnsRpc.ListResult<com.google.api.services.dns.model.ResourceRecordSet> |
listRecordSets(String zoneName,
Map<DnsRpc.Option,?> options)
Lists record sets for a given zone.
|
DnsRpc.ListResult<com.google.api.services.dns.model.ManagedZone> |
listZones(Map<DnsRpc.Option,?> options)
Lists the zones that exist within the project.
|
public HttpDnsRpc(DnsOptions options)
DnsOptions.public com.google.api.services.dns.model.ManagedZone create(com.google.api.services.dns.model.ManagedZone zone,
Map<DnsRpc.Option,?> options)
throws DnsException
DnsRpccreate in interface DnsRpczone - a zone to be createdoptions - a map of options for the service callManagedZone objectDnsException - upon failurepublic com.google.api.services.dns.model.ManagedZone getZone(String zoneName, Map<DnsRpc.Option,?> options) throws DnsException
DnsRpcgetZone in interface DnsRpczoneName - name of the zone to be returnedoptions - a map of options for the service callnull if not foundDnsException - upon failurepublic DnsRpc.ListResult<com.google.api.services.dns.model.ManagedZone> listZones(Map<DnsRpc.Option,?> options) throws DnsException
DnsRpclistZones in interface DnsRpcoptions - a map of options for the service callDnsException - upon failurepublic boolean deleteZone(String zoneName) throws DnsException
DnsRpcdeleteZone in interface DnsRpctrue if the zone was deleted and false otherwiseDnsException - upon failurepublic DnsRpc.ListResult<com.google.api.services.dns.model.ResourceRecordSet> listRecordSets(String zoneName, Map<DnsRpc.Option,?> options) throws DnsException
DnsRpclistRecordSets in interface DnsRpczoneName - name of the zone to be listedoptions - a map of options for the service callDnsException - upon failure or if zone was not foundpublic com.google.api.services.dns.model.Project getProject(Map<DnsRpc.Option,?> options) throws DnsException
DnsRpcgetProject in interface DnsRpcoptions - a map of options for the service callDnsException - upon failure or if the project is not foundpublic com.google.api.services.dns.model.Change applyChangeRequest(String zoneName, com.google.api.services.dns.model.Change changeRequest, Map<DnsRpc.Option,?> options) throws DnsException
DnsRpcapplyChangeRequest in interface DnsRpczoneName - the name of a zone to which the Change should be appliedchangeRequest - change to be appliedoptions - a map of options for the service callDnsException - upon failure or if zone was not foundpublic com.google.api.services.dns.model.Change getChangeRequest(String zoneName, String changeRequestId, Map<DnsRpc.Option,?> options) throws DnsException
DnsRpcgetChangeRequest in interface DnsRpczoneName - the name of a zone to which the Change was be appliedchangeRequestId - the unique id assigned to the change by the serveroptions - a map of options for the service callnull if change was not foundDnsException - upon failure or if zone was not foundpublic DnsRpc.ListResult<com.google.api.services.dns.model.Change> listChangeRequests(String zoneName, Map<DnsRpc.Option,?> options) throws DnsException
DnsRpclistChangeRequests in interface DnsRpczoneName - the name of a zone to which the Changes were be appliedoptions - a map of options for the service callDnsException - upon failure or if zone was not foundpublic RpcBatch createBatch()
DnsRpccreateBatch in interface DnsRpcCopyright © 2019 Google LLC. All rights reserved.