module Google::Cloud::Bigquery::External

def self.from_gapi gapi

Other tags:
    Private: - Google API Client object.
def self.from_gapi gapi
  external_format = source_format_for gapi.source_uris,
                                      gapi.source_format
  raise ArgumentError, "Unable to determine external table format" if external_format.nil?
  external_class = table_class_for external_format
  external_class.from_gapi gapi
end