Interface ApiCatalog
-
- All Known Implementing Classes:
GeneratedCatalog
public interface ApiCatalogProvides metadata about the Google Ads API versions supported in the client library.Note: This is *not* intended to be the external interface for accessing API versions. If you are looking for that, please see the GoogleAdsAllVersions interface provided by GoogleAdsClient.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description GoogleAdsAllVersionscreateAllVersionsClient(com.google.api.gax.rpc.TransportChannelProvider provider, com.google.auth.Credentials credentials)Instantiates a new GoogleAdsAllVersions object for the given TransportChannelProvider and Credentials.static ApiCataloggetDefault()Returns a ApiCatalog implementation which reflects the current state of the library.VersiongetLatestVersion()Returns the most recent API version available.java.util.SortedSet<Version>getSupportedVersions()Returns all API versions available in the current catalog.
-
-
-
Method Detail
-
getDefault
static ApiCatalog getDefault()
Returns a ApiCatalog implementation which reflects the current state of the library.
-
getSupportedVersions
java.util.SortedSet<Version> getSupportedVersions()
Returns all API versions available in the current catalog.
-
getLatestVersion
Version getLatestVersion()
Returns the most recent API version available.
-
createAllVersionsClient
GoogleAdsAllVersions createAllVersionsClient(com.google.api.gax.rpc.TransportChannelProvider provider, com.google.auth.Credentials credentials)
Instantiates a new GoogleAdsAllVersions object for the given TransportChannelProvider and Credentials. Calling this method multiple times will create multiple instances of GoogleAdsAllVersions.
-
-