Cloud Search API . debug . datasources . items . unmappedids

Instance Methods

close()

Close httplib2 connections.

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

List all unmapped identities for a specific item. **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, debugOptions_enableDebugging=None, pageSize=None, pageToken=None, x__xgafv=None)
List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute.

Args:
  parent: string, The name of the item, in the following format: datasources/{source_id}/items/{ID} (required)
  debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.
  pageSize: integer, Maximum number of items to fetch in a request. Defaults to 100.
  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.
        "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.
          "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
          "gsuiteUserEmail": "A String", # This principal references a G Suite user account
        },
        "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}
      },
      "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.