Interface SearchGrantsRequestOrBuilder (0.1.0)

public interface SearchGrantsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCallerRelationship()

public abstract SearchGrantsRequest.CallerRelationshipType getCallerRelationship()

Required. Only grants which the caller is related to by this relationship are returned in the response.

.google.cloud.privilegedaccessmanager.v1.SearchGrantsRequest.CallerRelationshipType caller_relationship = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchGrantsRequest.CallerRelationshipType

The callerRelationship.

getCallerRelationshipValue()

public abstract int getCallerRelationshipValue()

Required. Only grants which the caller is related to by this relationship are returned in the response.

.google.cloud.privilegedaccessmanager.v1.SearchGrantsRequest.CallerRelationshipType caller_relationship = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for callerRelationship.

getFilter()

public abstract String getFilter()

Optional. Only grants matching this filter are returned in the response.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public abstract ByteString getFilterBytes()

Optional. Only grants matching this filter are returned in the response.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public abstract int getPageSize()

Optional. Requested page size. The server may return fewer items than requested. If unspecified, server picks an appropriate default.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. A token identifying a page of results the server should return.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. A token identifying a page of results the server should return.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public abstract String getParent()

Required. The parent which owns the grant resources.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent which owns the grant resources.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.