Cloud Data Loss Prevention (DLP) API . infoTypes

Instance Methods

close()

Close httplib2 connections.

list(filter=None, languageCode=None, locationId=None, parent=None, x__xgafv=None)

Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.

Method Details

close()
Close httplib2 connections.
list(filter=None, languageCode=None, locationId=None, parent=None, x__xgafv=None)
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.

Args:
  filter: string, filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
  languageCode: string, BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
  locationId: string, Deprecated. This field has no effect.
  parent: string, The parent resource name. The format of this value is as follows: locations/ LOCATION_ID
  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 infoTypes.
    { # InfoType description.
      "description": "A String", # Description of the infotype. Translated when language is provided in the request.
      "displayName": "A String", # Human readable form of the infoType name.
      "name": "A String", # Internal name of the infoType.
      "supportedBy": [ # Which parts of the API supports this InfoType.
        "A String",
      ],
    },
  ],
}