generative-ai-python

google.generativeai.protos.ListPermissionsRequest

Request for listing permissions.

`parent` `str` Required. The parent resource of the permissions. Formats: ``tunedModels/{tuned_model}`` ``corpora/{corpus}``
`page_size` `int` Optional. The maximum number of ``Permission``\ s to return (per page). The service may return fewer permissions. If unspecified, at most 10 permissions will be returned. This method returns at most 1000 permissions per page, even if you pass larger page_size.
`page_token` `str` Optional. A page token, received from a previous ``ListPermissions`` call. Provide the ``page_token`` returned by one request as an argument to the next request to retrieve the next page. When paginating, all other parameters provided to ``ListPermissions`` must match the call that provided the page token.