Module pagers (3.18.0)

API documentation for devtools.cloudbuild_v1.services.cloud_build.pagers module.

Classes

ListBuildTriggersAsyncPager

ListBuildTriggersAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersResponse
        ],
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_build_triggers requests.

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

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

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

ListBuildTriggersPager

ListBuildTriggersPager(
    method: typing.Callable[
        [...],
        google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersResponse,
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildTriggersResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_build_triggers requests.

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

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

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

ListBuildsAsyncPager

ListBuildsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsResponse
        ],
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_builds requests.

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

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

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

ListBuildsPager

ListBuildsPager(
    method: typing.Callable[
        [...], google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsResponse
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListBuildsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_builds requests.

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

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

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

ListWorkerPoolsAsyncPager

ListWorkerPoolsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsResponse
        ],
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_worker_pools requests.

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

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

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

ListWorkerPoolsPager

ListWorkerPoolsPager(
    method: typing.Callable[
        [...],
        google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsResponse,
    ],
    request: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsRequest,
    response: google.cloud.devtools.cloudbuild_v1.types.cloudbuild.ListWorkerPoolsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_worker_pools requests.

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

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

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