diff --git a/google/cloud/firestore_v1/transaction.py b/google/cloud/firestore_v1/transaction.py
index 9d4068c..04485a8 100644
--- a/google/cloud/firestore_v1/transaction.py
+++ b/google/cloud/firestore_v1/transaction.py
@@ -213,7 +213,7 @@ class Transaction(batch.WriteBatch):
             .DocumentSnapshot: The next document snapshot that fulfills the
             query, or :data:`None` if the document does not exist.
         """
-        return self._client.get_all(references, transaction=self._id)
+        return self._client.get_all(references, transaction=self)
 
     def get(self, ref_or_query):
         """
@@ -225,9 +225,9 @@ class Transaction(batch.WriteBatch):
             query, or :data:`None` if the document does not exist.
         """
         if isinstance(ref_or_query, DocumentReference):
-            return self._client.get_all([ref_or_query], transaction=self._id)
+            return self._client.get_all([ref_or_query], transaction=self)
         elif isinstance(ref_or_query, Query):
-            return ref_or_query.stream(transaction=self._id)
+            return ref_or_query.stream(transaction=self)
         else:
             raise ValueError(
                 'Value for argument "ref_or_query" must be a DocumentReference or a Query.'

Firestore: Can't get data in transaction.get call
#### Environment details

1. Specify the API at the beginning of the title: Firestore
2. OS type and version: MacOS 10.15.2
3. Python version and virtual environment information: `python --version`: Python 3.7.4
4. google-cloud-<service> version:  `pip show google-<service>` or `pip freeze`: google-cloud-firestore==1.6.1

#### Steps to reproduce

  1. Create a document in your firestore database.
  2. Run the code below, which will raise an `AttributeError: 'bytes' object has no attribute 'in_progress'`.

#### Code example

```python
transaction = db.transaction()
doc_ref = ... # get a reference to the document you created in step 1 above

@firestore.transactional
def update_in_transaction(transaction, doc_ref):
    docs = transaction.get(doc_ref)
    for doc in docs:
        print(doc)
```

#### Stack trace
```
# Abbreviated stack trace
  File ".../venv/lib/python3.7/site-packages/google/cloud/firestore_v1/client.py", line 440, in get_all
    transaction=_helpers.get_transaction_id(transaction),
  File ".../venv/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 934, in get_transaction_id
    if not transaction.in_progress:
AttributeError: 'bytes' object has no attribute 'in_progress'
```

#### Additional Notes
It appears the helper function `get_transaction_id` is expecting a `Transaction` object, but both the `Transaction.get()` and `Transaction.get_all()` calls are passing a `Transaction._id`. 

When I changed line 230 of transaction.py from:
`return ref_or_query.stream(transaction=self._id)`
to:
`return ref_or_query.stream(transaction=self)`

It appears to fix the issue. 
diff --git a/tests/unit/v1/test_transaction.py b/tests/unit/v1/test_transaction.py
index 8cae24a..da3c2d0 100644
--- a/tests/unit/v1/test_transaction.py
+++ b/tests/unit/v1/test_transaction.py
@@ -333,7 +333,7 @@ class TestTransaction(unittest.TestCase):
         transaction = self._make_one(client)
         ref1, ref2 = mock.Mock(), mock.Mock()
         result = transaction.get_all([ref1, ref2])
-        client.get_all.assert_called_once_with([ref1, ref2], transaction=transaction.id)
+        client.get_all.assert_called_once_with([ref1, ref2], transaction=transaction)
         self.assertIs(result, client.get_all.return_value)
 
     def test_get_document_ref(self):
@@ -343,7 +343,7 @@ class TestTransaction(unittest.TestCase):
         transaction = self._make_one(client)
         ref = DocumentReference("documents", "doc-id")
         result = transaction.get(ref)
-        client.get_all.assert_called_once_with([ref], transaction=transaction.id)
+        client.get_all.assert_called_once_with([ref], transaction=transaction)
         self.assertIs(result, client.get_all.return_value)
 
     def test_get_w_query(self):
@@ -354,7 +354,7 @@ class TestTransaction(unittest.TestCase):
         query = Query(parent=mock.Mock(spec=[]))
         query.stream = mock.MagicMock()
         result = transaction.get(query)
-        query.stream.assert_called_once_with(transaction=transaction.id)
+        query.stream.assert_called_once_with(transaction=transaction)
         self.assertIs(result, query.stream.return_value)
 
     def test_get_failure(self):

pip install -e .[dev]
parse_log_pytest
pytest
pytest pytest-cov mock
apt-get update apt-get install -y gcc
3.9
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
cachetools==4.2.4
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
google-api-core==1.34.1
google-auth==1.35.0
google-cloud-core==1.7.3
-e git+https://github.com/googleapis/python-firestore.git@3a37ce9069b60d858f7669df2aaa0ef3814d654f#egg=google_cloud_firestore
googleapis-common-protos==1.69.2
grpcio==1.71.0
grpcio-status==1.49.0rc1
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
mock==5.2.0
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///croot/pluggy_1733169602837/work
protobuf==3.20.3
pyasn1==0.6.1
pyasn1_modules==0.4.2
pytest @ file:///croot/pytest_1738938843180/work
pytest-cov==6.0.0
pytz==2025.2
requests==2.32.3
rsa==4.9
six==1.17.0
tomli @ file:///opt/conda/conda-bld/tomli_1657175507142/work
urllib3==2.3.0

name: python-firestore
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - exceptiongroup=1.2.0=py39h06a4308_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - packaging=24.2=py39h06a4308_0
  - pip=25.0=py39h06a4308_0
  - pluggy=1.5.0=py39h06a4308_0
  - pytest=8.3.4=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tomli=2.0.1=py39h06a4308_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - cachetools==4.2.4
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - coverage==7.8.0
      - google-api-core==1.34.1
      - google-auth==1.35.0
      - google-cloud-core==1.7.3
      - googleapis-common-protos==1.69.2
      - grpcio==1.71.0
      - grpcio-status==1.49.0rc1
      - idna==3.10
      - mock==5.2.0
      - protobuf==3.20.3
      - pyasn1==0.6.1
      - pyasn1-modules==0.4.2
      - pytest-cov==6.0.0
      - pytz==2025.2
      - requests==2.32.3
      - rsa==4.9
      - six==1.17.0
      - urllib3==2.3.0
prefix: /opt/conda/envs/python-firestore

tests/unit/v1/test_transaction.py::TestTransaction::test_get_all tests/unit/v1/test_transaction.py::TestTransaction::test_get_document_ref tests/unit/v1/test_transaction.py::TestTransaction::test_get_w_query
tests/unit/v1/test_transaction.py::TestTransaction::test__add_write_pbs tests/unit/v1/test_transaction.py::TestTransaction::test__add_write_pbs_failure tests/unit/v1/test_transaction.py::TestTransaction::test__begin tests/unit/v1/test_transaction.py::TestTransaction::test__begin_failure tests/unit/v1/test_transaction.py::TestTransaction::test__clean_up tests/unit/v1/test_transaction.py::TestTransaction::test__commit tests/unit/v1/test_transaction.py::TestTransaction::test__commit_failure tests/unit/v1/test_transaction.py::TestTransaction::test__commit_not_allowed tests/unit/v1/test_transaction.py::TestTransaction::test__options_protobuf_on_retry tests/unit/v1/test_transaction.py::TestTransaction::test__options_protobuf_read_only tests/unit/v1/test_transaction.py::TestTransaction::test__options_protobuf_read_only_retry tests/unit/v1/test_transaction.py::TestTransaction::test__options_protobuf_read_write tests/unit/v1/test_transaction.py::TestTransaction::test__rollback tests/unit/v1/test_transaction.py::TestTransaction::test__rollback_failure tests/unit/v1/test_transaction.py::TestTransaction::test__rollback_not_allowed tests/unit/v1/test_transaction.py::TestTransaction::test_constructor_defaults tests/unit/v1/test_transaction.py::TestTransaction::test_constructor_explicit tests/unit/v1/test_transaction.py::TestTransaction::test_get_failure tests/unit/v1/test_transaction.py::TestTransaction::test_id_property tests/unit/v1/test_transaction.py::TestTransaction::test_in_progress_property tests/unit/v1/test_transaction.py::Test_Transactional::test___call__failure tests/unit/v1/test_transaction.py::Test_Transactional::test___call__success_first_attempt tests/unit/v1/test_transaction.py::Test_Transactional::test___call__success_second_attempt tests/unit/v1/test_transaction.py::Test_Transactional::test__maybe_commit_failure_can_retry tests/unit/v1/test_transaction.py::Test_Transactional::test__maybe_commit_failure_cannot_retry tests/unit/v1/test_transaction.py::Test_Transactional::test__maybe_commit_failure_read_only tests/unit/v1/test_transaction.py::Test_Transactional::test__maybe_commit_success tests/unit/v1/test_transaction.py::Test_Transactional::test__pre_commit_failure tests/unit/v1/test_transaction.py::Test_Transactional::test__pre_commit_failure_with_rollback_failure tests/unit/v1/test_transaction.py::Test_Transactional::test__pre_commit_retry_id_already_set_success tests/unit/v1/test_transaction.py::Test_Transactional::test__pre_commit_success tests/unit/v1/test_transaction.py::Test_Transactional::test__reset tests/unit/v1/test_transaction.py::Test_Transactional::test_constructor tests/unit/v1/test_transaction.py::Test_transactional::test_it tests/unit/v1/test_transaction.py::Test__commit_with_retry::test_failure_first_attempt tests/unit/v1/test_transaction.py::Test__commit_with_retry::test_failure_second_attempt tests/unit/v1/test_transaction.py::Test__commit_with_retry::test_success_first_attempt tests/unit/v1/test_transaction.py::Test__commit_with_retry::test_success_third_attempt tests/unit/v1/test_transaction.py::Test__sleep::test_defaults tests/unit/v1/test_transaction.py::Test__sleep::test_exceeds_max tests/unit/v1/test_transaction.py::Test__sleep::test_explicit
google/cloud/firestore_v1/transaction.py
google/cloud/firestore_v1/transaction.py