The "datasets" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($projectId, $datasetId, $optParams=array()) |
| Deletes the dataset specified by the datasetId value.
|
|
| get ($projectId, $datasetId, $optParams=array()) |
| Returns the dataset specified by datasetID.
|
|
| insert ($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams=array()) |
| Creates a new empty dataset.
|
|
| listDatasets ($projectId, $optParams=array()) |
| Lists all datasets in the specified project to which you have been granted the READER dataset role.
|
|
| patch ($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams=array()) |
| Updates information in an existing dataset.
|
|
| update ($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams=array()) |
| Updates information in an existing dataset.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "datasets" collection of methods.
Typical usage is: $bigqueryService = new Google_Service_Bigquery(...); $datasets = $bigqueryService->datasets;
◆ 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
-
◆ delete()
Google_Service_Bigquery_Datasets_Resource::delete |
( |
| $projectId, |
|
|
| $datasetId, |
|
|
| $optParams = array() ) |
Deletes the dataset specified by the datasetId value.
Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name. (datasets.delete)
- Parameters
-
string | $projectId | Project ID of the dataset being deleted |
string | $datasetId | Dataset ID of dataset being deleted |
array | $optParams | Optional parameters. |
@opt_param bool deleteContents If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False
◆ get()
Google_Service_Bigquery_Datasets_Resource::get |
( |
| $projectId, |
|
|
| $datasetId, |
|
|
| $optParams = array() ) |
Returns the dataset specified by datasetID.
(datasets.get)
- Parameters
-
string | $projectId | Project ID of the requested dataset |
string | $datasetId | Dataset ID of the requested dataset |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Creates a new empty dataset.
(datasets.insert)
- Parameters
-
string | $projectId | Project ID of the new dataset |
Google_Dataset | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listDatasets()
Google_Service_Bigquery_Datasets_Resource::listDatasets |
( |
| $projectId, |
|
|
| $optParams = array() ) |
Lists all datasets in the specified project to which you have been granted the READER dataset role.
(datasets.listDatasets)
- Parameters
-
string | $projectId | Project ID of the datasets to be listed |
array | $optParams | Optional parameters. |
@opt_param string pageToken Page token, returned by a previous call, to request the next page of results @opt_param bool all Whether to list all datasets, including hidden ones @opt_param string maxResults The maximum number of results to return
- Return values
-
◆ patch()
Updates information in an existing dataset.
The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics. (datasets.patch)
- Parameters
-
string | $projectId | Project ID of the dataset being updated |
string | $datasetId | Dataset ID of the dataset being updated |
Google_Dataset | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates information in an existing dataset.
The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. (datasets.update)
- Parameters
-
string | $projectId | Project ID of the dataset being updated |
string | $datasetId | Dataset ID of the dataset being updated |
Google_Dataset | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Bigquery.php