# Class SearchGrantsRequest (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.9

    SearchGrantsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for `SearchGrants` method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent which owns the grant resources. |
| `caller_relationship` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-privilegedaccessmanager/latest/google.cloud.privilegedaccessmanager_v1.types.SearchGrantsRequest.CallerRelationshipType` Required. Only grants which the caller is related to by this relationship are returned in the response. |
| `filter` | `str` Optional. Only grants matching this filter are returned in the response. |
| `page_size` | `int` Optional. Requested page size. The server may return fewer items than requested. If unspecified, server picks an appropriate default. |
| `page_token` | `str` Optional. A token identifying a page of results the server should return. |

## Classes

### CallerRelationshipType

    CallerRelationshipType(value)

Different types of relationships a user can have with a
grant.