readOnly property

ReadOnly? readOnly
getter/setter pair

Transaction will not write.

Authorization to begin a read-only transaction requires spanner.databases.beginReadOnlyTransaction permission on the session resource.

Implementation

ReadOnly? readOnly;