Skip to content

Commit 7e3d1c4

Browse files
feat(dlp): update the api
#### dlp:v2 The following keys were added: - resources.organizations.resources.locations.resources.jobTriggers.methods.list.parameters.type (Total Keys: 2) - resources.projects.resources.jobTriggers.methods.list.parameters.type (Total Keys: 2) - resources.projects.resources.locations.resources.jobTriggers.methods.list.parameters.type (Total Keys: 2)
1 parent d9c1cfe commit 7e3d1c4

7 files changed

+74
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>Method Details</h3>
102102
pageToken: string, The standard list page token.
103103
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
104104
Allowed values
105-
DLP_JOB_TYPE_UNSPECIFIED - Unused
105+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
106106
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
107107
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
108108
x__xgafv: string, V1 error format.

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -967,7 +967,7 @@ <h3>Method Details</h3>
967967
</div>
968968

969969
<div class="method">
970-
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
970+
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</code>
971971
<pre>Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
972972

973973
Args:
@@ -977,6 +977,11 @@ <h3>Method Details</h3>
977977
orderBy: string, Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger&#x27;s name. - `display_name`: corresponds to JobTrigger&#x27;s display name. - `status`: corresponds to JobTrigger&#x27;s status.
978978
pageSize: integer, Size of the page, can be limited by a server.
979979
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
980+
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
981+
Allowed values
982+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
983+
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
984+
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
980985
x__xgafv: string, V1 error format.
981986
Allowed values
982987
1 - v1 error format

docs/dyn/dlp_v2.projects.dlpJobs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ <h3>Method Details</h3>
24412441
pageToken: string, The standard list page token.
24422442
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
24432443
Allowed values
2444-
DLP_JOB_TYPE_UNSPECIFIED - Unused
2444+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
24452445
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
24462446
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
24472447
x__xgafv: string, V1 error format.

docs/dyn/dlp_v2.projects.jobTriggers.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h2>Instance Methods</h2>
9090
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
9292
<p class="toc_element">
93-
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
93+
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
9595
<p class="toc_element">
9696
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -1928,7 +1928,7 @@ <h3>Method Details</h3>
19281928
</div>
19291929

19301930
<div class="method">
1931-
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
1931+
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</code>
19321932
<pre>Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
19331933

19341934
Args:
@@ -1938,6 +1938,11 @@ <h3>Method Details</h3>
19381938
orderBy: string, Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger&#x27;s name. - `display_name`: corresponds to JobTrigger&#x27;s display name. - `status`: corresponds to JobTrigger&#x27;s status.
19391939
pageSize: integer, Size of the page, can be limited by a server.
19401940
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
1941+
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
1942+
Allowed values
1943+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
1944+
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
1945+
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
19411946
x__xgafv: string, V1 error format.
19421947
Allowed values
19431948
1 - v1 error format

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ <h3>Method Details</h3>
25592559
pageToken: string, The standard list page token.
25602560
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
25612561
Allowed values
2562-
DLP_JOB_TYPE_UNSPECIFIED - Unused
2562+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
25632563
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
25642564
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
25652565
x__xgafv: string, V1 error format.

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#hybridInspect">hybridInspect(name, body=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.</p>
9595
<p class="toc_element">
96-
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
9898
<p class="toc_element">
9999
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -2019,7 +2019,7 @@ <h3>Method Details</h3>
20192019
</div>
20202020

20212021
<div class="method">
2022-
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
2022+
<code class="details" id="list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</code>
20232023
<pre>Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
20242024

20252025
Args:
@@ -2029,6 +2029,11 @@ <h3>Method Details</h3>
20292029
orderBy: string, Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger&#x27;s name. - `display_name`: corresponds to JobTrigger&#x27;s display name. - `status`: corresponds to JobTrigger&#x27;s status.
20302030
pageSize: integer, Size of the page, can be limited by a server.
20312031
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
2032+
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
2033+
Allowed values
2034+
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
2035+
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
2036+
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
20322037
x__xgafv: string, V1 error format.
20332038
Allowed values
20342039
1 - v1 error format

