Module pagers (2.5.1)

API documentation for networkconnectivity_v1.services.hub_service.pagers module.

Classes

ListGroupsAsyncPager

ListGroupsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_groups requests.

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

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

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

ListGroupsPager

ListGroupsPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListGroupsRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListGroupsResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_groups requests.

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

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

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

ListHubSpokesAsyncPager

ListHubSpokesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_hub_spokes requests.

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

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

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

ListHubSpokesPager

ListHubSpokesPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListHubSpokesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_hub_spokes requests.

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

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

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

ListHubsAsyncPager

ListHubsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_hubs requests.

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

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

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

ListHubsPager

ListHubsPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListHubsRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListHubsResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_hubs requests.

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

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

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

ListRouteTablesAsyncPager

ListRouteTablesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_route_tables requests.

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

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

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

ListRouteTablesPager

ListRouteTablesPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListRouteTablesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_route_tables requests.

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

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

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

ListRoutesAsyncPager

ListRoutesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_routes requests.

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

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

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

ListRoutesPager

ListRoutesPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListRoutesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListRoutesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_routes requests.

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

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

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

ListSpokesAsyncPager

ListSpokesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse
        ],
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_spokes requests.

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

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

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

ListSpokesPager

ListSpokesPager(
    method: typing.Callable[
        [...], google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse
    ],
    request: google.cloud.networkconnectivity_v1.types.hub.ListSpokesRequest,
    response: google.cloud.networkconnectivity_v1.types.hub.ListSpokesResponse,
    *,
    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, str]] = ()
)

A pager for iterating through list_spokes requests.

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

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

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