# Path: google/cloud/orchestration/airflow/service_v1/types/image_versions.py
# class ListImageVersionsRequest(proto.Message):
# class ListImageVersionsResponse(proto.Message):
# class ImageVersion(proto.Message):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.orchestration.airflow.service_v1.types import image_versions

    def __init__(
        self,
        method: Callable[..., image_versions.ListImageVersionsResponse],
        request: image_versions.ListImageVersionsRequest,
        response: image_versions.ListImageVersionsResponse,
        *,
        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiate the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsRequest):
                The initial request object.
            response (google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsResponse):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method
        self._request = image_versions.ListImageVersionsRequest(request)
        self._response = response
        self._metadata = metadata

    def __getattr__(self, name: str) -> Any:
        return getattr(self._response, name)

    @property

# Path: google/cloud/orchestration/airflow/service_v1/types/image_versions.py
# class ListImageVersionsRequest(proto.Message):
# class ListImageVersionsResponse(proto.Message):
# class ImageVersion(proto.Message):
#     def raw_page(self):


# Path: google/cloud/orchestration/airflow/service_v1/services/image_versions/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.orchestration.airflow.service_v1.types import image_versions


    def __init__(
        self,
        method: Callable[..., image_versions.ListImageVersionsResponse],
        request: image_versions.ListImageVersionsRequest,
        response: image_versions.ListImageVersionsResponse,
        *,
        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiate the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsRequest):
                The initial request object.
            response (google.cloud.orchestration.airflow.service_v1.types.ListImageVersionsResponse):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method
        self._request = image_versions.ListImageVersionsRequest(request)
        self._response = response
        self._metadata = metadata

    def __getattr__(self, name: str) -> Any:
        return getattr(self._response, name)

    @property

    def pages(self) -> Iterator[image_versions.ListImageVersionsResponse]: