Cloud Key Management Service supports filtering and sorting results from the following
Support for sorting and filtering in a
list operation is indicated by the
orderBy string fields in the list request body. Both
fields use a simple language for referring to the fields in the object that is
being sorted and/or filtered.
The filter syntax consists of an expression on one or more fields of the objects being filtered.
You can use the following expression operators.
||Greater than or equal to.|
||Less than or equal to.|
The following are equivalent:
||Containment. This is a case-insensitive substring match.
As an example,
||Logical AND. A space is equivalent to
OR operators are accepted at the same grouping level.
AND. You can use parentheses to override default precedence.
When filtering on
time values, encode the time as a string in the
RFC 3399 format, such as
When accessing a subfield, use dot syntax. For example, the
resource contains the
primary field. You can filter
CryptoKey results on the
primary.algorithm for a specific algorithm:
Use the dot syntax for a label, and any other
A quoted string is interpreted as a single value rather than a sequence of values.
You can filter on any field in the objects being returned.
|List method||Link to filterable fields|
You can sort results by the resource name of the objects. The following shows
the supported sort-order values for the
||Results are sorted in the default order.|
||Results are sorted in ascending order by resource name.|
||Results are sorted in descending order by resource name.|