google_api_fusion_tables v0.4.0 GoogleApi.FusionTables.V2.Api.Template View Source
API calls for all endpoints tagged Template.
Link to this section Summary
Functions
Deletes a template
Retrieves a specific template by its id
Creates a new template for the table.
Retrieves a list of templates.
Updates an existing template. This method supports patch semantics.
Updates an existing template
Link to this section Functions
fusiontables_template_delete(connection, table_id, template_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_delete( Tesla.Env.client(), String.t(), integer(), keyword(), keyword() ) :: {:ok, nil} | {:error, Tesla.Env.t()}
Deletes a template
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Table from which the template is being deletedtemplate_id(type:integer()) - Identifier for the template which is being deletedoptional_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
fusiontables_template_get(connection, table_id, template_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_get( Tesla.Env.client(), String.t(), integer(), keyword(), keyword() ) :: {:ok, GoogleApi.FusionTables.V2.Model.Template.t()} | {:error, Tesla.Env.t()}
Retrieves a specific template by its id
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Table to which the template belongstemplate_id(type:integer()) - Identifier for the template that is being requestedoptional_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.Template{}}on success{:error, info}on failure
fusiontables_template_insert(connection, table_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_insert( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.FusionTables.V2.Model.Template.t()} | {:error, Tesla.Env.t()}
Creates a new template for the table.
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Table for which a new template is being createdoptional_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.Template.t) -
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.FusionTables.V2.Model.Template{}}on success{:error, info}on failure
fusiontables_template_list(connection, table_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.FusionTables.V2.Model.TemplateList.t()} | {:error, Tesla.Env.t()}
Retrieves a list of templates.
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Identifier for the table whose templates are being requestedoptional_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 templates to return. Optional. Default is 5.:pageToken(type:String.t) - Continuation token specifying which results page to return. Optional.
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.FusionTables.V2.Model.TemplateList{}}on success{:error, info}on failure
fusiontables_template_patch(connection, table_id, template_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_patch( Tesla.Env.client(), String.t(), integer(), keyword(), keyword() ) :: {:ok, GoogleApi.FusionTables.V2.Model.Template.t()} | {:error, Tesla.Env.t()}
Updates an existing template. This method supports patch semantics.
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Table to which the updated template belongstemplate_id(type:integer()) - Identifier for the template that is being updatedoptional_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.Template.t) -
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.FusionTables.V2.Model.Template{}}on success{:error, info}on failure
fusiontables_template_update(connection, table_id, template_id, optional_params \\ [], opts \\ [])
View Sourcefusiontables_template_update( Tesla.Env.client(), String.t(), integer(), keyword(), keyword() ) :: {:ok, GoogleApi.FusionTables.V2.Model.Template.t()} | {:error, Tesla.Env.t()}
Updates an existing template
Parameters
connection(type:GoogleApi.FusionTables.V2.Connection.t) - Connection to servertable_id(type:String.t) - Table to which the updated template belongstemplate_id(type:integer()) - Identifier for the template that is being updatedoptional_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.Template.t) -
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.FusionTables.V2.Model.Template{}}on success{:error, info}on failure