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

API calls for all endpoints tagged Style.

Link to this section Summary

Link to this section Functions

Link to this function

fusiontables_style_delete(connection, table_id, style_id, optional_params \\ [], opts \\ [])

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

Deletes a style.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table from which the style is being deleted
  • style_id (type: integer()) - Identifier (within a table) for the style 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_style_get(connection, table_id, style_id, optional_params \\ [], opts \\ [])

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

Gets a specific style.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table to which the requested style belongs
  • style_id (type: integer()) - Identifier (integer) for a specific style in a table
  • 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.StyleSetting{}} on success
  • {:error, info} on failure
Link to this function

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

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

Adds a new style for the table.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table for which a new style 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.StyleSetting.t) -
  • opts (type: keyword()) - Call options

Returns

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

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

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

Retrieves a list of styles.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table whose styles 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 styles to return. Optional. Default is 5.
    • :pageToken (type: String.t) - Continuation token specifying which result page to return. Optional.
  • opts (type: keyword()) - Call options

Returns

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

fusiontables_style_patch(connection, table_id, style_id, optional_params \\ [], opts \\ [])

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

Updates an existing style. This method supports patch semantics.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table whose style is being updated.
  • style_id (type: integer()) - Identifier (within a table) for the style 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.StyleSetting.t) -
  • opts (type: keyword()) - Call options

Returns

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

fusiontables_style_update(connection, table_id, style_id, optional_params \\ [], opts \\ [])

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

Updates an existing style.

Parameters

  • connection (type: GoogleApi.FusionTables.V2.Connection.t) - Connection to server
  • table_id (type: String.t) - Table whose style is being updated.
  • style_id (type: integer()) - Identifier (within a table) for the style 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.StyleSetting.t) -
  • opts (type: keyword()) - Call options

Returns

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