Cloud Search API . debug . identitysources . unmappedids

Instance Methods

close()

Close httplib2 connections.

list(parent, pageToken=None, resolutionStatusCode=None, pageSize=None, debugOptions_enableDebugging=None, x__xgafv=None)

Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageToken=None, resolutionStatusCode=None, pageSize=None, debugOptions_enableDebugging=None, x__xgafv=None)
Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute.

Args:
  parent: string, The name of the identity source, in the following format: identitysources/{source_id} (required)
  pageToken: string, The next_page_token value returned from a previous List request, if any.
  resolutionStatusCode: string, Limit users selection to this status.
    Allowed values
      CODE_UNSPECIFIED - Input-only value. Used to list all unmapped identities regardless of status.
      NOT_FOUND - The unmapped identity was not found in IDaaS, and needs to be provided by the user.
      IDENTITY_SOURCE_NOT_FOUND - The identity source associated with the identity was either not found or deleted.
      IDENTITY_SOURCE_MISCONFIGURED - IDaaS does not understand the identity source, probably because the schema was modified in a non compatible way.
      TOO_MANY_MAPPINGS_FOUND - The number of users associated with the external identity is too large.
      INTERNAL_ERROR - Internal error.
  pageSize: integer, Maximum number of items to fetch in a request. Defaults to 100.
  debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
    "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
    "unmappedIdentities": [
      {
        "externalIdentity": { # Reference to a user, group, or domain. # The resource name for an external user.
          "userResourceName": "A String", # This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}
          "gsuitePrincipal": { # This principal is a GSuite user, group or domain.
            "gsuiteGroupEmail": "A String", # This principal references a G Suite group account
            "gsuiteUserEmail": "A String", # This principal references a G Suite user account
            "gsuiteDomain": True or False, # This principal represents all users of the G Suite domain of the customer.
          },
          "groupResourceName": "A String", # This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}
        },
        "resolutionStatusCode": "A String", # The resolution status for the external identity.
      },
    ],
  }
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.