Core/src/LongRunning/LongRunningOperation.php
public function reload(array $options = [])
    {
        $res = $this->connection->get([
            'name' => $this->name,
        ] + $options);

        $this->result = null;
        $this->error = null;
        if (isset($res['done']) && $res['done']) {
            $type = $res['metadata']['typeUrl'];
            $this->result = $this->executeDoneCallback($type, $res['response']);
            $this->error = (isset($res['error']))
                ? $res['error']
                : null;
        }

        return $this->info = $res;
    }
public function reload(array $options = [])
    {
        $res = $this->connection->get([
            'name' => $this->name,
        ] + $options);

        $this->result = null;
        $this->error = null;
        if (isset($res['done']) && $res['done']) {
            $type = $res['metadata']['typeUrl'];
            $this->result = $this->executeDoneCallback($type, $res['response']);
            $this->error = (isset($res['error']))
                ? $res['error']
                : null;
        }

        return $this->info = $res;
    }
public function reload ( array $ options = [ ] ) { $ res = $ this -> connection -> get ( [ 'name' => $ this -> name , ] + $ options ) ; $ this -> result = null ; $ this -> error = null ; if ( isset ( $ res [ 'done' ] ) && $ res [ 'done' ] ) { $ type = $ res [ 'metadata' ] [ 'typeUrl' ] ; $ this -> result = $ this -> executeDoneCallback ( $ type , $ res [ 'response' ] ) ; $ this -> error = ( isset ( $ res [ 'error' ] ) ) ? $ res [ 'error' ] : null ; } return $ this -> info = $ res ; }
Reload the Operation to check its status.

Example:
```
$result = $operation->reload();
```

@codingStandardsIgnoreStart
@param array $options [optional] Configuration Options.
@return array [google.longrunning.Operation](https://cloud.google.com/spanner/docs/reference/rpc/google.longrunning#google.longrunning.Operation)
@codingStandardsIgnoreEnd
Reload the Operation to check its status .