DLP API . rootCategories . infoTypes

Instance Methods

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

Returns sensitive information types for given category.

Method Details

list(category, languageCode=None, x__xgafv=None)
Returns sensitive information types for given category.

Args:
  category: string, Category name as returned by ListRootCategories. (required)
  languageCode: string, Optional BCP-47 language code for localized info type friendly
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 to the ListInfoTypes request.
    "infoTypes": [ # Set of sensitive info types belonging to a category.
      { # Info type description.
        "displayName": "A String", # Human readable form of the info type name.
        "name": "A String", # Internal name of the info type.
        "categories": [ # List of categories this info type belongs to.
          { # Info Type Category description.
            "displayName": "A String", # Human readable form of the category name.
            "name": "A String", # Internal name of the category.
          },
        ],
      },
    ],
  }