code: function(options) {
          if(!options.ajax && !options.zip) {
              throw new ArgumentError(
                  Logger.logMessage(Logger.LEVEL_SEVERE, "RemoteDocument", "constructor",
                      "Invalid option for retrieval specified. Use either ajax or zip option.")
              );
          }
  
          this.options = options;
      }
docs: Creates representation of KmlRemoteFile. In order to load an object it is necessary to run get function on created object.
  @param options {Object}
  @param options.ajax {Boolean} If we should use plain AJAX
  @param options.zip {Boolean} If we are downloading kmz
  @param options.responseType {String} Optional responseType applied in specific circumstances for the kmz
  @constructor
  @alias KmlRemoteFile