# Privileged Access Manager V1 API - Class Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest.

Request message for `SearchEntitlements` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #caller_access_type

    def caller_access_type() -> ::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest::CallerAccessType

**Returns**

- ([::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest::CallerAccessType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-SearchEntitlementsRequest-CallerAccessType)) --- Required. Only entitlements where the calling user has this access are returned.

### #caller_access_type=

    def caller_access_type=(value) -> ::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest::CallerAccessType

**Parameter**

- **value** ([::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest::CallerAccessType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-SearchEntitlementsRequest-CallerAccessType)) --- Required. Only entitlements where the calling user has this access are returned.
**Returns**

- ([::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest::CallerAccessType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-SearchEntitlementsRequest-CallerAccessType)) --- Required. Only entitlements where the calling user has this access are returned.

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Optional. Only entitlements matching this filter are returned in the response.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Only entitlements matching this filter are returned in the response.
**Returns**

- (::String) --- Optional. Only entitlements matching this filter are returned in the response.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.
**Returns**

- (::Integer) --- Optional. Requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. A token identifying a page of results the server should return.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A token identifying a page of results the server should return.
**Returns**

- (::String) --- Optional. A token identifying a page of results the server should return.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent which owns the entitlement resources.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent which owns the entitlement resources.
**Returns**

- (::String) --- Required. The parent which owns the entitlement resources.