Skip to content
Permalink
Browse files
docs: expand parent field format, and BigQuery sampling options. Also…
… describing which transformations are allowed for ReidentifyContent API calls, and the custom alphabet allowed for format-preserving encryption (FPE). (#266)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/d0ce2df9-8f3a-4426-8c51-a99c5488fe81/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 329758805
Source-Link: googleapis/googleapis@1ee015d
  • Loading branch information
yoshi-automation committed Sep 9, 2020
1 parent dbf5e01 commit 9a10739284127974c669bd3580ebe29a8f8316a4
Showing with 2,518 additions and 652 deletions.
  1. +603 −151 google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java
  2. +9 −5 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
  3. +105 −28 ...-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java
  4. +30 −8 ...loud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java
  5. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
  6. +20 −4 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java
  7. +105 −28 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java
  8. +30 −8 ...e-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java
  9. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java
  10. +20 −4 ...google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java
  11. +105 −28 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java
  12. +30 −8 ...le-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java
  13. +21 −0 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java
  14. +6 −0 ...ogle-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java
  15. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java
  16. +20 −4 ...oogle-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java
  17. +14 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java
  18. +4 −4 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java
  19. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java
  20. +20 −4 ...o-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java
  21. +105 −28 ...o-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java
  22. +30 −8 ...cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java
  23. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java
  24. +20 −4 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java
  25. +14 −7 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java
  26. +4 −2 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java
  27. +105 −28 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java
  28. +30 −8 ...le-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java
  29. +70 −14 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java
  30. +20 −4 ...-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java
  31. +105 −28 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java
  32. +30 −8 ...gle-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java
  33. +77 −21 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java
  34. +22 −6 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java
  35. +112 −49 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java
  36. +32 −14 ...oogle-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java
  37. +240 −47 proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto
  38. +7 −5 proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto
  39. +3 −3 synth.metadata

Large diffs are not rendered by default.

@@ -172,7 +172,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <pre>
* How to sample rows if not all rows are scanned. Meaningful only when used
* in conjunction with either rows_limit or rows_limit_percent. If not
* specified, scanning would start from the top.
* specified, rows are scanned in the order BigQuery reads them.
* </pre>
*
* Protobuf enum {@code google.privacy.dlp.v2.BigQueryOptions.SampleMethod}
@@ -184,7 +184,9 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Scan from the top (default).
* Scan groups of rows in the order BigQuery provides (default). Multiple
* groups of rows may be scanned in parallel, so results may not appear in
* the same order the rows are read.
* </pre>
*
* <code>TOP = 1;</code>
@@ -194,7 +196,7 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Randomly pick the row to start scanning. The scanned rows are contiguous.
* Randomly pick groups of rows to scan.
* </pre>
*
* <code>RANDOM_START = 2;</code>
@@ -209,7 +211,9 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Scan from the top (default).
* Scan groups of rows in the order BigQuery provides (default). Multiple
* groups of rows may be scanned in parallel, so results may not appear in
* the same order the rows are read.
* </pre>
*
* <code>TOP = 1;</code>
@@ -219,7 +223,7 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* Randomly pick the row to start scanning. The scanned rows are contiguous.
* Randomly pick groups of rows to scan.
* </pre>
*
* <code>RANDOM_START = 2;</code>
@@ -151,10 +151,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -180,10 +191,21 @@ public java.lang.String getParent() {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -748,10 +770,21 @@ public Builder mergeFrom(
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -776,10 +809,21 @@ public java.lang.String getParent() {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -804,10 +848,21 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -831,10 +886,21 @@ public Builder setParent(java.lang.String value) {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -854,10 +920,21 @@ public Builder clearParent() {
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -28,10 +28,21 @@
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>
@@ -46,10 +57,21 @@
*
* <pre>
* Required. Parent resource name.
* - Format:projects/[PROJECT-ID]
* - Format:organizations/[ORGANIZATION-ID]
* - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
* - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
* The format of this value varies depending on the scope of the request
* (project or organization) and whether you have [specified a processing
* location](/dlp/docs/specifying-location):
* + Projects scope, location specified:&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Projects scope, no location specified (defaults to global):&lt;br/&gt;
* `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
* + Organizations scope, location specified:&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
* + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
* `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
* The following example `parent` string specifies a parent project with the
* identifier `example-project`, and specifies the `europe-west3` location
* for processing data:
* parent=projects/example-project/locations/europe-west3
* </pre>
*
* <code>

0 comments on commit 9a10739

Please sign in to comment.