listForunmappedidentity method

Future<ListItemNamesForUnmappedIdentityResponse> listForunmappedidentity(
  1. String parent, {
  2. bool? debugOptions_enableDebugging,
  3. String? groupResourceName,
  4. int? pageSize,
  5. String? pageToken,
  6. String? userResourceName,
  7. String? $fields,
})

Lists names of items associated with an unmapped identity.

Note: This API requires an admin account to execute.

Request parameters:

parent - The name of the identity source, in the following format: identitysources/{source_id}} Value must have pattern ^identitysources/\[^/\]+$.

debugOptions_enableDebugging - If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.

groupResourceName - null

pageSize - Maximum number of items to fetch in a request. Defaults to 100.

pageToken - The next_page_token value returned from a previous List request, if any.

userResourceName - null

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

Completes with a ListItemNamesForUnmappedIdentityResponse.

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<ListItemNamesForUnmappedIdentityResponse>
    listForunmappedidentity(
  core.String parent, {
  core.bool? debugOptions_enableDebugging,
  core.String? groupResourceName,
  core.int? pageSize,
  core.String? pageToken,
  core.String? userResourceName,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (debugOptions_enableDebugging != null)
      'debugOptions.enableDebugging': ['${debugOptions_enableDebugging}'],
    if (groupResourceName != null) 'groupResourceName': [groupResourceName],
    if (pageSize != null) 'pageSize': ['${pageSize}'],
    if (pageToken != null) 'pageToken': [pageToken],
    if (userResourceName != null) 'userResourceName': [userResourceName],
    if ($fields != null) 'fields': [$fields],
  };

  final url_ = 'v1/debug/' +
      core.Uri.encodeFull('$parent') +
      '/items:forunmappedidentity';

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