Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class SearchGrantsRequest.
Request message for SearchGrants
method.
Generated from protobuf message google.cloud.privilegedaccessmanager.v1.SearchGrantsRequest
Namespace
Google \ Cloud \ PrivilegedAccessManager \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent which owns the grant resources. |
↳ caller_relationship |
int
Required. Only grants which the caller is related to by this relationship are returned in the response. |
↳ filter |
string
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 |
string
Optional. A token identifying a page of results the server should return. |
getParent
Required. The parent which owns the grant resources.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent which owns the grant resources.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCallerRelationship
Required. Only grants which the caller is related to by this relationship are returned in the response.
Returns | |
---|---|
Type | Description |
int |
setCallerRelationship
Required. Only grants which the caller is related to by this relationship are returned in the response.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
Optional. Only grants matching this filter are returned in the response.
Returns | |
---|---|
Type | Description |
string |
setFilter
Optional. Only grants matching this filter are returned in the response.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
Optional. Requested page size. The server may return fewer items than requested. If unspecified, server picks an appropriate default.
Returns | |
---|---|
Type | Description |
int |
setPageSize
Optional. Requested page size. The server may return fewer items than requested. If unspecified, server picks an appropriate default.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
Optional. A token identifying a page of results the server should return.
Returns | |
---|---|
Type | Description |
string |
setPageToken
Optional. A token identifying a page of results the server should return.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |