Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Bigquery_Tables_Resource Class Reference

The "tables" collection of methods. More...

Inheritance diagram for Google_Service_Bigquery_Tables_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($projectId, $datasetId, $tableId, $optParams=array())
 Deletes the table specified by tableId from the dataset.
 
 get ($projectId, $datasetId, $tableId, $optParams=array())
 Gets the specified table resource by table ID.
 
 insert ($projectId, $datasetId, Google_Service_Bigquery_Table $postBody, $optParams=array())
 Creates a new, empty table in the dataset.
 
 listTables ($projectId, $datasetId, $optParams=array())
 Lists all tables in the specified dataset.
 
 patch ($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams=array())
 Updates information in an existing table.
 
 update ($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams=array())
 Updates information in an existing table.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "tables" collection of methods.

Typical usage is: $bigqueryService = new Google_Service_Bigquery(...); $tables = $bigqueryService->tables;

Member Function Documentation

◆ 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
Google_Exception

◆ delete()

Google_Service_Bigquery_Tables_Resource::delete ( $projectId,
$datasetId,
$tableId,
$optParams = array() )

Deletes the table specified by tableId from the dataset.

If the table contains data, all the data will be deleted. (tables.delete)

Parameters
string$projectIdProject ID of the table to delete
string$datasetIdDataset ID of the table to delete
string$tableIdTable ID of the table to delete
array$optParamsOptional parameters.

◆ get()

Google_Service_Bigquery_Tables_Resource::get ( $projectId,
$datasetId,
$tableId,
$optParams = array() )

Gets the specified table resource by table ID.

This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. (tables.get)

Parameters
string$projectIdProject ID of the requested table
string$datasetIdDataset ID of the requested table
string$tableIdTable ID of the requested table
array$optParamsOptional parameters.
Return values
Google_Service_Bigquery_Table

◆ insert()

Google_Service_Bigquery_Tables_Resource::insert ( $projectId,
$datasetId,
Google_Service_Bigquery_Table $postBody,
$optParams = array() )

Creates a new, empty table in the dataset.

(tables.insert)

Parameters
string$projectIdProject ID of the new table
string$datasetIdDataset ID of the new table
Google_Table$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Bigquery_Table

◆ listTables()

Google_Service_Bigquery_Tables_Resource::listTables ( $projectId,
$datasetId,
$optParams = array() )

Lists all tables in the specified dataset.

Requires the READER dataset role. (tables.listTables)

Parameters
string$projectIdProject ID of the tables to list
string$datasetIdDataset ID of the tables to list
array$optParamsOptional parameters.

@opt_param string pageToken Page token, returned by a previous call, to request the next page of results @opt_param string maxResults Maximum number of results to return

Return values
Google_Service_Bigquery_TableList

◆ patch()

Google_Service_Bigquery_Tables_Resource::patch ( $projectId,
$datasetId,
$tableId,
Google_Service_Bigquery_Table $postBody,
$optParams = array() )

Updates information in an existing table.

The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports patch semantics. (tables.patch)

Parameters
string$projectIdProject ID of the table to update
string$datasetIdDataset ID of the table to update
string$tableIdTable ID of the table to update
Google_Table$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Bigquery_Table

◆ update()

Google_Service_Bigquery_Tables_Resource::update ( $projectId,
$datasetId,
$tableId,
Google_Service_Bigquery_Table $postBody,
$optParams = array() )

Updates information in an existing table.

The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. (tables.update)

Parameters
string$projectIdProject ID of the table to update
string$datasetIdDataset ID of the table to update
string$tableIdTable ID of the table to update
Google_Table$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Bigquery_Table

The documentation for this class was generated from the following file: