File manager - Edit - /home/u478019808/domains/bestandroidphones.store/public_html/static/img/logo/fusiontables_sample.zip
Back
PK ���ZB��jz� z� fusiontables_v1.jsonnu �[��� { "kind": "discovery#restDescription", "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/-xDlQ3Z80n_rfxYaz7dDf-mP00c\"", "discoveryVersion": "v1", "id": "fusiontables:v1", "name": "fusiontables", "version": "v1", "revision": "20160526", "title": "Fusion Tables API", "description": "API for working with Fusion Tables data.", "ownerDomain": "google.com", "ownerName": "Google", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "documentationLink": "https://developers.google.com/fusiontables", "protocol": "rest", "baseUrl": "https://www.googleapis.com/fusiontables/v1/", "basePath": "/fusiontables/v1/", "rootUrl": "https://www.googleapis.com/", "servicePath": "fusiontables/v1/", "batchPath": "batch", "parameters": { "alt": { "type": "string", "description": "Data format for the response.", "default": "json", "enum": [ "csv", "json" ], "enumDescriptions": [ "Responses with Content-Type of text/csv", "Responses with Content-Type of application/json" ], "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "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.", "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "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.", "location": "query" }, "userIp": { "type": "string", "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", "location": "query" } }, "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/fusiontables": { "description": "Manage your Fusion Tables" }, "https://www.googleapis.com/auth/fusiontables.readonly": { "description": "View your Fusion Tables" } } } }, "schemas": { "Bucket": { "id": "Bucket", "type": "object", "description": "Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.", "properties": { "color": { "type": "string", "description": "Color of line or the interior of a polygon in #RRGGBB format." }, "icon": { "type": "string", "description": "Icon name used for a point." }, "max": { "type": "number", "description": "Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", "format": "double" }, "min": { "type": "number", "description": "Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", "format": "double" }, "opacity": { "type": "number", "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", "format": "double" }, "weight": { "type": "integer", "description": "Width of a line (in pixels).", "format": "int32" } } }, "Column": { "id": "Column", "type": "object", "description": "Specifies the id, name and type of a column in a table.", "properties": { "baseColumn": { "type": "object", "description": "Optional identifier of the base column. If present, this column is derived from the specified base column.", "properties": { "columnId": { "type": "integer", "description": "The id of the column in the base table from which this column is derived.", "format": "int32" }, "tableIndex": { "type": "integer", "description": "Offset to the entry in the list of base tables in the table definition.", "format": "int32" } } }, "columnId": { "type": "integer", "description": "Identifier for the column.", "format": "int32" }, "description": { "type": "string", "description": "Optional column description." }, "graph_predicate": { "type": "string", "description": "Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model" }, "kind": { "type": "string", "description": "Type name: a template for an individual column.", "default": "fusiontables#column" }, "name": { "type": "string", "description": "Required name of the column.", "annotations": { "required": [ "fusiontables.column.insert" ] } }, "type": { "type": "string", "description": "Required type of the column.", "annotations": { "required": [ "fusiontables.column.insert" ] } } } }, "ColumnList": { "id": "ColumnList", "type": "object", "description": "Represents a list of columns in a table.", "properties": { "items": { "type": "array", "description": "List of all requested columns.", "items": { "$ref": "Column" } }, "kind": { "type": "string", "description": "Type name: a list of all columns.", "default": "fusiontables#columnList" }, "nextPageToken": { "type": "string", "description": "Token used to access the next page of this result. No token is displayed if there are no more pages left." }, "totalItems": { "type": "integer", "description": "Total number of columns for the table.", "format": "int32" } } }, "Geometry": { "id": "Geometry", "type": "object", "description": "Represents a Geometry object.", "properties": { "geometries": { "type": "array", "description": "The list of geometries in this geometry collection.", "items": { "type": "any" } }, "geometry": { "type": "any" }, "type": { "type": "string", "description": "Type: A collection of geometries.", "default": "GeometryCollection" } } }, "Import": { "id": "Import", "type": "object", "description": "Represents an import request.", "properties": { "kind": { "type": "string", "description": "Type name: a template for an import request.", "default": "fusiontables#import" }, "numRowsReceived": { "type": "string", "description": "The number of rows received from the import request.", "format": "int64" } } }, "Line": { "id": "Line", "type": "object", "description": "Represents a line geometry.", "properties": { "coordinates": { "type": "array", "description": "The coordinates that define the line.", "items": { "type": "array", "items": { "type": "number", "format": "double" } } }, "type": { "type": "string", "description": "Type: A line geometry.", "default": "LineString" } } }, "LineStyle": { "id": "LineStyle", "type": "object", "description": "Represents a LineStyle within a StyleSetting", "properties": { "strokeColor": { "type": "string", "description": "Color of the line in #RRGGBB format." }, "strokeColorStyler": { "$ref": "StyleFunction", "description": "Column-value, gradient or buckets styler that is used to determine the line color and opacity." }, "strokeOpacity": { "type": "number", "description": "Opacity of the line : 0.0 (transparent) to 1.0 (opaque).", "format": "double" }, "strokeWeight": { "type": "integer", "description": "Width of the line in pixels.", "format": "int32" }, "strokeWeightStyler": { "$ref": "StyleFunction", "description": "Column-value or bucket styler that is used to determine the width of the line." } } }, "Point": { "id": "Point", "type": "object", "description": "Represents a point object.", "properties": { "coordinates": { "type": "array", "description": "The coordinates that define the point.", "items": { "type": "number", "format": "double" } }, "type": { "type": "string", "description": "Point: A point geometry.", "default": "Point" } } }, "PointStyle": { "id": "PointStyle", "type": "object", "description": "Represents a PointStyle within a StyleSetting", "properties": { "iconName": { "type": "string", "description": "Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519" }, "iconStyler": { "$ref": "StyleFunction", "description": "Column or a bucket value from which the icon name is to be determined." } } }, "Polygon": { "id": "Polygon", "type": "object", "description": "Represents a polygon object.", "properties": { "coordinates": { "type": "array", "description": "The coordinates that define the polygon.", "items": { "type": "array", "items": { "type": "array", "items": { "type": "number", "format": "double" } } } }, "type": { "type": "string", "description": "Type: A polygon geometry.", "default": "Polygon" } } }, "PolygonStyle": { "id": "PolygonStyle", "type": "object", "description": "Represents a PolygonStyle within a StyleSetting", "properties": { "fillColor": { "type": "string", "description": "Color of the interior of the polygon in #RRGGBB format." }, "fillColorStyler": { "$ref": "StyleFunction", "description": "Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon." }, "fillOpacity": { "type": "number", "description": "Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).", "format": "double" }, "strokeColor": { "type": "string", "description": "Color of the polygon border in #RRGGBB format." }, "strokeColorStyler": { "$ref": "StyleFunction", "description": "Column-value, gradient or buckets styler that is used to determine the border color and opacity." }, "strokeOpacity": { "type": "number", "description": "Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).", "format": "double" }, "strokeWeight": { "type": "integer", "description": "Width of the polyon border in pixels.", "format": "int32" }, "strokeWeightStyler": { "$ref": "StyleFunction", "description": "Column-value or bucket styler that is used to determine the width of the polygon border." } } }, "Sqlresponse": { "id": "Sqlresponse", "type": "object", "description": "Represents a response to an sql statement.", "properties": { "columns": { "type": "array", "description": "Columns in the table.", "items": { "type": "string" } }, "kind": { "type": "string", "description": "Type name: a template for an individual table.", "default": "fusiontables#sqlresponse" }, "rows": { "type": "array", "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.", "items": { "type": "array", "items": { "type": "any" } } } } }, "StyleFunction": { "id": "StyleFunction", "type": "object", "description": "Represents a StyleFunction within a StyleSetting", "properties": { "buckets": { "type": "array", "description": "Bucket function that assigns a style based on the range a column value falls into.", "items": { "$ref": "Bucket" } }, "columnName": { "type": "string", "description": "Name of the column whose value is used in the style.", "annotations": { "required": [ "fusiontables.style.insert" ] } }, "gradient": { "type": "object", "description": "Gradient function that interpolates a range of colors based on column value.", "properties": { "colors": { "type": "array", "description": "Array with two or more colors.", "items": { "type": "object", "properties": { "color": { "type": "string", "description": "Color in #RRGGBB format." }, "opacity": { "type": "number", "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", "format": "double" } } } }, "max": { "type": "number", "description": "Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].", "format": "double" }, "min": { "type": "number", "description": "Lower-end of the interpolation range: rows with this value will be assigned to colors[0].", "format": "double" } } }, "kind": { "type": "string", "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." } } }, "StyleSetting": { "id": "StyleSetting", "type": "object", "description": "Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.", "properties": { "kind": { "type": "string", "description": "Type name: an individual style setting. A StyleSetting contains the style defintions 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.", "default": "fusiontables#styleSetting" }, "markerOptions": { "$ref": "PointStyle", "description": "Style definition for points in the table." }, "name": { "type": "string", "description": "Optional name for the style setting." }, "polygonOptions": { "$ref": "PolygonStyle", "description": "Style definition for polygons in the table." }, "polylineOptions": { "$ref": "LineStyle", "description": "Style definition for lines in the table." }, "styleId": { "type": "integer", "description": "Identifier for the style setting (unique only within tables).", "format": "int32" }, "tableId": { "type": "string", "description": "Identifier for the table." } } }, "StyleSettingList": { "id": "StyleSettingList", "type": "object", "description": "Represents a list of styles for a given table.", "properties": { "items": { "type": "array", "description": "All requested style settings.", "items": { "$ref": "StyleSetting" } }, "kind": { "type": "string", "description": "Type name: in this case, a list of style settings.", "default": "fusiontables#styleSettingList" }, "nextPageToken": { "type": "string", "description": "Token used to access the next page of this result. No token is displayed if there are no more pages left." }, "totalItems": { "type": "integer", "description": "Total number of styles for the table.", "format": "int32" } } }, "Table": { "id": "Table", "type": "object", "description": "Represents a table. Specifies the name, whether it is exportable, description, attribution, and attribution link.", "properties": { "attribution": { "type": "string", "description": "Optional attribution assigned to the table." }, "attributionLink": { "type": "string", "description": "Optional link for attribution." }, "baseTableIds": { "type": "array", "description": "Optional base table identifier if this table is a view or merged table.", "items": { "type": "string" } }, "columns": { "type": "array", "description": "Columns in the table.", "items": { "$ref": "Column" }, "annotations": { "required": [ "fusiontables.table.insert", "fusiontables.table.update" ] } }, "description": { "type": "string", "description": "Optional description assigned to the table." }, "isExportable": { "type": "boolean", "description": "Variable for whether table is exportable.", "annotations": { "required": [ "fusiontables.table.insert", "fusiontables.table.update" ] } }, "kind": { "type": "string", "description": "Type name: a template for an individual table.", "default": "fusiontables#table" }, "name": { "type": "string", "description": "Name assigned to a table.", "annotations": { "required": [ "fusiontables.table.insert", "fusiontables.table.update" ] } }, "sql": { "type": "string", "description": "Optional sql that encodes the table definition for derived tables." }, "tableId": { "type": "string", "description": "Encrypted unique alphanumeric identifier for the table." } } }, "TableList": { "id": "TableList", "type": "object", "description": "Represents a list of tables.", "properties": { "items": { "type": "array", "description": "List of all requested tables.", "items": { "$ref": "Table" } }, "kind": { "type": "string", "description": "Type name: a list of all tables.", "default": "fusiontables#tableList" }, "nextPageToken": { "type": "string", "description": "Token used to access the next page of this result. No token is displayed if there are no more pages left." } } }, "Task": { "id": "Task", "type": "object", "description": "Specifies the identifier, name, and type of a task in a table.", "properties": { "kind": { "type": "string", "description": "Type of the resource. This is always \"fusiontables#task\".", "default": "fusiontables#task" }, "progress": { "type": "string", "description": "An indication of task progress." }, "started": { "type": "boolean", "description": "false while the table is busy with some other task. true if this background task is currently running." }, "taskId": { "type": "string", "description": "Identifier for the task.", "format": "int64" }, "type": { "type": "string", "description": "Type of background task. One of DELETE_ROWS Deletes one or more rows from the table. ADD_ROWS \"Adds one or more rows to a table. Includes importing data into a new table and importing more rows into an existing table. ADD_COLUMN Adds a new column to the table. CHANGE_TYPE Changes the type of a column." } } }, "TaskList": { "id": "TaskList", "type": "object", "description": "Represents a list of tasks for a table.", "properties": { "items": { "type": "array", "description": "List of all requested tasks.", "items": { "$ref": "Task" } }, "kind": { "type": "string", "description": "Type of the resource. This is always \"fusiontables#taskList\".", "default": "fusiontables#taskList" }, "nextPageToken": { "type": "string", "description": "Token used to access the next page of this result. No token is displayed if there are no more pages left." }, "totalItems": { "type": "integer", "description": "Total number of tasks for the table.", "format": "int32" } } }, "Template": { "id": "Template", "type": "object", "description": "Represents the contents of InfoWindow templates.", "properties": { "automaticColumnNames": { "type": "array", "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" } }, "body": { "type": "string", "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." }, "kind": { "type": "string", "description": "Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically.", "default": "fusiontables#template" }, "name": { "type": "string", "description": "Optional name assigned to a template." }, "tableId": { "type": "string", "description": "Identifier for the table for which the template is defined." }, "templateId": { "type": "integer", "description": "Identifier for the template, unique within the context of a particular table.", "format": "int32" } } }, "TemplateList": { "id": "TemplateList", "type": "object", "description": "Represents a list of templates for a given table.", "properties": { "items": { "type": "array", "description": "List of all requested templates.", "items": { "$ref": "Template" } }, "kind": { "type": "string", "description": "Type name: a list of all templates.", "default": "fusiontables#templateList" }, "nextPageToken": { "type": "string", "description": "Token used to access the next page of this result. No token is displayed if there are no more pages left." }, "totalItems": { "type": "integer", "description": "Total number of templates for the table.", "format": "int32" } } } }, "resources": { "column": { "methods": { "delete": { "id": "fusiontables.column.delete", "path": "tables/{tableId}/columns/{columnId}", "httpMethod": "DELETE", "description": "Deletes the column.", "parameters": { "columnId": { "type": "string", "description": "Name or identifier for the column being deleted.", "required": true, "location": "path" }, "tableId": { "type": "string", "description": "Table from which the column is being deleted.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "columnId" ], "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "get": { "id": "fusiontables.column.get", "path": "tables/{tableId}/columns/{columnId}", "httpMethod": "GET", "description": "Retrieves a specific column by its id.", "parameters": { "columnId": { "type": "string", "description": "Name or identifier for the column that is being requested.", "required": true, "location": "path" }, "tableId": { "type": "string", "description": "Table to which the column belongs.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "columnId" ], "response": { "$ref": "Column" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "insert": { "id": "fusiontables.column.insert", "path": "tables/{tableId}/columns", "httpMethod": "POST", "description": "Adds a new column to the table.", "parameters": { "tableId": { "type": "string", "description": "Table for which a new column is being added.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "request": { "$ref": "Column" }, "response": { "$ref": "Column" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "list": { "id": "fusiontables.column.list", "path": "tables/{tableId}/columns", "httpMethod": "GET", "description": "Retrieves a list of columns.", "parameters": { "maxResults": { "type": "integer", "description": "Maximum number of columns to return. Optional. Default is 5.", "format": "uint32", "minimum": "0", "location": "query" }, "pageToken": { "type": "string", "description": "Continuation token specifying which result page to return. Optional.", "location": "query" }, "tableId": { "type": "string", "description": "Table whose columns are being listed.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "ColumnList" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "patch": { "id": "fusiontables.column.patch", "path": "tables/{tableId}/columns/{columnId}", "httpMethod": "PATCH", "description": "Updates the name or type of an existing column. This method supports patch semantics.", "parameters": { "columnId": { "type": "string", "description": "Name or identifier for the column that is being updated.", "required": true, "location": "path" }, "tableId": { "type": "string", "description": "Table for which the column is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "columnId" ], "request": { "$ref": "Column" }, "response": { "$ref": "Column" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "update": { "id": "fusiontables.column.update", "path": "tables/{tableId}/columns/{columnId}", "httpMethod": "PUT", "description": "Updates the name or type of an existing column.", "parameters": { "columnId": { "type": "string", "description": "Name or identifier for the column that is being updated.", "required": true, "location": "path" }, "tableId": { "type": "string", "description": "Table for which the column is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "columnId" ], "request": { "$ref": "Column" }, "response": { "$ref": "Column" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] } } }, "query": { "methods": { "sql": { "id": "fusiontables.query.sql", "path": "query", "httpMethod": "POST", "description": "Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.", "parameters": { "hdrs": { "type": "boolean", "description": "Should column names be included (in the first row)?. Default is true.", "location": "query" }, "sql": { "type": "string", "description": "An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement.", "required": true, "location": "query" }, "typed": { "type": "boolean", "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", "location": "query" } }, "parameterOrder": [ "sql" ], "response": { "$ref": "Sqlresponse" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ], "supportsMediaDownload": true, "useMediaDownloadService": true }, "sqlGet": { "id": "fusiontables.query.sqlGet", "path": "query", "httpMethod": "GET", "description": "Executes an SQL SELECT/SHOW/DESCRIBE statement.", "parameters": { "hdrs": { "type": "boolean", "description": "Should column names be included (in the first row)?. Default is true.", "location": "query" }, "sql": { "type": "string", "description": "An SQL SELECT/SHOW/DESCRIBE statement.", "required": true, "location": "query" }, "typed": { "type": "boolean", "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", "location": "query" } }, "parameterOrder": [ "sql" ], "response": { "$ref": "Sqlresponse" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ], "supportsMediaDownload": true, "useMediaDownloadService": true } } }, "style": { "methods": { "delete": { "id": "fusiontables.style.delete", "path": "tables/{tableId}/styles/{styleId}", "httpMethod": "DELETE", "description": "Deletes a style.", "parameters": { "styleId": { "type": "integer", "description": "Identifier (within a table) for the style being deleted", "required": true, "format": "int32", "location": "path" }, "tableId": { "type": "string", "description": "Table from which the style is being deleted", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "styleId" ], "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "get": { "id": "fusiontables.style.get", "path": "tables/{tableId}/styles/{styleId}", "httpMethod": "GET", "description": "Gets a specific style.", "parameters": { "styleId": { "type": "integer", "description": "Identifier (integer) for a specific style in a table", "required": true, "format": "int32", "location": "path" }, "tableId": { "type": "string", "description": "Table to which the requested style belongs", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "styleId" ], "response": { "$ref": "StyleSetting" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "insert": { "id": "fusiontables.style.insert", "path": "tables/{tableId}/styles", "httpMethod": "POST", "description": "Adds a new style for the table.", "parameters": { "tableId": { "type": "string", "description": "Table for which a new style is being added", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "request": { "$ref": "StyleSetting" }, "response": { "$ref": "StyleSetting" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "list": { "id": "fusiontables.style.list", "path": "tables/{tableId}/styles", "httpMethod": "GET", "description": "Retrieves a list of styles.", "parameters": { "maxResults": { "type": "integer", "description": "Maximum number of styles to return. Optional. Default is 5.", "format": "uint32", "minimum": "0", "location": "query" }, "pageToken": { "type": "string", "description": "Continuation token specifying which result page to return. Optional.", "location": "query" }, "tableId": { "type": "string", "description": "Table whose styles are being listed", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "StyleSettingList" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "patch": { "id": "fusiontables.style.patch", "path": "tables/{tableId}/styles/{styleId}", "httpMethod": "PATCH", "description": "Updates an existing style. This method supports patch semantics.", "parameters": { "styleId": { "type": "integer", "description": "Identifier (within a table) for the style being updated.", "required": true, "format": "int32", "location": "path" }, "tableId": { "type": "string", "description": "Table whose style is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "styleId" ], "request": { "$ref": "StyleSetting" }, "response": { "$ref": "StyleSetting" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "update": { "id": "fusiontables.style.update", "path": "tables/{tableId}/styles/{styleId}", "httpMethod": "PUT", "description": "Updates an existing style.", "parameters": { "styleId": { "type": "integer", "description": "Identifier (within a table) for the style being updated.", "required": true, "format": "int32", "location": "path" }, "tableId": { "type": "string", "description": "Table whose style is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "styleId" ], "request": { "$ref": "StyleSetting" }, "response": { "$ref": "StyleSetting" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] } } }, "table": { "methods": { "copy": { "id": "fusiontables.table.copy", "path": "tables/{tableId}/copy", "httpMethod": "POST", "description": "Copies a table.", "parameters": { "copyPresentation": { "type": "boolean", "description": "Whether to also copy tabs, styles, and templates. Default is false.", "location": "query" }, "tableId": { "type": "string", "description": "ID of the table that is being copied.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "delete": { "id": "fusiontables.table.delete", "path": "tables/{tableId}", "httpMethod": "DELETE", "description": "Deletes a table.", "parameters": { "tableId": { "type": "string", "description": "ID of the table that is being deleted.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "get": { "id": "fusiontables.table.get", "path": "tables/{tableId}", "httpMethod": "GET", "description": "Retrieves a specific table by its id.", "parameters": { "tableId": { "type": "string", "description": "Identifier(ID) for the table being requested.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "importRows": { "id": "fusiontables.table.importRows", "path": "tables/{tableId}/import", "httpMethod": "POST", "description": "Import more rows into a table.", "parameters": { "delimiter": { "type": "string", "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", "location": "query" }, "encoding": { "type": "string", "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", "location": "query" }, "endLine": { "type": "integer", "description": "The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine.", "format": "int32", "location": "query" }, "isStrict": { "type": "boolean", "description": "Whether the 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" }, "startLine": { "type": "integer", "description": "The index of the first line from which to start importing, inclusive. Default is 0.", "format": "int32", "location": "query" }, "tableId": { "type": "string", "description": "The table into which new rows are being imported.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "Import" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ], "supportsMediaUpload": true, "mediaUpload": { "accept": [ "application/octet-stream" ], "maxSize": "250MB", "protocols": { "simple": { "multipart": true, "path": "/upload/fusiontables/v1/tables/{tableId}/import" }, "resumable": { "multipart": true, "path": "/resumable/upload/fusiontables/v1/tables/{tableId}/import" } } } }, "importTable": { "id": "fusiontables.table.importTable", "path": "tables/import", "httpMethod": "POST", "description": "Import a new table.", "parameters": { "delimiter": { "type": "string", "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", "location": "query" }, "encoding": { "type": "string", "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", "location": "query" }, "name": { "type": "string", "description": "The name to be assigned to the new table.", "required": true, "location": "query" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ], "supportsMediaUpload": true, "mediaUpload": { "accept": [ "application/octet-stream" ], "maxSize": "250MB", "protocols": { "simple": { "multipart": true, "path": "/upload/fusiontables/v1/tables/import" }, "resumable": { "multipart": true, "path": "/resumable/upload/fusiontables/v1/tables/import" } } } }, "insert": { "id": "fusiontables.table.insert", "path": "tables", "httpMethod": "POST", "description": "Creates a new table.", "request": { "$ref": "Table" }, "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "list": { "id": "fusiontables.table.list", "path": "tables", "httpMethod": "GET", "description": "Retrieves a list of tables a user owns.", "parameters": { "maxResults": { "type": "integer", "description": "Maximum number of styles to return. Optional. Default is 5.", "format": "uint32", "minimum": "0", "location": "query" }, "pageToken": { "type": "string", "description": "Continuation token specifying which result page to return. Optional.", "location": "query" } }, "response": { "$ref": "TableList" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "patch": { "id": "fusiontables.table.patch", "path": "tables/{tableId}", "httpMethod": "PATCH", "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.", "parameters": { "replaceViewDefinition": { "type": "boolean", "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", "location": "query" }, "tableId": { "type": "string", "description": "ID of the table that is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "request": { "$ref": "Table" }, "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "update": { "id": "fusiontables.table.update", "path": "tables/{tableId}", "httpMethod": "PUT", "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.", "parameters": { "replaceViewDefinition": { "type": "boolean", "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", "location": "query" }, "tableId": { "type": "string", "description": "ID of the table that is being updated.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "request": { "$ref": "Table" }, "response": { "$ref": "Table" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] } } }, "task": { "methods": { "delete": { "id": "fusiontables.task.delete", "path": "tables/{tableId}/tasks/{taskId}", "httpMethod": "DELETE", "description": "Deletes the task, unless already started.", "parameters": { "tableId": { "type": "string", "description": "Table from which the task is being deleted.", "required": true, "location": "path" }, "taskId": { "type": "string", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "taskId" ], "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "get": { "id": "fusiontables.task.get", "path": "tables/{tableId}/tasks/{taskId}", "httpMethod": "GET", "description": "Retrieves a specific task by its id.", "parameters": { "tableId": { "type": "string", "description": "Table to which the task belongs.", "required": true, "location": "path" }, "taskId": { "type": "string", "required": true, "location": "path" } }, "parameterOrder": [ "tableId", "taskId" ], "response": { "$ref": "Task" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "list": { "id": "fusiontables.task.list", "path": "tables/{tableId}/tasks", "httpMethod": "GET", "description": "Retrieves a list of tasks.", "parameters": { "maxResults": { "type": "integer", "description": "Maximum number of columns to return. Optional. Default is 5.", "format": "uint32", "minimum": "0", "location": "query" }, "pageToken": { "type": "string", "location": "query" }, "startIndex": { "type": "integer", "format": "uint32", "location": "query" }, "tableId": { "type": "string", "description": "Table whose tasks are being listed.", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "TaskList" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] } } }, "template": { "methods": { "delete": { "id": "fusiontables.template.delete", "path": "tables/{tableId}/templates/{templateId}", "httpMethod": "DELETE", "description": "Deletes a template", "parameters": { "tableId": { "type": "string", "description": "Table from which the template is being deleted", "required": true, "location": "path" }, "templateId": { "type": "integer", "description": "Identifier for the template which is being deleted", "required": true, "format": "int32", "location": "path" } }, "parameterOrder": [ "tableId", "templateId" ], "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "get": { "id": "fusiontables.template.get", "path": "tables/{tableId}/templates/{templateId}", "httpMethod": "GET", "description": "Retrieves a specific template by its id", "parameters": { "tableId": { "type": "string", "description": "Table to which the template belongs", "required": true, "location": "path" }, "templateId": { "type": "integer", "description": "Identifier for the template that is being requested", "required": true, "format": "int32", "location": "path" } }, "parameterOrder": [ "tableId", "templateId" ], "response": { "$ref": "Template" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "insert": { "id": "fusiontables.template.insert", "path": "tables/{tableId}/templates", "httpMethod": "POST", "description": "Creates a new template for the table.", "parameters": { "tableId": { "type": "string", "description": "Table for which a new template is being created", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "request": { "$ref": "Template" }, "response": { "$ref": "Template" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "list": { "id": "fusiontables.template.list", "path": "tables/{tableId}/templates", "httpMethod": "GET", "description": "Retrieves a list of templates.", "parameters": { "maxResults": { "type": "integer", "description": "Maximum number of templates to return. Optional. Default is 5.", "format": "uint32", "minimum": "0", "location": "query" }, "pageToken": { "type": "string", "description": "Continuation token specifying which results page to return. Optional.", "location": "query" }, "tableId": { "type": "string", "description": "Identifier for the table whose templates are being requested", "required": true, "location": "path" } }, "parameterOrder": [ "tableId" ], "response": { "$ref": "TemplateList" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables", "https://www.googleapis.com/auth/fusiontables.readonly" ] }, "patch": { "id": "fusiontables.template.patch", "path": "tables/{tableId}/templates/{templateId}", "httpMethod": "PATCH", "description": "Updates an existing template. This method supports patch semantics.", "parameters": { "tableId": { "type": "string", "description": "Table to which the updated template belongs", "required": true, "location": "path" }, "templateId": { "type": "integer", "description": "Identifier for the template that is being updated", "required": true, "format": "int32", "location": "path" } }, "parameterOrder": [ "tableId", "templateId" ], "request": { "$ref": "Template" }, "response": { "$ref": "Template" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] }, "update": { "id": "fusiontables.template.update", "path": "tables/{tableId}/templates/{templateId}", "httpMethod": "PUT", "description": "Updates an existing template", "parameters": { "tableId": { "type": "string", "description": "Table to which the updated template belongs", "required": true, "location": "path" }, "templateId": { "type": "integer", "description": "Identifier for the template that is being updated", "required": true, "format": "int32", "location": "path" } }, "parameterOrder": [ "tableId", "templateId" ], "request": { "$ref": "Template" }, "response": { "$ref": "Template" }, "scopes": [ "https://www.googleapis.com/auth/fusiontables" ] } } } } } PK ���Z�H�N? ? __init__.pynu �[��� # Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. PK ���Z�q���� �� ) fusiontables_v1/fusiontables_v1_client.pynu �[��� """Generated client library for fusiontables version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from samples.fusiontables_sample.fusiontables_v1 import fusiontables_v1_messages as messages class FusiontablesV1(base_api.BaseApiClient): """Generated client library for service fusiontables version v1.""" MESSAGES_MODULE = messages BASE_URL = 'https://www.googleapis.com/fusiontables/v1/' MTLS_BASE_URL = '' _PACKAGE = 'fusiontables' _SCOPES = ['https://www.googleapis.com/auth/fusiontables', 'https://www.googleapis.com/auth/fusiontables.readonly'] _VERSION = 'v1' _CLIENT_ID = 'CLIENT_ID' _CLIENT_SECRET = 'CLIENT_SECRET' _USER_AGENT = 'x_Tw5K8nnjoRAqULM9PFAC2b' _CLIENT_CLASS_NAME = 'FusiontablesV1' _URL_VERSION = 'v1' _API_KEY = None def __init__(self, url='', credentials=None, get_credentials=True, http=None, model=None, log_request=False, log_response=False, credentials_args=None, default_global_params=None, additional_http_headers=None, response_encoding=None): """Create a new fusiontables handle.""" url = url or self.BASE_URL super(FusiontablesV1, self).__init__( url, credentials=credentials, get_credentials=get_credentials, http=http, model=model, log_request=log_request, log_response=log_response, credentials_args=credentials_args, default_global_params=default_global_params, additional_http_headers=additional_http_headers, response_encoding=response_encoding) self.column = self.ColumnService(self) self.query = self.QueryService(self) self.style = self.StyleService(self) self.table = self.TableService(self) self.task = self.TaskService(self) self.template = self.TemplateService(self) class ColumnService(base_api.BaseApiService): """Service class for the column resource.""" _NAME = 'column' def __init__(self, client): super(FusiontablesV1.ColumnService, self).__init__(client) self._upload_configs = { } def Delete(self, request, global_params=None): r"""Deletes the column. Args: request: (FusiontablesColumnDeleteRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (FusiontablesColumnDeleteResponse) The response message. """ config = self.GetMethodConfig('Delete') return self._RunMethod( config, request, global_params=global_params) Delete.method_config = lambda: base_api.ApiMethodInfo( http_method='DELETE', method_id='fusiontables.column.delete', ordered_params=['tableId', 'columnId'], path_params=['columnId', 'tableId'], query_params=[], relative_path='tables/{tableId}/columns/{columnId}', request_field='', request_type_name='FusiontablesColumnDeleteRequest', response_type_name='FusiontablesColumnDeleteResponse', supports_download=False, ) def Get(self, request, global_params=None): r"""Retrieves a specific column by its id. Args: request: (FusiontablesColumnGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Column) The response message. """ config = self.GetMethodConfig('Get') return self._RunMethod( config, request, global_params=global_params) Get.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.column.get', ordered_params=['tableId', 'columnId'], path_params=['columnId', 'tableId'], query_params=[], relative_path='tables/{tableId}/columns/{columnId}', request_field='', request_type_name='FusiontablesColumnGetRequest', response_type_name='Column', supports_download=False, ) def Insert(self, request, global_params=None): r"""Adds a new column to the table. Args: request: (FusiontablesColumnInsertRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Column) The response message. """ config = self.GetMethodConfig('Insert') return self._RunMethod( config, request, global_params=global_params) Insert.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.column.insert', ordered_params=['tableId'], path_params=['tableId'], query_params=[], relative_path='tables/{tableId}/columns', request_field='column', request_type_name='FusiontablesColumnInsertRequest', response_type_name='Column', supports_download=False, ) def List(self, request, global_params=None): r"""Retrieves a list of columns. Args: request: (FusiontablesColumnListRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (ColumnList) The response message. """ config = self.GetMethodConfig('List') return self._RunMethod( config, request, global_params=global_params) List.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.column.list', ordered_params=['tableId'], path_params=['tableId'], query_params=['maxResults', 'pageToken'], relative_path='tables/{tableId}/columns', request_field='', request_type_name='FusiontablesColumnListRequest', response_type_name='ColumnList', supports_download=False, ) def Patch(self, request, global_params=None): r"""Updates the name or type of an existing column. This method supports patch semantics. Args: request: (FusiontablesColumnPatchRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Column) The response message. """ config = self.GetMethodConfig('Patch') return self._RunMethod( config, request, global_params=global_params) Patch.method_config = lambda: base_api.ApiMethodInfo( http_method='PATCH', method_id='fusiontables.column.patch', ordered_params=['tableId', 'columnId'], path_params=['columnId', 'tableId'], query_params=[], relative_path='tables/{tableId}/columns/{columnId}', request_field='column', request_type_name='FusiontablesColumnPatchRequest', response_type_name='Column', supports_download=False, ) def Update(self, request, global_params=None): r"""Updates the name or type of an existing column. Args: request: (FusiontablesColumnUpdateRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Column) The response message. """ config = self.GetMethodConfig('Update') return self._RunMethod( config, request, global_params=global_params) Update.method_config = lambda: base_api.ApiMethodInfo( http_method='PUT', method_id='fusiontables.column.update', ordered_params=['tableId', 'columnId'], path_params=['columnId', 'tableId'], query_params=[], relative_path='tables/{tableId}/columns/{columnId}', request_field='column', request_type_name='FusiontablesColumnUpdateRequest', response_type_name='Column', supports_download=False, ) class QueryService(base_api.BaseApiService): """Service class for the query resource.""" _NAME = 'query' def __init__(self, client): super(FusiontablesV1.QueryService, self).__init__(client) self._upload_configs = { } def Sql(self, request, global_params=None, download=None): r"""Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement. Args: request: (FusiontablesQuerySqlRequest) input message global_params: (StandardQueryParameters, default: None) global arguments download: (Download, default: None) If present, download data from the request via this stream. Returns: (Sqlresponse) The response message. """ config = self.GetMethodConfig('Sql') return self._RunMethod( config, request, global_params=global_params, download=download) Sql.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.query.sql', ordered_params=['sql'], path_params=[], query_params=['hdrs', 'sql', 'typed'], relative_path='query', request_field='', request_type_name='FusiontablesQuerySqlRequest', response_type_name='Sqlresponse', supports_download=True, ) def SqlGet(self, request, global_params=None, download=None): r"""Executes an SQL SELECT/SHOW/DESCRIBE statement. Args: request: (FusiontablesQuerySqlGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments download: (Download, default: None) If present, download data from the request via this stream. Returns: (Sqlresponse) The response message. """ config = self.GetMethodConfig('SqlGet') return self._RunMethod( config, request, global_params=global_params, download=download) SqlGet.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.query.sqlGet', ordered_params=['sql'], path_params=[], query_params=['hdrs', 'sql', 'typed'], relative_path='query', request_field='', request_type_name='FusiontablesQuerySqlGetRequest', response_type_name='Sqlresponse', supports_download=True, ) class StyleService(base_api.BaseApiService): """Service class for the style resource.""" _NAME = 'style' def __init__(self, client): super(FusiontablesV1.StyleService, self).__init__(client) self._upload_configs = { } def Delete(self, request, global_params=None): r"""Deletes a style. Args: request: (FusiontablesStyleDeleteRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (FusiontablesStyleDeleteResponse) The response message. """ config = self.GetMethodConfig('Delete') return self._RunMethod( config, request, global_params=global_params) Delete.method_config = lambda: base_api.ApiMethodInfo( http_method='DELETE', method_id='fusiontables.style.delete', ordered_params=['tableId', 'styleId'], path_params=['styleId', 'tableId'], query_params=[], relative_path='tables/{tableId}/styles/{styleId}', request_field='', request_type_name='FusiontablesStyleDeleteRequest', response_type_name='FusiontablesStyleDeleteResponse', supports_download=False, ) def Get(self, request, global_params=None): r"""Gets a specific style. Args: request: (FusiontablesStyleGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (StyleSetting) The response message. """ config = self.GetMethodConfig('Get') return self._RunMethod( config, request, global_params=global_params) Get.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.style.get', ordered_params=['tableId', 'styleId'], path_params=['styleId', 'tableId'], query_params=[], relative_path='tables/{tableId}/styles/{styleId}', request_field='', request_type_name='FusiontablesStyleGetRequest', response_type_name='StyleSetting', supports_download=False, ) def Insert(self, request, global_params=None): r"""Adds a new style for the table. Args: request: (StyleSetting) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (StyleSetting) The response message. """ config = self.GetMethodConfig('Insert') return self._RunMethod( config, request, global_params=global_params) Insert.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.style.insert', ordered_params=['tableId'], path_params=['tableId'], query_params=[], relative_path='tables/{tableId}/styles', request_field='<request>', request_type_name='StyleSetting', response_type_name='StyleSetting', supports_download=False, ) def List(self, request, global_params=None): r"""Retrieves a list of styles. Args: request: (FusiontablesStyleListRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (StyleSettingList) The response message. """ config = self.GetMethodConfig('List') return self._RunMethod( config, request, global_params=global_params) List.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.style.list', ordered_params=['tableId'], path_params=['tableId'], query_params=['maxResults', 'pageToken'], relative_path='tables/{tableId}/styles', request_field='', request_type_name='FusiontablesStyleListRequest', response_type_name='StyleSettingList', supports_download=False, ) def Patch(self, request, global_params=None): r"""Updates an existing style. This method supports patch semantics. Args: request: (StyleSetting) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (StyleSetting) The response message. """ config = self.GetMethodConfig('Patch') return self._RunMethod( config, request, global_params=global_params) Patch.method_config = lambda: base_api.ApiMethodInfo( http_method='PATCH', method_id='fusiontables.style.patch', ordered_params=['tableId', 'styleId'], path_params=['styleId', 'tableId'], query_params=[], relative_path='tables/{tableId}/styles/{styleId}', request_field='<request>', request_type_name='StyleSetting', response_type_name='StyleSetting', supports_download=False, ) def Update(self, request, global_params=None): r"""Updates an existing style. Args: request: (StyleSetting) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (StyleSetting) The response message. """ config = self.GetMethodConfig('Update') return self._RunMethod( config, request, global_params=global_params) Update.method_config = lambda: base_api.ApiMethodInfo( http_method='PUT', method_id='fusiontables.style.update', ordered_params=['tableId', 'styleId'], path_params=['styleId', 'tableId'], query_params=[], relative_path='tables/{tableId}/styles/{styleId}', request_field='<request>', request_type_name='StyleSetting', response_type_name='StyleSetting', supports_download=False, ) class TableService(base_api.BaseApiService): """Service class for the table resource.""" _NAME = 'table' def __init__(self, client): super(FusiontablesV1.TableService, self).__init__(client) self._upload_configs = { 'ImportRows': base_api.ApiUploadInfo( accept=['application/octet-stream'], max_size=262144000, resumable_multipart=True, resumable_path='/resumable/upload/fusiontables/v1/tables/{tableId}/import', simple_multipart=True, simple_path='/upload/fusiontables/v1/tables/{tableId}/import', ), 'ImportTable': base_api.ApiUploadInfo( accept=['application/octet-stream'], max_size=262144000, resumable_multipart=True, resumable_path='/resumable/upload/fusiontables/v1/tables/import', simple_multipart=True, simple_path='/upload/fusiontables/v1/tables/import', ), } def Copy(self, request, global_params=None): r"""Copies a table. Args: request: (FusiontablesTableCopyRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Table) The response message. """ config = self.GetMethodConfig('Copy') return self._RunMethod( config, request, global_params=global_params) Copy.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.table.copy', ordered_params=['tableId'], path_params=['tableId'], query_params=['copyPresentation'], relative_path='tables/{tableId}/copy', request_field='', request_type_name='FusiontablesTableCopyRequest', response_type_name='Table', supports_download=False, ) def Delete(self, request, global_params=None): r"""Deletes a table. Args: request: (FusiontablesTableDeleteRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (FusiontablesTableDeleteResponse) The response message. """ config = self.GetMethodConfig('Delete') return self._RunMethod( config, request, global_params=global_params) Delete.method_config = lambda: base_api.ApiMethodInfo( http_method='DELETE', method_id='fusiontables.table.delete', ordered_params=['tableId'], path_params=['tableId'], query_params=[], relative_path='tables/{tableId}', request_field='', request_type_name='FusiontablesTableDeleteRequest', response_type_name='FusiontablesTableDeleteResponse', supports_download=False, ) def Get(self, request, global_params=None): r"""Retrieves a specific table by its id. Args: request: (FusiontablesTableGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Table) The response message. """ config = self.GetMethodConfig('Get') return self._RunMethod( config, request, global_params=global_params) Get.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.table.get', ordered_params=['tableId'], path_params=['tableId'], query_params=[], relative_path='tables/{tableId}', request_field='', request_type_name='FusiontablesTableGetRequest', response_type_name='Table', supports_download=False, ) def ImportRows(self, request, global_params=None, upload=None): r"""Import more rows into a table. Args: request: (FusiontablesTableImportRowsRequest) input message global_params: (StandardQueryParameters, default: None) global arguments upload: (Upload, default: None) If present, upload this stream with the request. Returns: (Import) The response message. """ config = self.GetMethodConfig('ImportRows') upload_config = self.GetUploadConfig('ImportRows') return self._RunMethod( config, request, global_params=global_params, upload=upload, upload_config=upload_config) ImportRows.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.table.importRows', ordered_params=['tableId'], path_params=['tableId'], query_params=['delimiter', 'encoding', 'endLine', 'isStrict', 'startLine'], relative_path='tables/{tableId}/import', request_field='', request_type_name='FusiontablesTableImportRowsRequest', response_type_name='Import', supports_download=False, ) def ImportTable(self, request, global_params=None, upload=None): r"""Import a new table. Args: request: (FusiontablesTableImportTableRequest) input message global_params: (StandardQueryParameters, default: None) global arguments upload: (Upload, default: None) If present, upload this stream with the request. Returns: (Table) The response message. """ config = self.GetMethodConfig('ImportTable') upload_config = self.GetUploadConfig('ImportTable') return self._RunMethod( config, request, global_params=global_params, upload=upload, upload_config=upload_config) ImportTable.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.table.importTable', ordered_params=['name'], path_params=[], query_params=['delimiter', 'encoding', 'name'], relative_path='tables/import', request_field='', request_type_name='FusiontablesTableImportTableRequest', response_type_name='Table', supports_download=False, ) def Insert(self, request, global_params=None): r"""Creates a new table. Args: request: (Table) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Table) The response message. """ config = self.GetMethodConfig('Insert') return self._RunMethod( config, request, global_params=global_params) Insert.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.table.insert', ordered_params=[], path_params=[], query_params=[], relative_path='tables', request_field='<request>', request_type_name='Table', response_type_name='Table', supports_download=False, ) def List(self, request, global_params=None): r"""Retrieves a list of tables a user owns. Args: request: (FusiontablesTableListRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (TableList) The response message. """ config = self.GetMethodConfig('List') return self._RunMethod( config, request, global_params=global_params) List.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.table.list', ordered_params=[], path_params=[], query_params=['maxResults', 'pageToken'], relative_path='tables', request_field='', request_type_name='FusiontablesTableListRequest', response_type_name='TableList', supports_download=False, ) def Patch(self, request, global_params=None): r"""Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics. Args: request: (FusiontablesTablePatchRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Table) The response message. """ config = self.GetMethodConfig('Patch') return self._RunMethod( config, request, global_params=global_params) Patch.method_config = lambda: base_api.ApiMethodInfo( http_method='PATCH', method_id='fusiontables.table.patch', ordered_params=['tableId'], path_params=['tableId'], query_params=['replaceViewDefinition'], relative_path='tables/{tableId}', request_field='table', request_type_name='FusiontablesTablePatchRequest', response_type_name='Table', supports_download=False, ) def Update(self, request, global_params=None): r"""Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. Args: request: (FusiontablesTableUpdateRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Table) The response message. """ config = self.GetMethodConfig('Update') return self._RunMethod( config, request, global_params=global_params) Update.method_config = lambda: base_api.ApiMethodInfo( http_method='PUT', method_id='fusiontables.table.update', ordered_params=['tableId'], path_params=['tableId'], query_params=['replaceViewDefinition'], relative_path='tables/{tableId}', request_field='table', request_type_name='FusiontablesTableUpdateRequest', response_type_name='Table', supports_download=False, ) class TaskService(base_api.BaseApiService): """Service class for the task resource.""" _NAME = 'task' def __init__(self, client): super(FusiontablesV1.TaskService, self).__init__(client) self._upload_configs = { } def Delete(self, request, global_params=None): r"""Deletes the task, unless already started. Args: request: (FusiontablesTaskDeleteRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (FusiontablesTaskDeleteResponse) The response message. """ config = self.GetMethodConfig('Delete') return self._RunMethod( config, request, global_params=global_params) Delete.method_config = lambda: base_api.ApiMethodInfo( http_method='DELETE', method_id='fusiontables.task.delete', ordered_params=['tableId', 'taskId'], path_params=['tableId', 'taskId'], query_params=[], relative_path='tables/{tableId}/tasks/{taskId}', request_field='', request_type_name='FusiontablesTaskDeleteRequest', response_type_name='FusiontablesTaskDeleteResponse', supports_download=False, ) def Get(self, request, global_params=None): r"""Retrieves a specific task by its id. Args: request: (FusiontablesTaskGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Task) The response message. """ config = self.GetMethodConfig('Get') return self._RunMethod( config, request, global_params=global_params) Get.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.task.get', ordered_params=['tableId', 'taskId'], path_params=['tableId', 'taskId'], query_params=[], relative_path='tables/{tableId}/tasks/{taskId}', request_field='', request_type_name='FusiontablesTaskGetRequest', response_type_name='Task', supports_download=False, ) def List(self, request, global_params=None): r"""Retrieves a list of tasks. Args: request: (FusiontablesTaskListRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (TaskList) The response message. """ config = self.GetMethodConfig('List') return self._RunMethod( config, request, global_params=global_params) List.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.task.list', ordered_params=['tableId'], path_params=['tableId'], query_params=['maxResults', 'pageToken', 'startIndex'], relative_path='tables/{tableId}/tasks', request_field='', request_type_name='FusiontablesTaskListRequest', response_type_name='TaskList', supports_download=False, ) class TemplateService(base_api.BaseApiService): """Service class for the template resource.""" _NAME = 'template' def __init__(self, client): super(FusiontablesV1.TemplateService, self).__init__(client) self._upload_configs = { } def Delete(self, request, global_params=None): r"""Deletes a template. Args: request: (FusiontablesTemplateDeleteRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (FusiontablesTemplateDeleteResponse) The response message. """ config = self.GetMethodConfig('Delete') return self._RunMethod( config, request, global_params=global_params) Delete.method_config = lambda: base_api.ApiMethodInfo( http_method='DELETE', method_id='fusiontables.template.delete', ordered_params=['tableId', 'templateId'], path_params=['tableId', 'templateId'], query_params=[], relative_path='tables/{tableId}/templates/{templateId}', request_field='', request_type_name='FusiontablesTemplateDeleteRequest', response_type_name='FusiontablesTemplateDeleteResponse', supports_download=False, ) def Get(self, request, global_params=None): r"""Retrieves a specific template by its id. Args: request: (FusiontablesTemplateGetRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Template) The response message. """ config = self.GetMethodConfig('Get') return self._RunMethod( config, request, global_params=global_params) Get.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.template.get', ordered_params=['tableId', 'templateId'], path_params=['tableId', 'templateId'], query_params=[], relative_path='tables/{tableId}/templates/{templateId}', request_field='', request_type_name='FusiontablesTemplateGetRequest', response_type_name='Template', supports_download=False, ) def Insert(self, request, global_params=None): r"""Creates a new template for the table. Args: request: (Template) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Template) The response message. """ config = self.GetMethodConfig('Insert') return self._RunMethod( config, request, global_params=global_params) Insert.method_config = lambda: base_api.ApiMethodInfo( http_method='POST', method_id='fusiontables.template.insert', ordered_params=['tableId'], path_params=['tableId'], query_params=[], relative_path='tables/{tableId}/templates', request_field='<request>', request_type_name='Template', response_type_name='Template', supports_download=False, ) def List(self, request, global_params=None): r"""Retrieves a list of templates. Args: request: (FusiontablesTemplateListRequest) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (TemplateList) The response message. """ config = self.GetMethodConfig('List') return self._RunMethod( config, request, global_params=global_params) List.method_config = lambda: base_api.ApiMethodInfo( http_method='GET', method_id='fusiontables.template.list', ordered_params=['tableId'], path_params=['tableId'], query_params=['maxResults', 'pageToken'], relative_path='tables/{tableId}/templates', request_field='', request_type_name='FusiontablesTemplateListRequest', response_type_name='TemplateList', supports_download=False, ) def Patch(self, request, global_params=None): r"""Updates an existing template. This method supports patch semantics. Args: request: (Template) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Template) The response message. """ config = self.GetMethodConfig('Patch') return self._RunMethod( config, request, global_params=global_params) Patch.method_config = lambda: base_api.ApiMethodInfo( http_method='PATCH', method_id='fusiontables.template.patch', ordered_params=['tableId', 'templateId'], path_params=['tableId', 'templateId'], query_params=[], relative_path='tables/{tableId}/templates/{templateId}', request_field='<request>', request_type_name='Template', response_type_name='Template', supports_download=False, ) def Update(self, request, global_params=None): r"""Updates an existing template. Args: request: (Template) input message global_params: (StandardQueryParameters, default: None) global arguments Returns: (Template) The response message. """ config = self.GetMethodConfig('Update') return self._RunMethod( config, request, global_params=global_params) Update.method_config = lambda: base_api.ApiMethodInfo( http_method='PUT', method_id='fusiontables.template.update', ordered_params=['tableId', 'templateId'], path_params=['tableId', 'templateId'], query_params=[], relative_path='tables/{tableId}/templates/{templateId}', request_field='<request>', request_type_name='Template', response_type_name='Template', supports_download=False, ) PK ���Z���� � + fusiontables_v1/fusiontables_v1_messages.pynu �[��� """Generated message classes for fusiontables version v1. API for working with Fusion Tables data. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import extra_types package = 'fusiontables' class Bucket(_messages.Message): r"""Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. Fields: color: Color of line or the interior of a polygon in #RRGGBB format. icon: Icon name used for a point. max: Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. min: Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. opacity: Opacity of the color: 0.0 (transparent) to 1.0 (opaque). weight: Width of a line (in pixels). """ color = _messages.StringField(1) icon = _messages.StringField(2) max = _messages.FloatField(3) min = _messages.FloatField(4) opacity = _messages.FloatField(5) weight = _messages.IntegerField(6, variant=_messages.Variant.INT32) class Column(_messages.Message): r"""Specifies the id, name and type of a column in a table. Messages: BaseColumnValue: Optional identifier of the base column. If present, this column is derived from the specified base column. Fields: baseColumn: Optional identifier of the base column. If present, this column is derived from the specified base column. columnId: Identifier for the column. description: Optional column description. graph_predicate: Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC- rdf11-concepts-20140225/#data-model kind: Type name: a template for an individual column. name: Required name of the column. type: Required type of the column. """ class BaseColumnValue(_messages.Message): r"""Optional identifier of the base column. If present, this column is derived from the specified base column. Fields: columnId: The id of the column in the base table from which this column is derived. tableIndex: Offset to the entry in the list of base tables in the table definition. """ columnId = _messages.IntegerField(1, variant=_messages.Variant.INT32) tableIndex = _messages.IntegerField(2, variant=_messages.Variant.INT32) baseColumn = _messages.MessageField('BaseColumnValue', 1) columnId = _messages.IntegerField(2, variant=_messages.Variant.INT32) description = _messages.StringField(3) graph_predicate = _messages.StringField(4) kind = _messages.StringField(5, default='fusiontables#column') name = _messages.StringField(6) type = _messages.StringField(7) class ColumnList(_messages.Message): r"""Represents a list of columns in a table. Fields: items: List of all requested columns. kind: Type name: a list of all columns. nextPageToken: Token used to access the next page of this result. No token is displayed if there are no more pages left. totalItems: Total number of columns for the table. """ items = _messages.MessageField('Column', 1, repeated=True) kind = _messages.StringField(2, default='fusiontables#columnList') nextPageToken = _messages.StringField(3) totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) class FusiontablesColumnDeleteRequest(_messages.Message): r"""A FusiontablesColumnDeleteRequest object. Fields: columnId: Name or identifier for the column being deleted. tableId: Table from which the column is being deleted. """ columnId = _messages.StringField(1, required=True) tableId = _messages.StringField(2, required=True) class FusiontablesColumnDeleteResponse(_messages.Message): r"""An empty FusiontablesColumnDelete response.""" class FusiontablesColumnGetRequest(_messages.Message): r"""A FusiontablesColumnGetRequest object. Fields: columnId: Name or identifier for the column that is being requested. tableId: Table to which the column belongs. """ columnId = _messages.StringField(1, required=True) tableId = _messages.StringField(2, required=True) class FusiontablesColumnInsertRequest(_messages.Message): r"""A FusiontablesColumnInsertRequest object. Fields: column: A Column resource to be passed as the request body. tableId: Table for which a new column is being added. """ column = _messages.MessageField('Column', 1) tableId = _messages.StringField(2, required=True) class FusiontablesColumnListRequest(_messages.Message): r"""A FusiontablesColumnListRequest object. Fields: maxResults: Maximum number of columns to return. Optional. Default is 5. pageToken: Continuation token specifying which result page to return. Optional. tableId: Table whose columns are being listed. """ maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) pageToken = _messages.StringField(2) tableId = _messages.StringField(3, required=True) class FusiontablesColumnPatchRequest(_messages.Message): r"""A FusiontablesColumnPatchRequest object. Fields: column: A Column resource to be passed as the request body. columnId: Name or identifier for the column that is being updated. tableId: Table for which the column is being updated. """ column = _messages.MessageField('Column', 1) columnId = _messages.StringField(2, required=True) tableId = _messages.StringField(3, required=True) class FusiontablesColumnUpdateRequest(_messages.Message): r"""A FusiontablesColumnUpdateRequest object. Fields: column: A Column resource to be passed as the request body. columnId: Name or identifier for the column that is being updated. tableId: Table for which the column is being updated. """ column = _messages.MessageField('Column', 1) columnId = _messages.StringField(2, required=True) tableId = _messages.StringField(3, required=True) class FusiontablesQuerySqlGetRequest(_messages.Message): r"""A FusiontablesQuerySqlGetRequest object. Fields: hdrs: Should column names be included (in the first row)?. Default is true. sql: An SQL SELECT/SHOW/DESCRIBE statement. typed: Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true. """ hdrs = _messages.BooleanField(1) sql = _messages.StringField(2, required=True) typed = _messages.BooleanField(3) class FusiontablesQuerySqlRequest(_messages.Message): r"""A FusiontablesQuerySqlRequest object. Fields: hdrs: Should column names be included (in the first row)?. Default is true. sql: An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement. typed: Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true. """ hdrs = _messages.BooleanField(1) sql = _messages.StringField(2, required=True) typed = _messages.BooleanField(3) class FusiontablesStyleDeleteRequest(_messages.Message): r"""A FusiontablesStyleDeleteRequest object. Fields: styleId: Identifier (within a table) for the style being deleted tableId: Table from which the style is being deleted """ styleId = _messages.IntegerField(1, required=True, variant=_messages.Variant.INT32) tableId = _messages.StringField(2, required=True) class FusiontablesStyleDeleteResponse(_messages.Message): r"""An empty FusiontablesStyleDelete response.""" class FusiontablesStyleGetRequest(_messages.Message): r"""A FusiontablesStyleGetRequest object. Fields: styleId: Identifier (integer) for a specific style in a table tableId: Table to which the requested style belongs """ styleId = _messages.IntegerField(1, required=True, variant=_messages.Variant.INT32) tableId = _messages.StringField(2, required=True) class FusiontablesStyleListRequest(_messages.Message): r"""A FusiontablesStyleListRequest object. Fields: maxResults: Maximum number of styles to return. Optional. Default is 5. pageToken: Continuation token specifying which result page to return. Optional. tableId: Table whose styles are being listed """ maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) pageToken = _messages.StringField(2) tableId = _messages.StringField(3, required=True) class FusiontablesTableCopyRequest(_messages.Message): r"""A FusiontablesTableCopyRequest object. Fields: copyPresentation: Whether to also copy tabs, styles, and templates. Default is false. tableId: ID of the table that is being copied. """ copyPresentation = _messages.BooleanField(1) tableId = _messages.StringField(2, required=True) class FusiontablesTableDeleteRequest(_messages.Message): r"""A FusiontablesTableDeleteRequest object. Fields: tableId: ID of the table that is being deleted. """ tableId = _messages.StringField(1, required=True) class FusiontablesTableDeleteResponse(_messages.Message): r"""An empty FusiontablesTableDelete response.""" class FusiontablesTableGetRequest(_messages.Message): r"""A FusiontablesTableGetRequest object. Fields: tableId: Identifier(ID) for the table being requested. """ tableId = _messages.StringField(1, required=True) class FusiontablesTableImportRowsRequest(_messages.Message): r"""A FusiontablesTableImportRowsRequest object. Fields: delimiter: The delimiter used to separate cell values. This can only consist of a single character. Default is ','. encoding: The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding. endLine: The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine. isStrict: Whether the 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. startLine: The index of the first line from which to start importing, inclusive. Default is 0. tableId: The table into which new rows are being imported. """ delimiter = _messages.StringField(1) encoding = _messages.StringField(2) endLine = _messages.IntegerField(3, variant=_messages.Variant.INT32) isStrict = _messages.BooleanField(4) startLine = _messages.IntegerField(5, variant=_messages.Variant.INT32) tableId = _messages.StringField(6, required=True) class FusiontablesTableImportTableRequest(_messages.Message): r"""A FusiontablesTableImportTableRequest object. Fields: delimiter: The delimiter used to separate cell values. This can only consist of a single character. Default is ','. encoding: The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding. name: The name to be assigned to the new table. """ delimiter = _messages.StringField(1) encoding = _messages.StringField(2) name = _messages.StringField(3, required=True) class FusiontablesTableListRequest(_messages.Message): r"""A FusiontablesTableListRequest object. Fields: maxResults: Maximum number of styles to return. Optional. Default is 5. pageToken: Continuation token specifying which result page to return. Optional. """ maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) pageToken = _messages.StringField(2) class FusiontablesTablePatchRequest(_messages.Message): r"""A FusiontablesTablePatchRequest object. Fields: replaceViewDefinition: Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition. table: A Table resource to be passed as the request body. tableId: ID of the table that is being updated. """ replaceViewDefinition = _messages.BooleanField(1) table = _messages.MessageField('Table', 2) tableId = _messages.StringField(3, required=True) class FusiontablesTableUpdateRequest(_messages.Message): r"""A FusiontablesTableUpdateRequest object. Fields: replaceViewDefinition: Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition. table: A Table resource to be passed as the request body. tableId: ID of the table that is being updated. """ replaceViewDefinition = _messages.BooleanField(1) table = _messages.MessageField('Table', 2) tableId = _messages.StringField(3, required=True) class FusiontablesTaskDeleteRequest(_messages.Message): r"""A FusiontablesTaskDeleteRequest object. Fields: tableId: Table from which the task is being deleted. taskId: A string attribute. """ tableId = _messages.StringField(1, required=True) taskId = _messages.StringField(2, required=True) class FusiontablesTaskDeleteResponse(_messages.Message): r"""An empty FusiontablesTaskDelete response.""" class FusiontablesTaskGetRequest(_messages.Message): r"""A FusiontablesTaskGetRequest object. Fields: tableId: Table to which the task belongs. taskId: A string attribute. """ tableId = _messages.StringField(1, required=True) taskId = _messages.StringField(2, required=True) class FusiontablesTaskListRequest(_messages.Message): r"""A FusiontablesTaskListRequest object. Fields: maxResults: Maximum number of columns to return. Optional. Default is 5. pageToken: A string attribute. startIndex: A integer attribute. tableId: Table whose tasks are being listed. """ maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) pageToken = _messages.StringField(2) startIndex = _messages.IntegerField(3, variant=_messages.Variant.UINT32) tableId = _messages.StringField(4, required=True) class FusiontablesTemplateDeleteRequest(_messages.Message): r"""A FusiontablesTemplateDeleteRequest object. Fields: tableId: Table from which the template is being deleted templateId: Identifier for the template which is being deleted """ tableId = _messages.StringField(1, required=True) templateId = _messages.IntegerField(2, required=True, variant=_messages.Variant.INT32) class FusiontablesTemplateDeleteResponse(_messages.Message): r"""An empty FusiontablesTemplateDelete response.""" class FusiontablesTemplateGetRequest(_messages.Message): r"""A FusiontablesTemplateGetRequest object. Fields: tableId: Table to which the template belongs templateId: Identifier for the template that is being requested """ tableId = _messages.StringField(1, required=True) templateId = _messages.IntegerField(2, required=True, variant=_messages.Variant.INT32) class FusiontablesTemplateListRequest(_messages.Message): r"""A FusiontablesTemplateListRequest object. Fields: maxResults: Maximum number of templates to return. Optional. Default is 5. pageToken: Continuation token specifying which results page to return. Optional. tableId: Identifier for the table whose templates are being requested """ maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) pageToken = _messages.StringField(2) tableId = _messages.StringField(3, required=True) class Geometry(_messages.Message): r"""Represents a Geometry object. Fields: geometries: The list of geometries in this geometry collection. geometry: A extra_types.JsonValue attribute. type: Type: A collection of geometries. """ geometries = _messages.MessageField('extra_types.JsonValue', 1, repeated=True) geometry = _messages.MessageField('extra_types.JsonValue', 2) type = _messages.StringField(3, default='GeometryCollection') class Import(_messages.Message): r"""Represents an import request. Fields: kind: Type name: a template for an import request. numRowsReceived: The number of rows received from the import request. """ kind = _messages.StringField(1, default='fusiontables#import') numRowsReceived = _messages.IntegerField(2) class Line(_messages.Message): r"""Represents a line geometry. Messages: CoordinatesValueListEntry: Single entry in a CoordinatesValue. Fields: coordinates: The coordinates that define the line. type: Type: A line geometry. """ class CoordinatesValueListEntry(_messages.Message): r"""Single entry in a CoordinatesValue. Fields: entry: A number attribute. """ entry = _messages.FloatField(1, repeated=True) coordinates = _messages.MessageField('CoordinatesValueListEntry', 1, repeated=True) type = _messages.StringField(2, default='LineString') class LineStyle(_messages.Message): r"""Represents a LineStyle within a StyleSetting Fields: strokeColor: Color of the line in #RRGGBB format. strokeColorStyler: Column-value, gradient or buckets styler that is used to determine the line color and opacity. strokeOpacity: Opacity of the line : 0.0 (transparent) to 1.0 (opaque). strokeWeight: Width of the line in pixels. strokeWeightStyler: Column-value or bucket styler that is used to determine the width of the line. """ strokeColor = _messages.StringField(1) strokeColorStyler = _messages.MessageField('StyleFunction', 2) strokeOpacity = _messages.FloatField(3) strokeWeight = _messages.IntegerField(4, variant=_messages.Variant.INT32) strokeWeightStyler = _messages.MessageField('StyleFunction', 5) class Point(_messages.Message): r"""Represents a point object. Fields: coordinates: The coordinates that define the point. type: Point: A point geometry. """ coordinates = _messages.FloatField(1, repeated=True) type = _messages.StringField(2, default='Point') class PointStyle(_messages.Message): r"""Represents a PointStyle within a StyleSetting Fields: iconName: Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 iconStyler: Column or a bucket value from which the icon name is to be determined. """ iconName = _messages.StringField(1) iconStyler = _messages.MessageField('StyleFunction', 2) class Polygon(_messages.Message): r"""Represents a polygon object. Messages: CoordinatesValueListEntry: Single entry in a CoordinatesValue. Fields: coordinates: The coordinates that define the polygon. type: Type: A polygon geometry. """ class CoordinatesValueListEntry(_messages.Message): r"""Single entry in a CoordinatesValue. Messages: EntryValueListEntry: Single entry in a EntryValue. Fields: entry: A EntryValueListEntry attribute. """ class EntryValueListEntry(_messages.Message): r"""Single entry in a EntryValue. Fields: entry: A number attribute. """ entry = _messages.FloatField(1, repeated=True) entry = _messages.MessageField('EntryValueListEntry', 1, repeated=True) coordinates = _messages.MessageField('CoordinatesValueListEntry', 1, repeated=True) type = _messages.StringField(2, default='Polygon') class PolygonStyle(_messages.Message): r"""Represents a PolygonStyle within a StyleSetting Fields: fillColor: Color of the interior of the polygon in #RRGGBB format. fillColorStyler: Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. fillOpacity: Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). strokeColor: Color of the polygon border in #RRGGBB format. strokeColorStyler: Column-value, gradient or buckets styler that is used to determine the border color and opacity. strokeOpacity: Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). strokeWeight: Width of the polyon border in pixels. strokeWeightStyler: Column-value or bucket styler that is used to determine the width of the polygon border. """ fillColor = _messages.StringField(1) fillColorStyler = _messages.MessageField('StyleFunction', 2) fillOpacity = _messages.FloatField(3) strokeColor = _messages.StringField(4) strokeColorStyler = _messages.MessageField('StyleFunction', 5) strokeOpacity = _messages.FloatField(6) strokeWeight = _messages.IntegerField(7, variant=_messages.Variant.INT32) strokeWeightStyler = _messages.MessageField('StyleFunction', 8) class Sqlresponse(_messages.Message): r"""Represents a response to an sql statement. Messages: RowsValueListEntry: Single entry in a RowsValue. Fields: columns: Columns in the table. kind: Type name: a template for an individual table. rows: 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. """ class RowsValueListEntry(_messages.Message): r"""Single entry in a RowsValue. Fields: entry: A extra_types.JsonValue attribute. """ entry = _messages.MessageField('extra_types.JsonValue', 1, repeated=True) columns = _messages.StringField(1, repeated=True) kind = _messages.StringField(2, default='fusiontables#sqlresponse') rows = _messages.MessageField('RowsValueListEntry', 3, repeated=True) class StandardQueryParameters(_messages.Message): r"""Query parameters accepted by all methods. Enums: AltValueValuesEnum: Data format for the response. Fields: alt: Data format for the response. fields: Selector specifying which fields to include in a partial response. key: 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: OAuth 2.0 token for the current user. prettyPrint: Returns response with indentations and line breaks. quotaUser: 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. trace: A tracing token of the form "token:<tokenid>" to include in api requests. userIp: IP address of the site where the request originates. Use this if you want to enforce per-user limits. """ class AltValueValuesEnum(_messages.Enum): r"""Data format for the response. Values: csv: Responses with Content-Type of text/csv json: Responses with Content-Type of application/json """ csv = 0 json = 1 alt = _messages.EnumField('AltValueValuesEnum', 1, default='json') fields = _messages.StringField(2) key = _messages.StringField(3) oauth_token = _messages.StringField(4) prettyPrint = _messages.BooleanField(5, default=True) quotaUser = _messages.StringField(6) trace = _messages.StringField(7) userIp = _messages.StringField(8) class StyleFunction(_messages.Message): r"""Represents a StyleFunction within a StyleSetting Messages: GradientValue: Gradient function that interpolates a range of colors based on column value. Fields: buckets: Bucket function that assigns a style based on the range a column value falls into. columnName: Name of the column whose value is used in the style. gradient: Gradient function that interpolates a range of colors based on column value. kind: 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. """ class GradientValue(_messages.Message): r"""Gradient function that interpolates a range of colors based on column value. Messages: ColorsValueListEntry: A ColorsValueListEntry object. Fields: colors: Array with two or more colors. max: Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. min: Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. """ class ColorsValueListEntry(_messages.Message): r"""A ColorsValueListEntry object. Fields: color: Color in #RRGGBB format. opacity: Opacity of the color: 0.0 (transparent) to 1.0 (opaque). """ color = _messages.StringField(1) opacity = _messages.FloatField(2) colors = _messages.MessageField('ColorsValueListEntry', 1, repeated=True) max = _messages.FloatField(2) min = _messages.FloatField(3) buckets = _messages.MessageField('Bucket', 1, repeated=True) columnName = _messages.StringField(2) gradient = _messages.MessageField('GradientValue', 3) kind = _messages.StringField(4) class StyleSetting(_messages.Message): r"""Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. Fields: kind: Type name: an individual style setting. A StyleSetting contains the style defintions 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. markerOptions: Style definition for points in the table. name: Optional name for the style setting. polygonOptions: Style definition for polygons in the table. polylineOptions: Style definition for lines in the table. styleId: Identifier for the style setting (unique only within tables). tableId: Identifier for the table. """ kind = _messages.StringField(1, default='fusiontables#styleSetting') markerOptions = _messages.MessageField('PointStyle', 2) name = _messages.StringField(3) polygonOptions = _messages.MessageField('PolygonStyle', 4) polylineOptions = _messages.MessageField('LineStyle', 5) styleId = _messages.IntegerField(6, variant=_messages.Variant.INT32) tableId = _messages.StringField(7) class StyleSettingList(_messages.Message): r"""Represents a list of styles for a given table. Fields: items: All requested style settings. kind: Type name: in this case, a list of style settings. nextPageToken: Token used to access the next page of this result. No token is displayed if there are no more pages left. totalItems: Total number of styles for the table. """ items = _messages.MessageField('StyleSetting', 1, repeated=True) kind = _messages.StringField(2, default='fusiontables#styleSettingList') nextPageToken = _messages.StringField(3) totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) class Table(_messages.Message): r"""Represents a table. Specifies the name, whether it is exportable, description, attribution, and attribution link. Fields: attribution: Optional attribution assigned to the table. attributionLink: Optional link for attribution. baseTableIds: Optional base table identifier if this table is a view or merged table. columns: Columns in the table. description: Optional description assigned to the table. isExportable: Variable for whether table is exportable. kind: Type name: a template for an individual table. name: Name assigned to a table. sql: Optional sql that encodes the table definition for derived tables. tableId: Encrypted unique alphanumeric identifier for the table. """ attribution = _messages.StringField(1) attributionLink = _messages.StringField(2) baseTableIds = _messages.StringField(3, repeated=True) columns = _messages.MessageField('Column', 4, repeated=True) description = _messages.StringField(5) isExportable = _messages.BooleanField(6) kind = _messages.StringField(7, default='fusiontables#table') name = _messages.StringField(8) sql = _messages.StringField(9) tableId = _messages.StringField(10) class TableList(_messages.Message): r"""Represents a list of tables. Fields: items: List of all requested tables. kind: Type name: a list of all tables. nextPageToken: Token used to access the next page of this result. No token is displayed if there are no more pages left. """ items = _messages.MessageField('Table', 1, repeated=True) kind = _messages.StringField(2, default='fusiontables#tableList') nextPageToken = _messages.StringField(3) class Task(_messages.Message): r"""Specifies the identifier, name, and type of a task in a table. Fields: kind: Type of the resource. This is always "fusiontables#task". progress: An indication of task progress. started: false while the table is busy with some other task. true if this background task is currently running. taskId: Identifier for the task. type: Type of background task. One of DELETE_ROWS Deletes one or more rows from the table. ADD_ROWS "Adds one or more rows to a table. Includes importing data into a new table and importing more rows into an existing table. ADD_COLUMN Adds a new column to the table. CHANGE_TYPE Changes the type of a column. """ kind = _messages.StringField(1, default='fusiontables#task') progress = _messages.StringField(2) started = _messages.BooleanField(3) taskId = _messages.IntegerField(4) type = _messages.StringField(5) class TaskList(_messages.Message): r"""Represents a list of tasks for a table. Fields: items: List of all requested tasks. kind: Type of the resource. This is always "fusiontables#taskList". nextPageToken: Token used to access the next page of this result. No token is displayed if there are no more pages left. totalItems: Total number of tasks for the table. """ items = _messages.MessageField('Task', 1, repeated=True) kind = _messages.StringField(2, default='fusiontables#taskList') nextPageToken = _messages.StringField(3) totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) class Template(_messages.Message): r"""Represents the contents of InfoWindow templates. Fields: automaticColumnNames: List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. body: 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. kind: Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically. name: Optional name assigned to a template. tableId: Identifier for the table for which the template is defined. templateId: Identifier for the template, unique within the context of a particular table. """ automaticColumnNames = _messages.StringField(1, repeated=True) body = _messages.StringField(2) kind = _messages.StringField(3, default='fusiontables#template') name = _messages.StringField(4) tableId = _messages.StringField(5) templateId = _messages.IntegerField(6, variant=_messages.Variant.INT32) class TemplateList(_messages.Message): r"""Represents a list of templates for a given table. Fields: items: List of all requested templates. kind: Type name: a list of all templates. nextPageToken: Token used to access the next page of this result. No token is displayed if there are no more pages left. totalItems: Total number of templates for the table. """ items = _messages.MessageField('Template', 1, repeated=True) kind = _messages.StringField(2, default='fusiontables#templateList') nextPageToken = _messages.StringField(3) totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) PK ���Z� �ԇ � fusiontables_v1/__init__.pynu �[��� """Package marker file.""" from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) PK ���ZB��jz� z� fusiontables_v1.jsonnu �[��� PK ���Z�H�N? ? �� __init__.pynu �[��� PK ���Z�q���� �� ) 8� fusiontables_v1/fusiontables_v1_client.pynu �[��� PK ���Z���� � + @S fusiontables_v1/fusiontables_v1_messages.pynu �[��� PK ���Z� �ԇ � �� fusiontables_v1/__init__.pynu �[��� PK � q�
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings