Skip to content

Commit d41a450

Browse files
feat(dlp): update the api
#### dlp:v2 The following keys were added: - schemas.GooglePrivacyDlpV2AllInfoTypes (Total Keys: 2) - schemas.GooglePrivacyDlpV2AllText (Total Keys: 2) - schemas.GooglePrivacyDlpV2DeidentifyConfig.properties.imageTransformations.$ref (Total Keys: 1) - schemas.GooglePrivacyDlpV2ImageTransformation (Total Keys: 10) - schemas.GooglePrivacyDlpV2RecordTransformation (Total Keys: 6) - schemas.GooglePrivacyDlpV2SelectedInfoTypes (Total Keys: 4) - schemas.GooglePrivacyDlpV2TransformationDetails (Total Keys: 10) - schemas.GooglePrivacyDlpV2TransformationLocation (Total Keys: 5) - schemas.GooglePrivacyDlpV2TransformationResultStatus (Total Keys: 4)
1 parent 802b876 commit d41a450

17 files changed

+1013
-133
lines changed

docs/dyn/dlp_v2.organizations.deidentifyTemplates.html

Lines changed: 138 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 138 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ <h3>Method Details</h3>
139139
&quot;jobConfig&quot;: { # Controls what and how to inspect for findings. # Inspect config.
140140
&quot;actions&quot;: [ # Actions to execute at the completion of the job.
141141
{ # A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
142-
&quot;deidentify&quot;: { # Create a de-identified copy of the requested table or files. . A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect # Create a de-identified copy of the input data. Applicable for non-image data only. The de-identified copy is in the same location as the original data.
143-
&quot;cloudStorageOutput&quot;: &quot;A String&quot;, # Required. User settable GCS bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output GCS bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
142+
&quot;deidentify&quot;: { # Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect # Create a de-identified copy of the input data.
143+
&quot;cloudStorageOutput&quot;: &quot;A String&quot;, # Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
144144
&quot;fileTypesToTransform&quot;: [ # List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn&#x27;t supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
145145
&quot;A String&quot;,
146146
],
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
},
158158
},
159159
},
160-
&quot;jobNotificationEmails&quot;: { # Enable email notification to project owners and editors on jobs&#x27;s completion/failure. # Enable email notification for project owners and editors on job&#x27;s completion/failure.
160+
&quot;jobNotificationEmails&quot;: { # Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). # Enable email notification for project owners and editors on job&#x27;s completion/failure.
161161
},
162162
&quot;pubSub&quot;: { # Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job&#x27;s [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk # Publish a notification to a pubsub topic.
163163
&quot;topic&quot;: &quot;A String&quot;, # Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}.
@@ -833,8 +833,8 @@ <h3>Method Details</h3>
833833
&quot;jobConfig&quot;: { # Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. # The job config for the risk job.
834834
&quot;actions&quot;: [ # Actions to execute at the completion of the job. Are executed in the order provided.
835835
{ # A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
836-
&quot;deidentify&quot;: { # Create a de-identified copy of the requested table or files. . A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect # Create a de-identified copy of the input data. Applicable for non-image data only. The de-identified copy is in the same location as the original data.
837-
&quot;cloudStorageOutput&quot;: &quot;A String&quot;, # Required. User settable GCS bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output GCS bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
836+
&quot;deidentify&quot;: { # Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect # Create a de-identified copy of the input data.
837+
&quot;cloudStorageOutput&quot;: &quot;A String&quot;, # Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket
838838
&quot;fileTypesToTransform&quot;: [ # List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn&#x27;t supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
839839
&quot;A String&quot;,
840840
],
@@ -851,7 +851,7 @@ <h3>Method Details</h3>
851851
},
852852
},
853853
},
854-
&quot;jobNotificationEmails&quot;: { # Enable email notification to project owners and editors on jobs&#x27;s completion/failure. # Enable email notification for project owners and editors on job&#x27;s completion/failure.
854+
&quot;jobNotificationEmails&quot;: { # Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). # Enable email notification for project owners and editors on job&#x27;s completion/failure.
855855
},
856856
&quot;pubSub&quot;: { # Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job&#x27;s [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk # Publish a notification to a pubsub topic.
857857
&quot;topic&quot;: &quot;A String&quot;, # Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}.

0 commit comments

Comments
 (0)