package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> projectId:string -> datasetId:string -> tableId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter std_params

    Optional standard parameters.

  • parameter projectId

    Project ID of the table to delete

  • parameter datasetId

    Dataset ID of the table to delete

  • parameter tableId

    Table ID of the table to delete

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> projectId:string -> datasetId:string -> tableId:string -> GapiConversation.Session.t -> GapiBigqueryV2Model.Table.t * GapiConversation.Session.t

Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter projectId

    Project ID of the requested table

  • parameter datasetId

    Dataset ID of the requested table

  • parameter tableId

    Table ID of the requested table

val insert : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> projectId:string -> datasetId:string -> GapiBigqueryV2Model.Table.t -> GapiConversation.Session.t -> GapiBigqueryV2Model.Table.t * GapiConversation.Session.t

Creates a new, empty table in the dataset.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter std_params

    Optional standard parameters.

  • parameter projectId

    Project ID of the new table

  • parameter datasetId

    Dataset ID of the new table

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?maxResults:int -> ?pageToken:string -> projectId:string -> datasetId:string -> GapiConversation.Session.t -> GapiBigqueryV2Model.TableList.t * GapiConversation.Session.t

Lists all tables in the specified dataset. Requires the READER dataset role.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter std_params

    Optional standard parameters.

  • parameter maxResults

    Maximum number of results to return

  • parameter pageToken

    Page token, returned by a previous call, to request the next page of results

  • parameter projectId

    Project ID of the tables to list

  • parameter datasetId

    Dataset ID of the tables to list

val patch : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> projectId:string -> datasetId:string -> tableId:string -> GapiBigqueryV2Model.Table.t -> GapiConversation.Session.t -> GapiBigqueryV2Model.Table.t * GapiConversation.Session.t

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter std_params

    Optional standard parameters.

  • parameter projectId

    Project ID of the table to update

  • parameter datasetId

    Dataset ID of the table to update

  • parameter tableId

    Table ID of the table to update

val update : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> projectId:string -> datasetId:string -> tableId:string -> GapiBigqueryV2Model.Table.t -> GapiConversation.Session.t -> GapiBigqueryV2Model.Table.t * GapiConversation.Session.t

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/bigquery/v2/").

  • parameter std_params

    Optional standard parameters.

  • parameter projectId

    Project ID of the table to update

  • parameter datasetId

    Dataset ID of the table to update

  • parameter tableId

    Table ID of the table to update