package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiBigqueryV2Model.ExternalDataConfigurationSource

Sourcetype 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.

    *)
}
Sourceval compression : (t, string) GapiLens.t
Sourceval csvOptions : (t, CsvOptions.t) GapiLens.t
Sourceval ignoreUnknownValues : (t, bool) GapiLens.t
Sourceval maxBadRecords : (t, int) GapiLens.t
Sourceval sourceFormat : (t, string) GapiLens.t
Sourceval sourceUris : (t, string list) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.