Update docs.
diff --git a/docs/dyn/mapsengine_v1.tables.html b/docs/dyn/mapsengine_v1.tables.html
index 17f75dc..dba1a5f 100644
--- a/docs/dyn/mapsengine_v1.tables.html
+++ b/docs/dyn/mapsengine_v1.tables.html
@@ -93,15 +93,21 @@
<code><a href="#create">create(body)</a></code></p>
<p class="firstline">Create a table asset.</p>
<p class="toc_element">
+ <code><a href="#delete">delete(id)</a></code></p>
+<p class="firstline">Delete a table.</p>
+<p class="toc_element">
<code><a href="#get">get(id, version=None)</a></code></p>
<p class="firstline">Return metadata for a particular table, including the schema.</p>
<p class="toc_element">
- <code><a href="#list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
+ <code><a href="#list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</a></code></p>
<p class="firstline">Return all tables readable by the current user.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
+ <code><a href="#patch">patch(id, body)</a></code></p>
+<p class="firstline">Mutate a table asset.</p>
+<p class="toc_element">
<code><a href="#upload">upload(body)</a></code></p>
<p class="firstline">Create a placeholder table asset to which table files can be uploaded.</p>
<h3>Method Details</h3>
@@ -114,6 +120,47 @@
The object takes the form of:
{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A collection of geographic features, and associated metadata.
"files": [ # The files associated with this table.
{ # A single File, which is a component of an Asset.
"size": "A String", # The size of the file in bytes.
@@ -124,100 +171,40 @@
"schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
"primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
"primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
{
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
+ "type": "A String", # The type of data stored in this column.
"name": "A String", # The column name.
},
],
},
"description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project to which the table belongs.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this table.
"name": "A String", # The name of this table, supplied by the author.
- }
+ }</pre>
+</div>
+<div class="method">
+ <code class="details" id="delete">delete(id)</code>
+ <pre>Delete a table.
-Returns:
- An object of the form:
-
- { # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
- },
- ],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+Args:
+ id: string, The ID of the table. Only the table creator or project owner are permitted to delete. If the table is included in a layer, the request will fail. Remove it from all layers prior to deleting. (required)
+</pre>
</div>
<div class="method">
@@ -235,67 +222,54 @@
An object of the form:
{ # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
},
],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+ }</pre>
</div>
<div class="method">
- <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, pageToken=None, projectId=None, maxResults=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
+ <code class="details" id="list">list(modifiedAfter=None, createdAfter=None, tags=None, projectId=None, maxResults=None, pageToken=None, createdBefore=None, bbox=None, creatorEmail=None, modifiedBefore=None)</code>
<pre>Return all tables readable by the current user.
Args:
modifiedAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
createdAfter: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
- pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
+ tags: string, A comma separated list of tags. Returned assets will contain all the tags from the list.
projectId: string, The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
maxResults: integer, The maximum number of items to include in a single response page. The maximum supported value is 100.
+ pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
createdBefore: string, An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.
bbox: string, A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
creatorEmail: string, An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
@@ -308,55 +282,41 @@
"nextPageToken": "A String", # Next page token.
"tables": [ # Resources returned.
{ # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
},
],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
},
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+ },
],
}</pre>
</div>
@@ -376,6 +336,55 @@
</div>
<div class="method">
+ <code class="details" id="patch">patch(id, body)</code>
+ <pre>Mutate a table asset.
+
+Args:
+ id: string, The ID of the table. (required)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+</pre>
+</div>
+
+<div class="method">
<code class="details" id="upload">upload(body)</code>
<pre>Create a placeholder table asset to which table files can be uploaded.
Once the placeholder has been created, files are uploaded to the https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files endpoint.
@@ -386,6 +395,47 @@
The object takes the form of:
{ # A collection of geographic features, and associated metadata.
+ "files": [ # The files associated with this table.
+ { # A single File, which is a component of an Asset.
+ "size": "A String", # The size of the file in bytes.
+ "uploadStatus": "A String", # The upload status of the file.
+ "filename": "A String", # The name of the file.
+ },
+ ],
+ "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
+ "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
+ "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ {
+ "type": "A String", # The type of data stored in this column.
+ "name": "A String", # The column name.
+ },
+ ],
+ },
+ "description": "A String", # The description of this table, supplied by the author.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
+ "projectId": "A String", # The ID of the project to which the table belongs.
+ "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
+ "A String",
+ ],
+ "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
+ 3.14,
+ ],
+ "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
+ "id": "A String", # A globally unique ID, used to refer to this table.
+ "name": "A String", # The name of this table, supplied by the author.
+}
+
+
+Returns:
+ An object of the form:
+
+ { # A collection of geographic features, and associated metadata.
"files": [ # The files associated with this table.
{ # A single File, which is a component of an Asset.
"size": "A String", # The size of the file in bytes.
@@ -396,100 +446,31 @@
"schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
"primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
"primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
+ "columns": [ # An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
{
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
+ "type": "A String", # The type of data stored in this column.
"name": "A String", # The column name.
},
],
},
"description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
+ "processingStatus": "A String", # The processing status of this table.
+ "draftAccessList": "A String", # Deprecated: The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Note: Google Maps Engine no longer uses access lists. For backward compatibility, the API still accepts access lists for projects that are already using access lists. If you created a GME account/project after July 14th, 2014, you will not be able to send API requests that include access lists. The API does not yet support the new permissions model. When you create a map via the API without specifying permissions, the account that created the map is the owner and has effective administrator access. Users can then use the Maps Engine user interface to adjust the permissions. This is a temporary workaround until the API supports the new permissions model. Read Add new users and groups in the Google Maps Engine help center for more information.
"projectId": "A String", # The ID of the project to which the table belongs.
"tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
"A String",
],
"creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
"sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
+ "etag": "A String", # The ETag, used to refer to the current version of the asset.
+ "bbox": [ # A rectangular bounding box which contains all of the data in this table. The numbers represent latitude and longitude in decimal degrees.
3.14,
],
"lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
+ "publishedAccessList": "A String", # Deprecated: The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read Share data, layers, and maps in the Google Maps Engine help center for more information.
"id": "A String", # A globally unique ID, used to refer to this table.
"name": "A String", # The name of this table, supplied by the author.
- }
-
-
-Returns:
- An object of the form:
-
- { # A collection of geographic features, and associated metadata.
- "files": [ # The files associated with this table.
- { # A single File, which is a component of an Asset.
- "size": "A String", # The size of the file in bytes.
- "uploadStatus": "A String", # The upload status of the file.
- "filename": "A String", # The name of the file.
- },
- ],
- "schema": { # A schema indicating the properties which may be associated with features within a Table, and the types of those properties. # The schema for this table.
- "primaryGeometry": "A String", # The name of the column that contains a feature's geometry. This field can be omitted during table create; Google Maps Engine supports only a single geometry column, which must be named geometry and be the first object in the columns array.
- "primaryKey": "A String", # The name of the column that contains the unique identifier of a Feature.
- "columns": [ # An array of column objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.
- {
- "type": "A String", # The type of data stored in this column. Accepted values are:
- #
- # - integer
- # - double
- # - boolean
- # - string
- # - mixedGeometry
- # - points
- # - lineStrings
- # - polygons
- "name": "A String", # The column name.
- },
- ],
- },
- "description": "A String", # The description of this table, supplied by the author.
- "processingStatus": "A String", # The processing status of this table. The supported processing status values are:
- #
- # - notReady: The table is not ready to be processed - some files have not been uploaded.
- # - ready: The table is queued for processing.
- # - processing: The table is currently processing.
- # - complete: Processing has completed successfully.
- # - failed: Processing failed to complete.
- "draftAccessList": "A String", # The name of an access list of the Map Editor type. The user on whose behalf the request is being sent must be an editor on that access list. Read About access lists in the Google Maps Engine help center for more information.
- "projectId": "A String", # The ID of the project to which the table belongs.
- "tags": [ # An array of text strings, with each string representing a tag. More information about tags can be found in the Tagging data article of the Maps Engine help center.
- "A String",
- ],
- "creationTime": "A String", # The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "sourceEncoding": "UTF-8", # Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
- "bbox": [ # An array of four numbers (west, south, east, north) which define the rectangular bounding box which contains all of the data in this table.
- 3.14,
- ],
- "lastModifiedTime": "A String", # The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
- "publishedAccessList": "A String", # The access list to whom view permissions are granted. The value must be the name of a Maps Engine access list of the Map Viewer type, and the user must be a viewer on that list. Read About access lists in the Google Maps Engine help center for more information.
- "id": "A String", # A globally unique ID, used to refer to this table.
- "name": "A String", # The name of this table, supplied by the author.
- }</pre>
+ }</pre>
</div>
</body></html>
\ No newline at end of file