Module pagers (0.2.0)

API documentation for apihub_v1.services.api_hub.pagers module.

Classes

ListApiOperationsPager

ListApiOperationsPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListApiOperationsResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListApiOperationsRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListApiOperationsResponse,
    *,
    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_api_operations requests.

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

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

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

ListApisPager

ListApisPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListApisResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListApisRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListApisResponse,
    *,
    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_apis requests.

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

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

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

ListAttributesPager

ListAttributesPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListAttributesResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListAttributesRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListAttributesResponse,
    *,
    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_attributes requests.

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

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

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

ListDeploymentsPager

ListDeploymentsPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListDeploymentsResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListDeploymentsRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListDeploymentsResponse,
    *,
    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_deployments requests.

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

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

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

ListExternalApisPager

ListExternalApisPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListExternalApisResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListExternalApisRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListExternalApisResponse,
    *,
    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_external_apis requests.

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

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

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

ListSpecsPager

ListSpecsPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListSpecsResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListSpecsRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListSpecsResponse,
    *,
    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_specs requests.

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

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

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

ListVersionsPager

ListVersionsPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.ListVersionsResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.ListVersionsRequest,
    response: google.cloud.apihub_v1.types.apihub_service.ListVersionsResponse,
    *,
    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_versions requests.

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

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

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

SearchResourcesPager

SearchResourcesPager(
    method: typing.Callable[
        [...], google.cloud.apihub_v1.types.apihub_service.SearchResourcesResponse
    ],
    request: google.cloud.apihub_v1.types.apihub_service.SearchResourcesRequest,
    response: google.cloud.apihub_v1.types.apihub_service.SearchResourcesResponse,
    *,
    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 search_resources requests.

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

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

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