Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cdf8c9c

Browse files
committedMar 18, 2025
feat(dlp): update the api
#### dlp:v2 The following keys were added: - resources.organizations.resources.locations.resources.infoTypes.methods.list (Total Keys: 17) - resources.projects.resources.locations.resources.infoTypes.methods.list (Total Keys: 17) - schemas.GooglePrivacyDlpV2FileStoreDataProfile.properties.tags (Total Keys: 2) - schemas.GooglePrivacyDlpV2TableDataProfile.properties.tags (Total Keys: 2) - schemas.GooglePrivacyDlpV2Tag (Total Keys: 5)
1 parent 922f9c6 commit cdf8c9c

11 files changed

+481
-1
lines changed
 

‎docs/dyn/dlp_v2.infoTypes.html

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ <h3>Method Details</h3>
120120
&quot;sensitivityScore&quot;: { # 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.
121121
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
122122
},
123+
&quot;specificInfoTypes&quot;: [ # 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 &quot;GEOGRAPHIC_DATA&quot; general infoType would have set for this field &quot;LOCATION&quot;, &quot;LOCATION_COORDINATES&quot;, and &quot;STREET_ADDRESS&quot;.
124+
&quot;A String&quot;,
125+
],
123126
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
124127
&quot;A String&quot;,
125128
],

‎docs/dyn/dlp_v2.locations.infoTypes.html

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ <h3>Method Details</h3>
120120
&quot;sensitivityScore&quot;: { # 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.
121121
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
122122
},
123+
&quot;specificInfoTypes&quot;: [ # 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 &quot;GEOGRAPHIC_DATA&quot; general infoType would have set for this field &quot;LOCATION&quot;, &quot;LOCATION_COORDINATES&quot;, and &quot;STREET_ADDRESS&quot;.
124+
&quot;A String&quot;,
125+
],
123126
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
124127
&quot;A String&quot;,
125128
],

‎docs/dyn/dlp_v2.organizations.locations.fileStoreDataProfiles.html

+14
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,13 @@ <h3>Method Details</h3>
841841
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
842842
},
843843
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
844+
&quot;tags&quot;: [ # The tags attached to the resource, including any tags attached during profiling.
845+
{ # A tag associated with a resource.
846+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
847+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
848+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
849+
},
850+
],
844851
}</pre>
845852
</div>
846853

@@ -1578,6 +1585,13 @@ <h3>Method Details</h3>
15781585
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
15791586
},
15801587
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
1588+
&quot;tags&quot;: [ # The tags attached to the resource, including any tags attached during profiling.
1589+
{ # A tag associated with a resource.
1590+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
1591+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
1592+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
1593+
},
1594+
],
15811595
},
15821596
],
15831597
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token.

‎docs/dyn/dlp_v2.organizations.locations.html

+5
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ <h2>Instance Methods</h2>
104104
</p>
105105
<p class="firstline">Returns the fileStoreDataProfiles Resource.</p>
106106

107+
<p class="toc_element">
108+
<code><a href="dlp_v2.organizations.locations.infoTypes.html">infoTypes()</a></code>
109+
</p>
110+
<p class="firstline">Returns the infoTypes Resource.</p>
111+
107112
<p class="toc_element">
108113
<code><a href="dlp_v2.organizations.locations.inspectTemplates.html">inspectTemplates()</a></code>
109114
</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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.organizations.html">organizations</a> . <a href="dlp_v2.organizations.locations.html">locations</a> . <a href="dlp_v2.organizations.locations.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(parent, filter=None, languageCode=None, locationId=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(parent, filter=None, languageCode=None, locationId=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+
parent: string, The parent resource name. The format of this value is as follows: `locations/{location_id}` (required)
95+
filter: string, filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
96+
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.
97+
locationId: string, Deprecated. This field has no effect.
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+
&quot;infoTypes&quot;: [ # Set of sensitive infoTypes.
108+
{ # InfoType description.
109+
&quot;categories&quot;: [ # The category of the infoType.
110+
{ # Classification of infoTypes to organize them according to geographic location, industry, and data type.
111+
&quot;industryCategory&quot;: &quot;A String&quot;, # The group of relevant businesses where this infoType is commonly used
112+
&quot;locationCategory&quot;: &quot;A String&quot;, # The region or country that issued the ID or document represented by the infoType.
113+
&quot;typeCategory&quot;: &quot;A String&quot;, # The class of identifiers where this infoType belongs
114+
},
115+
],
116+
&quot;description&quot;: &quot;A String&quot;, # Description of the infotype. Translated when language is provided in the request.
117+
&quot;displayName&quot;: &quot;A String&quot;, # Human readable form of the infoType name.
118+
&quot;example&quot;: &quot;A String&quot;, # A sample that is a true positive for this infoType.
119+
&quot;name&quot;: &quot;A String&quot;, # Internal name of the infoType.
120+
&quot;sensitivityScore&quot;: { # 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.
121+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
122+
},
123+
&quot;specificInfoTypes&quot;: [ # 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 &quot;GEOGRAPHIC_DATA&quot; general infoType would have set for this field &quot;LOCATION&quot;, &quot;LOCATION_COORDINATES&quot;, and &quot;STREET_ADDRESS&quot;.
124+
&quot;A String&quot;,
125+
],
126+
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
127+
&quot;A String&quot;,
128+
],
129+
&quot;versions&quot;: [ # A list of available versions for the infotype.
130+
{ # Details about each available version for an infotype.
131+
&quot;description&quot;: &quot;A String&quot;, # Description of the version.
132+
&quot;version&quot;: &quot;A String&quot;, # Name of the version
133+
},
134+
],
135+
},
136+
],
137+
}</pre>
138+
</div>
139+
140+
</body></html>

