function GoogleGeocoderService(options) {
  options = options ?? Frozen.EMPTY_OBJECT;
  const key = options.key;
  //>>includeStart('debug', pragmas.debug);
  if (!defined(key)) {
    throw new DeveloperError("options.key is required.");
  }
  //>>includeEnd('debug');

  this._resource = new Resource({
    url: API_URL,
    queryParameters: { key },
  });

  this._credit = new Credit(CREDIT_HTML, true);
}
Provides geocoding through Google.

@see {@link https://developers.google.com/maps/documentation/geocoding/policies|Google Geocoding Policies}
@alias GoogleGeocoderService
@constructor

@param {object} options Object with the following properties:
@param {string} options.key An API key to use with the Google geocoding service