# DLP API . rootCategories

## Instance Methods

Returns the infoTypes Resource.

Returns the list of root categories of sensitive information.

### Method Details

`list(languageCode=None, x__xgafv=None)`

    Returns the list of root categories of sensitive information.

    Args:
      languageCode: string, Optional language code for localized friendly category names.
    If omitted or if localized strings are not available,
    en-US strings will be returned.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response for ListRootCategories request.
        "categories": [ # List of all into type categories supported by the API.
          { # Info Type Category description.
            "displayName": "A String", # Human readable form of the category name.
            "name": "A String", # Internal name of the category.
          },
        ],
      }