Cloud Search API . debug . datasources . items . unmappedids

Instance Methods

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

List all unmapped identities for a specific item.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

list(parent, pageSize=None, debugOptions_enableDebugging=None, pageToken=None, x__xgafv=None)
List all unmapped identities for a specific item.

Args:
  parent: string, The name of the item, in the following format:
datasources/{source_id}/items/{ID} (required)
  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.
  pageToken: string, The next_page_token value returned from a previous List request, if any.
  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}
          "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}
          "gsuitePrincipal": { # This principal is a GSuite user, group or domain.
            "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.
            "gsuiteGroupEmail": "A String", # This principal references a G Suite group account
          },
        },
        "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.