| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="dlp_v2.html">Sensitive Data Protection (DLP)</a> . <a href="dlp_v2.infoTypes.html">infoTypes</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#list">list(filter=None, languageCode=None, locationId=None, parent=None, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.</p> |
| 83 |
<h3>Method Details</h3> |
| 84 |
<div class="method"> |
| 85 |
<code class="details" id="close">close()</code> |
| 86 |
<pre>Close httplib2 connections.</pre> |
| 87 |
</div> |
| 88 |
|
| 89 |
<div class="method"> |
| 90 |
<code class="details" id="list">list(filter=None, languageCode=None, locationId=None, parent=None, x__xgafv=None)</code> |
| 91 |
<pre>Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more. |
| 92 |
|
| 93 |
Args: |
| 94 |
filter: string, filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT. |
| 95 |
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. |
| 96 |
locationId: string, Deprecated. This field has no effect. |
| 97 |
parent: string, The parent resource name. The format of this value is as follows: `locations/{location_id}` |
| 98 |
x__xgafv: string, V1 error format. |
| 99 |
Allowed values |
| 100 |
1 - v1 error format |
| 101 |
2 - v2 error format |
| 102 |
|
| 103 |
Returns: |
| 104 |
An object of the form: |
| 105 |
|
| 106 |
{ # Response to the ListInfoTypes request. |
| 107 |
"infoTypes": [ # Set of sensitive infoTypes. |
| 108 |
{ # InfoType description. |
| 109 |
"categories": [ # The category of the infoType. |
| 110 |
{ # Classification of infoTypes to organize them according to geographic location, industry, and data type. |
| 111 |
"industryCategory": "A String", # The group of relevant businesses where this infoType is commonly used |
| 112 |
"locationCategory": "A String", # The region or country that issued the ID or document represented by the infoType. |
| 113 |
"typeCategory": "A String", # The class of identifiers where this infoType belongs |
| 114 |
}, |
| 115 |
], |
| 116 |
"description": "A String", # Description of the infotype. Translated when language is provided in the request. |
| 117 |
"displayName": "A String", # Human readable form of the infoType name. |
| 118 |
"example": "A String", # A sample that is a true positive for this infoType. |
| 119 |
"launchStatus": "A String", # The launch status of the infoType. |
| 120 |
"locationSupport": { # Locations at which a feature can be used. # Locations at which this feature can be used. May change over time. |
| 121 |
"locations": [ # Specific locations where the feature may be used. Examples: us-central1, us, asia, global If scope is ANY_LOCATION, no regions will be listed. |
| 122 |
"A String", |
| 123 |
], |
| 124 |
"regionalizationScope": "A String", # The current scope for location on this feature. This may expand over time. |
| 125 |
}, |
| 126 |
"name": "A String", # Internal name of the infoType. |
| 127 |
"sensitivityScore": { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # The default sensitivity of the infoType. |
| 128 |
"score": "A String", # The sensitivity score applied to the resource. |
| 129 |
}, |
| 130 |
"specificInfoTypes": [ # If this field is set, this infoType is a general infoType and these specific infoTypes are contained within it. General infoTypes are infoTypes that encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA" general infoType would have set for this field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS". |
| 131 |
"A String", |
| 132 |
], |
| 133 |
"supportedBy": [ # Which parts of the API supports this InfoType. |
| 134 |
"A String", |
| 135 |
], |
| 136 |
"versions": [ # A list of available versions for the infotype. |
| 137 |
{ # Details about each available version for an infotype. |
| 138 |
"description": "A String", # Description of the version. |
| 139 |
"version": "A String", # Name of the version |
| 140 |
}, |
| 141 |
], |
| 142 |
}, |
| 143 |
], |
| 144 |
}</pre> |
| 145 |
</div> |
| 146 |
|
| 147 |
</body></html> |