Module pagers (3.9.0)

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

Classes

ListProductSetsAsyncPager

ListProductSetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse
        ],
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
    *,
    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_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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse
        ],
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
    *,
    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_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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse
        ],
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
    *,
    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_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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse
        ],
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
    ],
    request: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
    response: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
    *,
    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_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.