public interface DiscoveryProvider
| Modifier and Type | Method and Description |
|---|---|
com.google.api.services.discovery.model.DirectoryList |
getDirectory(java.lang.String root)
Gets a list of REST discovery documents hosted by the current server.
|
com.google.api.services.discovery.model.RestDescription |
getRestDocument(java.lang.String root,
java.lang.String name,
java.lang.String version)
Gets a REST discovery document for an API.
|
com.google.api.services.discovery.model.RpcDescription |
getRpcDocument(java.lang.String root,
java.lang.String name,
java.lang.String version)
Gets an RPC discovery document for an API.
|
com.google.api.services.discovery.model.RestDescription getRestDocument(java.lang.String root,
java.lang.String name,
java.lang.String version)
throws NotFoundException,
InternalServerErrorException
NotFoundException - if the API doesn't existInternalServerErrorException - an error takes place when getting the documentcom.google.api.services.discovery.model.RpcDescription getRpcDocument(java.lang.String root,
java.lang.String name,
java.lang.String version)
throws NotFoundException,
InternalServerErrorException
NotFoundException - if the API doesn't existInternalServerErrorException - an error takes place when getting the documentcom.google.api.services.discovery.model.DirectoryList getDirectory(java.lang.String root)
throws InternalServerErrorException
InternalServerErrorException