getJob() public method

public getJob ( array $args = [] ) : array
$args array
return array
Example #1
0
 /**
  * Triggers a network request to reload the job's details.
  *
  * Example:
  * ```
  * echo $job->isComplete(); // false
  * sleep(1); // let's wait for a moment...
  * $job->reload(); // execute a network request
  * echo $job->isComplete(); // true
  * ```
  *
  * @see https://cloud.google.com/bigquery/docs/reference/v2/jobs/get Jobs get API documentation.
  *
  * @param array $options [optional] Configuration options.
  * @return array
  */
 public function reload(array $options = [])
 {
     return $this->info = $this->connection->getJob($options + $this->identity);
 }