"description":"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.",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"description":"Executes a Fusion Tables SQL statement, which can be any of \n- SELECT\n- INSERT\n- UPDATE\n- DELETE\n- SHOW\n- DESCRIBE\n- CREATE statement.",
"httpMethod":"POST",
"id":"fusiontables.query.sql",
"parameterOrder":[
"sql"
],
"parameters":{
"hdrs":{
"description":"Whether column names are included in the first row. Default is true.",
"location":"query",
"type":"boolean"
},
"sql":{
"description":"A Fusion Tables SQL statement, which can be any of \n- SELECT\n- INSERT\n- UPDATE\n- DELETE\n- SHOW\n- DESCRIBE\n- CREATE",
"location":"query",
"required":true,
"type":"string"
},
"typed":{
"description":"Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.",
"description":"Executes a SQL statement which can be any of \n- SELECT\n- SHOW\n- DESCRIBE",
"httpMethod":"GET",
"id":"fusiontables.query.sqlGet",
"parameterOrder":[
"sql"
],
"parameters":{
"hdrs":{
"description":"Whether column names are included (in the first row). Default is true.",
"location":"query",
"type":"boolean"
},
"sql":{
"description":"A SQL statement which can be any of \n- SELECT\n- SHOW\n- DESCRIBE",
"location":"query",
"required":true,
"type":"string"
},
"typed":{
"description":"Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.",
"description":"The delimiter used to separate cell values. This can only consist of a single character. Default is ,.",
"location":"query",
"type":"string"
},
"encoding":{
"description":"The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding.",
"location":"query",
"type":"string"
},
"endLine":{
"description":"The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.",
"format":"int32",
"location":"query",
"type":"integer"
},
"isStrict":{
"description":"Whether the imported CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.",
"location":"query",
"type":"boolean"
},
"startLine":{
"description":"The index of the first line from which to start importing, inclusive. Default is 0.",
"format":"int32",
"location":"query",
"type":"integer"
},
"tableId":{
"description":"The table into which new rows are being imported.",
"description":"Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.",
"httpMethod":"PATCH",
"id":"fusiontables.table.patch",
"parameterOrder":[
"tableId"
],
"parameters":{
"replaceViewDefinition":{
"description":"Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.",
"location":"query",
"type":"boolean"
},
"tableId":{
"description":"ID of the table that is being updated.",
"location":"path",
"required":true,
"type":"string"
}
},
"path":"tables/{tableId}",
"request":{
"$ref":"Table"
},
"response":{
"$ref":"Table"
},
"scopes":[
"https://www.googleapis.com/auth/fusiontables"
]
},
"refetchSheet":{
"description":"Replaces rows of the table with the rows of the spreadsheet that is first imported from. Current rows remain visible until all replacement rows are ready.",
"httpMethod":"POST",
"id":"fusiontables.table.refetchSheet",
"parameterOrder":[
"tableId"
],
"parameters":{
"tableId":{
"description":"Table whose rows will be replaced from the spreadsheet.",
"location":"path",
"required":true,
"type":"string"
}
},
"path":"tables/{tableId}/refetch",
"response":{
"$ref":"Task"
},
"scopes":[
"https://www.googleapis.com/auth/fusiontables"
]
},
"replaceRows":{
"description":"Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.",
"description":"The delimiter used to separate cell values. This can only consist of a single character. Default is ,.",
"location":"query",
"type":"string"
},
"encoding":{
"description":"The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.",
"location":"query",
"type":"string"
},
"endLine":{
"description":"The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.",
"format":"int32",
"location":"query",
"type":"integer"
},
"isStrict":{
"description":"Whether the imported CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not have the same number of columns. If false, rows with fewer column values will be padded with empty values. Default is true.",
"location":"query",
"type":"boolean"
},
"startLine":{
"description":"The index of the first line from which to start importing, inclusive. Default is 0.",
"format":"int32",
"location":"query",
"type":"integer"
},
"tableId":{
"description":"Table whose rows will be replaced.",
"location":"path",
"required":true,
"type":"string"
}
},
"path":"tables/{tableId}/replace",
"response":{
"$ref":"Task"
},
"scopes":[
"https://www.googleapis.com/auth/fusiontables"
],
"supportsMediaUpload":true
},
"update":{
"description":"Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.",
"httpMethod":"PUT",
"id":"fusiontables.table.update",
"parameterOrder":[
"tableId"
],
"parameters":{
"replaceViewDefinition":{
"description":"Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.",
"location":"query",
"type":"boolean"
},
"tableId":{
"description":"ID of the table that is being updated.",
"description":"Format pattern.\nAcceptable values are DT_DATE_MEDIUMe.g Dec 24, 2008 DT_DATE_SHORTfor example 12/24/08 DT_DATE_TIME_MEDIUMfor example Dec 24, 2008 8:30:45 PM DT_DATE_TIME_SHORTfor example 12/24/08 8:30 PM DT_DAY_MONTH_2_DIGIT_YEARfor example 24/12/08 DT_DAY_MONTH_2_DIGIT_YEAR_TIMEfor example 24/12/08 20:30 DT_DAY_MONTH_2_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/08 8:30 PM DT_DAY_MONTH_4_DIGIT_YEARfor example 24/12/2008 DT_DAY_MONTH_4_DIGIT_YEAR_TIMEfor example 24/12/2008 20:30 DT_DAY_MONTH_4_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/2008 8:30 PM DT_ISO_YEAR_MONTH_DAYfor example 2008-12-24 DT_ISO_YEAR_MONTH_DAY_TIMEfor example 2008-12-24 20:30:45 DT_MONTH_DAY_4_DIGIT_YEARfor example 12/24/2008 DT_TIME_LONGfor example 8:30:45 PM UTC-6 DT_TIME_MEDIUMfor example 8:30:45 PM DT_TIME_SHORTfor example 8:30 PM DT_YEAR_ONLYfor example 2008 HIGHLIGHT_UNTYPED_CELLSHighlight cell data that does not match the data type NONENo formatting (default) NUMBER_CURRENCYfor example $1234.56 NUMBER_DEFAULTfor example 1,234.56 NUMBER_INTEGERfor example 1235 NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example 123,456% NUMBER_SCIENTIFICfor example 1E3 STRING_EIGHT_LINE_IMAGEDisplays thumbnail images as tall as eight lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail images as tall as four lines of text STRING_JSON_TEXTAllows editing of text as JSON in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI STRING_LINKTreats cell as a link (must start with http:// or https://) STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text STRING_VIDEO_OR_MAPDisplay a video or map thumbnail",
"type":"string"
},
"graphPredicate":{
"description":"Column graph predicate.\nUsed to map table to graph data model (subject,predicate,object)\nSee W3C Graph-based Data Model.",
"type":"string"
},
"kind":{
"default":"fusiontables#column",
"description":"The kind of item this is. For a column, this is always fusiontables#column.",
"type":"string"
},
"name":{
"annotations":{
"required":[
"fusiontables.column.insert"
]
},
"description":"Name of the column.",
"type":"string"
},
"type":{
"annotations":{
"required":[
"fusiontables.column.insert"
]
},
"description":"Type of the column.",
"type":"string"
},
"validValues":{
"description":"List of valid values used to validate data and supply a drop-down list of values in the web application.",
"items":{
"type":"string"
},
"type":"array"
},
"validateData":{
"description":"If true, data entered via the web application is validated.",
"description":"Represents a response to a SQL statement.",
"id":"Sqlresponse",
"properties":{
"columns":{
"description":"Columns in the table.",
"items":{
"type":"string"
},
"type":"array"
},
"kind":{
"default":"fusiontables#sqlresponse",
"description":"The kind of item this is. For responses to SQL queries, this is always fusiontables#sqlresponse.",
"type":"string"
},
"rows":{
"description":"The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value.",
"description":"Represents a StyleFunction within a StyleSetting",
"id":"StyleFunction",
"properties":{
"buckets":{
"description":"Bucket function that assigns a style based on the range a column value falls into.",
"items":{
"$ref":"Bucket"
},
"type":"array"
},
"columnName":{
"annotations":{
"required":[
"fusiontables.style.insert"
]
},
"description":"Name of the column whose value is used in the style.",
"type":"string"
},
"gradient":{
"description":"Gradient function that interpolates a range of colors based on column value.",
"properties":{
"colors":{
"description":"Array with two or more colors.",
"items":{
"properties":{
"color":{
"description":"Color in #RRGGBB format.",
"type":"string"
},
"opacity":{
"description":"Opacity of the color: 0.0 (transparent) to 1.0 (opaque).",
"format":"double",
"type":"number"
}
},
"type":"object"
},
"type":"array"
},
"max":{
"description":"Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].",
"format":"double",
"type":"number"
},
"min":{
"description":"Lower-end of the interpolation range: rows with this value will be assigned to colors[0].",
"format":"double",
"type":"number"
}
},
"type":"object"
},
"kind":{
"description":"Stylers can be one of three kinds: \"fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls.",
"description":"Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.",
"id":"StyleSetting",
"properties":{
"kind":{
"default":"fusiontables#styleSetting",
"description":"The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions.",
"type":"string"
},
"markerOptions":{
"$ref":"PointStyle",
"description":"Style definition for points in the table."
},
"name":{
"description":"Optional name for the style setting.",
"type":"string"
},
"polygonOptions":{
"$ref":"PolygonStyle",
"description":"Style definition for polygons in the table."
},
"polylineOptions":{
"$ref":"LineStyle",
"description":"Style definition for lines in the table."
},
"styleId":{
"description":"Identifier for the style setting (unique only within tables).",
"description":"A background task on a table, initiated for time- or resource-consuming operations such as changing column types or deleting all rows.",
"id":"Task",
"properties":{
"kind":{
"default":"fusiontables#task",
"description":"Type of the resource. This is always \"fusiontables#task\".",
"type":"string"
},
"progress":{
"description":"Task percentage completion.",
"type":"string"
},
"started":{
"description":"false while the table is busy with some other task. true if this background task is currently running.",
"description":"Represents the contents of InfoWindow templates.",
"id":"Template",
"properties":{
"automaticColumnNames":{
"description":"List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified.",
"items":{
"type":"string"
},
"type":"array"
},
"body":{
"description":"Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified.",
"type":"string"
},
"kind":{
"default":"fusiontables#template",
"description":"The kind of item this is. For a template, this is always fusiontables#template.",
"type":"string"
},
"name":{
"description":"Optional name assigned to a template.",
"type":"string"
},
"tableId":{
"description":"Identifier for the table for which the template is defined.",
"type":"string"
},
"templateId":{
"description":"Identifier for the template, unique within the context of a particular table.",