Module pagers (0.4.3)

API documentation for lustre_v1.services.lustre.pagers module.

Classes

ListDirectoryPoliciesAsyncPager

ListDirectoryPoliciesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesResponse
        ],
    ],
    request: google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesRequest,
    response: google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesResponse,
    *,
    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_directory_policies requests.

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

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

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

ListDirectoryPoliciesPager

ListDirectoryPoliciesPager(
    method: typing.Callable[
        [...],
        google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesResponse,
    ],
    request: google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesRequest,
    response: google.cloud.lustre_v1.types.directory_policy.ListDirectoryPoliciesResponse,
    *,
    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_directory_policies requests.

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

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

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

ListInstancesAsyncPager

ListInstancesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[google.cloud.lustre_v1.types.instance.ListInstancesResponse],
    ],
    request: google.cloud.lustre_v1.types.instance.ListInstancesRequest,
    response: google.cloud.lustre_v1.types.instance.ListInstancesResponse,
    *,
    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_instances requests.

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

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

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

ListInstancesPager

ListInstancesPager(
    method: typing.Callable[
        [...], google.cloud.lustre_v1.types.instance.ListInstancesResponse
    ],
    request: google.cloud.lustre_v1.types.instance.ListInstancesRequest,
    response: google.cloud.lustre_v1.types.instance.ListInstancesResponse,
    *,
    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_instances requests.

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

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

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

ListMirrorsAsyncPager

ListMirrorsAsyncPager(
    method: typing.Callable[
        [...], typing.Awaitable[google.cloud.lustre_v1.types.mirror.ListMirrorsResponse]
    ],
    request: google.cloud.lustre_v1.types.mirror.ListMirrorsRequest,
    response: google.cloud.lustre_v1.types.mirror.ListMirrorsResponse,
    *,
    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_mirrors requests.

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

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

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

ListMirrorsPager

ListMirrorsPager(
    method: typing.Callable[
        [...], google.cloud.lustre_v1.types.mirror.ListMirrorsResponse
    ],
    request: google.cloud.lustre_v1.types.mirror.ListMirrorsRequest,
    response: google.cloud.lustre_v1.types.mirror.ListMirrorsResponse,
    *,
    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_mirrors requests.

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

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

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