package gapi-ocaml

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

    [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Datastore backups.

    *)
  2. csvOptions : CsvOptions.t;
    (*

    Additional properties to set if sourceFormat is set to CSV.

    *)
  3. ignoreUnknownValues : bool;
    (*

    [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names Google Cloud Datastore backups: This setting is ignored.

    *)
  4. maxBadRecords : int;
    (*

    [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Datastore backups.

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

    [Optional] The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Datastore backups.

    *)
  6. sourceFormat : string;
    (*

    [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP".

    *)
  7. sourceUris : string list;
    (*

    [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. For Google Cloud Datastore backups, exactly one URI can be specified, and it must end with '.backup_info'. Also, the '*' wildcard character is not allowed.

    *)
}
val compression : (t, string) GapiLens.t
val csvOptions : (t, CsvOptions.t) GapiLens.t
val ignoreUnknownValues : (t, bool) GapiLens.t
val maxBadRecords : (t, int) GapiLens.t
val schema : (t, TableSchema.t) GapiLens.t
val sourceFormat : (t, string) GapiLens.t
val sourceUris : (t, string list) 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
OCaml

Innovation. Community. Security.