# Path: google/cloud/monitoring_dashboard_v1/types/dashboard.py
# class Dashboard(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/dashboards_service.py
# class CreateDashboardRequest(proto.Message):
# class ListDashboardsRequest(proto.Message):
# class ListDashboardsResponse(proto.Message):
# class GetDashboardRequest(proto.Message):
# class DeleteDashboardRequest(proto.Message):
# class UpdateDashboardRequest(proto.Message):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.monitoring_dashboard_v1.types import dashboard
from google.cloud.monitoring_dashboard_v1.types import dashboards_service
        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiates the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.monitoring_dashboard_v1.types.ListDashboardsRequest):
                The initial request object.
            response (google.cloud.monitoring_dashboard_v1.types.ListDashboardsResponse):
                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 = dashboards_service.ListDashboardsRequest(request)
        self._response = response
        self._metadata = metadata

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

    @property
    async def pages(self) -> AsyncIterator[dashboards_service.ListDashboardsResponse]:
        yield self._response
        while self._response.next_page_token:
            self._request.page_token = self._response.next_page_token
            self._response = await self._method(self._request, metadata=self._metadata)
            yield self._response


# Path: google/cloud/monitoring_dashboard_v1/types/dashboard.py
# class Dashboard(proto.Message):
# 
# Path: google/cloud/monitoring_dashboard_v1/types/dashboards_service.py
# class CreateDashboardRequest(proto.Message):
# class ListDashboardsRequest(proto.Message):
# class ListDashboardsResponse(proto.Message):
# class GetDashboardRequest(proto.Message):
# class DeleteDashboardRequest(proto.Message):
# class UpdateDashboardRequest(proto.Message):
#     def raw_page(self):


# Path: google/cloud/monitoring_dashboard_v1/services/dashboards_service/pagers.py
from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.monitoring_dashboard_v1.types import dashboard
from google.cloud.monitoring_dashboard_v1.types import dashboards_service

        metadata: Sequence[Tuple[str, str]] = ()
    ):
        """Instantiates the pager.

        Args:
            method (Callable): The method that was originally called, and
                which instantiated this pager.
            request (google.cloud.monitoring_dashboard_v1.types.ListDashboardsRequest):
                The initial request object.
            response (google.cloud.monitoring_dashboard_v1.types.ListDashboardsResponse):
                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 = dashboards_service.ListDashboardsRequest(request)
        self._response = response
        self._metadata = metadata

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

    @property
    async def pages(self) -> AsyncIterator[dashboards_service.ListDashboardsResponse]:
        yield self._response
        while self._response.next_page_token:
            self._request.page_token = self._response.next_page_token
            self._response = await self._method(self._request, metadata=self._metadata)
            yield self._response


    def __aiter__(self) -> AsyncIterator[dashboard.Dashboard]: