list method
Lists each IosApp associated with the specified FirebaseProject.
The elements are returned in no particular order, but will be a consistent
view of the Apps when additional requests are made with a pageToken
.
Request parameters:
parent
- The resource name of the parent FirebaseProject for which to
list each associated IosApp, in the format:
projects/PROJECT_IDENTIFIER/iosApps Refer to the FirebaseProject
[name
](../projects#FirebaseProject.FIELDS.name) field for details
about PROJECT_IDENTIFIER values.
Value must have pattern ^projects/\[^/\]+$
.
pageSize
- The maximum number of Apps to return in the response. The
server may return fewer than this at its discretion. If no value is
specified (or too large a value is specified), the server will impose its
own limit.
pageToken
- Token returned from a previous call to ListIosApps
indicating where in the set of Apps to resume listing.
$fields
- Selector specifying which fields to include in a partial
response.
Completes with a ListIosAppsResponse.
Completes with a commons.ApiRequestError if the API endpoint returned an error.
If the used http.Client
completes with an error when making a REST call,
this method will complete with the same error.
Implementation
async.Future<ListIosAppsResponse> list(
core.String parent, {
core.int? pageSize,
core.String? pageToken,
core.String? $fields,
}) async {
final _queryParams = <core.String, core.List<core.String>>{
if (pageSize != null) 'pageSize': ['${pageSize}'],
if (pageToken != null) 'pageToken': [pageToken],
if ($fields != null) 'fields': [$fields],
};
final _url = 'v1beta1/' + core.Uri.encodeFull('$parent') + '/iosApps';
final _response = await _requester.request(
_url,
'GET',
queryParams: _queryParams,
);
return ListIosAppsResponse.fromJson(
_response as core.Map<core.String, core.dynamic>);
}