list method

Future<GoogleFirebaseAppdistroV1ListTestersResponse> list(
  1. String parent, {
  2. String? filter,
  3. int? pageSize,
  4. String? pageToken,
  5. String? $fields,
})

Lists testers and their resource ids.

Request parameters:

parent - Required. The name of the project resource, which is the parent of the tester resources. Format: projects/{project_number} Value must have pattern ^projects/\[^/\]+$.

filter - Optional. The expression to filter testers listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: - name - displayName

  • groups Example: - name = "projects/-/testers / * @example.com" - displayName = "Joe Sixpack" - groups = "projects / * /groups/qa-team"

pageSize - Optional. The maximum number of testers to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 10 testers are returned. Values above 1000 are coerced to 1000.

pageToken - Optional. A page token, received from a previous ListTesters call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTesters must match the call that provided the page token.

$fields - Selector specifying which fields to include in a partial response.

Completes with a GoogleFirebaseAppdistroV1ListTestersResponse.

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<GoogleFirebaseAppdistroV1ListTestersResponse> list(
  core.String parent, {
  core.String? filter,
  core.int? pageSize,
  core.String? pageToken,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (filter != null) 'filter': [filter],
    if (pageSize != null) 'pageSize': ['${pageSize}'],
    if (pageToken != null) 'pageToken': [pageToken],
    if ($fields != null) 'fields': [$fields],
  };

  final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/testers';

  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return GoogleFirebaseAppdistroV1ListTestersResponse.fromJson(
      response_ as core.Map<core.String, core.dynamic>);
}