# Path: google/cloud/apigateway_v1/types/apigateway.py
# class Api(proto.Message):
#     class State(proto.Enum):
# class ApiConfig(proto.Message):
#     class State(proto.Enum):
#     class File(proto.Message):
#     class OpenApiDocument(proto.Message):
#     class GrpcServiceDefinition(proto.Message):
# class Gateway(proto.Message):
#     class State(proto.Enum):
# class ListGatewaysRequest(proto.Message):
# class ListGatewaysResponse(proto.Message):
# class GetGatewayRequest(proto.Message):
# class CreateGatewayRequest(proto.Message):
# class UpdateGatewayRequest(proto.Message):
# class DeleteGatewayRequest(proto.Message):
# class ListApisRequest(proto.Message):
# class ListApisResponse(proto.Message):
# class GetApiRequest(proto.Message):
# class CreateApiRequest(proto.Message):
# class UpdateApiRequest(proto.Message):
# class DeleteApiRequest(proto.Message):
# class ListApiConfigsRequest(proto.Message):
# class ListApiConfigsResponse(proto.Message):
# class GetApiConfigRequest(proto.Message):
#     class ConfigView(proto.Enum):
# class CreateApiConfigRequest(proto.Message):
# class UpdateApiConfigRequest(proto.Message):
# class DeleteApiConfigRequest(proto.Message):
# class OperationMetadata(proto.Message):
#     class Diagnostic(proto.Message):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         ACTIVATING = 6
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         CONFIG_VIEW_UNSPECIFIED = 0
#         BASIC = 1
#         FULL = 2
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


from typing import (
    Any,
    AsyncIterator,
    Awaitable,
    Callable,
    Sequence,
    Tuple,
    Optional,
    Iterator,
)
from google.cloud.apigateway_v1.types import apigateway
    ``ListApiConfigs`` requests and continue to iterate
    through the ``api_configs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.apigateway_v1.types.ListApiConfigsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,
        method: Callable[..., Awaitable[apigateway.ListApiConfigsResponse]],
        request: apigateway.ListApiConfigsRequest,
        response: apigateway.ListApiConfigsResponse,
        *,
        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.apigateway_v1.types.ListApiConfigsRequest):
                The initial request object.
            response (google.cloud.apigateway_v1.types.ListApiConfigsResponse):
                The initial response object.
            metadata (Sequence[Tuple[str, str]]): Strings which should be
                sent along with the request as metadata.
        """
        self._method = method

# Path: google/cloud/apigateway_v1/types/apigateway.py
# class Api(proto.Message):
#     class State(proto.Enum):
# class ApiConfig(proto.Message):
#     class State(proto.Enum):
#     class File(proto.Message):
#     class OpenApiDocument(proto.Message):
#     class GrpcServiceDefinition(proto.Message):
# class Gateway(proto.Message):
#     class State(proto.Enum):
# class ListGatewaysRequest(proto.Message):
# class ListGatewaysResponse(proto.Message):
# class GetGatewayRequest(proto.Message):
# class CreateGatewayRequest(proto.Message):
# class UpdateGatewayRequest(proto.Message):
# class DeleteGatewayRequest(proto.Message):
# class ListApisRequest(proto.Message):
# class ListApisResponse(proto.Message):
# class GetApiRequest(proto.Message):
# class CreateApiRequest(proto.Message):
# class UpdateApiRequest(proto.Message):
# class DeleteApiRequest(proto.Message):
# class ListApiConfigsRequest(proto.Message):
# class ListApiConfigsResponse(proto.Message):
# class GetApiConfigRequest(proto.Message):
#     class ConfigView(proto.Enum):
# class CreateApiConfigRequest(proto.Message):
# class UpdateApiConfigRequest(proto.Message):
# class DeleteApiConfigRequest(proto.Message):
# class OperationMetadata(proto.Message):
#     class Diagnostic(proto.Message):
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         ACTIVATING = 6
#         STATE_UNSPECIFIED = 0
#         CREATING = 1
#         ACTIVE = 2
#         FAILED = 3
#         DELETING = 4
#         UPDATING = 5
#         CONFIG_VIEW_UNSPECIFIED = 0
#         BASIC = 1
#         FULL = 2
#     def raw_page(self):
#     def raw_page(self):
#     def raw_page(self):


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

    ``ListApiConfigs`` requests and continue to iterate
    through the ``api_configs`` field on the
    corresponding responses.

    All the usual :class:`google.cloud.apigateway_v1.types.ListApiConfigsResponse`
    attributes are available on the pager. If multiple requests are made, only
    the most recent response is retained, and thus used for attribute lookup.
    """

    def __init__(
        self,
        method: Callable[..., Awaitable[apigateway.ListApiConfigsResponse]],
        request: apigateway.ListApiConfigsRequest,
        response: apigateway.ListApiConfigsResponse,
        *,
        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.apigateway_v1.types.ListApiConfigsRequest):
                The initial request object.
            response (google.cloud.apigateway_v1.types.ListApiConfigsResponse):
                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 = apigateway.ListApiConfigsRequest(request)