Spanner/src/Instance.php
public function update(array $options = [])
    {
        $operation = $this->connection->updateInstance([
            'name' => $this->name,
        ] + $options);

        return $this->resumeOperation($operation['name'], $operation);
    }
public function update(array $options = [])
    {
        $operation = $this->connection->updateInstance([
            'name' => $this->name,
        ] + $options);

        return $this->resumeOperation($operation['name'], $operation);
    }
public function update ( array $ options = [ ] ) { $ operation = $ this -> connection -> updateInstance ( [ 'name' => $ this -> name , ] + $ options ) ; return $ this -> resumeOperation ( $ operation [ 'name' ] , $ operation ) ; }
Update the instance

Example:
```
$instance->update([
'displayName' => 'My Instance',
'nodeCount' => 4
]);
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.instance.v1#updateinstancerequest UpdateInstanceRequest
@codingStandardsIgnoreEnd

@param array $options [optional] {
Configuration options

@type string $displayName The descriptive name for this instance as
it appears in UIs. **Defaults to** the value of $name.
@type int $nodeCount The number of nodes allocated to this instance.
**Defaults to** `1`.
@type array $labels For more information, see
[Using labels to organize Google Cloud Platform resources](https://goo.gl/xmQnxf).
}
@return LongRunningOperation<void>
@throws \InvalidArgumentException
Update the instance