google_api_fusion_tables v0.3.0 GoogleApi.FusionTables.V2.Api.Column View Source

API calls for all endpoints tagged Column.

Link to this section Summary

Link to this section Functions

Link to this function

fusiontables_column_delete(connection, table_id, column_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes the specified column.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table from which the column is being deleted.
  • column_id (type: String.t) - Name or identifier for the column being deleted.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

fusiontables_column_get(connection, table_id, column_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.FusionTables.V2.Model.Column.t()} | {:error, Tesla.Env.t()}

Retrieves a specific column by its ID.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table to which the column belongs.
  • column_id (type: String.t) - Name or identifier for the column that is being requested.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.FusionTables.V2.Model.Column{}} on success
  • {:error, info} on failure
Link to this function

fusiontables_column_insert(connection, table_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.FusionTables.V2.Model.Column.t()} | {:error, Tesla.Env.t()}

Adds a new column to the table.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table for which a new column is being added.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :body (type: GoogleApi.FusionTables.V2.Model.Column.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.FusionTables.V2.Model.Column{}} on success
  • {:error, info} on failure
Link to this function

fusiontables_column_list(connection, table_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_list(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.FusionTables.V2.Model.ColumnList.t()}
  | {:error, Tesla.Env.t()}

Retrieves a list of columns.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table whose columns are being listed.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :maxResults (type: integer()) - Maximum number of columns to return. Default is 5.
    • :pageToken (type: String.t) - Continuation token specifying which result page to return.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.FusionTables.V2.Model.ColumnList{}} on success
  • {:error, info} on failure
Link to this function

fusiontables_column_patch(connection, table_id, column_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.FusionTables.V2.Model.Column.t()} | {:error, Tesla.Env.t()}

Updates the name or type of an existing column. This method supports patch semantics.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table for which the column is being updated.
  • column_id (type: String.t) - Name or identifier for the column that is being updated.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :body (type: GoogleApi.FusionTables.V2.Model.Column.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.FusionTables.V2.Model.Column{}} on success
  • {:error, info} on failure
Link to this function

fusiontables_column_update(connection, table_id, column_id, optional_params \\ [], opts \\ [])

View Source
fusiontables_column_update(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.FusionTables.V2.Model.Column.t()} | {:error, Tesla.Env.t()}

Updates the name or type of an existing column.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table for which the column is being updated.
  • column_id (type: String.t) - Name or identifier for the column that is being updated.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :body (type: GoogleApi.FusionTables.V2.Model.Column.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.FusionTables.V2.Model.Column{}} on success
  • {:error, info} on failure