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 Type
    Method
    Description
    createAllVersionsClient(com.google.api.gax.rpc.TransportChannelProvider provider, com.google.auth.Credentials credentials)
    Instantiates a new GoogleAdsAllVersions object for the given TransportChannelProvider and Credentials.
    static ApiCatalog
    Returns 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

      static ApiCatalog getDefault()
      Returns a ApiCatalog implementation which reflects the current state of the library.
    • getSupportedVersions

      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.