package gapi-ocaml

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

    [Optional] The field description. The maximum length is 16K characters.

    *)
  2. fields : t list;
    (*

    [Optional] Describes the nested schema fields if the type property is set to RECORD.

    *)
  3. mode : string;
    (*

    [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

    *)
  4. name : string;
    (*

    [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

    *)
  5. _type : string;
    (*

    [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema).

    *)
}
val description : (t, string) GapiLens.t
val fields : (t, t list) GapiLens.t
val mode : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val _type : (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
OCaml

Innovation. Community. Security.