listCollectionIds method
Lists all the collection IDs underneath a document.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
Future<ListCollectionIdsResponse> listCollectionIds(
ListCollectionIdsRequest request,
) async {
final url = _endPoint.replace(
path: '/v1/${request.parent}:listCollectionIds',
);
final response = await _client.post(url, body: request);
return ListCollectionIdsResponse.fromJson(response);
}