Class UserProfileListParams

    • Constructor Detail

    • Method Detail

      • enforcementStatus

         final Optional<List<UserProfileEnforcementStatus>> enforcementStatus()

        Return only the user profiles whose enforcement_status is one of these values: unrestricted, pending, restricted or banned. Repeat the parameter to match any of several. With it set, a page may hold fewer than limit profiles, or none, and still carry a next_page: the service examines a bounded number of profiles per request, and only a null next_page means the listing is complete. Rejected with invalid_request_error under the user-profiles-2026-09-04 and earlier beta headers. Fails with overloaded_error when a profile's enforcement actions cannot be read for the moment.

      • limit

         final Optional<Integer> limit()

        The maximum number of user profiles to return, from 1 to 100. Defaults to 20.

      • page

         final Optional<String> page()

        The cursor for the page to return, taken from next_page in a previous response.

        Leave it out to get the first page.

      • workspaceId

         final Optional<String> workspaceId()

        Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

        Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

      • _headers

         Headers _headers()

        The full set of headers in the parameters, including both fixed and additional headers.

      • _queryParams

         QueryParams _queryParams()

        The full set of query params in the parameters, including both fixed and additional query params.

      • _spanData

         SpanData _spanData()

        The data for the OpenTelemetry span of a call to the method with these parameters.