public function reload()
    {
        if ($this->deleted) {
            throw new ValidationException("Cannot call reload() on a deleted operation");
        }
        $name = $this->getName();
        $this->lastProtoResponse = $this->operationsClient->getOperation($name);
    }
public function reload()
    {
        if ($this->deleted) {
            throw new ValidationException("Cannot call reload() on a deleted operation");
        }
        $name = $this->getName();
        $this->lastProtoResponse = $this->operationsClient->getOperation($name);
    }
public function reload ( ) { if ( $ this -> deleted ) { throw new ValidationException ( "Cannot call reload() on a deleted operation" ) ; } $ name = $ this -> getName ( ) ; $ this -> lastProtoResponse = $ this -> operationsClient -> getOperation ( $ name ) ; }
Reload the status of the operation with a request to the service.

@throws ApiException If the API call fails.
@throws ValidationException If called on a deleted operation.
Reload the status of the operation with a request to the service .