The "table" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| copy ($tableId, $optParams=array()) |
| Copies a table.
|
|
| delete ($tableId, $optParams=array()) |
| Deletes a table.
|
|
| get ($tableId, $optParams=array()) |
| Retrieves a specific table by its ID.
|
|
| importRows ($tableId, $optParams=array()) |
| Imports more rows into a table.
|
|
| importTable ($name, $optParams=array()) |
| Imports a new table.
|
|
| insert (Google_Service_Fusiontables_Table $postBody, $optParams=array()) |
| Creates a new table.
|
|
| listTable ($optParams=array()) |
| Retrieves a list of tables a user owns.
|
|
| patch ($tableId, Google_Service_Fusiontables_Table $postBody, $optParams=array()) |
| Updates an existing table.
|
|
| replaceRows ($tableId, $optParams=array()) |
| Replaces rows of an existing table.
|
|
| update ($tableId, Google_Service_Fusiontables_Table $postBody, $optParams=array()) |
| Updates an existing table.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "table" collection of methods.
Typical usage is: $fusiontablesService = new Google_Service_Fusiontables(...); $table = $fusiontablesService->table;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ copy()
Google_Service_Fusiontables_Table_Resource::copy |
( |
| $tableId, |
|
|
| $optParams = array() ) |
Copies a table.
(table.copy)
- Parameters
-
string | $tableId | ID of the table that is being copied. |
array | $optParams | Optional parameters. |
@opt_param bool copyPresentation Whether to also copy tabs, styles, and templates. Default is false.
- Return values
-
◆ delete()
Google_Service_Fusiontables_Table_Resource::delete |
( |
| $tableId, |
|
|
| $optParams = array() ) |
Deletes a table.
(table.delete)
- Parameters
-
string | $tableId | ID of the table to be deleted. |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Fusiontables_Table_Resource::get |
( |
| $tableId, |
|
|
| $optParams = array() ) |
Retrieves a specific table by its ID.
(table.get)
- Parameters
-
string | $tableId | Identifier for the table being requested. |
array | $optParams | Optional parameters. |
- Return values
-
◆ importRows()
Google_Service_Fusiontables_Table_Resource::importRows |
( |
| $tableId, |
|
|
| $optParams = array() ) |
Imports more rows into a table.
(table.importRows)
- Parameters
-
string | $tableId | The table into which new rows are being imported. |
array | $optParams | Optional parameters. |
@opt_param int startLine The index of the first line from which to start importing, inclusive. Default is 0. @opt_param bool isStrict Whether the imported CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true. @opt_param string encoding The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding. @opt_param string delimiter The delimiter used to separate cell values. This can only consist of a single character. Default is ,. @opt_param int endLine The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.
- Return values
-
◆ importTable()
Google_Service_Fusiontables_Table_Resource::importTable |
( |
| $name, |
|
|
| $optParams = array() ) |
Imports a new table.
(table.importTable)
- Parameters
-
string | $name | The name to be assigned to the new table. |
array | $optParams | Optional parameters. |
@opt_param string delimiter The delimiter used to separate cell values. This can only consist of a single character. Default is ,. @opt_param string encoding The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding.
- Return values
-
◆ insert()
Creates a new table.
(table.insert)
- Parameters
-
Google_Table | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listTable()
Google_Service_Fusiontables_Table_Resource::listTable |
( |
| $optParams = array() | ) |
|
Retrieves a list of tables a user owns.
(table.listTable)
- Parameters
-
array | $optParams | Optional parameters. |
@opt_param string pageToken Continuation token specifying which result page to return. @opt_param string maxResults Maximum number of tables to return. Default is 5.
- Return values
-
◆ patch()
Updates an existing table.
Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics. (table.patch)
- Parameters
-
string | $tableId | ID of the table that is being updated. |
Google_Table | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool replaceViewDefinition Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.
- Return values
-
◆ replaceRows()
Google_Service_Fusiontables_Table_Resource::replaceRows |
( |
| $tableId, |
|
|
| $optParams = array() ) |
Replaces rows of an existing table.
Current rows remain visible until all replacement rows are ready. (table.replaceRows)
- Parameters
-
string | $tableId | Table whose rows will be replaced. |
array | $optParams | Optional parameters. |
@opt_param int startLine The index of the first line from which to start importing, inclusive. Default is 0. @opt_param bool isStrict Whether the imported CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not have the same number of columns. If false, rows with fewer column values will be padded with empty values. Default is true. @opt_param string encoding The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding. @opt_param string delimiter The delimiter used to separate cell values. This can only consist of a single character. Default is ,. @opt_param int endLine The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.
- Return values
-
◆ update()
Updates an existing table.
Unless explicitly requested, only the name, description, and attribution will be updated. (table.update)
- Parameters
-
string | $tableId | ID of the table that is being updated. |
Google_Table | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool replaceViewDefinition Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Fusiontables.php