Module pagers (2.2.0)

API documentation for vision_v1.services.product_search.pagers module.

Classes

ListProductSetsAsyncPager

ListProductSetsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse
        ],
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_product_sets requests.

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

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

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

ListProductSetsPager

ListProductSetsPager(
    method: Callable[
        [...],
        google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_product_sets requests.

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

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

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

ListProductsAsyncPager

ListProductsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.vision_v1.types.product_search_service.ListProductsResponse
        ],
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_products requests.

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

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

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

ListProductsInProductSetAsyncPager

ListProductsInProductSetAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse
        ],
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_products_in_product_set requests.

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

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

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

ListProductsInProductSetPager

ListProductsInProductSetPager(
    method: Callable[
        [...],
        google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_products_in_product_set requests.

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

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

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

ListProductsPager

ListProductsPager(
    method: Callable[
        [...], google.cloud.vision_v1.types.product_search_service.ListProductsResponse
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListProductsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_products requests.

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

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

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

ListReferenceImagesAsyncPager

ListReferenceImagesAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse
        ],
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_reference_images requests.

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

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

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

ListReferenceImagesPager

ListReferenceImagesPager(
    method: Callable[
        [...],
        google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
    ],
    request: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
    response: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_reference_images requests.

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

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

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