‎docs/dyn/dlp_v2.organizations.locations.tableDataProfiles.html

+14
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,13 @@ <h3>Method Details</h3>
784784
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
785785
&quot;tableId&quot;: &quot;A String&quot;, # The table ID.
786786
&quot;tableSizeBytes&quot;: &quot;A String&quot;, # The size of the table when the profile was generated.
787+
&quot;tags&quot;: [ # The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.
788+
{ # A tag associated with a resource.
789+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
790+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
791+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
792+
},
793+
],
787794
}</pre>
788795
</div>
789796

@@ -1465,6 +1472,13 @@ <h3>Method Details</h3>
14651472
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
14661473
&quot;tableId&quot;: &quot;A String&quot;, # The table ID.
14671474
&quot;tableSizeBytes&quot;: &quot;A String&quot;, # The size of the table when the profile was generated.
1475+
&quot;tags&quot;: [ # The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.
1476+
{ # A tag associated with a resource.
1477+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
1478+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
1479+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
1480+
},
1481+
],
14681482
},
14691483
],
14701484
}</pre>

‎docs/dyn/dlp_v2.projects.locations.fileStoreDataProfiles.html

+14
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,13 @@ <h3>Method Details</h3>
841841
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
842842
},
843843
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
844+
&quot;tags&quot;: [ # The tags attached to the resource, including any tags attached during profiling.
845+
{ # A tag associated with a resource.
846+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
847+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
848+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
849+
},
850+
],
844851
}</pre>
845852
</div>
846853

@@ -1578,6 +1585,13 @@ <h3>Method Details</h3>
15781585
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
15791586
},
15801587
&quot;state&quot;: &quot;A String&quot;, # State of a profile.
1588+
&quot;tags&quot;: [ # The tags attached to the resource, including any tags attached during profiling.
1589+
{ # A tag associated with a resource.
1590+
&quot;key&quot;: &quot;A String&quot;, # The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, &quot;tagKeys/123456&quot;.
1591+
&quot;namespacedTagValue&quot;: &quot;A String&quot;, # The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, &quot;123456/environment/prod&quot;. This is only set for Google Cloud resources.
1592+
&quot;value&quot;: &quot;A String&quot;, # The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, &quot;tagValues/123456&quot;.
1593+
},
1594+
],
15811595
},
15821596
],
15831597
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token.

‎docs/dyn/dlp_v2.projects.locations.html

+5
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ <h2>Instance Methods</h2>
114114
</p>
115115
<p class="firstline">Returns the image Resource.</p>
116116

117+
<p class="toc_element">
118+
<code><a href="dlp_v2.projects.locations.infoTypes.html">infoTypes()</a></code>
119+
</p>
120+
<p class="firstline">Returns the infoTypes Resource.</p>
121+
117122
<p class="toc_element">
118123
<code><a href="dlp_v2.projects.locations.inspectTemplates.html">inspectTemplates()</a></code>
119124
</p>

0 commit comments

Comments
 (0)
Please sign in to comment.