Interface ApiCatalog
- All Known Implementing Classes:
GeneratedCatalog
public interface ApiCatalog
Provides 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
Modifier and TypeMethodDescriptioncreateAllVersionsClient(com.google.api.gax.rpc.TransportChannelProvider provider, com.google.auth.Credentials credentials) Instantiates a new GoogleAdsAllVersions object for the given TransportChannelProvider and Credentials.static ApiCatalogReturns a ApiCatalog implementation which reflects the current state of the library.Returns the most recent API version available.Returns all API versions available in the current catalog.
-
Method Details
-
getDefault
Returns a ApiCatalog implementation which reflects the current state of the library. -
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.
-