Class ListGrantsRequest
Implements
Inherited Members
Namespace: Oci.DatasafeService.Requests
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ListGrantsRequest : IOciRequest
Examples
Click here to see an example of how to use ListGrants request.
Properties
DepthLevel
Declaration
[HttpConverter(TargetEnum.Query, "depthLevel")]
public int? DepthLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | A filter to return only items that match the specified user grant depth level. |
DepthLevelGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "depthLevelGreaterThanOrEqualTo")]
public int? DepthLevelGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
int? | A filter to return only items that are at a level greater than or equal to the specified user grant depth level. |
DepthLevelLessThan
Declaration
[HttpConverter(TargetEnum.Query, "depthLevelLessThan")]
public int? DepthLevelLessThan { get; set; }
Property Value
Type | Description |
---|---|
int? | A filter to return only items that are at a level less than the specified user grant depth level. |
GrantKey
Declaration
[HttpConverter(TargetEnum.Query, "grantKey")]
public string GrantKey { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only items that match the specified user grant key. |
GrantName
Declaration
[HttpConverter(TargetEnum.Query, "grantName")]
public string GrantName { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only items that match the specified user grant name. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | For list pagination. The maximum number of items to return per page in a paginated "List" call. For details about how pagination works, see List Pagination. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous "List" call. For details about how pagination works, see List Pagination. |
PrivilegeCategory
Declaration
[HttpConverter(TargetEnum.Query, "privilegeCategory")]
public string PrivilegeCategory { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only items that match the specified user privilege category. |
PrivilegeType
Declaration
[HttpConverter(TargetEnum.Query, "privilegeType")]
public string PrivilegeType { get; set; }
Property Value
Type | Description |
---|---|
string | A filter to return only items that match the specified privilege grant type. |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListGrantsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListGrantsRequest.SortByEnum? | The field to sort by. You can specify only one sort order (sortOrder). The default order for grantName is ascending. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListGrantsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListGrantsRequest.SortOrderEnum? | The sort order to use, either ascending (ASC) or descending (DESC). |
UserAssessmentId
Declaration
[Required(ErrorMessage = "UserAssessmentId is required.")]
[HttpConverter(TargetEnum.Path, "userAssessmentId")]
public string UserAssessmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user assessment. |
Remarks
Required
UserKey
Declaration
[Required(ErrorMessage = "UserKey is required.")]
[HttpConverter(TargetEnum.Path, "userKey")]
public string UserKey { get; set; }
Property Value
Type | Description |
---|---|
string | The unique user key. This is a system-generated identifier. ListUsers gets the user key for a user. |
Remarks
Required