googleapiclient/discovery_cache/documents/dlp.v2.json

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@
717717
"RISK_ANALYSIS_JOB"
718718
],
719719
"enumDescriptions": [
720-
"Unused",
720+
"Defaults to INSPECT_JOB.",
721721
"The job inspected Google Cloud for sensitive data.",
722722
"The job executed a Risk Analysis computation."
723723
],
@@ -1012,6 +1012,21 @@
10121012
"pattern": "^organizations/[^/]+/locations/[^/]+$",
10131013
"required": true,
10141014
"type": "string"
1015+
},
1016+
"type": {
1017+
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
1018+
"enum": [
1019+
"DLP_JOB_TYPE_UNSPECIFIED",
1020+
"INSPECT_JOB",
1021+
"RISK_ANALYSIS_JOB"
1022+
],
1023+
"enumDescriptions": [
1024+
"Defaults to INSPECT_JOB.",
1025+
"The job inspected Google Cloud for sensitive data.",
1026+
"The job executed a Risk Analysis computation."
1027+
],
1028+
"location": "query",
1029+
"type": "string"
10151030
}
10161031
},
10171032
"path": "v2/{+parent}/jobTriggers",
@@ -1772,7 +1787,7 @@
17721787
"RISK_ANALYSIS_JOB"
17731788
],
17741789
"enumDescriptions": [
1775-
"Unused",
1790+
"Defaults to INSPECT_JOB.",
17761791
"The job inspected Google Cloud for sensitive data.",
17771792
"The job executed a Risk Analysis computation."
17781793
],
@@ -2127,6 +2142,21 @@
21272142
"pattern": "^projects/[^/]+$",
21282143
"required": true,
21292144
"type": "string"
2145+
},
2146+
"type": {
2147+
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
2148+
"enum": [
2149+
"DLP_JOB_TYPE_UNSPECIFIED",
2150+
"INSPECT_JOB",
2151+
"RISK_ANALYSIS_JOB"
2152+
],
2153+
"enumDescriptions": [
2154+
"Defaults to INSPECT_JOB.",
2155+
"The job inspected Google Cloud for sensitive data.",
2156+
"The job executed a Risk Analysis computation."
2157+
],
2158+
"location": "query",
2159+
"type": "string"
21302160
}
21312161
},
21322162
"path": "v2/{+parent}/jobTriggers",
@@ -2627,7 +2657,7 @@
26272657
"RISK_ANALYSIS_JOB"
26282658
],
26292659
"enumDescriptions": [
2630-
"Unused",
2660+
"Defaults to INSPECT_JOB.",
26312661
"The job inspected Google Cloud for sensitive data.",
26322662
"The job executed a Risk Analysis computation."
26332663
],
@@ -3010,6 +3040,21 @@
30103040
"pattern": "^projects/[^/]+/locations/[^/]+$",
30113041
"required": true,
30123042
"type": "string"
3043+
},
3044+
"type": {
3045+
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
3046+
"enum": [
3047+
"DLP_JOB_TYPE_UNSPECIFIED",
3048+
"INSPECT_JOB",
3049+
"RISK_ANALYSIS_JOB"
3050+
],
3051+
"enumDescriptions": [
3052+
"Defaults to INSPECT_JOB.",
3053+
"The job inspected Google Cloud for sensitive data.",
3054+
"The job executed a Risk Analysis computation."
3055+
],
3056+
"location": "query",
3057+
"type": "string"
30133058
}
30143059
},
30153060
"path": "v2/{+parent}/jobTriggers",
@@ -3367,7 +3412,7 @@
33673412
}
33683413
}
33693414
},
3370-
"revision": "20210508",
3415+
"revision": "20210522",
33713416
"rootUrl": "https://dlp.googleapis.com/",
33723417
"schemas": {
33733418
"GooglePrivacyDlpV2Action": {
@@ -4723,7 +4768,7 @@
47234768
"RISK_ANALYSIS_JOB"
47244769
],
47254770
"enumDescriptions": [
4726-
"Unused",
4771+
"Defaults to INSPECT_JOB.",
47274772
"The job inspected Google Cloud for sensitive data.",
47284773
"The job executed a Risk Analysis computation."
47294774
],

0 commit comments

Comments
 (0)