getDataset() public method

public getDataset ( array $args = [] ) : array
$args array
return array
Example #1
0
 /**
  * Triggers a network request to reload the dataset's details.
  *
  * Example:
  * ```
  * $dataset->reload();
  * $info = $dataset->info();
  * echo $info['friendlyName'];
  * ```
  *
  * @see https://cloud.google.com/bigquery/docs/reference/v2/datasets/get Datasets get API documentation.
  *
  * @param array $options [optional] Configuration options.
  * @return array
  */
 public function reload(array $options = [])
 {
     return $this->info = $this->connection->getDataset($options + $this->identity);
 }