Skip to content

Commit

Permalink
feat(dlp): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed May 27, 2021
1 parent d9c1cfe commit 7e3d1c4
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/dyn/dlp_v2.organizations.locations.dlpJobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3>Method Details</h3>
pageToken: string, The standard list page token.
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Unused
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Expand Down
9 changes: 7 additions & 2 deletions docs/dyn/dlp_v2.organizations.locations.jobTriggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
Expand Down Expand Up @@ -967,7 +967,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand All @@ -977,6 +977,11 @@ <h3>Method Details</h3>
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.
pageSize: integer, Size of the page, can be limited by a server.
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/dlp_v2.projects.dlpJobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2441,7 +2441,7 @@ <h3>Method Details</h3>
pageToken: string, The standard list page token.
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Unused
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Expand Down
9 changes: 7 additions & 2 deletions docs/dyn/dlp_v2.projects.jobTriggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h2>Instance Methods</h2>
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
Expand Down Expand Up @@ -1928,7 +1928,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand All @@ -1938,6 +1938,11 @@ <h3>Method Details</h3>
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.
pageSize: integer, Size of the page, can be limited by a server.
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
2 changes: 1 addition & 1 deletion docs/dyn/dlp_v2.projects.locations.dlpJobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2559,7 +2559,7 @@ <h3>Method Details</h3>
pageToken: string, The standard list page token.
type: string, The type of job. Defaults to `DlpJobType.INSPECT`
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Unused
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Expand Down
9 changes: 7 additions & 2 deletions docs/dyn/dlp_v2.projects.locations.jobTriggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
<code><a href="#hybridInspect">hybridInspect(name, body=None, x__xgafv=None)</a></code></p>
<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>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, locationId=None, orderBy=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
Expand Down Expand Up @@ -2019,7 +2019,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand All @@ -2029,6 +2029,11 @@ <h3>Method Details</h3>
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.
pageSize: integer, Size of the page, can be limited by a server.
pageToken: string, Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
type: string, The type of jobs. Will use `DlpJobType.INSPECT` if not set.
Allowed values
DLP_JOB_TYPE_UNSPECIFIED - Defaults to INSPECT_JOB.
INSPECT_JOB - The job inspected Google Cloud for sensitive data.
RISK_ANALYSIS_JOB - The job executed a Risk Analysis computation.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
55 changes: 50 additions & 5 deletions googleapiclient/discovery_cache/documents/dlp.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Unused",
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
Expand Down Expand Up @@ -1012,6 +1012,21 @@
"pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
"enum": [
"DLP_JOB_TYPE_UNSPECIFIED",
"INSPECT_JOB",
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
"location": "query",
"type": "string"
}
},
"path": "v2/{+parent}/jobTriggers",
Expand Down Expand Up @@ -1772,7 +1787,7 @@
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Unused",
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
Expand Down Expand Up @@ -2127,6 +2142,21 @@
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
"enum": [
"DLP_JOB_TYPE_UNSPECIFIED",
"INSPECT_JOB",
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
"location": "query",
"type": "string"
}
},
"path": "v2/{+parent}/jobTriggers",
Expand Down Expand Up @@ -2627,7 +2657,7 @@
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Unused",
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
Expand Down Expand Up @@ -3010,6 +3040,21 @@
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The type of jobs. Will use `DlpJobType.INSPECT` if not set.",
"enum": [
"DLP_JOB_TYPE_UNSPECIFIED",
"INSPECT_JOB",
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
"location": "query",
"type": "string"
}
},
"path": "v2/{+parent}/jobTriggers",
Expand Down Expand Up @@ -3367,7 +3412,7 @@
}
}
},
"revision": "20210508",
"revision": "20210522",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
Expand Down Expand Up @@ -4723,7 +4768,7 @@
"RISK_ANALYSIS_JOB"
],
"enumDescriptions": [
"Unused",
"Defaults to INSPECT_JOB.",
"The job inspected Google Cloud for sensitive data.",
"The job executed a Risk Analysis computation."
],
Expand Down

0 comments on commit 7e3d1c4

Please sign in to comment.