Module pagers (2.16.0)

API documentation for networkconnectivity_v1beta.services.transport_manager.pagers module.

Classes

ListRemoteTransportProfilesAsyncPager

ListRemoteTransportProfilesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesRequest,
    response: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

A pager for iterating through list_remote_transport_profiles requests.

This class thinly wraps an initial ListRemoteTransportProfilesResponse object, and provides an __aiter__ method to iterate through its remote_transport_profiles field.

If there are more pages, the __aiter__ method will make additional ListRemoteTransportProfiles requests and continue to iterate through the remote_transport_profiles field on the corresponding responses.

All the usual ListRemoteTransportProfilesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRemoteTransportProfilesPager

ListRemoteTransportProfilesPager(
    method: typing.Callable[
        [...],
        google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesResponse,
    ],
    request: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesRequest,
    response: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListRemoteTransportProfilesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

A pager for iterating through list_remote_transport_profiles requests.

This class thinly wraps an initial ListRemoteTransportProfilesResponse object, and provides an __iter__ method to iterate through its remote_transport_profiles field.

If there are more pages, the __iter__ method will make additional ListRemoteTransportProfiles requests and continue to iterate through the remote_transport_profiles field on the corresponding responses.

All the usual ListRemoteTransportProfilesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListTransportsAsyncPager

ListTransportsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsRequest,
    response: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

A pager for iterating through list_transports requests.

This class thinly wraps an initial ListTransportsResponse object, and provides an __aiter__ method to iterate through its transports field.

If there are more pages, the __aiter__ method will make additional ListTransports requests and continue to iterate through the transports field on the corresponding responses.

All the usual ListTransportsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListTransportsPager

ListTransportsPager(
    method: typing.Callable[
        [...],
        google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsResponse,
    ],
    request: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsRequest,
    response: google.cloud.networkconnectivity_v1beta.types.transport_manager.ListTransportsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)

A pager for iterating through list_transports requests.

This class thinly wraps an initial ListTransportsResponse object, and provides an __iter__ method to iterate through its transports field.

If there are more pages, the __iter__ method will make additional ListTransports requests and continue to iterate through the transports field on the corresponding responses.

All the usual ListTransportsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.