deleteDataset() public method

public deleteDataset ( array $args = [] ) : array
$args array
return array
Example #1
0
 /**
  * Delete the dataset.
  *
  * Example:
  * ```
  * $dataset->delete();
  * ```
  *
  * @see https://cloud.google.com/bigquery/docs/reference/v2/datasets/delete Datasets delete API documentation.
  *
  * @param array $options [optional] {
  *     Configuration options.
  *
  *     @type bool $deleteContents If true, delete all the tables in the
  *           dataset. If false and the dataset contains tables, the request
  *           will fail. **Defaults to** `false`.
  * }
  */
 public function delete(array $options = [])
 {
     $this->connection->deleteDataset($options + $this->identity);
 }