Lists permissions for the specific resource.
HTTP request
GET https://generativelanguage.googleapis.com/v1beta3/{parent=tunedModels/*}/permissions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the permissions. Format: tunedModels/{tunedModel} |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of If unspecified, at most 10 permissions will be returned. This method returns at most 1000 permissions per page, even if you pass larger pageSize. |
pageToken |
Optional. A page token, received from a previous Provide the When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response from permissions.list
containing a paginated list of permissions.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"permissions": [
{
object ( |
Fields | |
---|---|
permissions[] |
Returned permissions. |
nextPageToken |
A token, which can be sent as If this field is omitted, there are no more pages. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/generative-language
For more information, see the Authentication Overview.