package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. cacheHit : bool;
    (*

    Whether the query result was fetched from the query cache.

    *)
  2. errors : ErrorProto.t list;
    (*

    [Output-only] All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.

    *)
  3. etag : string;
    (*

    A hash of this response.

    *)
  4. jobComplete : bool;
    (*

    Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.

    *)
  5. jobReference : JobReference.t;
    (*

    Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults).

    *)
  6. kind : string;
    (*

    The resource type of the response.

    *)
  7. pageToken : string;
    (*

    A token used for paging results.

    *)
  8. rows : TableRow.t list;
    (*

    An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully.

    *)
  9. schema : TableSchema.t;
    (*

    The schema of the results. Present only when the query completes successfully.

    *)
  10. totalBytesProcessed : int64;
    (*

    The total number of bytes processed for this query.

    *)
  11. totalRows : string;
    (*

    The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. Present only when the query completes successfully.

    *)
}
val cacheHit : (t, bool) GapiLens.t
val errors : (t, ErrorProto.t list) GapiLens.t
val etag : (t, string) GapiLens.t
val jobComplete : (t, bool) GapiLens.t
val jobReference : (t, JobReference.t) GapiLens.t
val kind : (t, string) GapiLens.t
val pageToken : (t, string) GapiLens.t
val rows : (t, TableRow.t list) GapiLens.t
val schema : (t, TableSchema.t) GapiLens.t
val totalBytesProcessed : (t, int64) GapiLens.t
val totalRows : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t